QPieModelMapper Class
Inherits: | QObject |
Inherited By: |
Protected Functions
int | count() const |
int | first() const |
int | labelsSection() const |
Qt::Orientation | orientation() const |
void | setCount(int count) |
void | setFirst(int first) |
void | setLabelsSection(int labelsSection) |
void | setOrientation(Qt::Orientation orientation) |
void | setValuesSection(int valuesSection) |
int | valuesSection() const |
Member Function Documentation
[protected]
int QPieModelMapper::count() const
Defines the number of rows/columns of the model that are mapped as the data for QPieSeries Minimal and default value is: -1 (count limited by the number of rows/columns in the model)
See also setCount().
[protected]
int QPieModelMapper::first() const
Defines which row/column of the model contains the first slice value. Minimal and default value is: 0
See also setFirst().
[protected]
int QPieModelMapper::labelsSection() const
Returns which section of the model is kept in sync with the labels of the pie's slices
See also setLabelsSection().
[protected]
Qt::Orientation QPieModelMapper::orientation() const
Returns the orientation that is used when QPieModelMapper accesses the model. This mean whether the consecutive values/labels of the pie are read from row (Qt::Horizontal) or from columns (Qt::Vertical)
See also setOrientation().
[protected]
void QPieModelMapper::setCount(int count)
Defines the count of rows/columns of the model that are mapped as the data for QPieSeries Minimal and default value is: -1 (count limited by the number of rows/columns in the model)
See also count().
[protected]
void QPieModelMapper::setFirst(int first)
Sets which row/column of the model contains the first slice value. Minimal and default value is: 0
See also first().
[protected]
void QPieModelMapper::setLabelsSection(int labelsSection)
Sets the model section that is kept in sync with the pie slices labels. Parameter labelsSection specifies the section of the model.
See also labelsSection().
[protected]
void QPieModelMapper::setOrientation(Qt::Orientation orientation)
Returns the orientation that is used when QPieModelMapper accesses the model. This mean whether the consecutive values/labels of the pie are read from row (Qt::Horizontal) or from columns (Qt::Vertical)
See also orientation().
[protected]
void QPieModelMapper::setValuesSection(int valuesSection)
Sets the model section that is kept in sync with the pie slices values. Parameter valuesSection specifies the section of the model.
See also valuesSection().
[protected]
int QPieModelMapper::valuesSection() const
Returns which section of the model is kept in sync with the values of the pie's slices
See also setValuesSection().