VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtExceptionHandlingApplication Class Reference

The DtExceptionHandlingApplication is a QApplication that catches all exceptions and handles the application of the light mode and dark mode style sheets.

Inheritance diagram for makVrv::DtExceptionHandlingApplication:
Inheritance graph
[legend]

Public Member Functions

 DtExceptionHandlingApplication (DtDe &de, int &c, char **v)
 
virtual ~DtExceptionHandlingApplication ()
 
virtual bool notify (QObject *rec, QEvent *ev)
 
virtual void loadApplicationStylesheetsAtPath (const std::string &styleSheetPath, bool invalidateApplicationIconColorMappings=true)
 

Protected Member Functions

virtual void slot_currentStyleSheetsPathChanged (const std::string &styleSheetsPath)
 

Protected Attributes

DtDemyDe
 
DtSignalConnectionManager myConnections
 

Constructor & Destructor Documentation

makVrv::DtExceptionHandlingApplication::DtExceptionHandlingApplication ( DtDe de,
int c,
char **  v 
)

CTOR.

virtual makVrv::DtExceptionHandlingApplication::~DtExceptionHandlingApplication ( )
virtual

DTOR.

Member Function Documentation

virtual bool makVrv::DtExceptionHandlingApplication::notify ( QObject rec,
QEvent ev 
)
virtual

Catches all exceptions.

virtual void makVrv::DtExceptionHandlingApplication::loadApplicationStylesheetsAtPath ( const std::string &  styleSheetPath,
bool  invalidateApplicationIconColorMappings = true 
)
virtual

Reload the application stylesheet(s) based on application settings.

Parameters
styleSheetPathThe directory to load .qss files from - loaded in alphabetical order.
invalidateApplicationIconColorMappingsWhether or not to invalidate the current icon color mappings for the application BEFORE applying the new stylesheet(s), which may contain a new set of icon color mappings.
See Also
DtStyledQMainWindow
virtual void makVrv::DtExceptionHandlingApplication::slot_currentStyleSheetsPathChanged ( const std::string &  styleSheetsPath)
protectedvirtual

Slot that gets executed when the current stylesheet(s) have changed.

Member Data Documentation

DtDe& makVrv::DtExceptionHandlingApplication::myDe
protected
DtSignalConnectionManager makVrv::DtExceptionHandlingApplication::myConnections
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)