Kirigami::Platform::PlatformTheme

Search for usage in LXR

#include <Kirigami/PlatformTheme>

Inheritance diagram for Kirigami::Platform::PlatformTheme:

Public Types

enum  ColorGroup {
  Disabled = QPalette::Disabled , Active = QPalette::Active , Inactive = QPalette::Inactive , Normal = QPalette::Normal ,
  ColorGroupCount
}
 
enum  ColorSet {
  View = 0 , Window , Button , Selection ,
  Tooltip , Complementary , Header , ColorSetCount
}
 

Properties

QColor activeBackgroundColor
 
QColor activeTextColor
 
QColor alternateBackgroundColor
 
QColor backgroundColor
 
ColorGroup colorGroup
 
ColorSet colorSet
 
QFont defaultFont
 
QColor disabledTextColor
 
QColor focusColor
 
qreal frameContrast
 
QColor highlightColor
 
QColor highlightedTextColor
 
QColor hoverColor
 
bool inherit
 
qreal lightFrameContrast
 
QColor linkBackgroundColor
 
QColor linkColor
 
QColor negativeBackgroundColor
 
QColor negativeTextColor
 
QColor neutralBackgroundColor
 
QColor neutralTextColor
 
QPalette palette
 
QColor positiveBackgroundColor
 
QColor positiveTextColor
 
QFont smallFont
 
QColor textColor
 
bool useAlternateBackgroundColor
 
QColor visitedLinkBackgroundColor
 
QColor visitedLinkColor
 
- Properties inherited from QObject
 objectName
 

Signals

void colorGroupChanged (Kirigami::Platform::PlatformTheme::ColorGroup colorGroup)
 
void colorsChanged ()
 
void colorSetChanged (Kirigami::Platform::PlatformTheme::ColorSet colorSet)
 
void defaultFontChanged (const QFont &font)
 
void inheritChanged (bool inherit)
 
void paletteChanged (const QPalette &pal)
 
void smallFontChanged (const QFont &font)
 
void useAlternateBackgroundColorChanged (bool alternate)
 

Public Member Functions

 PlatformTheme (QObject *parent=nullptr)
 
QColor activeBackgroundColor () const
 
QColor activeTextColor () const
 
QColor alternateBackgroundColor () const
 
QColor backgroundColor () const
 
PlatformTheme::ColorGroup colorGroup () const
 
PlatformTheme::ColorSet colorSet () const
 
QFont defaultFont () const
 
QColor disabledTextColor () const
 
QColor focusColor () const
 
qreal frameContrast () const
 
QColor highlightColor () const
 
QColor highlightedTextColor () const
 
QColor hoverColor () const
 
virtual Q_INVOKABLE QIcon iconFromTheme (const QString &name, const QColor &customColor=Qt::transparent)
 
bool inherit () const
 
qreal lightFrameContrast () const
 
QColor linkBackgroundColor () const
 
QColor linkColor () const
 
QColor negativeBackgroundColor () const
 
QColor negativeTextColor () const
 
QColor neutralBackgroundColor () const
 
QColor neutralTextColor () const
 
QPalette palette () const
 
QColor positiveBackgroundColor () const
 
QColor positiveTextColor () const
 
void setColorGroup (PlatformTheme::ColorGroup)
 
void setColorSet (PlatformTheme::ColorSet)
 
void setCustomActiveBackgroundColor (const QColor &color=QColor())
 
void setCustomActiveTextColor (const QColor &color=QColor())
 
void setCustomAlternateBackgroundColor (const QColor &color=QColor())
 
void setCustomBackgroundColor (const QColor &color=QColor())
 
void setCustomDisabledTextColor (const QColor &color=QColor())
 
void setCustomFocusColor (const QColor &color=QColor())
 
void setCustomHighlightColor (const QColor &color=QColor())
 
void setCustomHighlightedTextColor (const QColor &color=QColor())
 
void setCustomHoverColor (const QColor &color=QColor())
 
void setCustomLinkBackgroundColor (const QColor &color=QColor())
 
void setCustomLinkColor (const QColor &color=QColor())
 
void setCustomNegativeBackgroundColor (const QColor &color=QColor())
 
void setCustomNegativeTextColor (const QColor &color=QColor())
 
void setCustomNeutralBackgroundColor (const QColor &color=QColor())
 
void setCustomNeutralTextColor (const QColor &color=QColor())
 
void setCustomPositiveBackgroundColor (const QColor &color=QColor())
 
void setCustomPositiveTextColor (const QColor &color=QColor())
 
void setCustomTextColor (const QColor &color=QColor())
 
void setCustomVisitedLinkBackgroundColor (const QColor &color=QColor())
 
void setCustomVisitedLinkColor (const QColor &color=QColor())
 
void setInherit (bool inherit)
 
void setUseAlternateBackgroundColor (bool alternate)
 
QFont smallFont () const
 
bool supportsIconColoring () const
 
QColor textColor () const
 
bool useAlternateBackgroundColor () const
 
QColor visitedLinkBackgroundColor () const
 
QColor visitedLinkColor () const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
QBindable< QStringbindableObjectName ()
 
bool blockSignals (bool block)
 
const QObjectListchildren () const const
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const const
 
bool disconnect (const QObject *receiver, const char *method) const const
 
void dumpObjectInfo () const const
 
void dumpObjectTree () const const
 
QList< QByteArraydynamicPropertyNames () const const
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (Qt::FindChildOptions options) const const
 
bool inherits (const char *className) const const
 
void installEventFilter (QObject *filterObj)
 
bool isQuickItemType () const const
 
bool isWidgetType () const const
 
bool isWindowType () const const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const const
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () const const
 
QVariant property (const char *name) const const
 
 Q_CLASSINFO (Name, Value)
 
 Q_EMIT Q_EMIT
 
 Q_ENUM (...)
 
 Q_ENUM_NS (...)
 
 Q_ENUMS (...)
 
 Q_FLAG (...)
 
 Q_FLAG_NS (...)
 
 Q_FLAGS (...)
 
 Q_GADGET Q_GADGET
 
 Q_GADGET_EXPORT (EXPORT_MACRO)
 
 Q_INTERFACES (...)
 
 Q_INVOKABLE Q_INVOKABLE
 
 Q_MOC_INCLUDE Q_MOC_INCLUDE
 
 Q_NAMESPACE Q_NAMESPACE
 
 Q_NAMESPACE_EXPORT (EXPORT_MACRO)
 
 Q_OBJECT Q_OBJECT
 
 Q_PROPERTY (...)
 
 Q_REVISION Q_REVISION
 
 Q_SET_OBJECT_NAME (Object)
 
 Q_SIGNAL Q_SIGNAL
 
 Q_SIGNALS Q_SIGNALS
 
 Q_SLOT Q_SLOT
 
 Q_SLOTS Q_SLOTS
 
qobject_cast (const QObject *object)
 
qobject_cast (QObject *object)
 
 QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
 
void removeEventFilter (QObject *obj)
 
void setObjectName (const QString &name)
 
void setObjectName (QAnyStringView name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool setProperty (const char *name, QVariant &&value)
 
bool signalsBlocked () const const
 
int startTimer (int interval, Qt::TimerType timerType)
 
int startTimer (std::chrono::milliseconds interval, Qt::TimerType timerType)
 
QThreadthread () const const
 

Static Public Member Functions

static PlatformThemeqmlAttachedProperties (QObject *object)
 
- Static Public Member Functions inherited from QObject
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 

Protected Member Functions

bool event (QEvent *event) override
 
void setActiveBackgroundColor (const QColor &color)
 
void setActiveTextColor (const QColor &color)
 
void setAlternateBackgroundColor (const QColor &color)
 
void setBackgroundColor (const QColor &color)
 
void setDefaultFont (const QFont &defaultFont)
 
void setDisabledTextColor (const QColor &color)
 
void setFocusColor (const QColor &color)
 
void setHighlightColor (const QColor &color)
 
void setHighlightedTextColor (const QColor &color)
 
void setHoverColor (const QColor &color)
 
void setLinkBackgroundColor (const QColor &color)
 
void setLinkColor (const QColor &color)
 
void setNegativeBackgroundColor (const QColor &color)
 
void setNegativeTextColor (const QColor &color)
 
void setNeutralBackgroundColor (const QColor &color)
 
void setNeutralTextColor (const QColor &color)
 
void setPositiveBackgroundColor (const QColor &color)
 
void setPositiveTextColor (const QColor &color)
 
void setSmallFont (const QFont &smallFont)
 
void setSupportsIconColoring (bool support)
 
void setTextColor (const QColor &color)
 
void setVisitedLinkBackgroundColor (const QColor &color)
 
void setVisitedLinkColor (const QColor &color)
 
- Protected Member Functions inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const const
 
int receivers (const char *signal) const const
 
QObjectsender () const const
 
int senderSignalIndex () const const
 
virtual void timerEvent (QTimerEvent *event)
 

Additional Inherited Members

- Public Attributes inherited from QObject
typedef QObjectList
 

Detailed Description

This class is the base for color management in Kirigami, different platforms can reimplement this class to integrate with system platform colors of a given platform.

Definition at line 33 of file platformtheme.h.

Member Enumeration Documentation

◆ ColorGroup

enum Kirigami::Platform::PlatformTheme::ColorGroup

Definition at line 218 of file platformtheme.h.

◆ ColorSet

Enumerator
Window 

Color set for item views, usually the lightest of all.

Button 

Default Color set for windows and "chrome" areas.

Selection 

Color set used by buttons.

Tooltip 

Color set used by selectged areas.

Complementary 

Color set used by tooltips.

Header 

Color set meant to be complementary to Window: usually is a dark theme for light themes.

ColorSetCount 

Color set to be used by heading areas of applications, such as toolbars.

Definition at line 205 of file platformtheme.h.

Property Documentation

◆ activeBackgroundColor

QColor Kirigami::Platform::PlatformTheme::activeBackgroundColor
readwrite

Background for areas that are active or requesting attention.

Definition at line 137 of file platformtheme.h.

◆ activeTextColor

QColor Kirigami::Platform::PlatformTheme::activeTextColor
readwrite

Foreground for areas that are active or requesting attention.

Definition at line 87 of file platformtheme.h.

◆ alternateBackgroundColor

QColor Kirigami::Platform::PlatformTheme::alternateBackgroundColor
readwrite

The generic background color Alternate background; for example, for use in lists.

This color may be the same as BackgroundNormal, especially in sets other than View and Window.

Definition at line 126 of file platformtheme.h.

◆ backgroundColor

QColor Kirigami::Platform::PlatformTheme::backgroundColor
readwrite

The generic background color.

Definition at line 118 of file platformtheme.h.

◆ colorGroup

ColorGroup Kirigami::Platform::PlatformTheme::colorGroup
readwrite

This enumeration describes the color group used to generate the colors.

The enum value is based upon QPalette::ColorGroup and has the same values. It's redefined here in order to make it work with QML.

Since
4.43

Definition at line 54 of file platformtheme.h.

◆ colorSet

ColorSet Kirigami::Platform::PlatformTheme::colorSet
readwrite

This enumeration describes the color set for which a color is being selected.

Color sets define a color "environment", suitable for drawing all parts of a given region. Colors from different sets should not be combined.

Definition at line 46 of file platformtheme.h.

◆ defaultFont

QFont Kirigami::Platform::PlatformTheme::defaultFont
read

Definition at line 188 of file platformtheme.h.

◆ disabledTextColor

QColor Kirigami::Platform::PlatformTheme::disabledTextColor
readwrite

Foreground color for disabled areas, usually a mid-gray.

Note
Depending on the implementation, the color used for this property may not be based on the disabled palette. For example, for the Plasma implementation, "Inactive Text Color" of the active palette is used.

Definition at line 76 of file platformtheme.h.

◆ focusColor

QColor Kirigami::Platform::PlatformTheme::focusColor
readwrite

A decoration color that indicates active focus.

Definition at line 174 of file platformtheme.h.

◆ frameContrast

qreal Kirigami::Platform::PlatformTheme::frameContrast
read

Definition at line 198 of file platformtheme.h.

◆ highlightColor

QColor Kirigami::Platform::PlatformTheme::highlightColor
readwrite

The background color for selected areas.

Definition at line 132 of file platformtheme.h.

◆ highlightedTextColor

QColor Kirigami::Platform::PlatformTheme::highlightedTextColor
readwrite

Color for text that has been highlighted, often is a light color while normal text is dark.

Definition at line 81 of file platformtheme.h.

◆ hoverColor

QColor Kirigami::Platform::PlatformTheme::hoverColor
readwrite

A decoration color that indicates mouse hovering.

Definition at line 179 of file platformtheme.h.

◆ inherit

bool Kirigami::Platform::PlatformTheme::inherit
readwrite

If true, the colorSet will be inherited from the colorset of a theme of one of the ancestor items default: true.

Definition at line 61 of file platformtheme.h.

◆ lightFrameContrast

qreal Kirigami::Platform::PlatformTheme::lightFrameContrast
read

Definition at line 202 of file platformtheme.h.

◆ linkBackgroundColor

QColor Kirigami::Platform::PlatformTheme::linkBackgroundColor
readwrite

Background color for links.

Definition at line 143 of file platformtheme.h.

◆ linkColor

QColor Kirigami::Platform::PlatformTheme::linkColor
readwrite

Color for links.

Definition at line 92 of file platformtheme.h.

◆ negativeBackgroundColor

QColor Kirigami::Platform::PlatformTheme::negativeBackgroundColor
readwrite

Background color for negative areas, such as critical errors and destructive actions.

Definition at line 155 of file platformtheme.h.

◆ negativeTextColor

QColor Kirigami::Platform::PlatformTheme::negativeTextColor
readwrite

Foreground color for negative areas, such as critical error text.

Definition at line 102 of file platformtheme.h.

◆ neutralBackgroundColor

QColor Kirigami::Platform::PlatformTheme::neutralBackgroundColor
readwrite

Background color for neutral areas, such as warnings (but not critical)

Definition at line 161 of file platformtheme.h.

◆ neutralTextColor

QColor Kirigami::Platform::PlatformTheme::neutralTextColor
readwrite

Foreground color for neutral areas, such as warning texts (but not critical)

Definition at line 107 of file platformtheme.h.

◆ palette

QPalette Kirigami::Platform::PlatformTheme::palette
read

Definition at line 194 of file platformtheme.h.

◆ positiveBackgroundColor

QColor Kirigami::Platform::PlatformTheme::positiveBackgroundColor
readwrite

Background color for positive areas, such as success messages and trusted content.

Definition at line 167 of file platformtheme.h.

◆ positiveTextColor

QColor Kirigami::Platform::PlatformTheme::positiveTextColor
readwrite

Success messages, trusted content.

Definition at line 112 of file platformtheme.h.

◆ smallFont

QFont Kirigami::Platform::PlatformTheme::smallFont
read

Definition at line 191 of file platformtheme.h.

◆ textColor

QColor Kirigami::Platform::PlatformTheme::textColor
readwrite

Color for normal foregrounds, usually text, but not limited to it, anything that should be painted with a clear contrast should use this color.

Definition at line 68 of file platformtheme.h.

◆ useAlternateBackgroundColor

bool Kirigami::Platform::PlatformTheme::useAlternateBackgroundColor
readwrite

Hint for item views to actually make use of the alternate background color feature.

Definition at line 184 of file platformtheme.h.

◆ visitedLinkBackgroundColor

QColor Kirigami::Platform::PlatformTheme::visitedLinkBackgroundColor
readwrite

Background color for visited links, usually a bit darker than linkBackgroundColor.

Definition at line 149 of file platformtheme.h.

◆ visitedLinkColor

QColor Kirigami::Platform::PlatformTheme::visitedLinkColor
readwrite

Color for visited links, usually a bit darker than linkColor.

Definition at line 97 of file platformtheme.h.

Constructor & Destructor Documentation

◆ PlatformTheme()

Kirigami::Platform::PlatformTheme::PlatformTheme ( QObject * parent = nullptr)
explicit

Definition at line 410 of file platformtheme.cpp.

◆ ~PlatformTheme()

Kirigami::Platform::PlatformTheme::~PlatformTheme ( )
override

Definition at line 422 of file platformtheme.cpp.

Member Function Documentation

◆ activeBackgroundColor()

QColor Kirigami::Platform::PlatformTheme::activeBackgroundColor ( ) const

Definition at line 511 of file platformtheme.cpp.

◆ activeTextColor()

QColor Kirigami::Platform::PlatformTheme::activeTextColor ( ) const

Definition at line 506 of file platformtheme.cpp.

◆ alternateBackgroundColor()

QColor Kirigami::Platform::PlatformTheme::alternateBackgroundColor ( ) const

Definition at line 501 of file platformtheme.cpp.

◆ backgroundColor()

QColor Kirigami::Platform::PlatformTheme::backgroundColor ( ) const

Definition at line 496 of file platformtheme.cpp.

◆ colorGroup()

PlatformTheme::ColorGroup Kirigami::Platform::PlatformTheme::colorGroup ( ) const

Definition at line 454 of file platformtheme.cpp.

◆ colorSet()

PlatformTheme::ColorSet Kirigami::Platform::PlatformTheme::colorSet ( ) const

Definition at line 440 of file platformtheme.cpp.

◆ defaultFont()

QFont Kirigami::Platform::PlatformTheme::defaultFont ( ) const

Definition at line 677 of file platformtheme.cpp.

◆ disabledTextColor()

QColor Kirigami::Platform::PlatformTheme::disabledTextColor ( ) const

Definition at line 481 of file platformtheme.cpp.

◆ event()

bool Kirigami::Platform::PlatformTheme::event ( QEvent * event)
overrideprotectedvirtual

Reimplemented from QObject.

Definition at line 887 of file platformtheme.cpp.

◆ focusColor()

QColor Kirigami::Platform::PlatformTheme::focusColor ( ) const

Definition at line 566 of file platformtheme.cpp.

◆ frameContrast()

qreal Kirigami::Platform::PlatformTheme::frameContrast ( ) const

Definition at line 701 of file platformtheme.cpp.

◆ highlightColor()

QColor Kirigami::Platform::PlatformTheme::highlightColor ( ) const

Definition at line 486 of file platformtheme.cpp.

◆ highlightedTextColor()

QColor Kirigami::Platform::PlatformTheme::highlightedTextColor ( ) const

Definition at line 491 of file platformtheme.cpp.

◆ hoverColor()

QColor Kirigami::Platform::PlatformTheme::hoverColor ( ) const

Definition at line 571 of file platformtheme.cpp.

◆ iconFromTheme()

QIcon Kirigami::Platform::PlatformTheme::iconFromTheme ( const QString & name,
const QColor & customColor = Qt::transparent )
virtual

Definition at line 847 of file platformtheme.cpp.

◆ inherit()

bool Kirigami::Platform::PlatformTheme::inherit ( ) const

Definition at line 459 of file platformtheme.cpp.

◆ lightFrameContrast()

qreal Kirigami::Platform::PlatformTheme::lightFrameContrast ( ) const

Definition at line 709 of file platformtheme.cpp.

◆ linkBackgroundColor()

QColor Kirigami::Platform::PlatformTheme::linkBackgroundColor ( ) const

Definition at line 521 of file platformtheme.cpp.

◆ linkColor()

QColor Kirigami::Platform::PlatformTheme::linkColor ( ) const

Definition at line 516 of file platformtheme.cpp.

◆ negativeBackgroundColor()

QColor Kirigami::Platform::PlatformTheme::negativeBackgroundColor ( ) const

Definition at line 541 of file platformtheme.cpp.

◆ negativeTextColor()

QColor Kirigami::Platform::PlatformTheme::negativeTextColor ( ) const

Definition at line 536 of file platformtheme.cpp.

◆ neutralBackgroundColor()

QColor Kirigami::Platform::PlatformTheme::neutralBackgroundColor ( ) const

Definition at line 551 of file platformtheme.cpp.

◆ neutralTextColor()

QColor Kirigami::Platform::PlatformTheme::neutralTextColor ( ) const

Definition at line 546 of file platformtheme.cpp.

◆ palette()

QPalette Kirigami::Platform::PlatformTheme::palette ( ) const

Definition at line 832 of file platformtheme.cpp.

◆ positiveBackgroundColor()

QColor Kirigami::Platform::PlatformTheme::positiveBackgroundColor ( ) const

Definition at line 561 of file platformtheme.cpp.

◆ positiveTextColor()

QColor Kirigami::Platform::PlatformTheme::positiveTextColor ( ) const

Definition at line 556 of file platformtheme.cpp.

◆ qmlAttachedProperties()

PlatformTheme * Kirigami::Platform::PlatformTheme::qmlAttachedProperties ( QObject * object)
static

Definition at line 864 of file platformtheme.cpp.

◆ setActiveBackgroundColor()

void Kirigami::Platform::PlatformTheme::setActiveBackgroundColor ( const QColor & color)
protected

Definition at line 612 of file platformtheme.cpp.

◆ setActiveTextColor()

void Kirigami::Platform::PlatformTheme::setActiveTextColor ( const QColor & color)
protected

Definition at line 607 of file platformtheme.cpp.

◆ setAlternateBackgroundColor()

void Kirigami::Platform::PlatformTheme::setAlternateBackgroundColor ( const QColor & color)
protected

Definition at line 592 of file platformtheme.cpp.

◆ setBackgroundColor()

void Kirigami::Platform::PlatformTheme::setBackgroundColor ( const QColor & color)
protected

Definition at line 587 of file platformtheme.cpp.

◆ setColorGroup()

void Kirigami::Platform::PlatformTheme::setColorGroup ( PlatformTheme::ColorGroup colorGroup)

Definition at line 445 of file platformtheme.cpp.

◆ setColorSet()

void Kirigami::Platform::PlatformTheme::setColorSet ( PlatformTheme::ColorSet colorSet)

Definition at line 431 of file platformtheme.cpp.

◆ setCustomActiveBackgroundColor()

void Kirigami::Platform::PlatformTheme::setCustomActiveBackgroundColor ( const QColor & color = QColor())

Definition at line 752 of file platformtheme.cpp.

◆ setCustomActiveTextColor()

void Kirigami::Platform::PlatformTheme::setCustomActiveTextColor ( const QColor & color = QColor())

Definition at line 747 of file platformtheme.cpp.

◆ setCustomAlternateBackgroundColor()

void Kirigami::Platform::PlatformTheme::setCustomAlternateBackgroundColor ( const QColor & color = QColor())

Definition at line 732 of file platformtheme.cpp.

◆ setCustomBackgroundColor()

void Kirigami::Platform::PlatformTheme::setCustomBackgroundColor ( const QColor & color = QColor())

Definition at line 727 of file platformtheme.cpp.

◆ setCustomDisabledTextColor()

void Kirigami::Platform::PlatformTheme::setCustomDisabledTextColor ( const QColor & color = QColor())

Definition at line 722 of file platformtheme.cpp.

◆ setCustomFocusColor()

void Kirigami::Platform::PlatformTheme::setCustomFocusColor ( const QColor & color = QColor())

Definition at line 812 of file platformtheme.cpp.

◆ setCustomHighlightColor()

void Kirigami::Platform::PlatformTheme::setCustomHighlightColor ( const QColor & color = QColor())

Definition at line 737 of file platformtheme.cpp.

◆ setCustomHighlightedTextColor()

void Kirigami::Platform::PlatformTheme::setCustomHighlightedTextColor ( const QColor & color = QColor())

Definition at line 742 of file platformtheme.cpp.

◆ setCustomHoverColor()

void Kirigami::Platform::PlatformTheme::setCustomHoverColor ( const QColor & color = QColor())

Definition at line 807 of file platformtheme.cpp.

◆ setCustomLinkBackgroundColor()

void Kirigami::Platform::PlatformTheme::setCustomLinkBackgroundColor ( const QColor & color = QColor())

Definition at line 762 of file platformtheme.cpp.

◆ setCustomLinkColor()

void Kirigami::Platform::PlatformTheme::setCustomLinkColor ( const QColor & color = QColor())

Definition at line 757 of file platformtheme.cpp.

◆ setCustomNegativeBackgroundColor()

void Kirigami::Platform::PlatformTheme::setCustomNegativeBackgroundColor ( const QColor & color = QColor())

Definition at line 782 of file platformtheme.cpp.

◆ setCustomNegativeTextColor()

void Kirigami::Platform::PlatformTheme::setCustomNegativeTextColor ( const QColor & color = QColor())

Definition at line 777 of file platformtheme.cpp.

◆ setCustomNeutralBackgroundColor()

void Kirigami::Platform::PlatformTheme::setCustomNeutralBackgroundColor ( const QColor & color = QColor())

Definition at line 792 of file platformtheme.cpp.

◆ setCustomNeutralTextColor()

void Kirigami::Platform::PlatformTheme::setCustomNeutralTextColor ( const QColor & color = QColor())

Definition at line 787 of file platformtheme.cpp.

◆ setCustomPositiveBackgroundColor()

void Kirigami::Platform::PlatformTheme::setCustomPositiveBackgroundColor ( const QColor & color = QColor())

Definition at line 802 of file platformtheme.cpp.

◆ setCustomPositiveTextColor()

void Kirigami::Platform::PlatformTheme::setCustomPositiveTextColor ( const QColor & color = QColor())

Definition at line 797 of file platformtheme.cpp.

◆ setCustomTextColor()

void Kirigami::Platform::PlatformTheme::setCustomTextColor ( const QColor & color = QColor())

Definition at line 717 of file platformtheme.cpp.

◆ setCustomVisitedLinkBackgroundColor()

void Kirigami::Platform::PlatformTheme::setCustomVisitedLinkBackgroundColor ( const QColor & color = QColor())

Definition at line 772 of file platformtheme.cpp.

◆ setCustomVisitedLinkColor()

void Kirigami::Platform::PlatformTheme::setCustomVisitedLinkColor ( const QColor & color = QColor())

Definition at line 767 of file platformtheme.cpp.

◆ setDefaultFont()

void Kirigami::Platform::PlatformTheme::setDefaultFont ( const QFont & defaultFont)
protected

Definition at line 682 of file platformtheme.cpp.

◆ setDisabledTextColor()

void Kirigami::Platform::PlatformTheme::setDisabledTextColor ( const QColor & color)
protected

Definition at line 582 of file platformtheme.cpp.

◆ setFocusColor()

void Kirigami::Platform::PlatformTheme::setFocusColor ( const QColor & color)
protected

Definition at line 672 of file platformtheme.cpp.

◆ setHighlightColor()

void Kirigami::Platform::PlatformTheme::setHighlightColor ( const QColor & color)
protected

Definition at line 597 of file platformtheme.cpp.

◆ setHighlightedTextColor()

void Kirigami::Platform::PlatformTheme::setHighlightedTextColor ( const QColor & color)
protected

Definition at line 602 of file platformtheme.cpp.

◆ setHoverColor()

void Kirigami::Platform::PlatformTheme::setHoverColor ( const QColor & color)
protected

Definition at line 667 of file platformtheme.cpp.

◆ setInherit()

void Kirigami::Platform::PlatformTheme::setInherit ( bool inherit)

Definition at line 464 of file platformtheme.cpp.

◆ setLinkBackgroundColor()

void Kirigami::Platform::PlatformTheme::setLinkBackgroundColor ( const QColor & color)
protected

Definition at line 622 of file platformtheme.cpp.

◆ setLinkColor()

void Kirigami::Platform::PlatformTheme::setLinkColor ( const QColor & color)
protected

Definition at line 617 of file platformtheme.cpp.

◆ setNegativeBackgroundColor()

void Kirigami::Platform::PlatformTheme::setNegativeBackgroundColor ( const QColor & color)
protected

Definition at line 642 of file platformtheme.cpp.

◆ setNegativeTextColor()

void Kirigami::Platform::PlatformTheme::setNegativeTextColor ( const QColor & color)
protected

Definition at line 637 of file platformtheme.cpp.

◆ setNeutralBackgroundColor()

void Kirigami::Platform::PlatformTheme::setNeutralBackgroundColor ( const QColor & color)
protected

Definition at line 652 of file platformtheme.cpp.

◆ setNeutralTextColor()

void Kirigami::Platform::PlatformTheme::setNeutralTextColor ( const QColor & color)
protected

Definition at line 647 of file platformtheme.cpp.

◆ setPositiveBackgroundColor()

void Kirigami::Platform::PlatformTheme::setPositiveBackgroundColor ( const QColor & color)
protected

Definition at line 662 of file platformtheme.cpp.

◆ setPositiveTextColor()

void Kirigami::Platform::PlatformTheme::setPositiveTextColor ( const QColor & color)
protected

Definition at line 657 of file platformtheme.cpp.

◆ setSmallFont()

void Kirigami::Platform::PlatformTheme::setSmallFont ( const QFont & smallFont)
protected

Definition at line 694 of file platformtheme.cpp.

◆ setSupportsIconColoring()

void Kirigami::Platform::PlatformTheme::setSupportsIconColoring ( bool support)
protected

Definition at line 859 of file platformtheme.cpp.

◆ setTextColor()

void Kirigami::Platform::PlatformTheme::setTextColor ( const QColor & color)
protected

Definition at line 577 of file platformtheme.cpp.

◆ setUseAlternateBackgroundColor()

void Kirigami::Platform::PlatformTheme::setUseAlternateBackgroundColor ( bool alternate)

Definition at line 822 of file platformtheme.cpp.

◆ setVisitedLinkBackgroundColor()

void Kirigami::Platform::PlatformTheme::setVisitedLinkBackgroundColor ( const QColor & color)
protected

Definition at line 632 of file platformtheme.cpp.

◆ setVisitedLinkColor()

void Kirigami::Platform::PlatformTheme::setVisitedLinkColor ( const QColor & color)
protected

Definition at line 627 of file platformtheme.cpp.

◆ smallFont()

QFont Kirigami::Platform::PlatformTheme::smallFont ( ) const

Definition at line 689 of file platformtheme.cpp.

◆ supportsIconColoring()

bool Kirigami::Platform::PlatformTheme::supportsIconColoring ( ) const

Definition at line 854 of file platformtheme.cpp.

◆ textColor()

QColor Kirigami::Platform::PlatformTheme::textColor ( ) const

Definition at line 476 of file platformtheme.cpp.

◆ useAlternateBackgroundColor()

bool Kirigami::Platform::PlatformTheme::useAlternateBackgroundColor ( ) const

Definition at line 817 of file platformtheme.cpp.

◆ visitedLinkBackgroundColor()

QColor Kirigami::Platform::PlatformTheme::visitedLinkBackgroundColor ( ) const

Definition at line 531 of file platformtheme.cpp.

◆ visitedLinkColor()

QColor Kirigami::Platform::PlatformTheme::visitedLinkColor ( ) const

Definition at line 526 of file platformtheme.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Apr 27 2024 22:13:10 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.