QskSetup

Singleton maintaining the global settings of an application using Qsk controls. #include <QskSetup.h>

Inherits from QObject

Public Signals

  Name
void skinChanged(QskSkin * )
void itemUpdateFlagsChanged()

Public Functions

  Name
QskSetup * instance()
void setup()
void cleanup()
QskSetup * qmlAttachedProperties(QObject * )
void setItemUpdateFlags(QskQuickItem::UpdateFlags flags)
void resetItemUpdateFlags()
QskQuickItem::UpdateFlags itemUpdateFlags() const
void setItemUpdateFlag(QskQuickItem::UpdateFlag flag, bool on =true)
void resetItemUpdateFlag(QskQuickItem::UpdateFlag flag)
bool testItemUpdateFlag(QskQuickItem::UpdateFlag flag)
QskSkin * setSkin(const QString & skinName)
QString skinName() const
QskSkin * skin()
void addGraphicProvider(const QString & providerId, QskGraphicProvider * provider)
QskGraphicProvider * graphicProvider(const QString & providerId) const
QLocale inheritedLocale(const QObject * object)
void inheritLocale(QObject * object, const QLocale & locale)

Public Signals Documentation

signal skinChanged

void skinChanged(
    QskSkin * 
)

signal itemUpdateFlagsChanged

void itemUpdateFlagsChanged()

Public Functions Documentation

function instance

static inline QskSetup * instance()

function setup

static void setup()

function cleanup

static void cleanup()

function qmlAttachedProperties

static QskSetup * qmlAttachedProperties(
    QObject * 
)

function setItemUpdateFlags

void setItemUpdateFlags(
    QskQuickItem::UpdateFlags flags
)

function resetItemUpdateFlags

void resetItemUpdateFlags()

function itemUpdateFlags

QskQuickItem::UpdateFlags itemUpdateFlags() const

function setItemUpdateFlag

void setItemUpdateFlag(
    QskQuickItem::UpdateFlag flag,
    bool on =true
)

function resetItemUpdateFlag

void resetItemUpdateFlag(
    QskQuickItem::UpdateFlag flag
)

function testItemUpdateFlag

bool testItemUpdateFlag(
    QskQuickItem::UpdateFlag flag
)

function setSkin

QskSkin * setSkin(
    const QString & skinName
)

function skinName

QString skinName() const

function skin

QskSkin * skin()

Par: Access functions:

skin(), setSkin(), skinChanged()

function addGraphicProvider

void addGraphicProvider(
    const QString & providerId,
    QskGraphicProvider * provider
)

function graphicProvider

QskGraphicProvider * graphicProvider(
    const QString & providerId
) const

function inheritedLocale

QLocale inheritedLocale(
    const QObject * object
)

function inheritLocale

void inheritLocale(
    QObject * object,
    const QLocale & locale
)

Updated on 28 July 2023 at 14:02:28 CEST