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
QtGradientUtils Class Reference

#include <qtgradientutils_p.h>

+ Collaboration diagram for QtGradientUtils:

Static Public Member Functions

static QString styleSheetCode (const QGradient &gradient)
 
static QString saveState (const QtGradientManager *manager)
 
static void restoreState (QtGradientManager *manager, const QString &state)
 
static QPixmap gradientPixmap (const QGradient &gradient, QSize size=QSize(64, 64), bool checkeredBackground=false)
 

Detailed Description

Definition at line 25 of file qtgradientutils_p.h.

Member Function Documentation

◆ gradientPixmap()

QPixmap QtGradientUtils::gradientPixmap ( const QGradient & gradient,
QSize size = QSize(64, 64),
bool checkeredBackground = false )
static

Definition at line 246 of file qtgradientutils.cpp.

◆ restoreState()

void QtGradientUtils::restoreState ( QtGradientManager * manager,
const QString & state )
static

Definition at line 227 of file qtgradientutils.cpp.

References QtGradientManager::clear().

+ Here is the call graph for this function:

◆ saveState()

QString QtGradientUtils::saveState ( const QtGradientManager * manager)
static

Definition at line 206 of file qtgradientutils.cpp.

◆ styleSheetCode()

QString QtGradientUtils::styleSheetCode ( const QGradient & gradient)
static

Definition at line 375 of file qtgradientutils.cpp.


The documentation for this class was generated from the following files: