mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added sorting to tree items by clicking the header
Added names to header Renamed buttons to 'Download' and 'Import'
This commit is contained in:
@@ -43,6 +43,8 @@
|
||||
#include <QWidget>
|
||||
#include <QPointer>
|
||||
|
||||
class MySortFilterProxyModel;
|
||||
|
||||
class QGridLayout;
|
||||
class QVBoxLayout;
|
||||
class QTreeView;
|
||||
@@ -66,6 +68,7 @@ public:
|
||||
}
|
||||
|
||||
public:
|
||||
QStringList columnHeaders;
|
||||
};
|
||||
|
||||
|
||||
@@ -90,8 +93,9 @@ private:
|
||||
QPointer<QWidget> m_mainWidget;
|
||||
QVBoxLayout* m_layout;
|
||||
|
||||
QTreeView* m_treeView;
|
||||
UiTreeModelPdm* m_treeModelPdm;
|
||||
QTreeView* m_treeView;
|
||||
UiTreeModelPdm* m_treeModelPdm;
|
||||
MySortFilterProxyModel* m_proxyTreeModelPdm;
|
||||
|
||||
// Forward update events to the tree view editor connected to Pdm root object using a proxy editor
|
||||
PdmUiProxyEditorHandle* m_proxyEditor;
|
||||
|
Reference in New Issue
Block a user