26 #ifndef YQProgressBar_h 27 #define YQProgressBar_h 30 #include <yui/YProgressBar.h> 46 const std::string & label,
58 virtual void setLabel(
const std::string & label );
65 virtual void setValue(
int newValue );
93 virtual void setSize(
int newWidth,
int newHeight );
104 QProgressBar * _qt_progressbar;
107 #endif // YQProgressBar_h
virtual bool setKeyboardFocus()
Accept the keyboard focus.
virtual int preferredHeight()
Preferred height of the widget.
virtual void setValue(int newValue)
Set the current progress value ( <= maxValue() ).
virtual void setLabel(const std::string &label)
Set the label (the caption above the progress bar).
virtual int preferredWidth()
Preferred width of the widget.
YQProgressBar(YWidget *parent, const std::string &label, int maxValue=100)
Constructor.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.
virtual ~YQProgressBar()
Destructor.
virtual void setEnabled(bool enabled)
Set enabled/disabled state.