Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

FontDialog Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-gutenbrowser/fontDialog.h>

Collaboration diagram for FontDialog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FontDialog (QWidget *parent=0, const char *name=0)
 ~FontDialog ()
void populateLists ()
void clearListBoxes ()
void changeText ()

Public Attributes

QLabel * FontTextLabel4
QGroupBox * FamilyGroup
QGroupBox * GroupBox2
QListBox * familyListBox
QListBox * styleListBox
QListBox * sizeListBox
QMultiLineEdit * MultiLineEdit1
QPushButton * PushButtonOk
QPushButton * PushButtonCancel
QStringList families
QComboBox * sizeComboBox
FontDatabase fdb
QString family
QString style
QString size
QFont selectedFont
bool changedFonts

Protected Slots

void familyListBoxSlot (const QString &)
void styleListBoxSlot (const QString &)
void sizeComboBoxSlot (const QString &)

Constructor & Destructor Documentation

FontDialog::FontDialog QWidget *  parent = 0,
const char *  name = 0
 

Definition at line 35 of file fontDialog.cpp.

References FALSE, familyListBox, familyListBoxSlot(), FontTextLabel4, MultiLineEdit1, populateLists(), sizeComboBox, sizeComboBoxSlot(), styleListBox, styleListBoxSlot(), and tr.

FontDialog::~FontDialog  ) 
 

Definition at line 80 of file fontDialog.cpp.


Member Function Documentation

void FontDialog::changeText  ) 
 

Definition at line 205 of file fontDialog.cpp.

References QValueList< T >::begin(), changedFonts, QValueList< T >::end(), family, familyListBox, fdb, QString::find(), MultiLineEdit1, s, selectedFont, Config::setGroup(), size, sizeComboBox, style, styleListBox, QString::toInt(), TRUE, and Config::writeEntry().

Referenced by familyListBoxSlot(), populateLists(), sizeComboBoxSlot(), and styleListBoxSlot().

void FontDialog::clearListBoxes  ) 
 

Definition at line 199 of file fontDialog.cpp.

References familyListBox, sizeComboBox, and styleListBox.

void FontDialog::familyListBoxSlot const QString  )  [protected, slot]
 

Definition at line 84 of file fontDialog.cpp.

References QValueList< T >::begin(), changeText(), QValueList< T >::end(), family, fdb, fontsize, i, QString::left(), QString::length(), nfontsizes, QString::number(), odebug, oendl, sizeComboBox, and styleListBox.

Referenced by FontDialog().

void FontDialog::populateLists  ) 
 

Definition at line 134 of file fontDialog.cpp.

References QValueList< T >::begin(), changeText(), QValueList< T >::end(), f, FontDatabase::families(), families, family, familyListBox, fdb, fontsize, i, QString::left(), QString::length(), QString::number(), Config::readEntry(), s, selectedFont, Config::setGroup(), sizeComboBox, style, styleListBox, QString::toInt(), and TRUE.

Referenced by FontDialog().

void FontDialog::sizeComboBoxSlot const QString  )  [protected, slot]
 

Definition at line 129 of file fontDialog.cpp.

References changeText().

Referenced by FontDialog().

void FontDialog::styleListBoxSlot const QString  )  [protected, slot]
 

Definition at line 124 of file fontDialog.cpp.

References changeText().

Referenced by FontDialog().


Member Data Documentation

bool FontDialog::changedFonts
 

Definition at line 45 of file fontDialog.h.

Referenced by changeText().

QStringList FontDialog::families
 

Definition at line 39 of file fontDialog.h.

Referenced by populateLists().

QString FontDialog::family
 

Definition at line 43 of file fontDialog.h.

Referenced by changeText(), familyListBoxSlot(), and populateLists().

QGroupBox* FontDialog::FamilyGroup
 

Definition at line 35 of file fontDialog.h.

QListBox* FontDialog::familyListBox
 

Definition at line 36 of file fontDialog.h.

Referenced by changeText(), clearListBoxes(), FontDialog(), and populateLists().

FontDatabase FontDialog::fdb
 

Definition at line 42 of file fontDialog.h.

Referenced by changeText(), familyListBoxSlot(), and populateLists().

QLabel* FontDialog::FontTextLabel4
 

Definition at line 34 of file fontDialog.h.

Referenced by FontDialog().

QGroupBox * FontDialog::GroupBox2
 

Definition at line 35 of file fontDialog.h.

QMultiLineEdit* FontDialog::MultiLineEdit1
 

Definition at line 37 of file fontDialog.h.

Referenced by changeText(), and FontDialog().

QPushButton * FontDialog::PushButtonCancel
 

Definition at line 38 of file fontDialog.h.

QPushButton* FontDialog::PushButtonOk
 

Definition at line 38 of file fontDialog.h.

QFont FontDialog::selectedFont
 

Definition at line 44 of file fontDialog.h.

Referenced by changeText(), Gutenbrowser::doOptions(), and populateLists().

QString FontDialog::size
 

Definition at line 43 of file fontDialog.h.

Referenced by changeText().

QComboBox* FontDialog::sizeComboBox
 

Definition at line 40 of file fontDialog.h.

Referenced by changeText(), clearListBoxes(), familyListBoxSlot(), FontDialog(), and populateLists().

QListBox * FontDialog::sizeListBox
 

Definition at line 36 of file fontDialog.h.

QString FontDialog::style
 

Definition at line 43 of file fontDialog.h.

Referenced by changeText(), and populateLists().

QListBox * FontDialog::styleListBox
 

Definition at line 36 of file fontDialog.h.

Referenced by changeText(), clearListBoxes(), familyListBoxSlot(), FontDialog(), and populateLists().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:33:10 2005 for OPIE by  doxygen 1.4.2