summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--basicsuite/about-b2qt/main.qml5
-rw-r--r--basicsuite/about-b2qt/title.txt2
-rw-r--r--basicsuite/camera/title.txt2
-rw-r--r--basicsuite/controls-touch/title.txt2
-rw-r--r--basicsuite/enterprise-charts/title.txt2
-rw-r--r--basicsuite/enterprise-dashboard/DashboardGaugeStyle.qml2
-rw-r--r--basicsuite/enterprise-dashboard/IconGaugeStyle.qml2
-rw-r--r--basicsuite/enterprise-dashboard/TachometerStyle.qml2
-rw-r--r--basicsuite/enterprise-dashboard/TurnIndicator.qml2
-rw-r--r--basicsuite/enterprise-dashboard/fonts/DejaVuSans.ttfbin0 -> 720856 bytes
-rw-r--r--basicsuite/enterprise-dashboard/main.qml4
-rw-r--r--basicsuite/enterprise-dashboard/title.txt2
-rw-r--r--basicsuite/enterprise-gallery/CircularGaugeDarkStyle.qml2
-rw-r--r--basicsuite/enterprise-gallery/CircularGaugeDefaultStyle.qml2
-rw-r--r--basicsuite/enterprise-gallery/CircularGaugeLightStyle.qml2
-rw-r--r--basicsuite/enterprise-gallery/CircularGaugeView.qml12
-rw-r--r--basicsuite/enterprise-gallery/ControlLabel.qml28
-rw-r--r--basicsuite/enterprise-gallery/ControlViewToolbar.qml1
-rw-r--r--basicsuite/enterprise-gallery/CustomizerLabel.qml2
-rw-r--r--basicsuite/enterprise-gallery/CustomizerSwitch.qml (renamed from basicsuite/enterprise-gallery/CustomizerCheckBox.qml)23
-rw-r--r--basicsuite/enterprise-gallery/PieMenuControlView.qml31
-rw-r--r--basicsuite/enterprise-gallery/PieMenuDarkStyle.qml2
-rw-r--r--basicsuite/enterprise-gallery/PieMenuDefaultStyle.qml2
-rw-r--r--basicsuite/enterprise-gallery/StylePicker.qml4
-rw-r--r--basicsuite/enterprise-gallery/main.qml178
-rw-r--r--basicsuite/enterprise-gallery/preview_l.jpgbin9016 -> 9525 bytes
-rw-r--r--basicsuite/enterprise-gallery/title.txt2
-rw-r--r--basicsuite/graphicaleffects/title.txt2
-rw-r--r--basicsuite/launchersettings/NetworkList.qml73
-rw-r--r--basicsuite/launchersettings/main.qml7
-rw-r--r--basicsuite/launchersettings/title.txt2
-rw-r--r--basicsuite/mediaplayer/title.txt2
-rw-r--r--basicsuite/photogallery/title.txt2
-rw-r--r--basicsuite/qt5-cinematicdemo/title.txt2
-rw-r--r--basicsuite/qt5-everywhere/demos/radio/channels.xml6
-rw-r--r--basicsuite/qt5-everywhere/demos/video/VideoDelegate.qml2
-rw-r--r--basicsuite/qt5-everywhere/title.txt2
-rw-r--r--basicsuite/qt5-launchpresentation/title.txt2
-rw-r--r--basicsuite/qt5-particlesdemo/title.txt2
-rw-r--r--basicsuite/sensorexplorer/imports/sensoritem.cpp2
-rw-r--r--basicsuite/sensorexplorer/title.txt2
-rw-r--r--basicsuite/sensors/Accelbubble.qml64
-rw-r--r--basicsuite/sensors/title.txt2
-rw-r--r--basicsuite/shared/main.cpp12
-rw-r--r--basicsuite/textinput/TextArea.qml6
-rw-r--r--basicsuite/textinput/TextBase.qml4
-rw-r--r--basicsuite/textinput/TextField.qml6
-rw-r--r--basicsuite/textinput/main.qml3
-rw-r--r--basicsuite/textinput/preview_l.jpgbin16465 -> 10684 bytes
-rw-r--r--basicsuite/textinput/title.txt2
-rw-r--r--doc/b2qt-demos.qdoc4
-rw-r--r--doc/b2qt-demos.qdocconf19
-rw-r--r--doc/html-offline.qdocconf35
-rw-r--r--doc/images/b2qt-demo-textinput.jpgbin16465 -> 10684 bytes
-rw-r--r--doc/template/images/arrow_bc.pngbin1071 -> 0 bytes
-rw-r--r--doc/template/images/bgrContent.pngbin149 -> 0 bytes
-rw-r--r--doc/template/images/blu_dot.pngbin168 -> 0 bytes
-rw-r--r--doc/template/images/btn_next.pngbin689 -> 0 bytes
-rw-r--r--doc/template/images/btn_prev.pngbin676 -> 0 bytes
-rw-r--r--doc/template/images/home.pngbin1076 -> 0 bytes
-rw-r--r--doc/template/images/ico_note.pngbin649 -> 0 bytes
-rw-r--r--doc/template/images/ico_note_attention.pngbin529 -> 0 bytes
-rw-r--r--doc/template/images/ico_out.pngbin362 -> 0 bytes
-rw-r--r--doc/template/style/offline.css628
64 files changed, 324 insertions, 887 deletions
diff --git a/basicsuite/about-b2qt/main.qml b/basicsuite/about-b2qt/main.qml
index 5c5c6df..694ba50 100644
--- a/basicsuite/about-b2qt/main.qml
+++ b/basicsuite/about-b2qt/main.qml
@@ -40,12 +40,13 @@
****************************************************************************/
import QtQuick 2.0
import QtQuick.Particles 2.0
+import QtQuick.Window 2.1
Item {
id: root
- width: 1280
- height: 800
+ width : Screen.height > Screen.width ? Screen.height : Screen.width
+ height : Screen.height > Screen.width ? Screen.width : Screen.height
// Rectangle {
// anchors.fill: parent
diff --git a/basicsuite/about-b2qt/title.txt b/basicsuite/about-b2qt/title.txt
index 634a26a..bc7bf4b 100644
--- a/basicsuite/about-b2qt/title.txt
+++ b/basicsuite/about-b2qt/title.txt
@@ -1 +1 @@
-About Qt Enterprise Embedded
+000. About Qt Enterprise Embedded
diff --git a/basicsuite/camera/title.txt b/basicsuite/camera/title.txt
index 10a226d..0cf11f5 100644
--- a/basicsuite/camera/title.txt
+++ b/basicsuite/camera/title.txt
@@ -1 +1 @@
-Camera
+110. Camera
diff --git a/basicsuite/controls-touch/title.txt b/basicsuite/controls-touch/title.txt
index cc2e76a..e35803a 100644
--- a/basicsuite/controls-touch/title.txt
+++ b/basicsuite/controls-touch/title.txt
@@ -1 +1 @@
-Controls: Touch
+080. Controls: Touch
diff --git a/basicsuite/enterprise-charts/title.txt b/basicsuite/enterprise-charts/title.txt
index d3ce063..2b4d97b 100644
--- a/basicsuite/enterprise-charts/title.txt
+++ b/basicsuite/enterprise-charts/title.txt
@@ -1 +1 @@
-Qt Charts - Gallery
+090. Qt Charts - Gallery
diff --git a/basicsuite/enterprise-dashboard/DashboardGaugeStyle.qml b/basicsuite/enterprise-dashboard/DashboardGaugeStyle.qml
index 7958fca..632b63b 100644
--- a/basicsuite/enterprise-dashboard/DashboardGaugeStyle.qml
+++ b/basicsuite/enterprise-dashboard/DashboardGaugeStyle.qml
@@ -19,7 +19,7 @@
****************************************************************************/
import QtQuick 2.0
-import QtQuick.Enterprise.Controls.Styles 1.0
+import QtQuick.Enterprise.Controls.Styles 1.1
CircularGaugeStyle {
tickmarkInset: toPixels(0.04)
diff --git a/basicsuite/enterprise-dashboard/IconGaugeStyle.qml b/basicsuite/enterprise-dashboard/IconGaugeStyle.qml
index 0b24351..a04d0e9 100644
--- a/basicsuite/enterprise-dashboard/IconGaugeStyle.qml
+++ b/basicsuite/enterprise-dashboard/IconGaugeStyle.qml
@@ -19,7 +19,7 @@
****************************************************************************/
import QtQuick 2.0
-import QtQuick.Enterprise.Controls.Styles 1.0
+import QtQuick.Enterprise.Controls.Styles 1.1
DashboardGaugeStyle {
id: fuelGaugeStyle
diff --git a/basicsuite/enterprise-dashboard/TachometerStyle.qml b/basicsuite/enterprise-dashboard/TachometerStyle.qml
index c4649da..15a2601 100644
--- a/basicsuite/enterprise-dashboard/TachometerStyle.qml
+++ b/basicsuite/enterprise-dashboard/TachometerStyle.qml
@@ -19,7 +19,7 @@
****************************************************************************/
import QtQuick 2.0
-import QtQuick.Enterprise.Controls.Styles 1.0
+import QtQuick.Enterprise.Controls.Styles 1.1
DashboardGaugeStyle {
id: tachometerStyle
diff --git a/basicsuite/enterprise-dashboard/TurnIndicator.qml b/basicsuite/enterprise-dashboard/TurnIndicator.qml
index 9dd7d5f..22d0ea9 100644
--- a/basicsuite/enterprise-dashboard/TurnIndicator.qml
+++ b/basicsuite/enterprise-dashboard/TurnIndicator.qml
@@ -19,7 +19,7 @@
****************************************************************************/
import QtQuick 2.0
-import QtQuick.Enterprise.Controls.Styles 1.0
+import QtQuick.Enterprise.Controls.Styles 1.1
Item {
// This enum is actually keyboard-related, but it serves its purpose
diff --git a/basicsuite/enterprise-dashboard/fonts/DejaVuSans.ttf b/basicsuite/enterprise-dashboard/fonts/DejaVuSans.ttf
new file mode 100644
index 0000000..19ed0b4
--- /dev/null
+++ b/basicsuite/enterprise-dashboard/fonts/DejaVuSans.ttf
Binary files differ
diff --git a/basicsuite/enterprise-dashboard/main.qml b/basicsuite/enterprise-dashboard/main.qml
index da5f296..7f8ee75 100644
--- a/basicsuite/enterprise-dashboard/main.qml
+++ b/basicsuite/enterprise-dashboard/main.qml
@@ -22,8 +22,8 @@ import QtQuick 2.0
import QtQuick.Window 2.1
import QtQuick.Controls 1.0
import QtQuick.Controls.Styles 1.0
-import QtQuick.Enterprise.Controls 1.0
-import QtQuick.Enterprise.Controls.Styles 1.0
+import QtQuick.Enterprise.Controls 1.1
+import QtQuick.Enterprise.Controls.Styles 1.1
Rectangle {
id: root
diff --git a/basicsuite/enterprise-dashboard/title.txt b/basicsuite/enterprise-dashboard/title.txt
index 1a3fb29..443fdd7 100644
--- a/basicsuite/enterprise-dashboard/title.txt
+++ b/basicsuite/enterprise-dashboard/title.txt
@@ -1 +1 @@
-Qt Quick Enterprise Controls - Dashboard
+060. Qt Quick Enterprise Controls - Dashboard
diff --git a/basicsuite/enterprise-gallery/CircularGaugeDarkStyle.qml b/basicsuite/enterprise-gallery/CircularGaugeDarkStyle.qml
index fb85f86..0de1180 100644
--- a/basicsuite/enterprise-gallery/CircularGaugeDarkStyle.qml
+++ b/basicsuite/enterprise-gallery/CircularGaugeDarkStyle.qml
@@ -19,7 +19,7 @@
****************************************************************************/
import QtQuick 2.0
-import QtQuick.Enterprise.Controls.Styles 1.0
+import QtQuick.Enterprise.Controls.Styles 1.1
CircularGaugeStyle {
id: root
diff --git a/basicsuite/enterprise-gallery/CircularGaugeDefaultStyle.qml b/basicsuite/enterprise-gallery/CircularGaugeDefaultStyle.qml
index 7aec7b6..23b25c4 100644
--- a/basicsuite/enterprise-gallery/CircularGaugeDefaultStyle.qml
+++ b/basicsuite/enterprise-gallery/CircularGaugeDefaultStyle.qml
@@ -19,7 +19,7 @@
****************************************************************************/
import QtQuick 2.0
-import QtQuick.Enterprise.Controls.Styles 1.0
+import QtQuick.Enterprise.Controls.Styles 1.1
CircularGaugeStyle {
labelStepSize: 20
diff --git a/basicsuite/enterprise-gallery/CircularGaugeLightStyle.qml b/basicsuite/enterprise-gallery/CircularGaugeLightStyle.qml
index 7d00c1f..87afa7d 100644
--- a/basicsuite/enterprise-gallery/CircularGaugeLightStyle.qml
+++ b/basicsuite/enterprise-gallery/CircularGaugeLightStyle.qml
@@ -19,7 +19,7 @@
****************************************************************************/
import QtQuick 2.0
-import QtQuick.Enterprise.Controls.Styles 1.0
+import QtQuick.Enterprise.Controls.Styles 1.1
CircularGaugeStyle {
id: root
diff --git a/basicsuite/enterprise-gallery/CircularGaugeView.qml b/basicsuite/enterprise-gallery/CircularGaugeView.qml
index 92ee6c5..a24b980 100644
--- a/basicsuite/enterprise-gallery/CircularGaugeView.qml
+++ b/basicsuite/enterprise-gallery/CircularGaugeView.qml
@@ -20,7 +20,7 @@
import QtQuick 2.0
import QtQuick.Controls 1.0
-import QtQuick.Enterprise.Controls 1.0
+import QtQuick.Enterprise.Controls 1.1
ControlView {
id: controlView
@@ -66,8 +66,8 @@ ControlView {
id: gauge
minimumValue: customizerItem.minimumValue
maximumValue: customizerItem.maximumValue
- width: root.toPixels(0.65)
- height: width
+ width: controlBounds.width
+ height: controlBounds.height
value: accelerating ? maximumValue : 0
style: styleMap[customizerItem.currentStylePath]
@@ -174,7 +174,7 @@ ControlView {
minimumValue: 0
value: 0
maximumValue: 360
- stepSize: labelStepSizeSlider.stepSize
+ stepSize: 1
}
CustomizerLabel {
@@ -184,9 +184,9 @@ ControlView {
CustomizerSlider {
id: maximumValueSlider
minimumValue: 0
- value: 220
+ value: 240
maximumValue: 300
- stepSize: labelStepSizeSlider.stepSize
+ stepSize: 1
}
CustomizerLabel {
diff --git a/basicsuite/enterprise-gallery/ControlLabel.qml b/basicsuite/enterprise-gallery/ControlLabel.qml
new file mode 100644
index 0000000..0335342
--- /dev/null
+++ b/basicsuite/enterprise-gallery/ControlLabel.qml
@@ -0,0 +1,28 @@
+/****************************************************************************
+**
+** Copyright (C) 2014 Digia Plc
+** All rights reserved.
+** For any questions to Digia, please use contact form at http://qt.digia.com
+**
+** This file is part of the QtQuick Enterprise Controls Add-on.
+**
+** $QT_BEGIN_LICENSE$
+** Licensees holding valid Qt Commercial licenses may use this file in
+** accordance with the Qt Commercial License Agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia.
+**
+** If you have questions regarding the use of this file, please use
+** contact form at http://qt.digia.com
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+
+Text {
+ font.pixelSize: Math.min(32, root.toPixels(0.045))
+ color: "#4e4e4e"
+ styleColor: "#ffffff"
+ style: Text.Raised
+}
diff --git a/basicsuite/enterprise-gallery/ControlViewToolbar.qml b/basicsuite/enterprise-gallery/ControlViewToolbar.qml
index 5aac041..f3dd07b 100644
--- a/basicsuite/enterprise-gallery/ControlViewToolbar.qml
+++ b/basicsuite/enterprise-gallery/ControlViewToolbar.qml
@@ -76,7 +76,6 @@ BlackButtonBackground {
Image {
source: "images/icon-settings.png"
anchors.centerIn: parent
- scale: -1
}
}
}
diff --git a/basicsuite/enterprise-gallery/CustomizerLabel.qml b/basicsuite/enterprise-gallery/CustomizerLabel.qml
index c4cb69c..c85807c 100644
--- a/basicsuite/enterprise-gallery/CustomizerLabel.qml
+++ b/basicsuite/enterprise-gallery/CustomizerLabel.qml
@@ -21,7 +21,7 @@
import QtQuick 2.0
Text {
- color: fontColor
+ color: darkBackground ? root.darkFontColor : root.lightFontColor
font.pixelSize: root.toPixels(0.04)
font.family: openSans.name
anchors.horizontalCenter: parent.horizontalCenter
diff --git a/basicsuite/enterprise-gallery/CustomizerCheckBox.qml b/basicsuite/enterprise-gallery/CustomizerSwitch.qml
index 542e09a..3048aae 100644
--- a/basicsuite/enterprise-gallery/CustomizerCheckBox.qml
+++ b/basicsuite/enterprise-gallery/CustomizerSwitch.qml
@@ -19,27 +19,8 @@
****************************************************************************/
import QtQuick 2.0
-import QtQuick.Controls 1.0
-import QtQuick.Controls.Styles 1.0
+import QtQuick.Controls 1.1
-CheckBox {
- id: checkBox
+Switch {
anchors.horizontalCenter: parent.horizontalCenter
- width: root.width * 0.04
- height: width
-
- style: CheckBoxStyle {
- indicator: Rectangle {
- color: "#666"
- height: control.height
- width: height
-
- Rectangle {
- anchors.fill: parent
- anchors.margins: Math.round(checkBox.width * 0.1)
- color: "#111"
- visible: control.checked
- }
- }
- }
}
diff --git a/basicsuite/enterprise-gallery/PieMenuControlView.qml b/basicsuite/enterprise-gallery/PieMenuControlView.qml
index cba341b..2c06176 100644
--- a/basicsuite/enterprise-gallery/PieMenuControlView.qml
+++ b/basicsuite/enterprise-gallery/PieMenuControlView.qml
@@ -21,7 +21,7 @@
import QtQuick 2.0
import QtGraphicalEffects 1.0
import QtQuick.Controls 1.0
-import QtQuick.Enterprise.Controls 1.0
+import QtQuick.Enterprise.Controls 1.1
Rectangle {
id: view
@@ -94,34 +94,7 @@ Rectangle {
anchors.fill: parent
onClicked: {
- pieMenu.popup(touchArea.mouseX, touchArea.mouseY)
- }
- }
-
- Item {
- width: labelText.width
- height: labelText.height
- anchors.bottom: pieMenu.top
- anchors.bottomMargin: 10
- anchors.horizontalCenter: pieMenu.horizontalCenter
- visible: pieMenu.visible
-
- Item {
- id: labelBlurGuard
- anchors.centerIn: parent
- width: labelText.implicitWidth * 2
- height: labelText.implicitHeight * 2
-
- Text {
- id: labelText
- font.pointSize: 20
- text: pieMenu.currentIndex !== -1 ? pieMenu.menuItems[pieMenu.currentIndex].text : ""
- horizontalAlignment: Text.AlignHCenter
- verticalAlignment: Text.AlignVCenter
- anchors.centerIn: parent
- color: "#ccc"
- antialiasing: true
- }
+ pieMenu.popup(touchArea.mouseX, touchArea.mouseY);
}
}
diff --git a/basicsuite/enterprise-gallery/PieMenuDarkStyle.qml b/basicsuite/enterprise-gallery/PieMenuDarkStyle.qml
index 354775d..ab03701 100644
--- a/basicsuite/enterprise-gallery/PieMenuDarkStyle.qml
+++ b/basicsuite/enterprise-gallery/PieMenuDarkStyle.qml
@@ -18,7 +18,7 @@
**
****************************************************************************/
-import QtQuick.Enterprise.Controls.Styles 1.0
+import QtQuick.Enterprise.Controls.Styles 1.1
PieMenuStyle {
backgroundColor: "#222"
diff --git a/basicsuite/enterprise-gallery/PieMenuDefaultStyle.qml b/basicsuite/enterprise-gallery/PieMenuDefaultStyle.qml
index 1ad8480..4b0edb1 100644
--- a/basicsuite/enterprise-gallery/PieMenuDefaultStyle.qml
+++ b/basicsuite/enterprise-gallery/PieMenuDefaultStyle.qml
@@ -18,7 +18,7 @@
**
****************************************************************************/
-import QtQuick.Enterprise.Controls.Styles 1.0
+import QtQuick.Enterprise.Controls.Styles 1.1
PieMenuStyle {
}
diff --git a/basicsuite/enterprise-gallery/StylePicker.qml b/basicsuite/enterprise-gallery/StylePicker.qml
index 48c1298..f4e097e 100644
--- a/basicsuite/enterprise-gallery/StylePicker.qml
+++ b/basicsuite/enterprise-gallery/StylePicker.qml
@@ -21,8 +21,8 @@
import QtQuick 2.0
import QtQuick.Controls 1.0
import QtQuick.Controls.Styles 1.0
-import QtQuick.Enterprise.Controls 1.0
-import QtQuick.Enterprise.Controls.Styles 1.0
+import QtQuick.Enterprise.Controls 1.1
+import QtQuick.Enterprise.Controls.Styles 1.1
ListView {
id: stylePicker
diff --git a/basicsuite/enterprise-gallery/main.qml b/basicsuite/enterprise-gallery/main.qml
index f1f2e17..de60f47 100644
--- a/basicsuite/enterprise-gallery/main.qml
+++ b/basicsuite/enterprise-gallery/main.qml
@@ -24,12 +24,14 @@ import QtQuick.Controls 1.0
import QtQuick.Controls.Styles 1.0
import QtQuick.Controls.Private 1.0
import QtQuick.Dialogs 1.0
-import QtQuick.Enterprise.Controls 1.0
-import QtQuick.Enterprise.Controls.Styles 1.0
+import QtQuick.Enterprise.Controls 1.1
+import QtQuick.Enterprise.Controls.Styles 1.1
+import QtQuick.Layouts 1.0
import QtQuick.Window 2.1
Rectangle {
id: root
+ objectName: "window"
visible: true
width: 480
height: 800
@@ -42,8 +44,9 @@ Rectangle {
}
property bool isScreenPortrait: height > width
- property color fontColor: "white"
- readonly property color lightBackgroundColor: "#ccc"
+ property color lightFontColor: "#222"
+ property color darkFontColor: "#e7e7e7"
+ readonly property color lightBackgroundColor: "#cccccc"
readonly property color darkBackgroundColor: "#161616"
property real customizerPropertySpacing: 10
property real colorPickerRowSpacing: 8
@@ -53,34 +56,69 @@ Rectangle {
property Component dial: ControlView {
darkBackground: false
- control: Dial {
- id: dial
- width: root.toPixels(0.3)
- height: width
+ control: Column {
+ id: dialColumn
+ width: controlBounds.width
+ height: controlBounds.height - spacing
+ spacing: root.toPixels(0.05)
+
+ Column {
+ id: volumeColumn
+ width: parent.width
+ height: (dialColumn.height - dialColumn.spacing) / 2
+ spacing: height * 0.025
+
+ Dial {
+ id: volumeDial
+ width: parent.width
+ height: volumeColumn.height - volumeText.height - volumeColumn.spacing
+
+ /*!
+ Determines whether the dial animates its rotation to the new value when
+ a single click or touch is received on the dial.
+ */
+ property bool animate: customizerItem.animate
+
+ Behavior on value {
+ enabled: volumeDial.animate && !volumeDial.pressed
+ NumberAnimation {
+ duration: 300
+ easing.type: Easing.OutSine
+ }
+ }
+ }
- /*!
- Determines whether the dial animates its rotation to the new value when
- a single click or touch is received on the dial.
- */
- property bool animate: customizerItem.animate
-
- Behavior on value {
- enabled: dial.animate && !dial.pressed
- NumberAnimation {
- duration: 300
- easing.type: Easing.OutSine
+ ControlLabel {
+ id: volumeText
+ text: "Volume"
+ anchors.horizontalCenter: parent.horizontalCenter
}
}
- Text {
- text: "Volume"
- anchors.horizontalCenter: parent.horizontalCenter
- anchors.top: dial.bottom
- anchors.topMargin: 10
- font.pixelSize: root.toPixels(0.045)
- color: "#4e4e4e"
- styleColor: "#ffffff"
- style: Text.Raised
+ Column {
+ id: trebleColumn
+ width: parent.width
+ height: (dialColumn.height - dialColumn.spacing) / 2
+ spacing: height * 0.025
+
+ Dial {
+ id: dial2
+ width: parent.width
+ height: trebleColumn.height - trebleText.height - trebleColumn.spacing
+
+ stepSize: 1
+ maximumValue: 10
+
+ style: DialStyle {
+ labelInset: outerRadius * 0
+ }
+ }
+
+ ControlLabel {
+ id: trebleText
+ text: "Treble"
+ anchors.horizontalCenter: parent.horizontalCenter
+ }
}
}
@@ -91,10 +129,9 @@ Rectangle {
CustomizerLabel {
text: "Animate"
- color: "black"
}
- CustomizerCheckBox {
+ CustomizerSwitch {
id: animateCheckBox
}
}
@@ -115,8 +152,8 @@ Rectangle {
id: gaugeView
control: Gauge {
id: gauge
- width: orientation === Qt.Vertical ? root.toPixels(0.15) : gaugeView.controlBounds.width * 0.65
- height: orientation === Qt.Vertical ? root.toPixels(0.65) : gaugeView.controlBounds.height * 0.15
+ width: orientation === Qt.Vertical ? gaugeView.controlBounds.height * 0.3 : gaugeView.controlBounds.width
+ height: orientation === Qt.Vertical ? gaugeView.controlBounds.height : gaugeView.controlBounds.height * 0.3
anchors.centerIn: parent
minimumValue: 0
@@ -150,7 +187,7 @@ Rectangle {
text: "Vertical orientation"
}
- CustomizerCheckBox {
+ CustomizerSwitch {
id: orientationCheckBox
checked: true
}
@@ -159,7 +196,7 @@ Rectangle {
text: controlItem.orientation === Qt.Vertical ? "Left align" : "Top align"
}
- CustomizerCheckBox {
+ CustomizerSwitch {
id: alignCheckBox
checked: true
}
@@ -179,6 +216,67 @@ Rectangle {
property Component pieMenu: PieMenuControlView {}
+ property Component statusIndicator: ControlView {
+ id: statusIndicatorView
+ darkBackground: false
+
+ Timer {
+ id: recordingFlashTimer
+ running: true
+ repeat: true
+ interval: 1000
+ }
+
+ ColumnLayout {
+ id: indicatorLayout
+ width: statusIndicatorView.controlBounds.width * 0.25
+ height: statusIndicatorView.controlBounds.height * 0.75
+ anchors.centerIn: parent
+
+ Repeater {
+ model: ListModel {
+ id: indicatorModel
+ ListElement {
+ name: "Power"
+ indicatorColor: "green"
+ }
+ ListElement {
+ name: "Recording"
+ indicatorColor: "red"
+ }
+ }
+
+ ColumnLayout {
+ Layout.preferredWidth: indicatorLayout.width
+// Layout.preferredHeight: indicatorLayout.height * 0.25
+ spacing: 0
+
+ StatusIndicator {
+ id: indicator
+ color: indicatorColor
+ Layout.preferredWidth: statusIndicatorView.controlBounds.width * 0.07
+ Layout.preferredHeight: Layout.preferredWidth
+ Layout.alignment: Qt.AlignHCenter
+ on: true
+
+ Connections {
+ target: recordingFlashTimer
+ onTriggered: if (name == "Recording") indicator.on = !indicator.on
+ }
+ }
+ ControlLabel {
+ id: indicatorLabel
+ text: name
+// elide: Text.ElideRight
+ Layout.alignment: Qt.AlignHCenter
+ Layout.maximumWidth: parent.width
+ horizontalAlignment: Text.AlignHCenter
+ }
+ }
+ }
+ }
+ }
+
FontLoader {
id: openSans
Component.onCompleted: {
@@ -196,6 +294,7 @@ Rectangle {
"Dial": dial,
"Gauge": gauge,
"PieMenu": pieMenu,
+ "StatusIndicator": statusIndicator,
"ToggleButton": toggleButton
}
@@ -217,9 +316,12 @@ Rectangle {
ListElement {
title: "Gauge"
}
- //ListElement {
- // title: "PieMenu"
- //}
+// ListElement {
+// title: "PieMenu"
+// }
+ ListElement {
+ title: "StatusIndicator"
+ }
ListElement {
title: "ToggleButton"
}
@@ -238,7 +340,7 @@ Rectangle {
}
style: BlackButtonStyle {
- fontColor: root.fontColor
+ fontColor: root.darkFontColor
}
onClicked: {
diff --git a/basicsuite/enterprise-gallery/preview_l.jpg b/basicsuite/enterprise-gallery/preview_l.jpg
index 8ddcad8..644bac5 100644
--- a/basicsuite/enterprise-gallery/preview_l.jpg
+++ b/basicsuite/enterprise-gallery/preview_l.jpg
Binary files differ
diff --git a/basicsuite/enterprise-gallery/title.txt b/basicsuite/enterprise-gallery/title.txt
index 4ffcc0f..00ece55 100644
--- a/basicsuite/enterprise-gallery/title.txt
+++ b/basicsuite/enterprise-gallery/title.txt
@@ -1 +1 @@
-Qt Quick Enterprise Controls - Gallery
+070. Qt Quick Enterprise Controls - Gallery
diff --git a/basicsuite/graphicaleffects/title.txt b/basicsuite/graphicaleffects/title.txt
index e048172..a679fff 100644
--- a/basicsuite/graphicaleffects/title.txt
+++ b/basicsuite/graphicaleffects/title.txt
@@ -1 +1 @@
-Graphical Effects
+130. Graphical Effects
diff --git a/basicsuite/launchersettings/NetworkList.qml b/basicsuite/launchersettings/NetworkList.qml
index b733eb6..204e4e2 100644
--- a/basicsuite/launchersettings/NetworkList.qml
+++ b/basicsuite/launchersettings/NetworkList.qml
@@ -42,9 +42,6 @@ import QtQuick 2.0
import QtQuick.Controls 1.0
import Qt.labs.wifi 0.1
-// ### TODO
-// - only 1 delagate open at the time
-
Item {
Component {
id: listDelegate
@@ -52,17 +49,28 @@ Item {
id: delegateBackground
property bool expanded: false
property bool connected: wifiManager.connectedSSID == network.ssid
- property variant networkModel: model
- property alias ssidText: ssidLabel.text
+ property bool actingNetwork: networkView.currentNetworkSsid == network.ssid
height: (expanded ? (connected ? 180: 260) : 70)
+ width: parent.width
clip: true // ### fixme
color: "#5C5C5C"
border.color: "black"
border.width: 1
- Behavior on height { NumberAnimation { duration: 500; easing.type: Easing.InOutCubic } }
+ onExpandedChanged: {
+ if (expanded) {
+ if (networkView.hasExpandedDelegate)
+ networkView.expandedDelegate.expanded = false
+ networkView.expandedDelegate = this
+ } else {
+ networkView.expandedDelegate = 0
+ }
+ }
- width: parent.width
+ Component.onDestruction: if (expanded) networkView.expandedDelegate = 0
+ onHeightChanged: if (expanded) networkView.positionViewAtIndex(index, ListView.Contain)
+
+ Behavior on height { NumberAnimation { duration: 500; easing.type: Easing.InOutCubic } }
Text {
id: ssidLabel
@@ -72,7 +80,7 @@ Item {
font.pixelSize: 20
font.bold: true
color: "#E6E6E6"
- text: network.ssid + (connected ? " (connected)" : "");
+ text: network.ssid + (actingNetwork ? networkView.networkStateText : "");
}
Text {
@@ -113,9 +121,7 @@ Item {
MouseArea {
anchors.fill: parent
- onClicked: {
- parent.expanded = !expanded
- }
+ onClicked: parent.expanded = !expanded
}
TextField {
@@ -134,15 +140,8 @@ Item {
y: passwordInput.visible ? passwordInput.y + passwordInput.height + 20 : passwordInput.y
anchors.horizontalCenter: parent.horizontalCenter
text: connected ? "Disconnect" : "Connect"
- onClicked: {
- networkView.currentIndex = index
- if (connected) {
- wifiManager.disconnect()
- } else {
- networkView.activeNetwork = networkView.currentItem
- wifiManager.connect(network, passwordInput.text);
- }
- }
+ onClicked: connected ? wifiManager.disconnect()
+ : wifiManager.connect(network, passwordInput.text);
}
}
}
@@ -153,20 +152,28 @@ Item {
model: wifiManager.networks
delegate: listDelegate
- property variant activeNetwork: ""
- property variant networkState: wifiManager.networkState
+ property string networkStateText: ""
+ property string currentNetworkSsid: ""
+ property variant expandedDelegate: 0
+ property bool hasExpandedDelegate: expandedDelegate != 0
- onNetworkStateChanged: {
- if (activeNetwork) {
- var ssid = activeNetwork.networkModel.ssid
- var state = ""
- if (networkState == WifiManager.ObtainingIPAddress)
- state = " (obtaining ip..)"
- else if (networkState == WifiManager.DhcpRequestFailed)
- state = " (dhcp request failed)"
- else if (networkState == WifiManager.Connected)
- state = " (connected)"
- activeNetwork.ssidText = ssid + state
+ Connections {
+ target: wifiManager
+ onNetworkStateChanged: {
+ networkView.currentNetworkSsid = network.ssid
+ var networkStateText = ""
+ var state = wifiManager.networkState
+ if (state == WifiManager.ObtainingIPAddress)
+ networkStateText = " (obtaining ip..)"
+ else if (state == WifiManager.DhcpRequestFailed)
+ networkStateText = " (dhcp request failed)"
+ else if (state == WifiManager.Connected)
+ networkStateText = " (connected)"
+ else if (state == WifiManager.Authenticating)
+ networkStateText = " (authenticating..)"
+ else if (state == WifiManager.HandshakeFailed)
+ networkStateText = " (wrong password)"
+ networkView.networkStateText = networkStateText
}
}
}
diff --git a/basicsuite/launchersettings/main.qml b/basicsuite/launchersettings/main.qml
index 718bf69..dbd1a31 100644
--- a/basicsuite/launchersettings/main.qml
+++ b/basicsuite/launchersettings/main.qml
@@ -44,6 +44,7 @@ import QtQuick.Controls 1.0
import QtQuick.Layouts 1.0
import QtQuick.Controls.Styles 1.0
import QtQuick.Controls.Private 1.0
+import QtQuick.Window 2.1
Rectangle {
id: root
@@ -73,7 +74,7 @@ Rectangle {
text: control.text
anchors.centerIn: parent
color: "white"
- font.pixelSize: 23
+ font.pixelSize: 22
renderType: Text.NativeRendering
}
}
@@ -140,7 +141,8 @@ Rectangle {
ColumnLayout {
id: mainLayout
- width: 800
+ // can not use size of "root" here, it will shrink UI when virtual keyboard is open
+ width: Math.min(Screen.width, Screen.height)
height: implicitHeight
anchors.left: parent.left
anchors.right: parent.right
@@ -247,6 +249,7 @@ Rectangle {
id: hostnameButton
style: buttonStyle
text: "Change hostname"
+ implicitWidth: 260
onClicked: networkControllerLoader.item.setHostname(hostname.text);
enabled: networkControllerLoader.item != undefined
}
diff --git a/basicsuite/launchersettings/title.txt b/basicsuite/launchersettings/title.txt
index b2fd1f4..0ec27f6 100644
--- a/basicsuite/launchersettings/title.txt
+++ b/basicsuite/launchersettings/title.txt
@@ -1 +1 @@
-Launcher Settings
+010. Launcher Settings
diff --git a/basicsuite/mediaplayer/title.txt b/basicsuite/mediaplayer/title.txt
index 7919029..a752761 100644
--- a/basicsuite/mediaplayer/title.txt
+++ b/basicsuite/mediaplayer/title.txt
@@ -1 +1 @@
-Media Player
+100. Media Player
diff --git a/basicsuite/photogallery/title.txt b/basicsuite/photogallery/title.txt
index 4aee1d3..eda05c5 100644
--- a/basicsuite/photogallery/title.txt
+++ b/basicsuite/photogallery/title.txt
@@ -1 +1 @@
-Photo Gallery
+120. Photo Gallery
diff --git a/basicsuite/qt5-cinematicdemo/title.txt b/basicsuite/qt5-cinematicdemo/title.txt
index 68451f8..8774828 100644
--- a/basicsuite/qt5-cinematicdemo/title.txt
+++ b/basicsuite/qt5-cinematicdemo/title.txt
@@ -1 +1 @@
-Qt5 Cinematic Demo
+030. Qt5 Cinematic Demo
diff --git a/basicsuite/qt5-everywhere/demos/radio/channels.xml b/basicsuite/qt5-everywhere/demos/radio/channels.xml
index 99522ab..0ba2bb7 100644
--- a/basicsuite/qt5-everywhere/demos/radio/channels.xml
+++ b/basicsuite/qt5-everywhere/demos/radio/channels.xml
@@ -5,10 +5,6 @@
<url>http://vpr.streamguys.net/vpr24.mp3</url>
</channel>
<channel>
- <title>CBC Music Hard Rock</title>
- <url>http://2903.live.streamtheworld.com:80/CBC_HAROCK_H_SC.mp3</url>
- </channel>
- <channel>
<title>"JPR Classics"</title>
<url>http://jpr.streamguys.org:80/jpr-classics</url>
</channel>
@@ -22,6 +18,6 @@
</channel>
<channel>
<title>Radio Paradise</title>
- <url>http://scfire-m26.websys.aol.com:80/radio_paradise_mp3_128kbps.mp3</url>
+ <url>http://stream-tx1.radioparadise.com/mp3-128</url>
</channel>
</radio>
diff --git a/basicsuite/qt5-everywhere/demos/video/VideoDelegate.qml b/basicsuite/qt5-everywhere/demos/video/VideoDelegate.qml
index fedc9f4..9cdbb50 100644
--- a/basicsuite/qt5-everywhere/demos/video/VideoDelegate.qml
+++ b/basicsuite/qt5-everywhere/demos/video/VideoDelegate.qml
@@ -86,8 +86,6 @@ Item {
anchors.bottom: parent.bottom
color: "Black"
opacity: 0.5
- visible: iconImage.source
-
}
Text {
diff --git a/basicsuite/qt5-everywhere/title.txt b/basicsuite/qt5-everywhere/title.txt
index 2f1f4ce..2aae9a5 100644
--- a/basicsuite/qt5-everywhere/title.txt
+++ b/basicsuite/qt5-everywhere/title.txt
@@ -1 +1 @@
-Qt5 Everywhere
+020. Qt5 Everywhere
diff --git a/basicsuite/qt5-launchpresentation/title.txt b/basicsuite/qt5-launchpresentation/title.txt
index d475d8a..19f15b6 100644
--- a/basicsuite/qt5-launchpresentation/title.txt
+++ b/basicsuite/qt5-launchpresentation/title.txt
@@ -1 +1 @@
-Qt5 Launch Presentation
+040. Qt5 Launch Presentation
diff --git a/basicsuite/qt5-particlesdemo/title.txt b/basicsuite/qt5-particlesdemo/title.txt
index 8abe769..1db7719 100644
--- a/basicsuite/qt5-particlesdemo/title.txt
+++ b/basicsuite/qt5-particlesdemo/title.txt
@@ -1 +1 @@
-Qt5 Particles Demo
+998. Qt5 Particles Demo
diff --git a/basicsuite/sensorexplorer/imports/sensoritem.cpp b/basicsuite/sensorexplorer/imports/sensoritem.cpp
index cd33549..2a64d6c 100644
--- a/basicsuite/sensorexplorer/imports/sensoritem.cpp
+++ b/basicsuite/sensorexplorer/imports/sensoritem.cpp
@@ -101,7 +101,7 @@ void QSensorItem::setStart(bool run)
*/
QString QSensorItem::id()
{
- return (_qsensor ? _qsensor->description() : "");
+ return (_qsensor ? (!_qsensor->description().isEmpty() ? _qsensor->description() : _qsensor->identifier()) : "");
}
/*
diff --git a/basicsuite/sensorexplorer/title.txt b/basicsuite/sensorexplorer/title.txt
index c56fed8..64de850 100644
--- a/basicsuite/sensorexplorer/title.txt
+++ b/basicsuite/sensorexplorer/title.txt
@@ -1 +1 @@
-Sensor Explorer
+999. Sensor Explorer
diff --git a/basicsuite/sensors/Accelbubble.qml b/basicsuite/sensors/Accelbubble.qml
index 7fba4d4..c5aeefc 100644
--- a/basicsuite/sensors/Accelbubble.qml
+++ b/basicsuite/sensors/Accelbubble.qml
@@ -42,6 +42,33 @@ import QtQuick 2.0
import QtSensors 5.0
Item {
+ function calc() {
+ if (xAnimation.running || yAnimation.running)
+ return
+
+ var newX = (bubble.x + calcRoll(accel.reading.x, accel.reading.y, accel.reading.z) * .8)
+ var newY = (bubble.y - calcPitch(accel.reading.x, accel.reading.y, accel.reading.z) * .8)
+
+ if (newX < 0)
+ newX = 0
+ if (newY < 0)
+ newY = 0
+
+ var right = field.width - bubble.width
+ var bottom = field.height - bubble.height
+
+ if (newX > right)
+ newX = right
+ if (newY > bottom)
+ newY = bottom
+
+ bubble.x = newX
+ bubble.y = newY
+
+ yBehavior.enabled = true
+ xBehavior.enabled = true
+ }
+
Rectangle {
id: field
color: "lightblue"
@@ -52,26 +79,13 @@ Item {
Accelerometer {
id: accel
active:true
- onReadingChanged: {
- var newX = (bubble.x + calcRoll(accel.reading.x, accel.reading.y, accel.reading.z) * .1)
- var newY = (bubble.y - calcPitch(accel.reading.x, accel.reading.y, accel.reading.z) * .1)
-
- if (newX < 0)
- newX = 0
- if (newY < 0)
- newY = 0
-
- var right = field.width - bubble.width
- var bottom = field.height - bubble.height
-
- if (newX > right)
- newX = right
- if (newY > bottom)
- newY = bottom
+ }
- bubble.x = newX
- bubble.y = newY
- }
+ Timer {
+ interval: 100
+ running: true
+ repeat: true
+ onTriggered: calc()
}
Image {
@@ -85,15 +99,23 @@ Item {
smooth: true
Behavior on y {
+ id: yBehavior
+ enabled: false
SmoothedAnimation {
+ id: yAnimation
easing.type: Easing.Linear
- duration: 100
+ duration: 40
+ onRunningChanged: calc()
}
}
Behavior on x {
+ id: xBehavior
+ enabled: false
SmoothedAnimation {
+ id: xAnimation
easing.type: Easing.Linear
- duration: 100
+ duration: 40
+ onRunningChanged: calc()
}
}
}
diff --git a/basicsuite/sensors/title.txt b/basicsuite/sensors/title.txt
index 558b7c0..a3a5b97 100644
--- a/basicsuite/sensors/title.txt
+++ b/basicsuite/sensors/title.txt
@@ -1 +1 @@
-Sensors Demo
+140. Sensors Demo
diff --git a/basicsuite/shared/main.cpp b/basicsuite/shared/main.cpp
index 808d5df..d33b09c 100644
--- a/basicsuite/shared/main.cpp
+++ b/basicsuite/shared/main.cpp
@@ -25,6 +25,9 @@
#include <QtGui/QPalette>
#include <QtCore/QRegExp>
+#if (QT_VERSION < QT_VERSION_CHECK(5, 3, 0))
+#include <QtQuick/QQuickItem>
+#endif
#include <QtQuick/QQuickView>
#include <QtQml/QQmlEngine>
@@ -57,10 +60,10 @@ int main(int argc, char **argv)
excludeFile.close();
}
- QString fontName = QStringLiteral("/system/lib/fonts/OpenSans-Regular.ttf");
+ QString fontName = QStringLiteral("/system/lib/fonts/DejaVuSans.ttf");
if (QFile::exists(fontName)) {
QFontDatabase::addApplicationFont(fontName);
- QFont font("Open Sans");
+ QFont font("DejaVu Sans");
font.setPixelSize(12);
QGuiApplication::setFont(font);
} else {
@@ -70,6 +73,11 @@ int main(int argc, char **argv)
}
QQuickView view;
+#if (QT_VERSION < QT_VERSION_CHECK(5, 3, 0))
+ // Ensure the width and height are valid because of QTBUG-36938.
+ QObject::connect(&view, SIGNAL(widthChanged(int)), view.contentItem(), SLOT(setWidth(int)));
+ QObject::connect(&view, SIGNAL(heightChanged(int)), view.contentItem(), SLOT(setHeight(int)));
+#endif
DummyEngine engine;
view.rootContext()->setContextProperty("engine", &engine);
diff --git a/basicsuite/textinput/TextArea.qml b/basicsuite/textinput/TextArea.qml
index 490e066..6832356 100644
--- a/basicsuite/textinput/TextArea.qml
+++ b/basicsuite/textinput/TextArea.qml
@@ -77,12 +77,6 @@ TextBase {
selectionColor: Qt.rgba(1.0, 1.0, 1.0, 0.5)
selectedTextColor: Qt.rgba(0.0, 0.0, 0.0, 0.8)
anchors { left: parent.left; right: parent.right; margins: 12 }
- cursorDelegate: Rectangle {
- width: 2
- opacity: 0.7
- color: "#EEEEEE"
- visible: textEdit.activeFocus
- }
onActiveFocusChanged: if (!activeFocus) deselect()
}
diff --git a/basicsuite/textinput/TextBase.qml b/basicsuite/textinput/TextBase.qml
index 67ee3e3..916b3e2 100644
--- a/basicsuite/textinput/TextBase.qml
+++ b/basicsuite/textinput/TextBase.qml
@@ -49,7 +49,7 @@ FocusScope {
property int fontPixelSize: 32
property string previewText
property string enterKeyText
- property bool enterKeyEnabled: true
+ property bool enterKeyEnabled: enterKeyText.length === 0 || editor.text.length > 0 || editor.inputMethodComposing
property alias mouseParent: mouseArea.parent
implicitHeight: editor.height + 12
@@ -86,6 +86,8 @@ FocusScope {
parent: textBase
anchors.fill: parent
onClicked: {
+ if (editor.inputMethodComposing)
+ Qt.inputMethod.commit()
var positionInEditor = mapToItem(editor, mouseX, mouseY)
var cursorPosition = editor.positionAt(positionInEditor.x, positionInEditor.y)
editor.cursorPosition = cursorPosition
diff --git a/basicsuite/textinput/TextField.qml b/basicsuite/textinput/TextField.qml
index 9b01418..e95ded7 100644
--- a/basicsuite/textinput/TextField.qml
+++ b/basicsuite/textinput/TextField.qml
@@ -82,12 +82,6 @@ TextBase {
selectionColor: Qt.rgba(1.0, 1.0, 1.0, 0.5)
selectedTextColor: Qt.rgba(0.0, 0.0, 0.0, 0.8)
width: Math.max(flickable.width, implicitWidth)-2
- cursorDelegate: Rectangle {
- width: 2
- opacity: 0.7
- color: "#EEEEEE"
- visible: textInput.activeFocus
- }
onActiveFocusChanged: if (!activeFocus) deselect()
}
}
diff --git a/basicsuite/textinput/main.qml b/basicsuite/textinput/main.qml
index 8f63b83..70455bf 100644
--- a/basicsuite/textinput/main.qml
+++ b/basicsuite/textinput/main.qml
@@ -77,7 +77,6 @@ Flickable {
width: parent.width
previewText: "One line field"
enterKeyText: "Next"
- enterKeyEnabled: text.length > 0
onEnterKeyClicked: passwordField.focus = true
}
TextField {
@@ -88,7 +87,6 @@ Flickable {
previewText: "Password field"
inputMethodHints: Qt.ImhNoAutoUppercase | Qt.ImhPreferLowercase | Qt.ImhSensitiveData | Qt.ImhNoPredictiveText
enterKeyText: "Next"
- enterKeyEnabled: text.length > 0
onEnterKeyClicked: numberField.focus = true
}
TextField {
@@ -99,7 +97,6 @@ Flickable {
previewText: "Phone number field"
inputMethodHints: Qt.ImhDialableCharactersOnly
enterKeyText: "Next"
- enterKeyEnabled: text.length > 0
onEnterKeyClicked: textArea.focus = true
}
TextArea {
diff --git a/basicsuite/textinput/preview_l.jpg b/basicsuite/textinput/preview_l.jpg
index f415a86..67a2917 100644
--- a/basicsuite/textinput/preview_l.jpg
+++ b/basicsuite/textinput/preview_l.jpg
Binary files differ
diff --git a/basicsuite/textinput/title.txt b/basicsuite/textinput/title.txt
index 932c2f3..8e845f4 100644
--- a/basicsuite/textinput/title.txt
+++ b/basicsuite/textinput/title.txt
@@ -1 +1 @@
-Virtual Keyboard
+050. Virtual Keyboard
diff --git a/doc/b2qt-demos.qdoc b/doc/b2qt-demos.qdoc
index d54a32c..f985d8c 100644
--- a/doc/b2qt-demos.qdoc
+++ b/doc/b2qt-demos.qdoc
@@ -165,7 +165,6 @@
*/
/*!
- \omit
\example sensors
\title Sensors
\ingroup b2qt-demos
@@ -176,7 +175,6 @@
Tilting the device moves the bubble around, based on readings from the accelerometer sensor.
For the light sensor, exposing the device to different lighting conditions changes the
displayed image.
- \endomit
*/
/*!
@@ -229,10 +227,8 @@
*/
/*!
- \omit
\example launchersettings
\title Launcher Settings
\ingroup b2qt-demos
\brief Displays information and settings available for the Boot to Qt launcher.
- \endomit
*/
diff --git a/doc/b2qt-demos.qdocconf b/doc/b2qt-demos.qdocconf
index d1dec94..0a8712f 100644
--- a/doc/b2qt-demos.qdocconf
+++ b/doc/b2qt-demos.qdocconf
@@ -6,7 +6,7 @@ sourceencoding = UTF-8
project = QtEnterpriseEmbeddedDemos
description = Qt Enterprise Embedded Examples and Demos
-version = 2.0.0
+version = 2.1.0
sourcedirs = .
imagedirs += images
@@ -22,23 +22,16 @@ examplesinstallpath = ../../../Boot2Qt-2.x/sources/b2qt-demos/basicsuit
qhp.projects = QtEnterpriseEmbeddedDemos
qhp.QtEnterpriseEmbeddedDemos.file = b2qt-demos.qhp
-qhp.QtEnterpriseEmbeddedDemos.namespace = com.digia.b2qt-demos.200
+qhp.QtEnterpriseEmbeddedDemos.namespace = com.digia.b2qt-demos.210
qhp.QtEnterpriseEmbeddedDemos.virtualFolder = b2qt-demos
qhp.QtEnterpriseEmbeddedDemos.indexTitle = Qt Enterprise Embedded Examples and Demos
qhp.QtEnterpriseEmbeddedDemos.indexRoot =
-qhp.QtEnterpriseEmbeddedDemos.subprojects = demos
-qhp.QtEnterpriseEmbeddedDemos.subprojects.demos.title = Qt Enterprise Embedded Examples and Demos
-qhp.QtEnterpriseEmbeddedDemos.subprojects.demos.indexTitle = Qt Enterprise Embedded Examples and Demos
+qhp.QtEnterpriseEmbeddedDemos.subprojects = demos
-manifestmeta.filters = thumbnail
-#manifestmeta.thumbnail.attributes = "imageUrl:qthelp\://com.digia.b2qt-demos.200/b2qt-demos/images/b2qt-demo.png"
-manifestmeta.thumbnail.tags = "b2qt,qtee"
-manifestmeta.thumbnail.names = "QtEnterpriseEmbeddedDemos/*"
-
-# Add an image used in example manifests to qhp
-HTML.extraimages += images/b2qt-demo.png
-qhp.QtEnterpriseEmbeddedDemos.extraFiles += images/b2qt-demo.png
+manifestmeta.filters = b2qt
+manifestmeta.b2qt.tags = "b2qt,qtee"
+manifestmeta.b2qt.names = "QtEnterpriseEmbeddedDemos/*"
macro.B2Q = "Boot to Qt"
macro.SDK = "Qt Enterprise Embedded"
diff --git a/doc/html-offline.qdocconf b/doc/html-offline.qdocconf
index bef6912..1488996 100644
--- a/doc/html-offline.qdocconf
+++ b/doc/html-offline.qdocconf
@@ -1,36 +1,7 @@
-HTML.nobreadcrumbs = "true"
-
-HTML.stylesheets = template/style/offline.css
-
-# Copy images used by the template to images folder in output directory
-HTML.extraimages = template/images/bgrContent.png \
- template/images/blu_dot.png \
- template/images/btn_next.png \
- template/images/btn_prev.png \
- template/images/ico_note.png \
- template/images/ico_note_attention.png \
- template/images/ico_out.png \
- template/images/arrow_bc.png \
- template/images/home.png
+# use the global Qt template with modifications to the html footer
+include($QT_INSTALL_DOCS/global/qt-html-templates-offline.qdocconf)
-# Add style-related files into qch package
-qhp.extraFiles += style/offline.css \
- images/bgrContent.png \
- images/blu_dot.png \
- images/btn_next.png \
- images/btn_prev.png \
- images/ico_note.png \
- images/ico_note_attention.png \
- images/ico_out.png \
- images/home.png \
- images/arrow_bc.png
-
-HTML.headerstyles = \
- " <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n"
-
-HTML.endheader = \
- "</head>\n" \
- "<body>\n"
+HTML.nobreadcrumbs = "true"
HTML.footer = \
" <div class=\"ft\">\n" \
diff --git a/doc/images/b2qt-demo-textinput.jpg b/doc/images/b2qt-demo-textinput.jpg
index f415a86..67a2917 100644
--- a/doc/images/b2qt-demo-textinput.jpg
+++ b/doc/images/b2qt-demo-textinput.jpg
Binary files differ
diff --git a/doc/template/images/arrow_bc.png b/doc/template/images/arrow_bc.png
deleted file mode 100644
index f2a83a5..0000000
--- a/doc/template/images/arrow_bc.png
+++ /dev/null
Binary files differ
diff --git a/doc/template/images/bgrContent.png b/doc/template/images/bgrContent.png
deleted file mode 100644
index 1a81b03..0000000
--- a/doc/template/images/bgrContent.png
+++ /dev/null
Binary files differ
diff --git a/doc/template/images/blu_dot.png b/doc/template/images/blu_dot.png
deleted file mode 100644
index c332148..0000000
--- a/doc/template/images/blu_dot.png
+++ /dev/null
Binary files differ
diff --git a/doc/template/images/btn_next.png b/doc/template/images/btn_next.png
deleted file mode 100644
index f7bc2b7..0000000
--- a/doc/template/images/btn_next.png
+++ /dev/null
Binary files differ
diff --git a/doc/template/images/btn_prev.png b/doc/template/images/btn_prev.png
deleted file mode 100644
index 10a620c..0000000
--- a/doc/template/images/btn_prev.png
+++ /dev/null
Binary files differ
diff --git a/doc/template/images/home.png b/doc/template/images/home.png
deleted file mode 100644
index 8de6d0c..0000000
--- a/doc/template/images/home.png
+++ /dev/null
Binary files differ
diff --git a/doc/template/images/ico_note.png b/doc/template/images/ico_note.png
deleted file mode 100644
index 1379404..0000000
--- a/doc/template/images/ico_note.png
+++ /dev/null
Binary files differ
diff --git a/doc/template/images/ico_note_attention.png b/doc/template/images/ico_note_attention.png
deleted file mode 100644
index b85b696..0000000
--- a/doc/template/images/ico_note_attention.png
+++ /dev/null
Binary files differ
diff --git a/doc/template/images/ico_out.png b/doc/template/images/ico_out.png
deleted file mode 100644
index ff6e458..0000000
--- a/doc/template/images/ico_out.png
+++ /dev/null
Binary files differ
diff --git a/doc/template/style/offline.css b/doc/template/style/offline.css
deleted file mode 100644
index 3bab27b..0000000
--- a/doc/template/style/offline.css
+++ /dev/null
@@ -1,628 +0,0 @@
-body{
-font: normal 400 14px/1.2 Arial;
-margin-top:85px;
-font-family: Arial, Helvetica;
-color:#313131;
-text-align:justify;
-margin-left:5px;
-margin-right:5px;
-}
-
-img{
--moz-box-shadow: 3px 3px 3px #ccc;
--webkit-box-shadow: 3px 3px 3px #ccc;
-box-shadow: 3px 3px 3px #ccc;
-border:#8E8D8D 2px solid;
-margin-left:0px;
-max-width: 800px;
-height: auto
-}
-
-b{
-font-weight:600;
-}
-
-.content{}
-
-.descr{
-margin-top:35px;
-/*max-width: 75%;*/
-margin-left:5px;
-text-align:justify;
-min-height:700px;
-vertical-align:top;
-}
-
-.name{
-max-width: 75%;
-font-weight:100;
-}
-
-tt{
-text-align:left;}
-
-/*
------------
-links
------------
-*/
-
-a:link{
-color: #2C418D;
-text-decoration: none;
-text-align:left;
-}
-
-a:hover{
-color: #869CD1;
-text-decoration:underline;
-text-align:left;
-}
-
-a:visited{
-color: #869CD1;
-text-decoration: none;
-text-align:left;
-}
-
-a:visited:hover{
-text-decoration:underline;
-text-align:left;
-}
-
-a[href*="http://"], a[href*="ftp://"],a[href*="https://"]
-{
-text-decoration: none;
-background-image:url(../images/ico_out.png);
-background-repeat:no-repeat;
-background-position:left;
-padding-left:20px;
-text-align:left;
-}
-
-.flags{
-text-decoration:none;
-text-height:24px;
-}
-
-/*
--------------------------------
-NOTE styles
--------------------------------
-*/
-.notetitle, .tiptitle, .fastpathtitle{
-font-weight:bold;
-}
-
-.attentiontitle,.cautiontitle,.dangertitle,.importanttitle,.remembertitle,.restrictiontitle{
-font-weight:bold;
-}
-
-.note,.tip,.fastpath{
-background: #F2F2F2 url(../images/ico_note.png);
-background-repeat: no-repeat;
-background-position: top left;
-padding:5px;
-padding-left:40px;
-padding-bottom:10px;
-border:#999 1px dotted;
-color:#666666;
-margin:5px;
-}
-
-.attention,.caution,.danger,.important,.remember,.restriction{
-background: #F2F2F2 url(../images/ico_note_attention.png);
-background-repeat:no-repeat;
-background-position:top left;
-padding:5px;
-padding-left:40px;
-padding-bottom:10px;
-border:#999 1px dotted;
-color:#666666;
-margin:5px;
-}
-
-/*
--------------------------------
-Top navigation
--------------------------------
-*/
-
-.header{
-
-height:1px;
-padding:0px;
-margin:0px;
-}
-
-.qtref{
-display: block;
-position: relative;
-top: -76px;
-height:15px;
-z-index: 1;
-font-size:11px;
-padding-right:10px;
-float:right;
-}
-
-.naviNextPrevious{
-display: block;
-position: relative;
-text-align: right;
-top: -53px;
-float:right;
-height:20px;
-z-index:1;
-padding-right:10px;
-padding-top:2px;
-vertical-align:top;
-margin:0px;
-}
-
-
-.naviNextPrevious > a.prevPage {
-background-image:url(../images/btn_prev.png);
-background-repeat:no-repeat;
-background-position:left;
-padding-left:20px;
-height:20px;
-padding-left:20px;
-}
-
-.naviNextPrevious > a.nextPage {
-background-image:url(../images/btn_next.png);
-background-repeat:no-repeat;
-background-position:right;
-padding-right:20px;
-height:20px;
-margin-left:30px;
-}
-
-.breadcrumb{
-display: block;
-position: relative;
-top:-20px;
-/*border-top:2px solid #ffffff;*/
-border-bottom: 1px solid #cecece;
-background-color:#F2F2F2;
-z-index:1;
-height:20px;
-padding:0px;
-margin:0px;
-padding-left:10px;
-padding-top:2px;
-margin-left:-5px;
-margin-right:-5px;
-}
-
-.breadcrumb ul{
- margin:0px;
- padding:0px;
-}
-
-.breadcrumb ul li{
-background-color:#F2F2F2;
-list-style-type:none;
-padding:0;
-margin:0;
-height:20px;
-}
-
-.breadcrumb li{
-float:left;
-}
-
-.breadcrumb .first {
-background:url(../images/home.png);
-background-position:left;
-background-repeat:no-repeat;
-padding-left:20px;
-}
-
-
-.breadcrumb li a{
-color:#2C418D;
-display:block;
-text-decoration:none;
-background:url(../images/arrow_bc.png);
-background-repeat:no-repeat;
-background-position:right;
-padding-right:25px;
-padding-left:10px;
-}
-
-.breadcrumb li a:hover{
-color:#909090;
-display:block;
-text-decoration:none;
-background:url(../images/arrow.png);
-background-repeat:no-repeat;
-background-position:right;
-padding-right:20px;
-padding-left:10px;
-}
-
-
-/* table of content
-no display
-*/
-
-/*
------------
-headers
------------
-*/
-
-
-@media screen{
-.title{
-color:#313131;
-font-size: 18px;
-font-weight: normal;
-left: 0;
-padding-bottom: 20px;
-padding-left: 10px;
-padding-top: 20px;
-position: absolute;
-right: 0;
-top: 0;
-background-color:#E6E6E6;
-border-bottom: 1px #CCC solid;
-border-top: 2px #CCC solid;
-font-weight:bold;
-margin-left:0px;
-margin-right:0px;
-}
-}
-
-h1 {
-margin: 0;
-}
-
-h2, p.h2 {
-font: 500 16px/1.2 Arial;
-font-weight:100;
-background-color:#F2F3F4;
-padding:4px;
-padding-left: 14px;
-margin-bottom:30px;
-margin-top:30px;
-margin-left: -10px;
-margin-right: -5px;
-border-top:#E0E0DE 1px solid;
-border-bottom: #E0E0DE 1px solid;
-}
-
-h3{
-
-font: 500 14px/1.2 Arial;
-font-weight:100;
-text-decoration:underline;
-margin-bottom:30px;
-margin-top:30px;
-}
-
-h3.fn,span.fn{
-border-width: 1px;
-border-style: solid;
-border-color: #E6E6E6;
--moz-border-radius: 7px 7px 7px 7px;
--webkit-border-radius: 7px 7px 7px 7px;
-border-radius: 7px 7px 7px 7px;
-background-color: #F6F6F6;
-word-spacing: 3px;
-padding: 5px 5px;
-text-decoration:none;
-font-weight:bold;
-max-width:75%;
-font-size:14px;
-margin:0px;
-margin-top:30px;
-
-}
-
-.name{
-color:#1A1A1A;
-}
-.type{
-color:#808080;
-}
-
-
-
-@media print {
-.title {
-color:#0066CB;
-font-family:Arial, Helvetica;
-font-size: 32px;
-font-weight: normal;
-left: 0;
-position: absolute;
-right: 0;
-top: 0;
-}
-}
-
-
-/*
------------------
-table styles
------------------
-*/
-.table img {
-border:none;
-margin-left:0px;
--moz-box-shadow:0px 0px 0px #fff;
--webkit-box-shadow: 0px 0px 0px #fff;
-box-shadow: 0px 0px 0px #fff;
-}
-
-/* table with border alternative colors*/
-
- table,pre{
--moz-border-radius: 7px 7px 7px 7px;
--webkit-border-radius: 7px 7px 7px 7px;
- border-radius: 7px 7px 7px 7px;
-background-color: #F6F6F6;
-border: 1px solid #E6E6E6;
-border-collapse: separate;
-font-size: 12px;
-line-height: 1.2;
-margin-bottom: 25px;
-margin-left: 15px;
-font-size: 12px;
-line-height: 1.2;
-margin-bottom: 25px;
-margin-left: 15px;
-}
-
-
-table th{
-text-align:left;
-padding-left:20px;
-}
-
-table td {
-padding: 3px 15px 3px 20px;
-border-bottom:#CCC dotted 1px;
-}
-table p { margin:0px;}
-
-table tr.even {
-background-color: white;
-color: #66666E;
-}
-
-table tr.odd {
-background-color: #F6F6F6;
-color: #66666E;
-}
-
-
-table thead {
-text-align:left;
-padding-left:20px;
-background-color:#e1e0e0;
-border-left:none;
-border-right:none;
-}
-
-table thead th {
-padding-top:5px;
-padding-left:10px;
-padding-bottom:5px;
-border-bottom: 2px solid #D1D1D1;
-padding-right:10px;
-}
-
-
-/* table bodless & white*/
-
-.borderless {
-border-radius: 0px 0px 0px 0px;
-background-color: #fff;
-border: 1px solid #fff;
-}
-
-.borderless tr {
-background-color: #FFF;
-color: #66666E;
-}
-
-.borderless td {
-border:none;
-border-bottom:#fff dotted 1px;
-}
-
-/*
------------
-List
------------
-*/
-
-ul{
-padding-bottom:2px;
-}
-
-li {
-margin-bottom: 10px;
-padding-left: 8px;
-list-style:outside;
-list-style-type:square;
-text-align:left;
-}
-
-
-ol{
-margin:10px;
-padding:0;
-}
-
-ol > li{
-margin-left: 30px;
-padding-left:8px;
-list-style:decimal;
-}
-
-.centerAlign{
-text-align: left;
-}
-
-.cpp{
-display: block;
-margin: 10;
-overflow: hidden;
-overflow-x: hidden;
-overflow-y: hidden;
-padding: 20px 0 20px 0;
-}
-
-.footer{
-margin-top: 50px;
-padding-left:5px;
-margin-bottom: 10px;
-font-size:10px;
-border-top: 1px solid #999;
-padding-top:11px;
-}
-
-.footer a[href*="http://"], a[href*="ftp://"],a[href*="https://"]{
-background-size: 13px 11px;
-padding-left: 16px;
-}
-
-.footerNavi{
-width:auto;
-text-align:right;
-margin-top:50px;
-z-index:1;
-}
-
-.memItemLeft{
-padding-right: 3px;
-}
-
-.memItemRight{
-padding: 3px 15px 3px 0;
-}
-
-.qml{
-display: block;
-margin: 10;
-overflow: hidden;
-overflow-x: hidden;
-overflow-y: hidden;
-padding: 20px 0 20px 0;
-}
-
-.qmldefault{
-padding-left: 5px;
-float: right;
-color: red;
-}
-
-.qmlreadonly{
-padding-left: 5px;
-float: right;
-color: #254117;
-}
-
-.rightAlign{
-padding: 3px 5px 3px 10px;
-text-align: right;
-}
-
-/*
------------
-Content table
------------
-*/
-
-@media print{
-.toc {
-float: right;
-padding-bottom: 10px;
-padding-top: 50px;
-width: 100%;
-background-image:url(../images/bgrContent.png);
-background-position:top;
-background-repeat:no-repeat;
-}
-}
-
-@media screen{
-.toc{
-clear:both;
-float:right;
-vertical-align:top;
--moz-border-radius: 7px 7px 7px 7px;
--webkit-border-radius: 7px 7px 7px 7px;
-border-radius: 7px 7px 7px 7px;
- background:#FFF url(../images/bgrContent.png);
-background-position:top;
-background-repeat:repeat-x;
-border: 1px solid #E6E6E6;
-padding-left:5px;
-padding-bottom:10px;
-height: auto;
-width: 200px;
-text-align:left;
-z-index:2;
-margin-left:20px;
-margin-right:20px;
-margin-top:0px;
-padding-top:0px;
-}
-}
-
-.toc h3{
-text-decoration:none;
-}
-
-.toc h3{font: 500 14px/1.2 Arial;
-font-weight:100;
-padding:0px;
-margin:0px;
-padding-top:5px;
-padding-left:5px;
-}
-
-
-.toc ul{
-width:160px;
-padding-left:10px;
-padding-right:5px;
-padding-top:10px;
-}
-
-.toc ul li{
-margin-left:20px;
-list-style-image:url(../images/blu_dot.png);
-list-style:outside;
-
-}
-
-
-.toc ul li a:link{
-color: #2C418D;
-text-decoration: none;
-}
-
-.toc ul li a:hover{
-color: #869CD1;
-text-decoration:underline;
-
-}
-
-.toc ul li a:visited{
-color: #869CD1;
-font-weight: bold;
-}
-
-.level1{
-border:none;}
-
-.clearfix{
-clear:both;}
-