Link selection in 3D view with plots (#9195)

* Allow well selections in 3D view to update well selection in summary plots and well log plots
This commit is contained in:
jonjenssen
2022-08-15 20:27:49 +02:00
committed by GitHub
parent 016216bdb9
commit 0e45a90e1f
15 changed files with 184 additions and 5 deletions

View File

@@ -60,6 +60,7 @@ public:
~RiuPlotMainWindow() override;
static RiuPlotMainWindow* instance();
static void wellSelected( QString wellName );
QString mainWindowName() override;
@@ -72,6 +73,8 @@ public:
void setActiveViewer( QWidget* subWindow ) override;
void setDefaultWindowSize();
void enable3DSelectionLink( bool enable );
bool selection3DLinkEnabled();
void tileSubWindows() override;
void storeSubWindowTiling( bool tiled ) override;
@@ -118,6 +121,7 @@ private:
static QStringList toolbarCommandIds( const QString& toolbarName = "" );
private slots:
void slotToggleSelectionLink();
friend class RiuMdiSubWindow;
@@ -129,8 +133,6 @@ private slots:
void customMenuRequested( const QPoint& pos );
private:
QByteArray m_initialDockAndToolbarLayout; // Initial dock window and toolbar layout, used to reset GUI
caf::PdmPointer<RimViewWindow> m_activePlotViewWindow;
QPointer<RiuMessagePanel> m_messagePanel;
@@ -146,4 +148,7 @@ private:
std::unique_ptr<caf::PdmObject> m_summaryPlotManager;
std::vector<QWidget*> m_temporaryWidgets;
QAction* m_toggleSelectionLinkAction;
bool m_selection3DLinkEnabled;
};