mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Rename ApplicationCode to ApplicationLibCode
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
#include "RiuMdiMaximizeWindowGuard.h"
|
||||
|
||||
#include "RiaGuiApplication.h"
|
||||
#include "RiuMainWindow.h"
|
||||
#include "RiuPlotMainWindow.h"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RiuMdiMaximizeWindowGuard::RiuMdiMaximizeWindowGuard()
|
||||
{
|
||||
{
|
||||
RiuMainWindow* mainWindow = RiaGuiApplication::instance()->mainWindow();
|
||||
if ( mainWindow )
|
||||
{
|
||||
mainWindow->enableShowFirstVisibleMdiWindowMaximized( false );
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
RiuPlotMainWindow* plotMainWindow = RiaGuiApplication::instance()->mainPlotWindow();
|
||||
if ( plotMainWindow )
|
||||
{
|
||||
plotMainWindow->enableShowFirstVisibleMdiWindowMaximized( false );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RiuMdiMaximizeWindowGuard::~RiuMdiMaximizeWindowGuard()
|
||||
{
|
||||
{
|
||||
RiuMainWindow* mainWindow = RiaGuiApplication::instance()->mainWindow();
|
||||
if ( mainWindow )
|
||||
{
|
||||
mainWindow->enableShowFirstVisibleMdiWindowMaximized( true );
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
RiuPlotMainWindow* plotMainWindow = RiaGuiApplication::instance()->mainPlotWindow();
|
||||
if ( plotMainWindow )
|
||||
{
|
||||
plotMainWindow->enableShowFirstVisibleMdiWindowMaximized( true );
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user