32 #include <yui/YBarGraph.h>
42 Q_PROPERTY(QString BackgroundColors READ getBackgroundColors WRITE setBackgroundColors DESIGNABLE
true)
43 Q_PROPERTY(QString ForegroundColors READ getForegroundColors WRITE setForegroundColors DESIGNABLE
true)
62 virtual void doUpdate();
69 virtual void setEnabled(
bool enabled );
76 virtual int preferredWidth();
83 virtual int preferredHeight();
90 virtual void setSize(
int newWidth,
int newHeight );
95 virtual bool event( QEvent * event );
101 virtual void paintEvent( QPaintEvent * painter );
106 YColor defaultSegmentColor(
unsigned index );
112 YColor defaultTextColor(
unsigned index );
115 map <int, QString> toolTips ;
126 QString _backgroundColors;
127 QString getBackgroundColors();
128 void setBackgroundColors( QString colors );
129 QString _foregroundColors;
130 QString getForegroundColors();
131 void setForegroundColors( QString colors );
135 #endif // YQBarGraph_h