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
qdesigner_internal::PropertySheetIconValue Class Reference

#include <qdesigner_utils_p.h>

+ Collaboration diagram for qdesigner_internal::PropertySheetIconValue:

Public Types

using ModeStateKey = std::pair<QIcon::Mode, QIcon::State>
 
using ModeStateToPixmapMap = QMap<ModeStateKey, PropertySheetPixmapValue>
 

Public Member Functions

 PropertySheetIconValue (const PropertySheetPixmapValue &pixmap)
 
 PropertySheetIconValue ()
 
 ~PropertySheetIconValue ()
 
 PropertySheetIconValue (const PropertySheetIconValue &) noexcept
 
PropertySheetIconValueoperator= (const PropertySheetIconValue &)
 
 PropertySheetIconValue (PropertySheetIconValue &&) noexcept
 
PropertySheetIconValueoperator= (PropertySheetIconValue &&) noexcept
 
bool isEmpty () const
 
QString theme () const
 
void setTheme (const QString &)
 
int themeEnum () const
 
void setThemeEnum (int e)
 
PropertySheetPixmapValue pixmap (QIcon::Mode mode, QIcon::State state) const
 
void setPixmap (QIcon::Mode mode, QIcon::State state, const PropertySheetPixmapValue &path)
 
uint mask () const
 
uint compare (const PropertySheetIconValue &other) const
 
void assign (const PropertySheetIconValue &other, uint mask)
 
PropertySheetIconValue themed () const
 
PropertySheetIconValue unthemed () const
 
const ModeStateToPixmapMappaths () const
 

Friends

QDESIGNER_SHARED_EXPORT size_t qHash (const PropertySheetIconValue &p, size_t seed)
 
size_t qHash (const PropertySheetIconValue &p) noexcept
 
QDESIGNER_SHARED_EXPORT bool comparesEqual (const PropertySheetIconValue &lhs, const PropertySheetIconValue &rhs)
 

Detailed Description

Definition at line 246 of file qdesigner_utils_p.h.

Member Typedef Documentation

◆ ModeStateKey

◆ ModeStateToPixmapMap

Constructor & Destructor Documentation

◆ PropertySheetIconValue() [1/4]

qdesigner_internal::PropertySheetIconValue::PropertySheetIconValue ( const PropertySheetPixmapValue & pixmap)
explicit

Definition at line 298 of file qdesigner_utils.cpp.

◆ PropertySheetIconValue() [2/4]

qdesigner_internal::PropertySheetIconValue::PropertySheetIconValue ( )

Definition at line 304 of file qdesigner_utils.cpp.

◆ ~PropertySheetIconValue()

qdesigner_internal::PropertySheetIconValue::~PropertySheetIconValue ( )
default

◆ PropertySheetIconValue() [3/4]

qdesigner_internal::PropertySheetIconValue::PropertySheetIconValue ( const PropertySheetIconValue & )
defaultnoexcept

◆ PropertySheetIconValue() [4/4]

qdesigner_internal::PropertySheetIconValue::PropertySheetIconValue ( PropertySheetIconValue && )
defaultnoexcept

Member Function Documentation

◆ assign()

void qdesigner_internal::PropertySheetIconValue::assign ( const PropertySheetIconValue & other,
uint mask )

Definition at line 623 of file qdesigner_utils.cpp.

◆ compare()

uint qdesigner_internal::PropertySheetIconValue::compare ( const PropertySheetIconValue & other) const

Definition at line 589 of file qdesigner_utils.cpp.

◆ isEmpty()

bool qdesigner_internal::PropertySheetIconValue::isEmpty ( ) const

Definition at line 338 of file qdesigner_utils.cpp.

◆ mask()

uint qdesigner_internal::PropertySheetIconValue::mask ( ) const

Definition at line 577 of file qdesigner_utils.cpp.

◆ operator=() [1/2]

PropertySheetIconValue & qdesigner_internal::PropertySheetIconValue::operator= ( const PropertySheetIconValue & )
default

◆ operator=() [2/2]

PropertySheetIconValue & qdesigner_internal::PropertySheetIconValue::operator= ( PropertySheetIconValue && )
defaultnoexcept

◆ paths()

const PropertySheetIconValue::ModeStateToPixmapMap & qdesigner_internal::PropertySheetIconValue::paths ( ) const

Definition at line 638 of file qdesigner_utils.cpp.

◆ pixmap()

PropertySheetPixmapValue qdesigner_internal::PropertySheetIconValue::pixmap ( QIcon::Mode mode,
QIcon::State state ) const

Definition at line 364 of file qdesigner_utils.cpp.

◆ setPixmap()

void qdesigner_internal::PropertySheetIconValue::setPixmap ( QIcon::Mode mode,
QIcon::State state,
const PropertySheetPixmapValue & path )

Definition at line 370 of file qdesigner_utils.cpp.

◆ setTheme()

void qdesigner_internal::PropertySheetIconValue::setTheme ( const QString & t)

Definition at line 349 of file qdesigner_utils.cpp.

◆ setThemeEnum()

void qdesigner_internal::PropertySheetIconValue::setThemeEnum ( int e)

Definition at line 359 of file qdesigner_utils.cpp.

◆ theme()

QString qdesigner_internal::PropertySheetIconValue::theme ( ) const

Definition at line 344 of file qdesigner_utils.cpp.

◆ themed()

PropertySheetIconValue qdesigner_internal::PropertySheetIconValue::themed ( ) const

Definition at line 608 of file qdesigner_utils.cpp.

◆ themeEnum()

int qdesigner_internal::PropertySheetIconValue::themeEnum ( ) const

Definition at line 354 of file qdesigner_utils.cpp.

◆ unthemed()

PropertySheetIconValue qdesigner_internal::PropertySheetIconValue::unthemed ( ) const

Definition at line 615 of file qdesigner_utils.cpp.

Friends And Related Symbol Documentation

◆ comparesEqual

QDESIGNER_SHARED_EXPORT bool comparesEqual ( const PropertySheetIconValue & lhs,
const PropertySheetIconValue & rhs )
friend

Definition at line 328 of file qdesigner_utils.cpp.

◆ qHash [1/2]

size_t qHash ( const PropertySheetIconValue & p)
friend

Definition at line 284 of file qdesigner_utils_p.h.

◆ qHash [2/2]

QDESIGNER_SHARED_EXPORT size_t qHash ( const PropertySheetIconValue & p,
size_t seed )
friend

Definition at line 321 of file qdesigner_utils.cpp.


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