My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
qucssettingsdialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  qucssettingsdialog.h
3  ----------------------
4  begin : Sun May 23 2004
5  copyright : (C) 2003 by Michael Margraf
6  email : michael.margraf@alumni.tu-berlin.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef QUCSSETTINGSDIALOG_H
19 #define QUCSSETTINGSDIALOG_H
20 
21 #include "qucs.h"
22 
23 #include <qdialog.h>
24 #include <qfont.h>
25 #include <qregexp.h>
26 
27 class QListView;
28 class QListViewItem;
29 class QLineEdit;
30 class QCheckBox;
31 class QVBoxLayout;
32 class QPushButton;
33 class QComboBox;
34 class QIntValidator;
35 class QRegExpValidator;
36 
37 
38 class QucsSettingsDialog : public QDialog {
39  Q_OBJECT
40 public:
41  QucsSettingsDialog(QucsApp *parent=0, const char *name=0);
43 
44 private slots:
45  void slotOK();
46  void slotApply();
47  void slotFontDialog();
48  void slotBGColorDialog();
49  void slotDefaultValues();
50  void slotAdd();
51  void slotRemove();
52  void slotEditSuffix(QListViewItem*);
53  void slotColorComment();
54  void slotColorString();
55  void slotColorInteger();
56  void slotColorReal();
57  void slotColorCharacter();
58  void slotColorDataType();
59  void slotColorAttribute();
60  void slotColorDirective();
61  void slotColorTask();
62 
63 public:
65 
66  QFont Font;
67  QCheckBox *checkWiring;
68  QComboBox *LanguageCombo;
69  QPushButton *FontButton, *BGColorButton;
71  QListView *List_Suffix;
75 
76  QVBoxLayout *all;
77  QIntValidator *val200;
78  QRegExp Expr;
79  QRegExpValidator *Validator;
80 };
81 
82 #endif