# HG changeset patch # User jeandet # Date 2013-12-27 18:33:50 # Node ID 905c8a8cbf07514cad40cb67038e641181695607 # Parent 0000000000000000000000000000000000000000 init diff --git a/PeripheralWidget.pro b/PeripheralWidget.pro new file mode 100644 --- /dev/null +++ b/PeripheralWidget.pro @@ -0,0 +1,20 @@ +#------------------------------------------------- +# +# Project created by QtCreator 2013-12-27T19:23:51 +# +#------------------------------------------------- + +QT += core gui + +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets + +TARGET = PeripheralWidget +TEMPLATE = app + + +SOURCES += main.cpp\ + mainwindow.cpp \ + peripheralwidget.cpp + +HEADERS += mainwindow.h \ + peripheralwidget.h diff --git a/main.cpp b/main.cpp new file mode 100644 --- /dev/null +++ b/main.cpp @@ -0,0 +1,11 @@ +#include "mainwindow.h" +#include + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + MainWindow w; + w.show(); + + return a.exec(); +} diff --git a/mainwindow.cpp b/mainwindow.cpp new file mode 100644 --- /dev/null +++ b/mainwindow.cpp @@ -0,0 +1,11 @@ +#include "mainwindow.h" + +MainWindow::MainWindow(QWidget *parent) + : QMainWindow(parent) +{ +} + +MainWindow::~MainWindow() +{ + +} diff --git a/mainwindow.h b/mainwindow.h new file mode 100644 --- /dev/null +++ b/mainwindow.h @@ -0,0 +1,15 @@ +#ifndef MAINWINDOW_H +#define MAINWINDOW_H + +#include + +class MainWindow : public QMainWindow +{ + Q_OBJECT + +public: + MainWindow(QWidget *parent = 0); + ~MainWindow(); +}; + +#endif // MAINWINDOW_H diff --git a/peripheralwidget.cpp b/peripheralwidget.cpp new file mode 100644 --- /dev/null +++ b/peripheralwidget.cpp @@ -0,0 +1,6 @@ +#include "peripheralwidget.h" + +peripheralWidget::peripheralWidget(QWidget *parent) : + QGroupBox(parent) +{ +} diff --git a/peripheralwidget.h b/peripheralwidget.h new file mode 100644 --- /dev/null +++ b/peripheralwidget.h @@ -0,0 +1,20 @@ +#ifndef PERIPHERALWIDGET_H +#define PERIPHERALWIDGET_H + +#include +#include +#include + +class peripheralWidget : public QGroupBox +{ + Q_OBJECT +public: + explicit peripheralWidget(QWidget *parent = 0); + +signals: + +public slots: + +}; + +#endif // PERIPHERALWIDGET_H