QVISH 0.1
Classes | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Wizt::qVishApplication Class Reference

A QApplication that catches certain signals. More...

#include <qVishApplication.hpp>

Inheritance diagram for Wizt::qVishApplication:

Classes

struct  Language
 

Public Slots

bool showCrashMessage (QString message, bool AllowRetry, QString InformativeText, QString DetailedText)
 

Signals

void continueAfterCrashMessage ()
 
void displayCrashMessage (QString message, bool AllowRetry, QString InformativeText, QString DetailedText)
 
void exitAfterCrashMessage ()
 
void prepareToExit (int n)
 

Public Member Functions

bool notify (QObject *receiver, QEvent *event) override
 
 qVishApplication (int &argc, char **argv)
 

Static Public Member Functions

static std::atomic< int > & crashMessageCounter ()
 
static int getIntPropertyValueFromCSSSection (const QString &section, const QString &property)
 Given a CSS section with an entry such as.
 
static QString getSlotToolTip (const RefPtr< VSlot > &theSlot)
 
static QString getWidgetStyleSheet (const QString &widgetName)
 
static bool loadTranslators ()
 

Static Public Attributes

static bool ApplicationAttributesHaveBeenSet = qVishApplication::setApplicationAttributes()
 
static volatile bool DontEvenStart = false
 A flag that can be checked before starting the event loop to avoid executing it.
 
static Language LanguageSetting
 
static MemCore::Timer TimeSinceLastUserInteraction
 

Detailed Description

A QApplication that catches certain signals.

Member Function Documentation

◆ getIntPropertyValueFromCSSSection()

int Wizt::qVishApplication::getIntPropertyValueFromCSSSection ( const QString &  section,
const QString &  property 
)
static

Given a CSS section with an entry such as.

background-image-count: 5;

extract this integer value by calling

int MaxImages = getCustomPropertyValue(myAppStyleSheet, "background-image-count");

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