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
QGtk3Storage::Source Struct Reference

#include <qgtk3storage_p.h>

Collaboration diagram for QGtk3Storage::Source:

Public Member Functions

 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)
 Source (QPalette::ColorGroup group, QPalette::ColorRole role, Qt::ColorScheme scheme, int p_red, int p_green, int p_blue)
 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 sourceGroup, QPalette::ColorRole role1, QPalette::ColorRole role2)
 Source (const QBrush &brush)
 Source ()
bool isValid () const
QDebug operator<< (QDebug dbg)

Public Attributes

SourceType sourceType = SourceType::Invalid
Gtk3Source gtk3
RecursiveSource rec
FixedSource fix
MixSources mix

Detailed Description

Definition at line 119 of file qgtk3storage_p.h.

Constructor & Destructor Documentation

◆ Source() [1/7]

QGtk3Storage::Source::Source ( QGtk3Interface::QGtkWidget wtype,
QGtk3Interface::QGtkColorSource csource,
GtkStateFlags cstate,
int bwidth = -1,
int bheight = -1 )
inline

Definition at line 127 of file qgtk3storage_p.h.

References QGtk3Storage::Gtk, and sourceType.

◆ Source() [2/7]

QGtk3Storage::Source::Source ( QPalette::ColorGroup group,
QPalette::ColorRole role,
Qt::ColorScheme scheme,
int p_lighter = 100 )
inline

Definition at line 138 of file qgtk3storage_p.h.

References QGtk3Storage::Modified, and sourceType.

◆ Source() [3/7]

QGtk3Storage::Source::Source ( QPalette::ColorGroup group,
QPalette::ColorRole role,
Qt::ColorScheme scheme,
int p_red,
int p_green,
int p_blue )
inline

Definition at line 149 of file qgtk3storage_p.h.

References QGtk3Storage::Modified, and sourceType.

◆ Source() [4/7]

QGtk3Storage::Source::Source ( QPalette::ColorGroup group,
QPalette::ColorRole role,
Qt::ColorScheme scheme,
int p_lighter,
int p_red,
int p_green,
int p_blue )
inline

Definition at line 162 of file qgtk3storage_p.h.

References QGtk3Storage::Modified, and sourceType.

◆ Source() [5/7]

QGtk3Storage::Source::Source ( QPalette::ColorGroup sourceGroup,
QPalette::ColorRole role1,
QPalette::ColorRole role2 )
inline

Definition at line 176 of file qgtk3storage_p.h.

References QGtk3Storage::Mixed, and sourceType.

◆ Source() [6/7]

QGtk3Storage::Source::Source ( const QBrush & brush)
inline

Definition at line 186 of file qgtk3storage_p.h.

References QGtk3Storage::Fixed, and sourceType.

◆ Source() [7/7]

QGtk3Storage::Source::Source ( )
inline

Definition at line 192 of file qgtk3storage_p.h.

References QGtk3Storage::Invalid, and sourceType.

Member Function Documentation

◆ isValid()

bool QGtk3Storage::Source::isValid ( ) const
inline

Definition at line 193 of file qgtk3storage_p.h.

References QGtk3Storage::Invalid, and sourceType.

◆ operator<<()

QDebug QGtk3Storage::Source::operator<< ( QDebug dbg)
inline

Definition at line 196 of file qgtk3storage_p.h.

References sourceType.

Member Data Documentation

◆ fix

FixedSource QGtk3Storage::Source::fix

Definition at line 123 of file qgtk3storage_p.h.

◆ gtk3

Gtk3Source QGtk3Storage::Source::gtk3

Definition at line 121 of file qgtk3storage_p.h.

◆ mix

MixSources QGtk3Storage::Source::mix

Definition at line 124 of file qgtk3storage_p.h.

◆ rec

RecursiveSource QGtk3Storage::Source::rec

Definition at line 122 of file qgtk3storage_p.h.

◆ sourceType

SourceType QGtk3Storage::Source::sourceType = SourceType::Invalid

The documentation for this struct was generated from the following file: