libyui-qt
2.46.13
|
Public Member Functions | |
YQBarGraph (YWidget *parent) | |
Constructor. | |
virtual | ~YQBarGraph () |
Destructor. | |
virtual void | doUpdate () |
Perform a visual update on the screen. More... | |
virtual void | setEnabled (bool enabled) |
Set enabled/disabled state. More... | |
virtual int | preferredWidth () |
Preferred width of the widget. More... | |
virtual int | preferredHeight () |
Preferred height of the widget. More... | |
virtual void | setSize (int newWidth, int newHeight) |
Set the new size of the widget. More... | |
Protected Member Functions | |
virtual bool | event (QEvent *event) |
virtual void | paintEvent (QPaintEvent *painter) |
Draw the contents. More... | |
YColor | defaultSegmentColor (unsigned index) |
Return one from a set of default segment background colors. | |
YColor | defaultTextColor (unsigned index) |
Return one from a set of default text colors. More... | |
Properties | |
QString | BackgroundColors |
QString | ForegroundColors |
Definition at line 39 of file YQBarGraph.h.
|
protected |
Return one from a set of default text colors.
This text color is guaranteed to contrast with the defaultSegmentColor with the same index.
Definition at line 221 of file YQBarGraph.cc.
|
virtual |
Perform a visual update on the screen.
Implemented from YBarGraph.
Definition at line 68 of file YQBarGraph.cc.
|
protectedvirtual |
Draw the contents.
Reimplemented from QFrame.
Definition at line 93 of file YQBarGraph.cc.
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 290 of file YQBarGraph.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 264 of file YQBarGraph.cc.
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
Definition at line 256 of file YQBarGraph.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 316 of file YQBarGraph.cc.