@@ -0,0 +1,2 | |||||
|
1 | genericBinaryFiles = https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/INSTRUMENTATION/genericBinaryFiles | |||
|
2 |
@@ -0,0 +1,1 | |||||
|
1 | acef0ecb71beb64a75c7184bad8b1943adbf88f4 genericBinaryFiles |
@@ -0,0 +1,54 | |||||
|
1 | #------------------------------------------------- | |||
|
2 | # | |||
|
3 | # Project created by QtCreator 2014-06-18T00:07:59 | |||
|
4 | # | |||
|
5 | #------------------------------------------------- | |||
|
6 | ||||
|
7 | QT += core gui | |||
|
8 | ||||
|
9 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | |||
|
10 | ||||
|
11 | TARGET = execut | |||
|
12 | TEMPLATE = app | |||
|
13 | ||||
|
14 | win32:CONFIG += dll | |||
|
15 | win32:CONFIG -= static | |||
|
16 | ||||
|
17 | win32:INCLUDEPATH += $${PWD}/genericBinaryFiles/elf/libelfWin32/include | |||
|
18 | win32:INCLUDEPATH += $${PWD}/genericBinaryFiles/elf/libelfWin32/include/libelf | |||
|
19 | win32:DEFINES+=_ELF_WINDOWS_ | |||
|
20 | DEFINES+=RS232_debug | |||
|
21 | ||||
|
22 | win32:LIBS += $${PWD}/genericBinaryFiles/elf/libelfWin32/bin/libelf.a | |||
|
23 | unix:LIBS += -lelf | |||
|
24 | ||||
|
25 | SOURCES += main.cpp\ | |||
|
26 | mainwindow.cpp \ | |||
|
27 | genericBinaryFiles/elf/elfinfowdgt.cpp \ | |||
|
28 | genericBinaryFiles/elf/elfparser.cpp \ | |||
|
29 | genericBinaryFiles/elf/elffile.cpp \ | |||
|
30 | genericBinaryFiles/elf/elffilewidget.cpp \ | |||
|
31 | genericBinaryFiles/srec/srecfile.cpp \ | |||
|
32 | genericBinaryFiles/srec/srecfilewidget.cpp \ | |||
|
33 | genericBinaryFiles/abstractbinfile.cpp \ | |||
|
34 | genericBinaryFiles/BinFile/binaryfile.cpp \ | |||
|
35 | genericBinaryFiles/BinFile/binaryfilewidget.cpp \ | |||
|
36 | genericBinaryFiles/genericbinaryfilewidget.cpp | |||
|
37 | ||||
|
38 | HEADERS += mainwindow.h \ | |||
|
39 | genericBinaryFiles/elf/elfinfowdgt.h \ | |||
|
40 | genericBinaryFiles/elf/elfparser.h \ | |||
|
41 | genericBinaryFiles/elf/elffile.h \ | |||
|
42 | genericBinaryFiles/elf/elffilewidget.h \ | |||
|
43 | genericBinaryFiles/srec/srecfile.h \ | |||
|
44 | genericBinaryFiles/srec/srecfilewidget.h \ | |||
|
45 | genericBinaryFiles/abstractbinfile.h \ | |||
|
46 | genericBinaryFiles/BinFile/binaryfile.h \ | |||
|
47 | genericBinaryFiles/BinFile/binaryfilewidget.h \ | |||
|
48 | genericBinaryFiles/genericbinaryfilewidget.h | |||
|
49 | ||||
|
50 | FORMS += mainwindow.ui \ | |||
|
51 | genericBinaryFiles/elf/elffilewidget.ui \ | |||
|
52 | genericBinaryFiles/srec/srecfilewidget.ui \ | |||
|
53 | genericBinaryFiles/BinFile/binaryfilewidget.ui \ | |||
|
54 | genericBinaryFiles/genericbinaryfilewidget.ui |
@@ -0,0 +1,11 | |||||
|
1 | #include "mainwindow.h" | |||
|
2 | #include <QApplication> | |||
|
3 | ||||
|
4 | int main(int argc, char *argv[]) | |||
|
5 | { | |||
|
6 | QApplication a(argc, argv); | |||
|
7 | MainWindow w; | |||
|
8 | w.show(); | |||
|
9 | ||||
|
10 | return a.exec(); | |||
|
11 | } |
@@ -0,0 +1,14 | |||||
|
1 | #include "mainwindow.h" | |||
|
2 | #include "ui_mainwindow.h" | |||
|
3 | ||||
|
4 | MainWindow::MainWindow(QWidget *parent) : | |||
|
5 | QMainWindow(parent), | |||
|
6 | ui(new Ui::MainWindow) | |||
|
7 | { | |||
|
8 | ui->setupUi(this); | |||
|
9 | } | |||
|
10 | ||||
|
11 | MainWindow::~MainWindow() | |||
|
12 | { | |||
|
13 | delete ui; | |||
|
14 | } |
@@ -0,0 +1,22 | |||||
|
1 | #ifndef MAINWINDOW_H | |||
|
2 | #define MAINWINDOW_H | |||
|
3 | ||||
|
4 | #include <QMainWindow> | |||
|
5 | ||||
|
6 | namespace Ui { | |||
|
7 | class MainWindow; | |||
|
8 | } | |||
|
9 | ||||
|
10 | class MainWindow : public QMainWindow | |||
|
11 | { | |||
|
12 | Q_OBJECT | |||
|
13 | ||||
|
14 | public: | |||
|
15 | explicit MainWindow(QWidget *parent = 0); | |||
|
16 | ~MainWindow(); | |||
|
17 | ||||
|
18 | private: | |||
|
19 | Ui::MainWindow *ui; | |||
|
20 | }; | |||
|
21 | ||||
|
22 | #endif // MAINWINDOW_H |
@@ -0,0 +1,24 | |||||
|
1 | <ui version="4.0"> | |||
|
2 | <class>MainWindow</class> | |||
|
3 | <widget class="QMainWindow" name="MainWindow" > | |||
|
4 | <property name="geometry" > | |||
|
5 | <rect> | |||
|
6 | <x>0</x> | |||
|
7 | <y>0</y> | |||
|
8 | <width>400</width> | |||
|
9 | <height>300</height> | |||
|
10 | </rect> | |||
|
11 | </property> | |||
|
12 | <property name="windowTitle" > | |||
|
13 | <string>MainWindow</string> | |||
|
14 | </property> | |||
|
15 | <widget class="QMenuBar" name="menuBar" /> | |||
|
16 | <widget class="QToolBar" name="mainToolBar" /> | |||
|
17 | <widget class="QWidget" name="centralWidget" /> | |||
|
18 | <widget class="QStatusBar" name="statusBar" /> | |||
|
19 | </widget> | |||
|
20 | <layoutDefault spacing="6" margin="11" /> | |||
|
21 | <pixmapfunction></pixmapfunction> | |||
|
22 | <resources/> | |||
|
23 | <connections/> | |||
|
24 | </ui> |
General Comments 0
You need to be logged in to leave comments.
Login now