#include <progressdialog.h>
Inheritance diagram for wftk::ProgressDialog:

Public Member Functions | |
| ProgressDialog (const std::string &label="", const std::string &border_res_name="progressdialog_frame", const Font &font=Font()) | |
| Create a window with a progress bar. | |
| void | setValue (Uint8 percentage) |
| set the value of the progress bar, calls ProgressBar::setValue() | |
Protected Member Functions | |
| virtual void | setPackingInfo () |
| recalculate the object's prefered size | |
| wftk::ProgressDialog::ProgressDialog | ( | const std::string & | label = "", |
|
| const std::string & | border_res_name = "progressdialog_frame", |
|||
| const Font & | font = Font() | |||
| ) | [explicit] |
Create a window with a progress bar.
| label | the label of the progress bar | |
| border_res_name | std::string containing the name of the ressource to use for the frame. The ressources are
| |
| font | font to use for the label, defaults to Font() |
| void wftk::ProgressDialog::setValue | ( | Uint8 | percentage | ) | [inline] |
set the value of the progress bar, calls ProgressBar::setValue()
| percentage | the percentage of process to set the bar to |
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.