My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
importdialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  importdialog.h
3  ----------------
4  begin : Fri Jun 23 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 IMPORTDIALOG_H
19 #define IMPORTDIALOG_H
20 
21 #include <qdialog.h>
22 #include <qprocess.h>
23 
24 class QTextEdit;
25 class QLineEdit;
26 class QGridLayout;
27 class QPushButton;
28 class QComboBox;
29 class QLabel;
30 
31 
32 class ImportDialog : public QDialog {
33  Q_OBJECT
34 public:
35  ImportDialog(QWidget*);
36  ~ImportDialog();
37 
38 private slots:
39  void slotDisplayMsg();
40  void slotDisplayErr();
41  void slotProcessEnded();
42  void slotImport();
43  void slotAbort();
44  void slotBrowse();
45  void slotType(int);
46 
47 private:
48  void startSimulator();
49 
50 public:
51  QGridLayout *all;
52 
53  QLabel *OutputLabel;
54  QProcess Process;
55  QTextEdit *MsgText;
57  QPushButton *ImportButt, *CancelButt, *AbortButt;
58  QComboBox *OutType;
59 };
60 
61 #endif