UltraScan III
us_font.h
Go to the documentation of this file.
1 #ifndef US_FONT_H
3 #define US_FONT_H
4 
5 #include <QtGui>
6 
7 #include "us_widgets.h"
8 #include "us_help.h"
9 
11 #define BUTTON_H 26
12 
13 
15 class US_Font : public US_Widgets
16 {
17  Q_OBJECT
18 
19  public:
27  US_Font( QWidget* = 0, Qt::WindowFlags = 0 );
28 
30  ~US_Font() {};
31 
32  private:
33 
34  QLineEdit* le_family;
35  QLineEdit* le_pointSize;
36 
37  QLabel* small;
38  QLabel* regular;
39  QLabel* regularBold;
40  QLabel* large;
41  QLabel* largeBold;
42  QLabel* title;
43  QLabel* lbl_family;
44  QLabel* size;
45  QLabel* samples;
46 
47  QPushButton* pb_font;
48  QPushButton* pb_save;
49  QPushButton* pb_default;
50  QPushButton* pb_help;
51  QPushButton* pb_cancel;
52 
53  void redraw( void );
54 
55  private slots:
56 
57  void save ( void );
58  void help ( void );
59  void selectFont( void );
60  void setDefault( void );
61 };
62 
63 #endif