##// END OF EJS Templates
Updated tools folder...
Titta Heikkala -
r2846:9d857959743f
parent child
Show More
@@ -1,3 +1,4
1 QT += core gui widgets
1 2 TARGET = demoLauncher
2 3 SOURCES += main.cpp\
3 4 widget.cpp \
@@ -20,9 +20,9
20 20 ******************************************************************************/
21 21
22 22 #include "graphicsbutton.h"
23 #include <QPainter>
24 #include <QProcess>
25 #include <QMouseEvent>
23 #include <QtGui/QPainter>
24 #include <QtCore/QProcess>
25 #include <QtGui/QMouseEvent>
26 26
27 27 GraphicsButton::GraphicsButton(const QString &path, QDir appFolder, const QString &app, QWidget *parent) :
28 28 QWidget(parent),
@@ -22,7 +22,7
22 22 #ifndef GRAPHICSBUTTON_H
23 23 #define GRAPHICSBUTTON_H
24 24
25 #include <QWidget>
25 #include <QtWidgets/QWidget>
26 26 #include <QDir>
27 27
28 28 class QProcess;
@@ -19,7 +19,7
19 19 **
20 20 ******************************************************************************/
21 21
22 #include <QApplication>
22 #include <QtWidgets/QApplication>
23 23 #include "widget.h"
24 24
25 25 int main(int argc, char *argv[])
@@ -20,9 +20,9
20 20 ******************************************************************************/
21 21
22 22 #include "widget.h"
23 #include <QDir>
24 #include <QGridLayout>
25 #include <QApplication>
23 #include <QtCore/QDir>
24 #include <QtWidgets/QGridLayout>
25 #include <QtWidgets/QApplication>
26 26 #include "graphicsbutton.h"
27 27
28 28 Widget::Widget(QWidget *parent)
@@ -41,6 +41,8 Widget::Widget(QWidget *parent)
41 41 QDir imageFolder = m_appFolder;
42 42 imageFolder.cdUp();
43 43 imageFolder.cdUp();
44 imageFolder.cd("src");
45 imageFolder.cd("charts");
44 46 imageFolder.cd("doc");
45 47 imageFolder.cd("images");
46 48
@@ -22,7 +22,7
22 22 #ifndef WIDGET_H
23 23 #define WIDGET_H
24 24
25 #include <QWidget>
25 #include <QtWidgets/QWidget>
26 26 #include <QDir>
27 27
28 28 class Widget : public QWidget
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now