summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSami Nurmenniemi <sami.nurmenniemi@qt.io>2017-10-02 10:25:38 +0300
committerSami Nurmenniemi <sami.nurmenniemi@qt.io>2017-11-22 10:42:58 +0000
commit88f5014e955433ec407ca7d2a847daf3e454952f (patch)
treedfa809b7d17df0446207d7c86f16c5746efabe1f
parent97793810689dc5afd443141bda6da59eb614c9fc (diff)
Add "About Qt" screen
Task-number: QTBUG-63091 Change-Id: I90a1f2bf59ee75a0ad81998bd44a5253415db345 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
-rw-r--r--qml/AboutQt.qml80
1 files changed, 71 insertions, 9 deletions
diff --git a/qml/AboutQt.qml b/qml/AboutQt.qml
index 4a46b25..7207791 100644
--- a/qml/AboutQt.qml
+++ b/qml/AboutQt.qml
@@ -30,14 +30,76 @@ import QtQuick 2.0
Item {
id: root
- property int margin: root.width * 0.05
-
- Image{
- id: qtLogoImg
- height: parent.height * 0.125
- anchors.top: parent.top
- anchors.topMargin: parent.height * 0.035
- source: "icons/qt_logo_green_rgb.svg"
- fillMode: Image.PreserveAspectFit
+
+ Flickable {
+ width: parent.width
+ height: parent.height
+ contentHeight: aboutQtColumn.height
+ contentWidth: aboutQtColumn.width
+ clip: true
+
+ Column {
+ id: aboutQtColumn
+ spacing: pluginMain.spacing
+ Image {
+ height: root.height * 0.125
+ source: "icons/qt_logo_green_rgb.svg"
+ fillMode: Image.PreserveAspectFit
+ }
+
+ Text {
+ text: qsTr("This is Qt for Device Creation feature 'Boot to Qt (B2Qt)' Demo Launcher application. " +
+ "In addition to providing a host for various demo applications demonstrating Qt capabilities " +
+ "for embedded use cases, this application itself is manifesting how to create a booting, " +
+ "embedded application and a launcher with Qt on top of various different hardware and operating " +
+ "systems. In other words, this same application can be seen on several different hardware and " +
+ "operating system combinations either as a launchable app from the OS or as a full boot experience.")
+ color: "white"
+ font.pixelSize: pluginMain.valueFontSize
+ font.family: appFont
+ width: root.width
+ wrapMode: Text.Wrap
+ }
+
+ Text {
+ text: qsTr("Qt version: ") + "5.9"
+ color: "white"
+ font.pixelSize: pluginMain.valueFontSize
+ font.family: appFont
+ }
+
+ Text {
+ text: qsTr("Demo Launcher application version: ") + "2.0"
+ color: "white"
+ font.pixelSize: pluginMain.valueFontSize
+ font.family: appFont
+ }
+
+ Text {
+ text: qsTr("The Qt Company")
+ color: "white"
+ font.pixelSize: pluginMain.subTitleFontSize
+ font.family: appFont
+ }
+
+ Text {
+ text: qsTr("The Qt Company develops and delivers the Qt development framework " +
+ "under commercial and open source licenses. We enable the reuse of " +
+ "software code across all operating systems, platforms and screen " +
+ "types, from desktops and embedded systems to wearables and mobile " +
+ "devices. Qt is used by approximately one million developers worldwide " +
+ "and is the platform of choice for in-vehicle digital cockpits, " +
+ "automation systems, medical devices, Digital TV/STB and other " +
+ "business critical applications in 70+ industries. With more than 250 " +
+ "employees worldwide, the company is headquartered in Espoo, Finland " +
+ "and is listed on Nasdaq Helsinki Stock Exchange. To learn more visit " +
+ "http://qt.io")
+ color: "white"
+ font.pixelSize: pluginMain.valueFontSize
+ font.family: appFont
+ width: root.width
+ wrapMode: Text.Wrap
+ }
+ }
}
}