mini sucess
This commit is contained in:
@@ -91,7 +91,7 @@ void XQViewModel::initModel( const QString& modelName)
|
||||
section
|
||||
header
|
||||
section
|
||||
|
||||
...
|
||||
|
||||
*/
|
||||
|
||||
|
@@ -18,6 +18,7 @@
|
||||
#include <QUndoStack>
|
||||
#include <QMenu>
|
||||
#include <QStandardItemModel>
|
||||
#include <QAbstractItemView>
|
||||
|
||||
#include <xqsimpleclipboard.h>
|
||||
#include <xqmodelsectionlist.h>
|
||||
@@ -30,18 +31,7 @@ class XQItem;
|
||||
class XQCommand;
|
||||
|
||||
|
||||
/**
|
||||
* @brief Abstract baseclass of all modelviews: Extends QStandardItemModel with a treeview.
|
||||
*/
|
||||
|
||||
// might be own implementation of QAbstractItemModel, not done yet.
|
||||
// using QStandardItemModel = XQSimpleItemModel;
|
||||
using QStandardItemModel = QStandardItemModel;
|
||||
|
||||
/**
|
||||
* @brief The XQViewModel class: An extendend QStandardItem model
|
||||
* containing its own view.
|
||||
*/
|
||||
//! ein erweitertes QStandardItemModel welches 'seine' view bereits enthält.
|
||||
|
||||
class XQViewModel : public QStandardItemModel
|
||||
{
|
||||
@@ -131,6 +121,7 @@ protected:
|
||||
XQModelSectionList _sections;
|
||||
|
||||
XQTreeTable* _treeTable{};
|
||||
//QAbstractItemView* _treeTable{};
|
||||
QUndoStack* _undoStack{};
|
||||
XQContextMenu* _contextMenu{};
|
||||
|
||||
|
Reference in New Issue
Block a user