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