Qucs-GUI  0.0.18
 All Data Structures 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>
22 #include <QProcess>
23 #include <QGridLayout>
24 #include <QLabel>
25 
26 class QTextEdit;
27 class QLineEdit;
28 class QGridLayout;
29 class QPushButton;
30 class QComboBox;
31 class QLabel;
32 
33 
34 class ImportDialog : public QDialog {
35  Q_OBJECT
36 public:
37  ImportDialog(QWidget*);
38  ~ImportDialog();
39 
40 private slots:
41  void slotDisplayMsg();
42  void slotDisplayErr();
43  void slotProcessEnded(int status);
44  void slotImport();
45  void slotAbort();
46  void slotBrowse();
47  void slotType(int);
48 
49 private:
50  void startSimulator();
51 
52 public:
53  QGridLayout *all;
54 
55  QLabel *OutputLabel;
56  QProcess Process;
57  QTextEdit *MsgText;
59  QPushButton *ImportButt, *CancelButt, *AbortButt;
60  QComboBox *OutType;
61 };
62 
63 #endif
QPushButton * AbortButt
Definition: importdialog.h:59
QLabel * OutputLabel
Definition: importdialog.h:55
void slotDisplayMsg()
QPushButton * CancelButt
Definition: importdialog.h:59
QPushButton * ImportButt
Definition: importdialog.h:59
QProcess Process
Definition: importdialog.h:56
void slotType(int)
QGridLayout * all
Definition: importdialog.h:53
QLineEdit * OutputEdit
Definition: importdialog.h:58
void startSimulator()
QLineEdit * ImportEdit
Definition: importdialog.h:58
QTextEdit * MsgText
Definition: importdialog.h:57
QComboBox * OutType
Definition: importdialog.h:60
QLineEdit * OutputData
Definition: importdialog.h:58
void slotProcessEnded(int status)
void slotDisplayErr()
ImportDialog(QWidget *)