BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
qdesigner_internal::PropertySheetIconValue Class Reference

Public Types

typedef QPair< QIcon::Mode, QIcon::State > ModeStateKey
 
typedef QMap< ModeStateKey, PropertySheetPixmapValueModeStateToPixmapMap
 

Public Member Functions

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

Private Member Functions

bool equals (const PropertySheetIconValue &rhs) const
 

Private Attributes

QSharedDataPointer< PropertySheetIconValueData > m_data
 

Detailed Description

Definition at line 249 of file qdesigner_utils_p.h.

Member Typedef Documentation

◆ ModeStateKey

typedef QPair<QIcon::Mode, QIcon::State> qdesigner_internal::PropertySheetIconValue::ModeStateKey

Definition at line 279 of file qdesigner_utils_p.h.

◆ ModeStateToPixmapMap

Constructor & Destructor Documentation

◆ PropertySheetIconValue() [1/3]

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

◆ PropertySheetIconValue() [2/3]

qdesigner_internal::PropertySheetIconValue::PropertySheetIconValue ( )

◆ ~PropertySheetIconValue()

qdesigner_internal::PropertySheetIconValue::~PropertySheetIconValue ( )

◆ PropertySheetIconValue() [3/3]

qdesigner_internal::PropertySheetIconValue::PropertySheetIconValue ( const PropertySheetIconValue )

Member Function Documentation

◆ assign()

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

◆ compare()

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

◆ equals()

bool qdesigner_internal::PropertySheetIconValue::equals ( const PropertySheetIconValue rhs) const
private

◆ isEmpty()

bool qdesigner_internal::PropertySheetIconValue::isEmpty ( ) const

◆ mask()

uint qdesigner_internal::PropertySheetIconValue::mask ( ) const

◆ operator!=()

bool qdesigner_internal::PropertySheetIconValue::operator!= ( const PropertySheetIconValue other) const
inline

Definition at line 258 of file qdesigner_utils_p.h.

258 { return !equals(other); }
bool equals(const PropertySheetIconValue &rhs) const

◆ operator<()

bool qdesigner_internal::PropertySheetIconValue::operator< ( const PropertySheetIconValue other) const

◆ operator=()

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

◆ operator==()

bool qdesigner_internal::PropertySheetIconValue::operator== ( const PropertySheetIconValue other) const
inline

Definition at line 257 of file qdesigner_utils_p.h.

257 { return equals(other); }

◆ paths()

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

◆ pixmap()

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

◆ setPixmap()

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

◆ setTheme()

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

◆ theme()

QString qdesigner_internal::PropertySheetIconValue::theme ( ) const

◆ themed()

PropertySheetIconValue qdesigner_internal::PropertySheetIconValue::themed ( ) const

◆ unthemed()

PropertySheetIconValue qdesigner_internal::PropertySheetIconValue::unthemed ( ) const

Member Data Documentation

◆ m_data

QSharedDataPointer<PropertySheetIconValueData> qdesigner_internal::PropertySheetIconValue::m_data
private

Definition at line 286 of file qdesigner_utils_p.h.


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