76 "MySoft",
"Star Runner");
void closeEvent(QCloseEvent *event) override
[21]
The QCloseEvent class contains parameters that describe a close event.
static void setOrganizationDomain(const QString &orgDomain)
static void setOrganizationName(const QString &orgName)
[11]
static void setApplicationName(const QString &application)
The QMainWindow class provides a main application window.
constexpr bool isEmpty() const noexcept
Returns true if the rectangle is empty, otherwise returns false.
void endGroup()
Resets the group to what it was before the corresponding beginGroup() call.
void setValue(QAnyStringView key, const QVariant &value)
Sets the value of setting key to value.
QVariant value(QAnyStringView key, const QVariant &defaultValue) const
Returns the value for setting key.
void beginGroup(QAnyStringView prefix)
Appends prefix to the current group.
int toInt(bool *ok=nullptr) const
Returns the variant as an int if the variant has userType() \l QMetaType::Int, \l QMetaType::Bool,...
QByteArray toByteArray() const
Returns the variant as a QByteArray if the variant has userType() \l QMetaType::QByteArray or \l QMet...
bool userReallyWantsToQuit()
[20]
QSettings settings("MySoft", "Star Runner")
[0]