mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Copied in RPM/Fwk/AppFwk
Commented out use of stipple line, as VizFwk is not update yet
This commit is contained in:
@@ -41,11 +41,13 @@
|
||||
|
||||
class QVBoxLayout;
|
||||
class QTreeView;
|
||||
class QItemSelection;
|
||||
class QMenu;
|
||||
|
||||
namespace caf
|
||||
{
|
||||
|
||||
class PdmObject;
|
||||
class PdmUiItem;
|
||||
class PdmUiTreeViewEditor;
|
||||
|
||||
//==================================================================================================
|
||||
@@ -59,12 +61,24 @@ public:
|
||||
PdmUiTreeView(QWidget* parent = 0, Qt::WindowFlags f = 0);
|
||||
~PdmUiTreeView();
|
||||
|
||||
void enableDefaultContextMenu(bool enable);
|
||||
void setCurrentSelectionToCurrentEditorSelection(bool enable);
|
||||
|
||||
|
||||
void setUiConfigurationName(QString uiConfigName);
|
||||
void setPdmObject(caf::PdmObject* object);
|
||||
void setPdmItem(caf::PdmUiItem* object);
|
||||
|
||||
QTreeView* treeView();
|
||||
|
||||
void selectedObjects(std::vector<PdmUiItem*>& objects);
|
||||
|
||||
signals:
|
||||
void selectionChanged();
|
||||
|
||||
private slots:
|
||||
void slotOnSelectionChanged( const QItemSelection & selected, const QItemSelection & deselected );
|
||||
private:
|
||||
|
||||
PdmUiTreeViewEditor* m_treeViewEditor;
|
||||
QString m_uiConfigName;
|
||||
QVBoxLayout* m_layout;
|
||||
|
||||
Reference in New Issue
Block a user