Qucs-GUI  0.0.19
/home/travis/build/Qucs/qucs/qucs/qucs/paintings/id_dialog.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                                id_dialog.h
00003                               -------------
00004     begin                : Sat Oct 16 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 
00022 #ifndef ID_DIALOG_H
00023 #define ID_DIALOG_H
00024 
00025 #include <QDialog>
00026 #include <QRegExp>
00027 
00028 class ID_Text;
00029 class QTableWidget;
00030 class QLineEdit;
00031 class QCheckBox;
00032 class QVBoxLayout;
00033 class QRegExpValidator;
00034 
00038 class ID_Dialog : public QDialog  {
00039 Q_OBJECT
00040 public:
00041   ID_Dialog(ID_Text*);
00042  ~ID_Dialog();
00043 
00044 private:
00045   ID_Text *idText;
00046 
00047   QVBoxLayout *all;
00048   QLineEdit *Prefix;
00049 
00050   QTableWidget *ParamTable;
00051   QCheckBox *showCheck;
00052   QLineEdit *ParamNameEdit, *ValueEdit, *DescriptionEdit, *TypeEdit;
00053 
00054   QRegExp Expr;
00055   QRegExpValidator *SubVal, *NameVal, *ValueVal, *DescrVal, *TypeVal;
00056 
00057 private slots:
00058   void slotOk();
00059   void slotApply();
00060   void slotAddParameter();
00061   void slotRemoveParameter();
00062   void slotEditParameter();
00063 };
00064 
00065 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines