mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Moved setting for main windows geometry and toolbar state to RiuMainWindowBase
This commit is contained in:
@@ -18,8 +18,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RiuMainWindowBase.h"
|
||||
|
||||
#include <QEvent>
|
||||
#include <QMainWindow>
|
||||
#include <QPointer>
|
||||
#include <QMdiArea>
|
||||
|
||||
@@ -65,7 +66,7 @@ namespace ssihub
|
||||
//
|
||||
//
|
||||
//==================================================================================================
|
||||
class RiuMainPlotWindow : public QMainWindow
|
||||
class RiuMainPlotWindow : public RiuMainWindowBase
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -73,6 +74,8 @@ public:
|
||||
RiuMainPlotWindow();
|
||||
static RiuMainPlotWindow* instance();
|
||||
|
||||
virtual QString mainWindowName() { return "RiuMainPlotWindow"; }
|
||||
|
||||
void initializeGuiNewProjectLoaded();
|
||||
void cleanupGuiBeforeProjectClose();
|
||||
|
||||
@@ -89,8 +92,6 @@ public:
|
||||
RiuProcessMonitor* processMonitor();
|
||||
|
||||
void hideAllDockWindows();
|
||||
void loadWinGeoAndDockToolBarLayout();
|
||||
void showWindow();
|
||||
|
||||
void selectAsCurrentItem(caf::PdmObject* object);
|
||||
|
||||
@@ -123,7 +124,6 @@ private:
|
||||
void createMenus();
|
||||
void createToolBars();
|
||||
void createDockPanels();
|
||||
void saveWinGeoAndDockToolBarLayout();
|
||||
|
||||
bool checkForDocumentModifications();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user