Qucs-GUI  0.0.19
/home/travis/build/Qucs/qucs/qucs/qucs/dialogs/digisettingsdialog.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                              digisettingsdialog.h
00003                             ----------------------
00004     begin                : Sat Apr 01 2006
00005     copyright            : (C) 2006 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 DIGISETTINGSDIALOG_H
00019 #define DIGISETTINGSDIALOG_H
00020 
00021 #include <QDialog>
00022 #include <QRegExp>
00023 #include <QLabel>
00024 
00025 class TextDoc;
00026 class QLineEdit;
00027 class QPushButton;
00028 class QRegExpValidator;
00029 class QLabel;
00030 class QRadioButton;
00031 
00032 
00033 class DigiSettingsDialog : public QDialog  {
00034 Q_OBJECT
00035 public:
00036   DigiSettingsDialog(TextDoc*);
00037  ~DigiSettingsDialog();
00038 
00039   QString SimTime;
00040   QLineEdit *TimeEdit, *LibEdit, *NameEdit;
00041   QLabel *TimeLabel, *LibLabel, *NameLabel;
00042   QRadioButton *simRadio, *comRadio;
00043 
00044 private slots:
00045   void slotOk();
00046   void slotChangeMode(int);
00047 
00048 private:
00049   TextDoc *Doc;
00050   QRegExp Expr;
00051   QRegExpValidator *Validator;
00052 };
00053 
00054 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines