diff --git a/.hgignore b/.hgignore new file mode 100644 --- /dev/null +++ b/.hgignore @@ -0,0 +1,2 @@ +syntax: glob +*.user diff --git a/.hgsub b/.hgsub new file mode 100644 --- /dev/null +++ b/.hgsub @@ -0,0 +1,1 @@ +src/lppserial = https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/INSTRUMENTATION/lppserial diff --git a/.hgsubstate b/.hgsubstate new file mode 100644 --- /dev/null +++ b/.hgsubstate @@ -0,0 +1,1 @@ +0000000000000000000000000000000000000000 src/lppserial diff --git a/Uprobe.pro b/Uprobe.pro new file mode 100644 --- /dev/null +++ b/Uprobe.pro @@ -0,0 +1,22 @@ +#------------------------------------------------- +# +# Project created by QtCreator 2014-04-24T18:30:27 +# +#------------------------------------------------- + +QT += core gui + +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets + +TARGET = Uprobe +TEMPLATE = app + + +SOURCES += main.cpp\ + mainwindow.cpp \ + src/uprobe.cpp + +HEADERS += mainwindow.h \ + src/uprobe.h + +FORMS += mainwindow.ui 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,14 @@ +#include "mainwindow.h" +#include "ui_mainwindow.h" + +MainWindow::MainWindow(QWidget *parent) : + QMainWindow(parent), + ui(new Ui::MainWindow) +{ + ui->setupUi(this); +} + +MainWindow::~MainWindow() +{ + delete ui; +} diff --git a/mainwindow.h b/mainwindow.h new file mode 100644 --- /dev/null +++ b/mainwindow.h @@ -0,0 +1,22 @@ +#ifndef MAINWINDOW_H +#define MAINWINDOW_H + +#include + +namespace Ui { +class MainWindow; +} + +class MainWindow : public QMainWindow +{ + Q_OBJECT + +public: + explicit MainWindow(QWidget *parent = 0); + ~MainWindow(); + +private: + Ui::MainWindow *ui; +}; + +#endif // MAINWINDOW_H diff --git a/mainwindow.ui b/mainwindow.ui new file mode 100644 --- /dev/null +++ b/mainwindow.ui @@ -0,0 +1,24 @@ + + MainWindow + + + + 0 + 0 + 400 + 300 + + + + MainWindow + + + + + + + + + + + diff --git a/src/uprobe.cpp b/src/uprobe.cpp new file mode 100644 --- /dev/null +++ b/src/uprobe.cpp @@ -0,0 +1,6 @@ +#include "uprobe.h" + +UProbe::UProbe(QObject *parent) : + QObject(parent) +{ +} diff --git a/src/uprobe.h b/src/uprobe.h new file mode 100644 --- /dev/null +++ b/src/uprobe.h @@ -0,0 +1,18 @@ +#ifndef UPROBE_H +#define UPROBE_H + +#include + +class UProbe : public QObject +{ + Q_OBJECT +public: + explicit UProbe(QObject *parent = 0); + +signals: + +public slots: + +}; + +#endif // UPROBE_H