|
libyui-qt
2.44.0
|


Public Member Functions | |
| YQBarGraph (YWidget *parent) | |
| virtual | ~YQBarGraph () |
| virtual void | doUpdate () |
| virtual void | setEnabled (bool enabled) |
| virtual int | preferredWidth () |
| virtual int | preferredHeight () |
| virtual void | setSize (int newWidth, int newHeight) |
Protected Member Functions | |
| virtual bool | event (QEvent *event) |
| virtual void | paintEvent (QPaintEvent *painter) |
| YColor | defaultSegmentColor (unsigned index) |
| YColor | defaultTextColor (unsigned index) |
Definition at line 40 of file YQBarGraph.h.
| YQBarGraph::YQBarGraph | ( | YWidget * | parent | ) |
Constructor.
Definition at line 53 of file YQBarGraph.cc.
|
virtual |
Destructor.
Definition at line 61 of file YQBarGraph.cc.
|
protected |
Return one from a set of default segment background colors.
Definition at line 190 of file YQBarGraph.cc.
|
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 209 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 265 of file YQBarGraph.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 239 of file YQBarGraph.cc.
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
Definition at line 231 of file YQBarGraph.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 291 of file YQBarGraph.cc.