Check the min. window sizes

* on smaller screens makes sure the min.sizes are not exceeded
* normally not changing min.sizes
This commit is contained in:
Klaus Basan
2018-01-19 20:36:36 +01:00
parent 464f64367e
commit d5c9a29618
4 changed files with 24 additions and 1 deletions

View File

@@ -276,7 +276,7 @@ namespace BlackGui
int m_minHeightChars = -1; //!< min. height characters (based on current font metrics)
QCommandLineOption m_cmdWindowStateMinimized { "empty" }; //!< window state (minimized)
QCommandLineOption m_cmdWindowMode { "empty" }; //!< window mode (flags: frameless ...)
QCommandLineOption m_cmdWindowSizeReset {"empty"}; //!< window size resizing
QCommandLineOption m_cmdWindowSizeReset { "empty" }; //!< window size resizing
CStyleSheetUtility m_styleSheetUtility {{}, this}; //!< style sheet utility
bool m_uiSetupCompleted = false; //!< ui setup completed
bool m_saveMainWidgetState = true; //!< save/restore main widget's state
@@ -303,6 +303,9 @@ namespace BlackGui
//! Set current font values
void setCurrentFontValues();
//! \copydoc BlackGui::CGuiUtility::superviseMainWindowMinSizes
void superviseWindowMinSizes();
};
} // ns