Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
labeldialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  labeldialog.h
3  ---------------
4  begin : Thu Dec 09 2004
5  copyright : (C) 2004 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 LABELDIALOG_H
19 #define LABELDIALOG_H
20 
21 #include <QDialog>
22 #include <QRegExp>
23 #include <QGridLayout>
24 #include <QLabel>
25 
26 class QLabel;
27 class QLineEdit;
28 class QPushButton;
29 class QGridLayout;
30 class QRegExpValidator;
31 class WireLabel;
32 
33 
34 class LabelDialog : public QDialog {
35 Q_OBJECT
36 public:
37  LabelDialog(WireLabel*, QWidget *parent=0);
38  ~LabelDialog();
39 
40  QLineEdit *NodeName, *InitValue;
41 
42 private slots:
43  void slotExtend();
44  void slotOk();
45  void slotCancel();
46 
47 private:
48  QPushButton *ButtonOk, *ButtonCancel, *ButtonMore;
49  QGridLayout *gbox;
50  QRegExpValidator *Validator1, *Validator2;
51  QRegExp Expr1, Expr2;
52  QLabel *Label2;
53 
55 };
56 
57 #endif
LabelDialog(WireLabel *, QWidget *parent=0)
Definition: labeldialog.cpp:28
QPushButton * ButtonCancel
Definition: labeldialog.h:48
void slotCancel()
QRegExp Expr2
Definition: labeldialog.h:51
QPushButton * ButtonMore
Definition: labeldialog.h:48
QGridLayout * gbox
Definition: labeldialog.h:49
QRegExpValidator * Validator1
Definition: labeldialog.h:50
WireLabel * pLabel
Definition: labeldialog.h:54
QRegExp Expr1
Definition: labeldialog.h:51
QRegExpValidator * Validator2
Definition: labeldialog.h:50
QPushButton * ButtonOk
Definition: labeldialog.h:48
QLineEdit * InitValue
Definition: labeldialog.h:40
void slotExtend()
Definition: labeldialog.cpp:89
QLineEdit * NodeName
Definition: labeldialog.h:40
QLabel * Label2
Definition: labeldialog.h:52