Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
changedialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  changedialog.h
3  ----------------
4  begin : Fri Jul 22 2005
5  copyright : (C) 2005 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 CHANGEDIALOG_H
19 #define CHANGEDIALOG_H
20 
21 #include <QDialog>
22 #include <QRegExp>
23 #include <QGridLayout>
24 
25 class Schematic;
26 class QLineEdit;
27 class QComboBox;
28 class QGridLayout;
29 class QRegExpValidator;
30 
31 
32 class ChangeDialog : public QDialog {
33  Q_OBJECT
34 public:
36  ~ChangeDialog();
37 
38 private slots:
39  void slotButtReplace();
40 
41 private:
42  bool matches(const QString&);
43 
45  QGridLayout *all; // the mother of all widgets
46  QRegExpValidator *Validator, *ValRestrict;
47  QRegExp Expr;
48  QLineEdit *CompNameEdit, *NewValueEdit;
49  QComboBox *CompTypeEdit, *PropNameEdit;
50 };
51 
52 #endif
void slotButtReplace()
QRegExpValidator * ValRestrict
Definition: changedialog.h:46
QLineEdit * CompNameEdit
Definition: changedialog.h:48
Schematic * Doc
Definition: changedialog.h:44
QRegExp Expr
Definition: changedialog.h:47
ChangeDialog(Schematic *)
bool matches(const QString &)
QRegExpValidator * Validator
Definition: changedialog.h:46
QComboBox * PropNameEdit
Definition: changedialog.h:49
QComboBox * CompTypeEdit
Definition: changedialog.h:49
QGridLayout * all
Definition: changedialog.h:45
QLineEdit * NewValueEdit
Definition: changedialog.h:48