mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user