Class QAccelPlot::Internal::CategoryList¶
ClassList > QAccelPlot > Internal > CategoryList
The categories list of a series: theCategory objects and a lookup table that follows their edits.More...
#include <CategoryList.hpp>
Inherits the following classes: QObject
Inheritance diagram¶
flowchart TB
classQAccelPlot_1_1Internal_1_1CategoryList["QAccelPlot::Internal::CategoryList"]
external_base_classQAccelPlot_1_1Internal_1_1CategoryList_1["QObject"]
external_base_classQAccelPlot_1_1Internal_1_1CategoryList_1 --> classQAccelPlot_1_1Internal_1_1CategoryList
Public Signals¶
| Type | Name |
|---|---|
| signal void | changed Emitted when a category is added, removed, or edited. |
Public Functions¶
| Type | Name |
|---|---|
| CategoryList (const char * seriesName, QObject * parent=nullptr) Constructs an empty list whose warnings name seriesName . |
|
| QQmlListProperty< Category > | listProperty (QObject * owner) Returns the list as a QML list property of owner . |
| void | setCategories (const QList< Category * > & categories) Replaces the categories with categories . Does not take ownership. |
| const CategoryTable & | table () const Returns the lookup table of the current categories. |
Detailed Description¶
The table updates on every change, quietly. Duplicate values and names are reported once the event loop runs, after QML bindings of newly declared categories have been evaluated.
Public Signals Documentation¶
signal changed¶
Emitted when a category is added, removed, or edited.
Public Functions Documentation¶
function CategoryList¶
Constructs an empty list whose warnings name seriesName .
explicit QAccelPlot::Internal::CategoryList::CategoryList (
const char * seriesName,
QObject * parent=nullptr
)
function listProperty¶
Returns the list as a QML list property of owner .
function setCategories¶
Replaces the categories with categories . Does not take ownership.
function table¶
Returns the lookup table of the current categories.
The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/series/internal/CategoryList.hpp