Added a ModelSummary class to make the overview over the model content accessible via QProperty system & a SummaryWidget to show this information. Only property rowCount as a proof of concept. Other properties will follow.
This commit is contained in:
@ -17,6 +17,7 @@ QT_END_NAMESPACE
|
||||
class GenericCore;
|
||||
class TableModel;
|
||||
class GeneralSortFilterModel;
|
||||
class ModelSummary;
|
||||
class NewItemDialog;
|
||||
class EditItemDialog;
|
||||
class BiddingRoundControl;
|
||||
@ -73,9 +74,12 @@ class MainWindow : public QMainWindow {
|
||||
|
||||
unique_ptr<GenericCore> m_core;
|
||||
shared_ptr<GeneralSortFilterModel> m_proxyModel;
|
||||
shared_ptr<ModelSummary> m_modelSummary;
|
||||
|
||||
QUndoStack* m_modelUndoStack;
|
||||
unique_ptr<QUndoView> m_modelUndoView;
|
||||
unique_ptr<BiddingRoundControl> m_biddingRoundControl;
|
||||
|
||||
/// File actions
|
||||
unique_ptr<QAction> m_newFileAct;
|
||||
unique_ptr<QAction> m_openAct;
|
||||
|
||||
Reference in New Issue
Block a user