#3045 Implement memory display in status bar of the main window

This commit is contained in:
Gaute Lindkvist
2018-06-14 12:04:16 +02:00
parent 9cf4938651
commit 2f0b1cfdb9
5 changed files with 269 additions and 8 deletions

View File

@@ -36,6 +36,7 @@
class QActionGroup;
class QMdiSubWindow;
class QSpinBox;
class QTimer;
class QUndoView;
class RimCase;
@@ -181,14 +182,19 @@ private:
RiuPvtPlotPanel* m_pvtPlotPanel;
QMenu* m_windowMenu;
QLabel* m_memoryCriticalWarning;
QLabel* m_memoryUsedStatus;
QLabel* m_memoryAvailableStatus;
QLabel* m_memoryTotalStatus;
QTimer* m_memoryRefreshTimer;
// Menu and action slots
private slots:
friend class RiuMdiSubWindow;
// Memory update slot
void updateMemoryUsage();
// File slots
void slotRefreshFileActions();