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;
YQProgressBar(YWidget *parent, const std::string &label, int maxValue=100)
Constructor.
virtual bool setKeyboardFocus()
Accept the keyboard focus.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.
virtual ~YQProgressBar()
Destructor.
virtual void setLabel(const std::string &label)
Set the label (the caption above the progress bar).
virtual void setEnabled(bool enabled)
Set enabled/disabled state.
virtual int preferredHeight()
Preferred height of the widget.
virtual int preferredWidth()
Preferred width of the widget.
virtual void setValue(int newValue)
Set the current progress value ( <= maxValue() ).