26 #ifndef YQProgressBar_h
27 #define YQProgressBar_h
30 #include <yui/YProgressBar.h>
47 const std::string & label,
59 virtual void setLabel(
const std::string & label );
66 virtual void setValue(
int newValue );
94 virtual void setSize(
int newWidth,
int newHeight );
105 QProgressBar * _qt_progressbar;
108 #endif // YQProgressBar_h
virtual void setLabel(const std::string &label)
Set the label (the caption above the progress bar).
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 int preferredHeight()
Preferred height of the widget.
virtual bool setKeyboardFocus()
Accept the keyboard focus.
virtual void setValue(int newValue)
Set the current progress value ( <= maxValue() ).
virtual int preferredWidth()
Preferred width of the widget.
virtual void setEnabled(bool enabled)
Set enabled/disabled state.
virtual ~YQProgressBar()
Destructor.