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

fontDialog.h

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** Created: Sun Jan 27 11:02:59 2002
00003 copyright 2002 by L.J. Potter ljp@llornkcor.com
00004     copyright            : (C) 2000 -2004 by llornkcor
00005     email                : ljp@llornkcor.com
00006 ****************************************************************************/
00007 #ifndef FONTDIALOG_H
00008 #define FONTDIALOG_H
00009 
00010 #include <qvariant.h>
00011 #include <qdialog.h>
00012 #include <qpe/fontdatabase.h>
00013 #include <qfont.h>
00014 
00015 class QVBoxLayout; 
00016 class QHBoxLayout; 
00017 class QGridLayout; 
00018 class QLabel;
00019 class QListBox;
00020 class QListBoxItem;
00021 class QPushButton;
00022 class QGroupBox;
00023 class QMultiLineEdit;
00024 class QComboBox;
00025 
00026 class FontDialog : public /*QDialog*/  QWidget
00027 { 
00028     Q_OBJECT
00029 
00030 public:
00031     FontDialog( QWidget * parent = 0, const char* name = 0 /*, bool modal=FALSE, WFlags fl = 0 */);
00032     ~FontDialog();
00033 
00034     QLabel *FontTextLabel4;
00035     QGroupBox *FamilyGroup, *GroupBox2;
00036     QListBox *familyListBox, *styleListBox, *sizeListBox;
00037     QMultiLineEdit *MultiLineEdit1;
00038     QPushButton *PushButtonOk,*PushButtonCancel;
00039     QStringList families;
00040     QComboBox *sizeComboBox;
00041 
00042     FontDatabase fdb;
00043     QString family, style, size;
00044     QFont selectedFont;
00045     bool changedFonts;
00046     void populateLists();
00047     void clearListBoxes();
00048     void changeText();
00049 protected slots:
00050 
00051     void familyListBoxSlot(const QString &);
00052     void styleListBoxSlot(const QString &);
00053     void sizeComboBoxSlot(const QString &); 
00054 //    void sizeListBoxSlot(const QString &); 
00055 
00056     
00057 };
00058 
00059 #endif // FONTDIALOG_H

Generated on Sat Nov 5 16:16:51 2005 for OPIE by  doxygen 1.4.2