Qt Utilities  5.12.1
Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models
Public Member Functions | List of all members
ApplicationUtilities::QtConfigArguments Class Reference

#include <qtconfigarguments.h>

Public Member Functions

 QtConfigArguments ()
 Constructs new Qt config arguments. More...
 
Argument & qtWidgetsGuiArg ()
 Returns the argument for the Qt Widgets GUI. More...
 
Argument & qtQuickGuiArg ()
 Returns the argument for the Qt Quick GUI. More...
 
Argument & languageArg ()
 Returns the language argument. More...
 
bool areQtGuiArgsPresent () const
 Returns whether at least one of the GUI arguments is present. More...
 
void applySettings (bool preventApplyingDefaultFont=false) const
 Applies the settings from the arguments. More...
 

Detailed Description

Definition at line 21 of file qtconfigarguments.h.

Constructor & Destructor Documentation

◆ QtConfigArguments()

ApplicationUtilities::QtConfigArguments::QtConfigArguments ( )

Constructs new Qt config arguments.

Todo:
Split style args in v6.

Definition at line 31 of file qtconfigarguments.cpp.

Member Function Documentation

◆ applySettings()

void ApplicationUtilities::QtConfigArguments::applySettings ( bool  preventApplyingDefaultFont = false) const

Applies the settings from the arguments.

Remarks
Also checks environment variables for the icon theme.
Parameters
preventApplyingDefaultFontIf true, the font will not be updated to some default value if no font has been specified explicitly.

Definition at line 97 of file qtconfigarguments.cpp.

◆ areQtGuiArgsPresent()

bool ApplicationUtilities::QtConfigArguments::areQtGuiArgsPresent ( ) const
inline

Returns whether at least one of the GUI arguments is present.

Definition at line 74 of file qtconfigarguments.h.

◆ languageArg()

Argument & ApplicationUtilities::QtConfigArguments::languageArg ( )
inline

Returns the language argument.

Definition at line 66 of file qtconfigarguments.h.

◆ qtQuickGuiArg()

Argument & ApplicationUtilities::QtConfigArguments::qtQuickGuiArg ( )
inline

Returns the argument for the Qt Quick GUI.

Definition at line 58 of file qtconfigarguments.h.

◆ qtWidgetsGuiArg()

Argument & ApplicationUtilities::QtConfigArguments::qtWidgetsGuiArg ( )
inline

Returns the argument for the Qt Widgets GUI.

Definition at line 50 of file qtconfigarguments.h.


The documentation for this class was generated from the following files: