mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#711) Use most recent activated Eclipse view if a well log plot is active
Octave scripts must have an Eclipse view to communicate with. If a WLP is active, evaluate recently used views to find the most recently Eclipse view used.
This commit is contained in:
@@ -1167,6 +1167,14 @@ QMdiSubWindow* RiuMainWindow::findMdiSubWindow(QWidget* viewer)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QList<QMdiSubWindow*> RiuMainWindow::subWindowList(QMdiArea::WindowOrder order)
|
||||
{
|
||||
return m_mdiArea->subWindowList(order);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <QEvent>
|
||||
#include <QMainWindow>
|
||||
#include <QPointer>
|
||||
#include <QMdiArea>
|
||||
|
||||
class QActionGroup;
|
||||
class QComboBox;
|
||||
@@ -30,7 +31,6 @@ class QFrame;
|
||||
class QItemSelection;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QMdiArea;
|
||||
class QMdiSubWindow;
|
||||
class QSpinBox;
|
||||
class QTreeView;
|
||||
@@ -112,6 +112,7 @@ public:
|
||||
void tileWindows();
|
||||
bool isAnyMdiSubWindowVisible();
|
||||
QMdiSubWindow* findMdiSubWindow(QWidget* viewer);
|
||||
QList<QMdiSubWindow*> subWindowList(QMdiArea::WindowOrder order);
|
||||
|
||||
RiuResultQwtPlot* resultPlot();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user