Qucs-GUI
0.0.19
|
00001 /*************************************************************************** 00002 labeldialog.h 00003 --------------- 00004 begin : Thu Dec 09 2004 00005 copyright : (C) 2004 by Michael Margraf 00006 email : michael.margraf@alumni.tu-berlin.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef LABELDIALOG_H 00019 #define LABELDIALOG_H 00020 00021 #include <QDialog> 00022 #include <QRegExp> 00023 #include <QGridLayout> 00024 #include <QLabel> 00025 00026 class QLabel; 00027 class QLineEdit; 00028 class QPushButton; 00029 class QGridLayout; 00030 class QRegExpValidator; 00031 class WireLabel; 00032 00033 00034 class LabelDialog : public QDialog { 00035 Q_OBJECT 00036 public: 00037 LabelDialog(WireLabel*, QWidget *parent=0); 00038 ~LabelDialog(); 00039 00040 QLineEdit *NodeName, *InitValue; 00041 00042 private slots: 00043 void slotExtend(); 00044 void slotOk(); 00045 void slotCancel(); 00046 00047 private: 00048 QPushButton *ButtonOk, *ButtonCancel, *ButtonMore; 00049 QGridLayout *gbox; 00050 QRegExpValidator *Validator1, *Validator2; 00051 QRegExp Expr1, Expr2; 00052 QLabel *Label2; 00053 00054 WireLabel *pLabel; 00055 }; 00056 00057 #endif