itom  4.1.0
FontButtonPrivate Class Reference

Public Member Functions

 FontButtonPrivate (FontButton &object)
 
void init ()
 
void updateText ()
 
QString fullNameWeight () const
 

Public Attributes

QFont Font
 
QString FontTextFormat
 

Protected Attributes

FontButton *const q_ptr
 

Private Member Functions

 Q_DECLARE_PUBLIC (FontButton)
 

Member Function Documentation

QString FontButtonPrivate::fullNameWeight ( ) const
Todo:
: QFont:Weight is not yet in the meta object system QMetaObject meta = QFont::staticMetaObject; for (int i = 0; i < meta.enumeratorCount(); ++i) { QMetaEnum metaEnum = meta.enumerator(i); if (metaEnum.name() == "Weight") { return QString(metaEnum.valueToKey(this->Font.weight())); } }

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