Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqstylekitcontrolproperties.cpp File Reference

(bb7391d241e186cb33b71c0cfdfb438cd5f7edf9)

#include "qqstylekitcontrol_p.h"
#include "qqstylekitstyle_p.h"
#include "qqstylekittheme_p.h"
#include "qqstylekitcontrolproperties_p.h"
#include "qqstylekitpropertyresolver_p.h"
#include "moc_qqstylekitcontrolproperties_p.cpp"
Include dependency graph for qqstylekitcontrolproperties.cpp:

Go to the source code of this file.

Macros

#define CONDITIONALLY_EMIT_SIGNALS_GLOBALLY_FOR(CONTROL_PROPERTIES, GROUP_PATH)

Macro Definition Documentation

◆ CONDITIONALLY_EMIT_SIGNALS_GLOBALLY_FOR

#define CONDITIONALLY_EMIT_SIGNALS_GLOBALLY_FOR ( CONTROL_PROPERTIES,
GROUP_PATH )
Value:
if (this == CONTROL_PROPERTIES -> GROUP_PATH ) { \
const auto baseTypes = QQStyleKitPropertyResolver::baseTypesForType(reader->type()); \
if (reader->type() != controlType && !baseTypes.contains(controlType)) \
continue; \
reader->clearLocalStorage(); \
((reader-> GROUP_PATH ->*changedSignals)(), ...); \
} \
return; \
}
static const QList< QQStyleKitExtendableControlType > baseTypesForType(QQStyleKitExtendableControlType exactType)
static QList< QQStyleKitReader * > s_allReaders

Definition at line 140 of file qqstylekitcontrolproperties.cpp.