@@ -0,0 +1,15 | |||||
|
1 | [Desktop Entry] | |||
|
2 | Version=1.0 | |||
|
3 | Name=ExeCut | |||
|
4 | Type=Application | |||
|
5 | GenericName=ExeCut | |||
|
6 | ||||
|
7 | Comment=ExeCut is a graphical tool for executable files viewing. | |||
|
8 | ||||
|
9 | Exec=execut | |||
|
10 | Icon=/usr/share/ExeCut/icon.png | |||
|
11 | Terminal=false | |||
|
12 | Type=Application | |||
|
13 | Categories=Application;Programming; | |||
|
14 | MimeType=application/x-executable;text/plain;application/octet-stream; | |||
|
15 | Name[fr_FR]=ExeCut |
@@ -0,0 +1,28 | |||||
|
1 | #include "aboutexecut.h" | |||
|
2 | #include <QFile> | |||
|
3 | #include <QTextStream> | |||
|
4 | #include <QDesktopServices> | |||
|
5 | ||||
|
6 | aboutExecut::aboutExecut(QWidget *parent) : | |||
|
7 | QTextBrowser(parent) | |||
|
8 | { | |||
|
9 | this->setReadOnly(true); | |||
|
10 | QString code; | |||
|
11 | QFile file; | |||
|
12 | code.clear(); | |||
|
13 | file.setFileName(":/about/about.html"); | |||
|
14 | this->setAcceptRichText(true); | |||
|
15 | file.open(QIODevice::ReadOnly); | |||
|
16 | QTextStream filestrm(&file); | |||
|
17 | while(!filestrm.atEnd())code.append(filestrm.readLine()+"\n"); | |||
|
18 | this->setHtml(code); | |||
|
19 | file.close(); | |||
|
20 | this->setMinimumSize(400,400); | |||
|
21 | connect(this,SIGNAL(anchorClicked(QUrl)),this,SLOT(anchorClicked_slt(QUrl))); | |||
|
22 | this->setOpenLinks(false); | |||
|
23 | } | |||
|
24 | ||||
|
25 | void aboutExecut::anchorClicked_slt(const QUrl &url) | |||
|
26 | { | |||
|
27 | QDesktopServices::openUrl(url); | |||
|
28 | } |
@@ -0,0 +1,19 | |||||
|
1 | #ifndef ABOUTEXECUT_H | |||
|
2 | #define ABOUTEXECUT_H | |||
|
3 | ||||
|
4 | #include <QTextBrowser> | |||
|
5 | ||||
|
6 | class aboutExecut : public QTextBrowser | |||
|
7 | { | |||
|
8 | Q_OBJECT | |||
|
9 | public: | |||
|
10 | explicit aboutExecut(QWidget *parent = 0); | |||
|
11 | ||||
|
12 | signals: | |||
|
13 | ||||
|
14 | public slots: | |||
|
15 | void anchorClicked_slt(const QUrl &url); | |||
|
16 | ||||
|
17 | }; | |||
|
18 | ||||
|
19 | #endif // ABOUTEXECUT_H |
1 | NO CONTENT: new file 100644, binary diff hidden |
|
NO CONTENT: new file 100644, binary diff hidden |
@@ -0,0 +1,29 | |||||
|
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |||
|
2 | <html> | |||
|
3 | <head> | |||
|
4 | </head> | |||
|
5 | <body style="background-color : #dbdbdb;"> | |||
|
6 | ||||
|
7 | <div align="center"> | |||
|
8 | <a href="http://www.cnrs.fr/"> <IMG src=":/images/logocnrs.png" alt="CNRS" width="47" height="47" align="top" border="0" ></a> | |||
|
9 | <a href="http://www.lpp.fr/"> <IMG src=":/images/logolpp.png" width="158" height="47" align="top" border="0" ></a> | |||
|
10 | </div> | |||
|
11 | <hr> | |||
|
12 | <div align="center"> | |||
|
13 | <B style="font-size : 150%;">About SocExplorer</B> | |||
|
14 | </div> | |||
|
15 | <hr> | |||
|
16 | <div align="center"> | |||
|
17 | <B>ExeCut</B><BR><BR> | |||
|
18 | Copyright (C) 2014 Plasmas Physic Laboratory.<BR> | |||
|
19 | This is free software; licenced under the terms of the GPLV2 license.<BR><BR> | |||
|
20 | This program uses: | |||
|
21 | <div align="left" style="margin-left : 50%;"> | |||
|
22 | <ul> | |||
|
23 | <LI><a href="http://qt.digia.com/" title="Qt">Qt</a> (Copyright 2008-2014 Digia Plc).</LI> | |||
|
24 | <LI><a href="http://code.google.com/p/qhexedit2/" title="qhexedit">QHexEdit</a></LI> | |||
|
25 | </ul> | |||
|
26 | </div> | |||
|
27 | </div> | |||
|
28 | </body> | |||
|
29 | </html> |
@@ -0,0 +1,12 | |||||
|
1 | <RCC> | |||
|
2 | <qresource prefix="/icon"> | |||
|
3 | <file>icon.png</file> | |||
|
4 | </qresource> | |||
|
5 | <qresource prefix="/about"> | |||
|
6 | <file>about.html</file> | |||
|
7 | </qresource> | |||
|
8 | <qresource prefix="/images"> | |||
|
9 | <file alias="logolpp.png">logo-lpp.png</file> | |||
|
10 | <file alias="logocnrs.png">LOGO CNRS.png</file> | |||
|
11 | </qresource> | |||
|
12 | </RCC> |
1 | NO CONTENT: new file 100644, binary diff hidden |
|
NO CONTENT: new file 100644, binary diff hidden |
1 | NO CONTENT: new file 100644, binary diff hidden |
|
NO CONTENT: new file 100644, binary diff hidden |
@@ -1,76 +1,86 | |||||
1 | #------------------------------------------------- |
|
1 | #------------------------------------------------- | |
2 | # |
|
2 | # | |
3 | # Project created by QtCreator 2014-06-18T00:07:59 |
|
3 | # Project created by QtCreator 2014-06-18T00:07:59 | |
4 | # |
|
4 | # | |
5 | #------------------------------------------------- |
|
5 | #------------------------------------------------- | |
6 |
|
6 | |||
7 | QT += core gui |
|
7 | QT += core gui | |
8 |
|
8 | |||
9 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets |
|
9 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | |
10 |
|
10 | |||
11 | TARGET = execut |
|
11 | TARGET = execut | |
12 | TEMPLATE = app |
|
12 | TEMPLATE = app | |
13 | MOC_DIR = moc |
|
13 | MOC_DIR = moc | |
14 | RCC_DIR = resources |
|
14 | RCC_DIR = resources | |
15 | OBJECTS_DIR = obj |
|
15 | OBJECTS_DIR = obj | |
16 |
|
16 | |||
17 | #win32:CONFIG += dll |
|
|||
18 | #win32:CONFIG -= static |
|
|||
19 |
|
17 | |||
20 | win32:INCLUDEPATH += $${PWD}/genericBinaryFiles/elf/libelfWin32/include |
|
18 | win32:INCLUDEPATH += $${PWD}/genericBinaryFiles/elf/libelfWin32/include | |
21 | win32:INCLUDEPATH += $${PWD}/genericBinaryFiles/elf/libelfWin32/include/libelf |
|
19 | win32:INCLUDEPATH += $${PWD}/genericBinaryFiles/elf/libelfWin32/include/libelf | |
22 | win32:DEFINES+=_ELF_WINDOWS_ |
|
20 | win32:DEFINES+=_ELF_WINDOWS_ | |
23 | DEFINES+=RS232_debug |
|
21 | DEFINES+=RS232_debug | |
24 | INCLUDEPATH += qhexedit genericBinaryFiles genericBinaryFiles/srec genericBinaryFiles/BinFile |
|
22 | INCLUDEPATH += qhexedit genericBinaryFiles genericBinaryFiles/srec genericBinaryFiles/BinFile | |
25 |
|
23 | |||
26 |
|
24 | |||
27 | win32:LIBS += $${PWD}/genericBinaryFiles/elf/libelfWin32/bin/libelf.a |
|
25 | win32:LIBS += $${PWD}/genericBinaryFiles/elf/libelfWin32/bin/libelf.a | |
28 | unix:LIBS += -lelf |
|
26 | unix:LIBS += -lelf | |
29 |
|
27 | |||
30 | SOURCES += main.cpp\ |
|
28 | SOURCES += main.cpp\ | |
31 | mainwindow.cpp \ |
|
29 | mainwindow.cpp \ | |
32 | qhexedit/qhexedit_p.cpp \ |
|
30 | qhexedit/qhexedit_p.cpp \ | |
33 | qhexedit/qhexedit.cpp \ |
|
31 | qhexedit/qhexedit.cpp \ | |
34 | qhexedit/xbytearray.cpp \ |
|
32 | qhexedit/xbytearray.cpp \ | |
35 | qhexedit/commands.cpp \ |
|
33 | qhexedit/commands.cpp \ | |
36 | genericBinaryFiles/elf/elfinfowdgt.cpp \ |
|
34 | genericBinaryFiles/elf/elfinfowdgt.cpp \ | |
37 | genericBinaryFiles/elf/elfparser.cpp \ |
|
35 | genericBinaryFiles/elf/elfparser.cpp \ | |
38 | genericBinaryFiles/elf/elffile.cpp \ |
|
36 | genericBinaryFiles/elf/elffile.cpp \ | |
39 | genericBinaryFiles/elf/elffilewidget.cpp \ |
|
37 | genericBinaryFiles/elf/elffilewidget.cpp \ | |
40 | genericBinaryFiles/srec/srecfile.cpp \ |
|
38 | genericBinaryFiles/srec/srecfile.cpp \ | |
41 | genericBinaryFiles/srec/srecfilewidget.cpp \ |
|
39 | genericBinaryFiles/srec/srecfilewidget.cpp \ | |
42 | genericBinaryFiles/abstractbinfile.cpp \ |
|
40 | genericBinaryFiles/abstractbinfile.cpp \ | |
43 | genericBinaryFiles/BinFile/binaryfile.cpp \ |
|
41 | genericBinaryFiles/BinFile/binaryfile.cpp \ | |
44 | genericBinaryFiles/BinFile/binaryfilewidget.cpp \ |
|
42 | genericBinaryFiles/BinFile/binaryfilewidget.cpp \ | |
45 | genericBinaryFiles/genericbinaryfilewidget.cpp \ |
|
43 | genericBinaryFiles/genericbinaryfilewidget.cpp \ | |
46 | genericBinaryFiles/qtablewidgetintitem.cpp \ |
|
44 | genericBinaryFiles/qtablewidgetintitem.cpp \ | |
47 | genericBinaryFiles/filelist.cpp \ |
|
45 | genericBinaryFiles/filelist.cpp \ | |
48 | genericBinaryFiles/qvpushbutton.cpp |
|
46 | genericBinaryFiles/qvpushbutton.cpp \ | |
|
47 | aboutexecut.cpp | |||
49 |
|
48 | |||
50 | HEADERS += mainwindow.h \ |
|
49 | HEADERS += mainwindow.h \ | |
51 | qhexedit/qhexedit_p.h \ |
|
50 | qhexedit/qhexedit_p.h \ | |
52 | qhexedit/qhexedit.h \ |
|
51 | qhexedit/qhexedit.h \ | |
53 | qhexedit/xbytearray.h \ |
|
52 | qhexedit/xbytearray.h \ | |
54 | qhexedit/commands.h \ |
|
53 | qhexedit/commands.h \ | |
55 | genericBinaryFiles/elf/elfinfowdgt.h \ |
|
54 | genericBinaryFiles/elf/elfinfowdgt.h \ | |
56 | genericBinaryFiles/elf/elfparser.h \ |
|
55 | genericBinaryFiles/elf/elfparser.h \ | |
57 | genericBinaryFiles/elf/elffile.h \ |
|
56 | genericBinaryFiles/elf/elffile.h \ | |
58 | genericBinaryFiles/elf/elffilewidget.h \ |
|
57 | genericBinaryFiles/elf/elffilewidget.h \ | |
59 | genericBinaryFiles/srec/srecfile.h \ |
|
58 | genericBinaryFiles/srec/srecfile.h \ | |
60 | genericBinaryFiles/srec/srecfilewidget.h \ |
|
59 | genericBinaryFiles/srec/srecfilewidget.h \ | |
61 | genericBinaryFiles/abstractbinfile.h \ |
|
60 | genericBinaryFiles/abstractbinfile.h \ | |
62 | genericBinaryFiles/BinFile/binaryfile.h \ |
|
61 | genericBinaryFiles/BinFile/binaryfile.h \ | |
63 | genericBinaryFiles/BinFile/binaryfilewidget.h \ |
|
62 | genericBinaryFiles/BinFile/binaryfilewidget.h \ | |
64 | genericBinaryFiles/genericbinaryfilewidget.h \ |
|
63 | genericBinaryFiles/genericbinaryfilewidget.h \ | |
65 | genericBinaryFiles/qtablewidgetintitem.h \ |
|
64 | genericBinaryFiles/qtablewidgetintitem.h \ | |
66 | genericBinaryFiles/filelist.h \ |
|
65 | genericBinaryFiles/filelist.h \ | |
67 | genericBinaryFiles/qvpushbutton.h |
|
66 | genericBinaryFiles/qvpushbutton.h \ | |
|
67 | aboutexecut.h | |||
68 |
|
68 | |||
69 | FORMS += mainwindow.ui \ |
|
69 | FORMS += mainwindow.ui \ | |
70 | genericBinaryFiles/elf/elffilewidget.ui \ |
|
70 | genericBinaryFiles/elf/elffilewidget.ui \ | |
71 | genericBinaryFiles/srec/srecfilewidget.ui \ |
|
71 | genericBinaryFiles/srec/srecfilewidget.ui \ | |
72 | genericBinaryFiles/BinFile/binaryfilewidget.ui \ |
|
72 | genericBinaryFiles/BinFile/binaryfilewidget.ui \ | |
73 | genericBinaryFiles/genericbinaryfilewidget.ui |
|
73 | genericBinaryFiles/genericbinaryfilewidget.ui | |
74 |
|
74 | |||
75 | RESOURCES += \ |
|
75 | RESOURCES += \ | |
76 | genericBinaryFiles/ressources/genericBinaryFiles.qrc |
|
76 | genericBinaryFiles/ressources/genericBinaryFiles.qrc \ | |
|
77 | resources/execut.qrc | |||
|
78 | ||||
|
79 | unix{ | |||
|
80 | ExeCut.path = /usr/share/applications/ | |||
|
81 | ExeCut.files = ExeCut.desktop | |||
|
82 | icon.path = /usr/share/ExeCut | |||
|
83 | icon.files = resources/icon.png | |||
|
84 | target.path = /usr/bin | |||
|
85 | INSTALLS+=ExeCut icon target | |||
|
86 | } |
@@ -1,11 +1,32 | |||||
|
1 | /*------------------------------------------------------------------------------ | |||
|
2 | -- This file is a part of the ExeCut Software | |||
|
3 | -- Copyright (C) 2014, Plasma Physics Laboratory - CNRS | |||
|
4 | -- | |||
|
5 | -- This program is free software; you can redistribute it and/or modify | |||
|
6 | -- it under the terms of the GNU General Public License as published by | |||
|
7 | -- the Free Software Foundation; either version 2 of the License, or | |||
|
8 | -- (at your option) any later version. | |||
|
9 | -- | |||
|
10 | -- This program is distributed in the hope that it will be useful, | |||
|
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
|
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
|
13 | -- GNU General Public License for more details. | |||
|
14 | -- | |||
|
15 | -- You should have received a copy of the GNU General Public License | |||
|
16 | -- along with this program; if not, write to the Free Software | |||
|
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
|
18 | -------------------------------------------------------------------------------*/ | |||
|
19 | /*-- Author : Alexis Jeandet | |||
|
20 | -- Mail : alexis.jeandet@member.fsf.org | |||
|
21 | ----------------------------------------------------------------------------*/ | |||
1 | #include "mainwindow.h" |
|
22 | #include "mainwindow.h" | |
2 | #include <QApplication> |
|
23 | #include <QApplication> | |
3 |
|
24 | |||
4 | int main(int argc, char *argv[]) |
|
25 | int main(int argc, char *argv[]) | |
5 | { |
|
26 | { | |
6 | QApplication a(argc, argv); |
|
27 | QApplication a(argc, argv); | |
7 | MainWindow w; |
|
28 | MainWindow w; | |
8 | w.show(); |
|
29 | w.show(); | |
9 |
|
30 | |||
10 | return a.exec(); |
|
31 | return a.exec(); | |
11 | } |
|
32 | } |
@@ -1,29 +1,57 | |||||
|
1 | /*------------------------------------------------------------------------------ | |||
|
2 | -- This file is a part of the ExeCut Software | |||
|
3 | -- Copyright (C) 2014, Plasma Physics Laboratory - CNRS | |||
|
4 | -- | |||
|
5 | -- This program is free software; you can redistribute it and/or modify | |||
|
6 | -- it under the terms of the GNU General Public License as published by | |||
|
7 | -- the Free Software Foundation; either version 2 of the License, or | |||
|
8 | -- (at your option) any later version. | |||
|
9 | -- | |||
|
10 | -- This program is distributed in the hope that it will be useful, | |||
|
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
|
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
|
13 | -- GNU General Public License for more details. | |||
|
14 | -- | |||
|
15 | -- You should have received a copy of the GNU General Public License | |||
|
16 | -- along with this program; if not, write to the Free Software | |||
|
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
|
18 | -------------------------------------------------------------------------------*/ | |||
|
19 | /*-- Author : Alexis Jeandet | |||
|
20 | -- Mail : alexis.jeandet@member.fsf.org | |||
|
21 | ----------------------------------------------------------------------------*/ | |||
1 | #include "mainwindow.h" |
|
22 | #include "mainwindow.h" | |
2 | #include "ui_mainwindow.h" |
|
23 | #include "ui_mainwindow.h" | |
3 |
|
24 | |||
4 | MainWindow::MainWindow(QWidget *parent) : |
|
25 | MainWindow::MainWindow(QWidget *parent) : | |
5 | QMainWindow(parent), |
|
26 | QMainWindow(parent), | |
6 | ui(new Ui::MainWindow) |
|
27 | ui(new Ui::MainWindow) | |
7 | { |
|
28 | { | |
8 | ui->setupUi(this); |
|
29 | ui->setupUi(this); | |
9 | qApp->setStyleSheet("QGroupBox {\ |
|
30 | qApp->setStyleSheet("QGroupBox {\ | |
10 | border: 1px solid gray;\ |
|
31 | border: 1px solid gray;\ | |
11 | border-radius: 9px;\ |
|
32 | border-radius: 9px;\ | |
12 | margin-top: 0.5em;\ |
|
33 | margin-top: 0.5em;\ | |
13 | }\ |
|
34 | }\ | |
14 | \ |
|
35 | \ | |
15 | QGroupBox::title {\ |
|
36 | QGroupBox::title {\ | |
16 | subcontrol-origin: margin;\ |
|
37 | subcontrol-origin: margin;\ | |
17 | left: 10px;\ |
|
38 | left: 10px;\ | |
18 | padding: 0 3px 0 3px;\ |
|
39 | padding: 0 3px 0 3px;\ | |
19 | }\ "); |
|
40 | }\ "); | |
|
41 | this->p_about = new aboutExecut(); | |||
20 | layout()->setContentsMargins(0,0,0,0); |
|
42 | layout()->setContentsMargins(0,0,0,0); | |
21 | connect(this->ui->actionQuit,SIGNAL(triggered()),this,SLOT(close())); |
|
43 | connect(this->ui->actionQuit,SIGNAL(triggered()),this,SLOT(close())); | |
22 | connect(this->ui->actionOpen,SIGNAL(triggered()),this->ui->binFileWdgt,SLOT(openFile())); |
|
44 | connect(this->ui->actionOpen,SIGNAL(triggered()),this->ui->binFileWdgt,SLOT(openFile())); | |
|
45 | connect(this->ui->actionAbout,SIGNAL(triggered()),this,SLOT(showAboutBox())); | |||
23 | } |
|
46 | } | |
24 |
|
47 | |||
25 | MainWindow::~MainWindow() |
|
48 | MainWindow::~MainWindow() | |
26 | { |
|
49 | { | |
27 | delete ui; |
|
50 | delete ui; | |
28 | } |
|
51 | } | |
29 |
|
52 | |||
|
53 | void MainWindow::showAboutBox() | |||
|
54 | { | |||
|
55 | p_about->show(); | |||
|
56 | } | |||
|
57 |
@@ -1,22 +1,46 | |||||
|
1 | /*------------------------------------------------------------------------------ | |||
|
2 | -- This file is a part of the ExeCut Software | |||
|
3 | -- Copyright (C) 2014, Plasma Physics Laboratory - CNRS | |||
|
4 | -- | |||
|
5 | -- This program is free software; you can redistribute it and/or modify | |||
|
6 | -- it under the terms of the GNU General Public License as published by | |||
|
7 | -- the Free Software Foundation; either version 2 of the License, or | |||
|
8 | -- (at your option) any later version. | |||
|
9 | -- | |||
|
10 | -- This program is distributed in the hope that it will be useful, | |||
|
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
|
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
|
13 | -- GNU General Public License for more details. | |||
|
14 | -- | |||
|
15 | -- You should have received a copy of the GNU General Public License | |||
|
16 | -- along with this program; if not, write to the Free Software | |||
|
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
|
18 | -------------------------------------------------------------------------------*/ | |||
|
19 | /*-- Author : Alexis Jeandet | |||
|
20 | -- Mail : alexis.jeandet@member.fsf.org | |||
|
21 | ----------------------------------------------------------------------------*/ | |||
1 | #ifndef MAINWINDOW_H |
|
22 | #ifndef MAINWINDOW_H | |
2 | #define MAINWINDOW_H |
|
23 | #define MAINWINDOW_H | |
3 |
|
24 | |||
4 | #include <QMainWindow> |
|
25 | #include <QMainWindow> | |
|
26 | #include "aboutexecut.h" | |||
5 |
|
27 | |||
6 | namespace Ui { |
|
28 | namespace Ui { | |
7 | class MainWindow; |
|
29 | class MainWindow; | |
8 | } |
|
30 | } | |
9 |
|
31 | |||
10 | class MainWindow : public QMainWindow |
|
32 | class MainWindow : public QMainWindow | |
11 | { |
|
33 | { | |
12 | Q_OBJECT |
|
34 | Q_OBJECT | |
13 |
|
35 | |||
14 | public: |
|
36 | public: | |
15 | explicit MainWindow(QWidget *parent = 0); |
|
37 | explicit MainWindow(QWidget *parent = 0); | |
16 | ~MainWindow(); |
|
38 | ~MainWindow(); | |
17 |
|
39 | public slots: | ||
|
40 | void showAboutBox(); | |||
18 | private: |
|
41 | private: | |
19 | Ui::MainWindow *ui; |
|
42 | Ui::MainWindow *ui; | |
|
43 | aboutExecut* p_about; | |||
20 | }; |
|
44 | }; | |
21 |
|
45 | |||
22 | #endif // MAINWINDOW_H |
|
46 | #endif // MAINWINDOW_H |
@@ -1,64 +1,82 | |||||
1 | <?xml version="1.0" encoding="UTF-8"?> |
|
1 | <?xml version="1.0" encoding="UTF-8"?> | |
2 | <ui version="4.0"> |
|
2 | <ui version="4.0"> | |
3 | <class>MainWindow</class> |
|
3 | <class>MainWindow</class> | |
4 | <widget class="QMainWindow" name="MainWindow"> |
|
4 | <widget class="QMainWindow" name="MainWindow"> | |
5 | <property name="geometry"> |
|
5 | <property name="geometry"> | |
6 | <rect> |
|
6 | <rect> | |
7 | <x>0</x> |
|
7 | <x>0</x> | |
8 | <y>0</y> |
|
8 | <y>0</y> | |
9 | <width>400</width> |
|
9 | <width>400</width> | |
10 | <height>300</height> |
|
10 | <height>300</height> | |
11 | </rect> |
|
11 | </rect> | |
12 | </property> |
|
12 | </property> | |
13 | <property name="windowTitle"> |
|
13 | <property name="windowTitle"> | |
14 | <string>ExeCut</string> |
|
14 | <string>ExeCut</string> | |
15 | </property> |
|
15 | </property> | |
|
16 | <property name="windowIcon"> | |||
|
17 | <iconset resource="resources/execut.qrc"> | |||
|
18 | <normaloff>:/icon/icon.png</normaloff>:/icon/icon.png</iconset> | |||
|
19 | </property> | |||
16 | <widget class="QWidget" name="centralWidget"> |
|
20 | <widget class="QWidget" name="centralWidget"> | |
17 | <layout class="QGridLayout" name="gridLayout"> |
|
21 | <layout class="QGridLayout" name="gridLayout"> | |
18 | <item row="0" column="0"> |
|
22 | <item row="0" column="0"> | |
19 | <widget class="genericBinaryFileWidget" name="binFileWdgt" native="true"/> |
|
23 | <widget class="genericBinaryFileWidget" name="binFileWdgt" native="true"/> | |
20 | </item> |
|
24 | </item> | |
21 | </layout> |
|
25 | </layout> | |
22 | </widget> |
|
26 | </widget> | |
23 | <widget class="QMenuBar" name="menuBar"> |
|
27 | <widget class="QMenuBar" name="menuBar"> | |
24 | <property name="geometry"> |
|
28 | <property name="geometry"> | |
25 | <rect> |
|
29 | <rect> | |
26 | <x>0</x> |
|
30 | <x>0</x> | |
27 | <y>0</y> |
|
31 | <y>0</y> | |
28 | <width>400</width> |
|
32 | <width>400</width> | |
29 | <height>27</height> |
|
33 | <height>27</height> | |
30 | </rect> |
|
34 | </rect> | |
31 | </property> |
|
35 | </property> | |
32 | <widget class="QMenu" name="menuFile"> |
|
36 | <widget class="QMenu" name="menuFile"> | |
33 | <property name="title"> |
|
37 | <property name="title"> | |
34 | <string>File</string> |
|
38 | <string>File</string> | |
35 | </property> |
|
39 | </property> | |
36 | <addaction name="actionOpen"/> |
|
40 | <addaction name="actionOpen"/> | |
37 | <addaction name="separator"/> |
|
41 | <addaction name="separator"/> | |
38 | <addaction name="actionQuit"/> |
|
42 | <addaction name="actionQuit"/> | |
39 | </widget> |
|
43 | </widget> | |
|
44 | <widget class="QMenu" name="menuHelp"> | |||
|
45 | <property name="title"> | |||
|
46 | <string>help</string> | |||
|
47 | </property> | |||
|
48 | <addaction name="actionAbout"/> | |||
|
49 | </widget> | |||
40 | <addaction name="menuFile"/> |
|
50 | <addaction name="menuFile"/> | |
|
51 | <addaction name="menuHelp"/> | |||
41 | </widget> |
|
52 | </widget> | |
42 | <action name="actionOpen"> |
|
53 | <action name="actionOpen"> | |
43 | <property name="text"> |
|
54 | <property name="text"> | |
44 | <string>Open</string> |
|
55 | <string>Open</string> | |
45 | </property> |
|
56 | </property> | |
46 | </action> |
|
57 | </action> | |
47 | <action name="actionQuit"> |
|
58 | <action name="actionQuit"> | |
48 | <property name="text"> |
|
59 | <property name="text"> | |
49 | <string>Quit</string> |
|
60 | <string>Quit</string> | |
50 | </property> |
|
61 | </property> | |
51 | </action> |
|
62 | </action> | |
|
63 | <action name="actionAbout"> | |||
|
64 | <property name="text"> | |||
|
65 | <string>about</string> | |||
|
66 | </property> | |||
|
67 | </action> | |||
52 | </widget> |
|
68 | </widget> | |
53 | <layoutdefault spacing="6" margin="11"/> |
|
69 | <layoutdefault spacing="6" margin="11"/> | |
54 | <customwidgets> |
|
70 | <customwidgets> | |
55 | <customwidget> |
|
71 | <customwidget> | |
56 | <class>genericBinaryFileWidget</class> |
|
72 | <class>genericBinaryFileWidget</class> | |
57 | <extends>QWidget</extends> |
|
73 | <extends>QWidget</extends> | |
58 | <header location="global">genericbinaryfilewidget.h</header> |
|
74 | <header location="global">genericbinaryfilewidget.h</header> | |
59 | <container>1</container> |
|
75 | <container>1</container> | |
60 | </customwidget> |
|
76 | </customwidget> | |
61 | </customwidgets> |
|
77 | </customwidgets> | |
62 |
<resources |
|
78 | <resources> | |
|
79 | <include location="resources/execut.qrc"/> | |||
|
80 | </resources> | |||
63 | <connections/> |
|
81 | <connections/> | |
64 | </ui> |
|
82 | </ui> |
General Comments 0
You need to be logged in to leave comments.
Login now