projects
/
mdictionary
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port WelcomeScreenWidget to qml. add instalation rules for qml file
[mdictionary]
/
src
/
mdictionary
/
gui
/
WelcomeScreenWidget.h
diff --git
a/src/mdictionary/gui/WelcomeScreenWidget.h
b/src/mdictionary/gui/WelcomeScreenWidget.h
index
449570c
..
6e82a87
100644
(file)
--- a/
src/mdictionary/gui/WelcomeScreenWidget.h
+++ b/
src/mdictionary/gui/WelcomeScreenWidget.h
@@
-30,6
+30,9
@@
#include <QWidget>
#include <QScrollArea>
#include <QtGui>
#include <QWidget>
#include <QScrollArea>
#include <QtGui>
+#include <QtDeclarative/QDeclarativeView>
+#include <QtDeclarative/QDeclarativeEngine>
+#include <QtDeclarative/QDeclarativeContext>
//! Displays welcome screen with logo and name of application
class WelcomeScreenWidget : public QScrollArea
//! Displays welcome screen with logo and name of application
class WelcomeScreenWidget : public QScrollArea
@@
-41,6
+44,11
@@
public:
private:
QVBoxLayout* mainLayout;
QLabel* mainLabel, * licenseLabel, *imageLabel;
private:
QVBoxLayout* mainLayout;
QLabel* mainLabel, * licenseLabel, *imageLabel;
+
+ QDeclarativeView* qmlView;
+ QDeclarativeEngine* engine;
+ QDeclarativeContext* context;
+ QWidget* widget;
};
#endif // WELCOMESCREENWIDGET_H
};
#endif // WELCOMESCREENWIDGET_H