mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Major improvements to D&D of curves.
This commit is contained in:
@@ -1081,6 +1081,17 @@ RimViewWindow* RiaGuiApplication::activeViewWindow()
|
||||
return viewWindow;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RiuMainWindowBase* RiaGuiApplication::activeMainWindow()
|
||||
{
|
||||
QWidget* mainWindowWidget = RiaGuiApplication::activeWindow();
|
||||
RiuMainWindowBase* mainWindow = dynamic_cast<RiuMainWindowBase*>( mainWindowWidget );
|
||||
|
||||
return mainWindow;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -117,7 +117,8 @@ public:
|
||||
RiuPlotMainWindow* mainPlotWindow();
|
||||
RiuMainWindowBase* mainWindowByID( int mainWindowID );
|
||||
|
||||
static RimViewWindow* activeViewWindow();
|
||||
static RimViewWindow* activeViewWindow();
|
||||
static RiuMainWindowBase* activeMainWindow();
|
||||
|
||||
bool isMain3dWindowVisible() const;
|
||||
bool isMainPlotWindowVisible() const;
|
||||
|
||||
Reference in New Issue
Block a user