Logo Search packages:      
Sourcecode: qt-assistant-compat version File versions  Download package

Public Member Functions | Private Slots | Private Member Functions | Private Attributes

FontPanel Class Reference

List of all members.

Public Member Functions

 FontPanel (QWidget *parentWidget=0)
QFont selectedFont () const
void setSelectedFont (const QFont &)
void setWritingSystem (QFontDatabase::WritingSystem ws)
QFontDatabase::WritingSystem writingSystem () const

Private Slots

void slotFamilyChanged (const QFont &)
void slotPointSizeChanged (int)
void slotStyleChanged (int)
void slotUpdatePreviewFont ()
void slotWritingSystemChanged (int)

Private Member Functions

int closestPointSizeIndex (int ps) const
void delayedPreviewFontUpdate ()
QString family () const
int pointSize () const
QString styleString () const
void updateFamily (const QString &family)
void updatePointSizes (const QString &family, const QString &style)
void updateWritingSystem (QFontDatabase::WritingSystem ws)

Private Attributes

QFontComboBox * m_familyComboBox
QFontDatabase m_fontDatabase
QComboBox * m_pointSizeComboBox
QTimer * m_previewFontUpdateTimer
QLineEdit * m_previewLineEdit
QComboBox * m_styleComboBox
QComboBox * m_writingSystemComboBox

Detailed Description

Definition at line 67 of file fontpanel.h.

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

Generated by  Doxygen 1.6.0   Back to index