mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-31 08:10:52 +01:00
elements collection model : use QStandardItemModel has base class instead of QAbstractItemModel.
Add minor improvement. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4538 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
class QDialogButtonBox;
|
||||
class QFileNameEdit;
|
||||
class QTreeView;
|
||||
class ElementsCollectionModel;
|
||||
|
||||
/**
|
||||
This class provides several dialogs to select an element or a category
|
||||
(e.g. new or existing, for opening or for saving...).
|
||||
@@ -66,6 +68,7 @@ class ElementDialog : public QDialog
|
||||
QDialogButtonBox *m_buttons_box = nullptr;
|
||||
QFileNameEdit *m_text_field = nullptr;
|
||||
QTreeView *m_tree_view = nullptr;
|
||||
ElementsCollectionModel *m_model= nullptr;
|
||||
|
||||
public:
|
||||
static ElementsLocation getOpenElementLocation(QWidget *parent = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user