My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
librarydialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  librarydialog.h
3  -----------------
4  begin : Sun Jun 04 2006
5  copyright : (C) 2006 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 LIBRARYDIALOG_H
19 #define LIBRARYDIALOG_H
20 
21 #include <qdialog.h>
22 #include <qregexp.h>
23 #include <qstringlist.h>
24 
25 class QVBox;
26 class QLabel;
27 class QLineEdit;
28 class QPushButton;
29 class QVBoxLayout;
30 class QRadioButton;
31 class QVButtonGroup;
32 class QRegExpValidator;
33 
34 
35 class LibraryDialog : public QDialog {
36  Q_OBJECT
37 public:
38  LibraryDialog(QWidget*);
40 
41 private slots:
42  void slotDelete();
43  void slotRename();
44 
45 private:
46  QRadioButton *previousLib;
47 
48  QVBoxLayout *all; // the mother of all widgets
49  QVBox *Dia_Box;
50  QLabel *theLabel;
51  QLineEdit *NameEdit;
52  QVButtonGroup *Group, *toggleGroup;
53  QPushButton *ButtDelete, *ButtRename, *ButtClose;
54 
55  QRegExp Expr;
56  QRegExpValidator *Validator;
57 };
58 
59 #endif