1 #ifndef __libquark_gui_BasicTreeModelBase_hxx 2 #define __libquark_gui_BasicTreeModelBase_hxx 4 #include <QAbstractItemModel> 21 RootVisible = 1 << 1 };
23 Q_DECLARE_FLAGS(Options,
Option);
27 bool isSorted()
const;
28 bool isRootVisible()
const;
30 int fieldCount()
const;
31 const Field& getField(
int field)
const;
33 QString getFieldName(
int field)
const;
39 Field& addField(
const QString &name);
44 QVector<Field> _fields;
52 #endif // __libquark_gui_BasicTreeModelBase_hxx Option
Definition: BasicTreeModelBase.h++:19
A class representing a field (a column) in a Quark table model.
Definition: Field.h++:17
Definition: BasicTreeModelBase.h++:13
Definition: BarChartView.h++:6
Q_DECLARE_OPERATORS_FOR_FLAGS(quark::gui::BasicTreeModelBase::Options)
#define LIBQUARK_API
Definition: Quark.h++:18