Qucs-GUI  0.0.19
/home/travis/build/Qucs/qucs/qucs/qucs/dialogs/changedialog.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                               changedialog.h
00003                              ----------------
00004     begin                : Fri Jul 22 2005
00005     copyright            : (C) 2005 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 CHANGEDIALOG_H
00019 #define CHANGEDIALOG_H
00020 
00021 #include <QDialog>
00022 #include <QRegExp>
00023 #include <QGridLayout>
00024 
00025 class Schematic;
00026 class QLineEdit;
00027 class QComboBox;
00028 class QGridLayout;
00029 class QRegExpValidator;
00030 
00031 
00032 class ChangeDialog : public QDialog {
00033    Q_OBJECT
00034 public:
00035   ChangeDialog(Schematic*);
00036  ~ChangeDialog();
00037 
00038 private slots:
00039   void slotButtReplace();
00040 
00041 private:
00042   bool matches(const QString&);
00043 
00044   Schematic *Doc;
00045   QGridLayout *all;   // the mother of all widgets
00046   QRegExpValidator  *Validator, *ValRestrict;
00047   QRegExp     Expr;
00048   QLineEdit   *CompNameEdit, *NewValueEdit;
00049   QComboBox   *CompTypeEdit, *PropNameEdit;
00050 };
00051 
00052 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines