4#ifndef QGTK3STORAGE_P_H
5#define QGTK3STORAGE_P_H
20#include <QtCore/QJsonDocument>
21#include <QtCore/QCache>
22#include <QtCore/QString>
23#include <QtGui/QGuiApplication>
24#include <QtGui/QPalette>
26#include <qpa/qplatformtheme.h>
27#include <private/qflatmap_p.h>
54 return dbg <<
"QGtkStorage::Gtk3Source(gtkwidgetType=" << gtkWidgetType <<
", source="
73 return dbg <<
"QGtkStorage::RecursiceSource(colorGroup=" <<
colorGroup <<
", colorRole="
85 return dbg <<
"QGtkStorage::FixedSource(" <<
fixedBrush <<
")";
158 return dbg <<
"QGtk3Storage::Source(sourceType=" <<
sourceType <<
")";
207 std::unique_ptr<QGtk3Interface> m_interface;
227 void createMapping ();
231 bool load(
const QString &filename);
\inmodule QtCore \reentrant
void handleThemeChange()
Handles a theme change at runtime.
QFlatMap< QPlatformTheme::Palette, BrushMap > PaletteMap
static QPalette standardPalette()
Returns a simple, hard coded base palette.
const QString themeName() const
Qt::ColorScheme colorScheme() const
QFlatMap< TargetBrush, Source > BrushMap
QIcon fileIcon(const QFileInfo &fileInfo) const
Returns a GTK styled file icon corresponding to.
void populateMap()
Populates a map with information about how to locate colors in GTK.
SourceType
This enum represents the type of a color source.
QPixmap standardPixmap(QPlatformTheme::StandardPixmap standardPixmap, const QSizeF &size) const
Return a GTK styled standard pixmap if available.
The QIcon class provides scalable icons in different modes and states.
\inmodule QtCore\reentrant
The QPalette class contains color groups for each widget state.
ColorGroup
\value Disabled \value Active \value Inactive \value Normal synonym for Active
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
\macro QT_RESTRICTED_CAST_FROM_ASCII
QMap< QString, QString > map
[6]
Combined button and popup list for selecting options.
GLint GLsizei GLsizei height
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLsizei GLsizei GLchar * source
QDebug operator<<(QDebug dbg)
QGtk3Interface::QGtkWidget gtkWidgetType
QDebug operator<<(QDebug dbg)
QGtk3Interface::QGtkColorSource source
QDebug operator<<(QDebug dbg)
QPalette::ColorRole colorRole
QPalette::ColorGroup colorGroup
Qt::ColorScheme colorScheme
Source(const QBrush &brush)
Source(QPalette::ColorGroup group, QPalette::ColorRole role, Qt::ColorScheme scheme, int p_lighter, int p_red, int p_green, int p_blue)
Source(QPalette::ColorGroup group, QPalette::ColorRole role, Qt::ColorScheme scheme, int p_red, int p_green, int p_blue)
Source(QGtk3Interface::QGtkWidget wtype, QGtk3Interface::QGtkColorSource csource, GtkStateFlags cstate, int bwidth=-1, int bheight=-1)
Source(QPalette::ColorGroup group, QPalette::ColorRole role, Qt::ColorScheme scheme, int p_lighter=100)
QDebug operator<<(QDebug dbg)
QPalette::ColorRole colorRole
QPalette::ColorGroup colorGroup
TargetBrush(QPalette::ColorGroup group, QPalette::ColorRole role, Qt::ColorScheme scheme=Qt::ColorScheme::Unknown)
TargetBrush(const TargetBrush &other, Qt::ColorScheme scheme)
Qt::ColorScheme colorScheme
bool operator<(const TargetBrush &other) const