KWidgetsAddons
kstyleextensions.cpp
34 2) The key problem is that a common KDE widget will run into an apps custom style which will then
57 The functions called by widgets that request custom element support, passed to the effective style.
62static inline int customStyleElement(QStyle::StyleHint type, const QString &element, QWidget *widget)
77 return (QStyle::StyleHint)customStyleElement(SH_KCustomStyleElement, element, const_cast<QWidget *>(widget));
82 return (QStyle::ControlElement)customStyleElement(SH_KCustomStyleElement, element, const_cast<QWidget *>(widget));
87 return (QStyle::SubElement)customStyleElement(SH_KCustomStyleElement, element, const_cast<QWidget *>(widget));
Runtime style extensions You can use this to have a supporting QStyle implementation paint your widge...
Definition kstyleextensions.cpp:13
QStyle::ControlElement customControlElement(const QString &element, const QWidget *widget)
Resolve a dynamic QStyle::ControlElement for eg.
Definition kstyleextensions.cpp:80
QStyle::SubElement customSubElement(const QString &element, const QWidget *widget)
Resolve a dynamic QStyle::SubElement for eg.
Definition kstyleextensions.cpp:85
QStyle::StyleHint customStyleHint(const QString &element, const QWidget *widget)
Resolve a dynamic QStyle::StyleHint to query QStyle::styleHint()
Definition kstyleextensions.cpp:75
int indexOfClassInfo(const char *name) const const
virtual const QMetaObject * metaObject() const const
objectName
void setObjectName(QAnyStringView name)
ControlElement
StyleHint
SubElement
virtual int styleHint(StyleHint hint, const QStyleOption *option, const QWidget *widget, QStyleHintReturn *returnData) const const=0
QStyle * style() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.