Logo Search packages:      
Sourcecode: qsapecng version File versions  Download package

Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

QtFontPropertyManager Class Reference

The QtFontPropertyManager provides and manages QFont properties. More...

Inheritance diagram for QtFontPropertyManager:
Inheritance graph
[legend]
Collaboration diagram for QtFontPropertyManager:
Collaboration graph
[legend]

List of all members.

Public Slots

void setValue (QtProperty *property, const QFont &val)

Signals

void propertyChanged (QtProperty *property)
void propertyDestroyed (QtProperty *property)
void propertyInserted (QtProperty *property, QtProperty *parent, QtProperty *after)
void propertyRemoved (QtProperty *property, QtProperty *parent)
void valueChanged (QtProperty *property, const QFont &val)

Public Member Functions

QtPropertyaddProperty (const QString &name=QString())
void clear () const
QSet< QtProperty * > properties () const
 QtFontPropertyManager (QObject *parent=0)
QtBoolPropertyManagersubBoolPropertyManager () const
QtEnumPropertyManagersubEnumPropertyManager () const
QtIntPropertyManagersubIntPropertyManager () const
QFont value (const QtProperty *property) const
 ~QtFontPropertyManager ()

Protected Member Functions

virtual QtPropertycreateProperty ()
virtual bool hasValue (const QtProperty *property) const
virtual void initializeProperty (QtProperty *property)
virtual void uninitializeProperty (QtProperty *property)
QIcon valueIcon (const QtProperty *property) const
QString valueText (const QtProperty *property) const

Private Member Functions

 Q_PRIVATE_SLOT (d_func(), void slotIntChanged(QtProperty *, int)) Q_PRIVATE_SLOT(d_func()
void void slotBoolChanged (QtProperty *, bool)) Q_PRIVATE_SLOT(d_func()
void slotEnumChanged (QtProperty *, int)) Q_PRIVATE_SLOT(d_func()
void void void void slotFontDatabaseChanged ()) Q_PRIVATE_SLOT(d_func()
void void void slotPropertyDestroyed (QtProperty *)) Q_PRIVATE_SLOT(d_func()

Private Attributes

QtFontPropertyManagerPrivated_ptr

Detailed Description

The QtFontPropertyManager provides and manages QFont properties.

A font property has nested family, pointSize, bold, italic, underline, strikeOut and kerning subproperties. The top-level property's value can be retrieved using the value() function, and set using the setValue() slot.

The subproperties are created by QtIntPropertyManager, QtEnumPropertyManager and QtBoolPropertyManager objects. These managers can be retrieved using the corresponding subIntPropertyManager(), subEnumPropertyManager() and subBoolPropertyManager() functions. In order to provide editing widgets for the subproperties in a property browser widget, these managers must be associated with editor factories.

In addition, QtFontPropertyManager provides the valueChanged() signal which is emitted whenever a property created by this manager changes.

See also:
QtAbstractPropertyManager, QtEnumPropertyManager, QtIntPropertyManager, QtBoolPropertyManager

Definition at line 700 of file qtpropertymanager.h.


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

Generated by  Doxygen 1.6.0   Back to index