QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskLabelData Class Reference

Detailed Description

Definition at line 18 of file QskLabelData.h.

Properties

QString text
 
QUrl iconSource
 

Public Member Functions

 QskLabelData (const char *)
 
 QskLabelData (const QString &)
 
 QskLabelData (const QskIcon &)
 
 QskLabelData (const QString &, const QskIcon &)
 
bool operator== (const QskLabelData &) const noexcept
 
bool operator!= (const QskLabelData &) const noexcept
 
void setText (const QString &)
 
QString text () const noexcept
 
void setIconSource (const QUrl &)
 
QUrl iconSource () const noexcept
 
void setIcon (const QskIcon &)
 
QskIcon icon () const noexcept
 
bool isEmpty () const
 
QskHashValue hash (QskHashValue) const
 

Constructor & Destructor Documentation

◆ QskLabelData() [1/4]

QskLabelData::QskLabelData ( const char *  text)

Definition at line 23 of file QskLabelData.cpp.

◆ QskLabelData() [2/4]

QskLabelData::QskLabelData ( const QString &  text)

Definition at line 28 of file QskLabelData.cpp.

◆ QskLabelData() [3/4]

QskLabelData::QskLabelData ( const QskIcon icon)

Definition at line 33 of file QskLabelData.cpp.

◆ QskLabelData() [4/4]

QskLabelData::QskLabelData ( const QString &  text,
const QskIcon icon 
)

Definition at line 38 of file QskLabelData.cpp.

Member Function Documentation

◆ hash()

QskHashValue QskLabelData::hash ( QskHashValue  seed) const

Definition at line 65 of file QskLabelData.cpp.

◆ icon()

QskIcon QskLabelData::icon ( ) const
inlinenoexcept

Definition at line 61 of file QskLabelData.h.

◆ iconSource()

QUrl QskLabelData::iconSource ( ) const
inlinenoexcept

Definition at line 66 of file QskLabelData.h.

◆ isEmpty()

bool QskLabelData::isEmpty ( ) const
inline

Definition at line 76 of file QskLabelData.h.

◆ operator!=()

bool QskLabelData::operator!= ( const QskLabelData other) const
inlinenoexcept

Definition at line 71 of file QskLabelData.h.

◆ operator==()

bool QskLabelData::operator== ( const QskLabelData other) const
noexcept

Definition at line 44 of file QskLabelData.cpp.

◆ setIcon()

void QskLabelData::setIcon ( const QskIcon icon)

Definition at line 60 of file QskLabelData.cpp.

◆ setIconSource()

void QskLabelData::setIconSource ( const QUrl &  source)

Definition at line 55 of file QskLabelData.cpp.

◆ setText()

void QskLabelData::setText ( const QString &  text)

Definition at line 50 of file QskLabelData.cpp.

◆ text()

QString QskLabelData::text ( ) const
inlinenoexcept

Definition at line 56 of file QskLabelData.h.

Property Documentation

◆ iconSource

QUrl QskLabelData::iconSource
readwrite

Definition at line 23 of file QskLabelData.h.

◆ text

QString QskLabelData::text
readwrite

Definition at line 22 of file QskLabelData.h.