Ref T220, cmd.line option for window resizing

This commit is contained in:
Klaus Basan
2018-01-11 03:10:44 +01:00
parent ef25192424
commit 8e130aa895
3 changed files with 13 additions and 1 deletions

View File

@@ -93,6 +93,9 @@ namespace BlackGui
//! CMD line arguments
void addWindowModeOption();
//! CMD line arguments
void addWindowResetSizeOption();
//! Window state
Qt::WindowState getWindowState() const;
@@ -272,6 +275,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
CStyleSheetUtility m_styleSheetUtility {{}, this}; //!< style sheet utility
bool m_uiSetupCompleted = false; //!< ui setup completed
bool m_saveMainWidgetState = true; //!< save/restore main widget's state