Reference documentation
|
The BarDelegate class provides display and editing facilities for data items in a LinearChart view. More...
Public Member Functions | |
virtual void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Paints the data of the index relative to the shape set in the SerieFormat corresponding to the column of index. | |
virtual void | paintDisabled (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Paints the delegate's disabled render. More... | |
virtual void | paintEnabled (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Paints the delegate's enabled render. More... | |
The BarDelegate class provides display and editing facilities for data items in a LinearChart view.
The BarDelegate class displays an item as a bar in the LinearChart.
|
virtual |
Paints the delegate's disabled render.
An item is considered as disabled when the selectionModel is not empty and doesn't contain the index.
Implements AbstractChartDelegate.
|
virtual |
Paints the delegate's enabled render.
An item is considered as enabled when the selectionModel is empty or contains an index in the column of index.
Implements AbstractChartDelegate.