diff --git a/pylot/ui/PyLoT_main/PyLoT_main.pro b/pylot/ui/PyLoT_main/PyLoT_main.pro new file mode 100644 index 00000000..e119b23a --- /dev/null +++ b/pylot/ui/PyLoT_main/PyLoT_main.pro @@ -0,0 +1,20 @@ +#------------------------------------------------- +# +# Project created by QtCreator 2013-12-09T13:16:21 +# +#------------------------------------------------- + +QT += core gui + +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets + +TARGET = PyLoT_main +TEMPLATE = app + + +SOURCES += main.cpp\ + qt_pylot.cpp + +HEADERS += qt_pylot.h + +FORMS += qt_pylot.ui diff --git a/pylot/ui/PyLoT_main/main.cpp b/pylot/ui/PyLoT_main/main.cpp new file mode 100644 index 00000000..49f1e337 --- /dev/null +++ b/pylot/ui/PyLoT_main/main.cpp @@ -0,0 +1,11 @@ +#include "qt_pylot.h" +#include + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + Qt_PyLoT w; + w.show(); + + return a.exec(); +} diff --git a/pylot/ui/PyLoT_main/qt_pylot.cpp b/pylot/ui/PyLoT_main/qt_pylot.cpp new file mode 100644 index 00000000..967482a0 --- /dev/null +++ b/pylot/ui/PyLoT_main/qt_pylot.cpp @@ -0,0 +1,14 @@ +#include "qt_pylot.h" +#include "ui_qt_pylot.h" + +Qt_PyLoT::Qt_PyLoT(QWidget *parent) : + QMainWindow(parent), + ui(new Ui::Qt_PyLoT) +{ + ui->setupUi(this); +} + +Qt_PyLoT::~Qt_PyLoT() +{ + delete ui; +} diff --git a/pylot/ui/PyLoT_main/qt_pylot.h b/pylot/ui/PyLoT_main/qt_pylot.h new file mode 100644 index 00000000..5384d4ac --- /dev/null +++ b/pylot/ui/PyLoT_main/qt_pylot.h @@ -0,0 +1,22 @@ +#ifndef QT_PYLOT_H +#define QT_PYLOT_H + +#include + +namespace Ui { +class Qt_PyLoT; +} + +class Qt_PyLoT : public QMainWindow +{ + Q_OBJECT + +public: + explicit Qt_PyLoT(QWidget *parent = 0); + ~Qt_PyLoT(); + +private: + Ui::Qt_PyLoT *ui; +}; + +#endif // QT_PYLOT_H diff --git a/pylot/ui/PyLoT_main/qt_pylot.ui b/pylot/ui/PyLoT_main/qt_pylot.ui new file mode 100644 index 00000000..0b0b0da2 --- /dev/null +++ b/pylot/ui/PyLoT_main/qt_pylot.ui @@ -0,0 +1,62 @@ + + + Qt_PyLoT + + + + 0 + 0 + 1024 + 768 + + + + Qt_PyLoT + + + + + + 170 + 30 + 841 + 641 + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + + 0 + 0 + 1024 + 22 + + + + + + TopToolBarArea + + + false + + + + + + File + + + + + + +