summaryrefslogtreecommitdiff
path: root/src/components/qt_hmi/References/Look/plugins/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/qt_hmi/References/Look/plugins/com')
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/QtHMIFrameworkd.pdbbin0 -> 5516288 bytes
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/plugin.qmltypes682
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtBorderImage.qml40
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtContainer.qml8
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtGridView.qml35
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtImage.qml43
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtListView.qml9
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtPathView.qml9
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtScrollbar.qml104
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtScrollview.qml7
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtText.qml6
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtTouchAreaEnums.js12
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActScriptCall.qml13
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActSystemModelCall.qml14
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActTimer.qml25
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActWidgetCall.qml13
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActWidgetProperty.qml13
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FAnimViewHide.qml6
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FAnimationEnums.js7
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FConditionPool.qml5
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FDataPool.qml5
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FEventPool.qml9
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FGaugeValue.qml51
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FHardwareKeyEnums.js9
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStringFormat.js132
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStringFormat.qml28
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStyle.qml56
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStyler.qml41
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FTimer.qml6
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FTimerEnums.js5
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FTrgTimer.qml19
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCase.qml9
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCaseGroup.qml7
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCaseSimple.qml15
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCaseTransition.qml6
-rw-r--r--src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qmldir35
36 files changed, 1484 insertions, 0 deletions
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/QtHMIFrameworkd.pdb b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/QtHMIFrameworkd.pdb
new file mode 100644
index 0000000000..b6a4d31838
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/QtHMIFrameworkd.pdb
Binary files differ
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/plugin.qmltypes b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/plugin.qmltypes
new file mode 100644
index 0000000000..b03753aa5c
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/plugin.qmltypes
@@ -0,0 +1,682 @@
+import QtQuick.tooling 1.1
+
+// This file describes the plugin-supplied types contained in the library.
+// It is used for QML tooling purposes only.
+//
+// This file was auto-generated with the command 'C:\Qt\Qt5.0.1\5.0.1\msvc2010\bin\qmlplugindump.exe -notrelocatable com.ford.hmiframework 1.0 C:\HMIRepository\trunk\Framework\QtHMIFramework\output'.
+
+Module {
+ Component {
+ name: "FAbstractListElement"
+ prototype: "QObject"
+ exports: ["com.ford.hmiframework/FAbstractListElement 1.0"]
+ Signal {
+ name: "elementSelected"
+ Parameter { name: "element"; type: "FAbstractListElement"; isPointer: true }
+ }
+ Method { name: "selectElement" }
+ }
+ Component {
+ name: "FAbstractListModel"
+ prototype: "QAbstractListModel"
+ exports: ["com.ford.hmiframework/FAbstractListModel 1.0"]
+ Signal {
+ name: "elementSelected"
+ Parameter { type: "FAbstractListElement"; isPointer: true }
+ Parameter { type: "int" }
+ }
+ }
+ Component {
+ name: "FActAnimControl"
+ prototype: "FAction"
+ exports: ["com.ford.hmiframework/FActAnimControl 1.0"]
+ Property { name: "animation"; type: "FAnimation"; isPointer: true }
+ Property { name: "animAction"; type: "int" }
+ }
+ Component {
+ name: "FActEventFire"
+ prototype: "FAction"
+ exports: ["com.ford.hmiframework/FActEventFire 1.0"]
+ Property { name: "event"; type: "FEvent"; isPointer: true }
+ Property { name: "data"; type: "QVariant" }
+ }
+ Component {
+ name: "FActFunction"
+ defaultProperty: "actions"
+ prototype: "FAction"
+ exports: ["com.ford.hmiframework/FActFunction 1.0"]
+ Property { name: "data"; type: "QVariant" }
+ Property { name: "actions"; type: "FAction"; isList: true; isReadonly: true }
+ }
+ Component {
+ name: "FActFunctionCall"
+ prototype: "FAction"
+ exports: ["com.ford.hmiframework/FActFunctionCall 1.0"]
+ Property { name: "func"; type: "FActFunction"; isPointer: true }
+ Property { name: "data"; type: "QVariant" }
+ }
+ Component {
+ name: "FActHistoryClear"
+ prototype: "FAction"
+ exports: ["com.ford.hmiframework/FActHistoryClear 1.0"]
+ Property { name: "queue"; type: "string" }
+ }
+ Component {
+ name: "FActHistoryPop"
+ prototype: "FAction"
+ exports: ["com.ford.hmiframework/FActHistoryPop 1.0"]
+ Property { name: "queue"; type: "string" }
+ }
+ Component {
+ name: "FActHistoryPush"
+ prototype: "FAction"
+ exports: ["com.ford.hmiframework/FActHistoryPush 1.0"]
+ Property { name: "queue"; type: "string" }
+ Property { name: "animation"; type: "string" }
+ Property { name: "data"; type: "QVariant" }
+ }
+ Component {
+ name: "FActHistoryShow"
+ prototype: "FAction"
+ exports: ["com.ford.hmiframework/FActHistoryShow 1.0"]
+ Property { name: "queue"; type: "string" }
+ Property { name: "animation"; type: "string" }
+ Property { name: "skipMe"; type: "bool" }
+ }
+ Component {
+ name: "FActViewHide"
+ prototype: "FAction"
+ exports: ["com.ford.hmiframework/FActViewHide 1.0"]
+ Property { name: "view"; type: "string" }
+ Property { name: "animation"; type: "string" }
+ }
+ Component {
+ name: "FActViewShow"
+ prototype: "FAction"
+ exports: ["com.ford.hmiframework/FActViewShow 1.0"]
+ Property { name: "view"; type: "string" }
+ Property { name: "animation"; type: "string" }
+ Property { name: "data"; type: "QVariant" }
+ }
+ Component {
+ name: "FAction"
+ prototype: "FMetaInfoObject"
+ exports: ["com.ford.hmiframework/FAction 1.0"]
+ Property { name: "passed"; type: "bool" }
+ Signal { name: "execute" }
+ Method { name: "getDisplay"; type: "FDisplay*" }
+ Method { name: "getStateView"; type: "FStateView*" }
+ }
+ Component {
+ name: "FAnimView"
+ defaultProperty: "data"
+ prototype: "FAnimation"
+ exports: ["com.ford.hmiframework/FAnimView 1.0"]
+ Property { name: "inView"; type: "FStateView"; isPointer: true }
+ Property { name: "outView"; type: "FStateView"; isPointer: true }
+ Property { name: "ingoing"; type: "FLayout"; isReadonly: true; isPointer: true }
+ Property { name: "outgoing"; type: "FLayout"; isReadonly: true; isPointer: true }
+ }
+ Component {
+ name: "FAnimation"
+ defaultProperty: "data"
+ prototype: "QQuickItem"
+ exports: ["com.ford.hmiframework/FAnimation 1.0"]
+ Property { name: "isRunning"; type: "bool"; isReadonly: true }
+ Signal {
+ name: "animationComplete"
+ Parameter { name: "anim"; type: "FAnimation"; isPointer: true }
+ }
+ }
+ Component {
+ name: "FAnimationCoordinator"
+ defaultProperty: "defaultAnims"
+ prototype: "FMetaInfoObject"
+ exports: ["com.ford.hmiframework/FAnimationCoordinator 1.0"]
+ Property { name: "defaultAnims"; type: "FDefaultAnimation"; isList: true; isReadonly: true }
+ }
+ Component {
+ name: "FDefaultAnimation"
+ prototype: "FMetaInfoObject"
+ exports: ["com.ford.hmiframework/FDefaultAnimation 1.0"]
+ Property { name: "from"; type: "FViewClass"; isPointer: true }
+ Property { name: "to"; type: "FViewClass"; isPointer: true }
+ Property { name: "animation"; type: "string" }
+ }
+ Component {
+ name: "FDisplay"
+ defaultProperty: "data"
+ prototype: "QQuickItem"
+ exports: ["com.ford.hmiframework/FDisplay 1.0"]
+ Property { name: "xPixel"; type: "int" }
+ Property { name: "yPixel"; type: "int" }
+ Property { name: "initialView"; type: "string" }
+ Property { name: "initialAnim"; type: "string" }
+ Property { name: "modelPath"; type: "QUrl" }
+ Property { name: "activeVariant"; type: "string" }
+ Property { name: "priorityLayerCount"; type: "int" }
+ Property { name: "minPriority"; type: "int" }
+ Property { name: "priorityLayerDebug"; type: "QStringList"; isReadonly: true }
+ Property { name: "viewCacheSize"; type: "int" }
+ Signal { name: "preStartInit" }
+ Method {
+ name: "animationCompleted"
+ Parameter { type: "FAnimation"; isPointer: true }
+ }
+ Method { name: "updateDebugInformation" }
+ }
+ Component {
+ name: "FEvent"
+ prototype: "FMetaInfoObject"
+ exports: ["com.ford.hmiframework/FEvent 1.0"]
+ Signal {
+ name: "fire"
+ Parameter { name: "data"; type: "QVariant" }
+ }
+ Method {
+ name: "doFire"
+ Parameter { name: "data"; type: "QVariant" }
+ }
+ }
+ Component {
+ name: "FGrdCondition"
+ defaultProperty: "actions"
+ prototype: "FGuard"
+ exports: ["com.ford.hmiframework/FGrdCondition 1.0"]
+ Property { name: "condition"; type: "bool" }
+ }
+ Component {
+ name: "FGuard"
+ defaultProperty: "actions"
+ prototype: "FAction"
+ exports: ["com.ford.hmiframework/FGuard 1.0"]
+ Property { name: "actions"; type: "FAction"; isList: true; isReadonly: true }
+ }
+ Component {
+ name: "FHardwareControl"
+ defaultProperty: "data"
+ prototype: "QQuickItem"
+ exports: ["com.ford.hmiframework/FHardwareControl 1.0"]
+ Property { name: "hardwareControlID"; type: "string" }
+ Signal {
+ name: "checkKeyPressed"
+ Parameter { name: "key"; type: "int" }
+ }
+ Signal {
+ name: "checkKeyReleased"
+ Parameter { name: "key"; type: "int" }
+ }
+ Method {
+ name: "sendHardwareControlEvent"
+ Parameter { name: "data"; type: "int" }
+ }
+ }
+ Component {
+ name: "FHardwareKey"
+ defaultProperty: "data"
+ prototype: "FHardwareControl"
+ exports: ["com.ford.hmiframework/FHardwareKey 1.0"]
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "keyboardKey"; type: "int" }
+ Property { name: "longPressMSec"; type: "int" }
+ Property { name: "repeatDelayMSec"; type: "int" }
+ Property { name: "repeatIntervalMSec"; type: "int" }
+ }
+ Component {
+ name: "FHardwareRotary"
+ defaultProperty: "knob"
+ prototype: "FHardwareControl"
+ exports: ["com.ford.hmiframework/FHardwareRotary 1.0"]
+ Property { name: "knob"; type: "QQuickItem"; isPointer: true }
+ Property { name: "stepsPerRotation"; type: "int" }
+ Property { name: "currentAbsPosition"; type: "int" }
+ Property { name: "currentRelPosition"; type: "int" }
+ Property { name: "generateEvents"; type: "bool" }
+ Property { name: "updateInterval"; type: "int" }
+ }
+ Component {
+ name: "FLayer"
+ defaultProperty: "data"
+ prototype: "FWidgetBase"
+ exports: ["com.ford.hmiframework/FLayer 1.0"]
+ Property { name: "layerID"; type: "int" }
+ Property { name: "initialView"; type: "string" }
+ Property { name: "activeViewName"; type: "string" }
+ }
+ Component {
+ name: "FLayout"
+ defaultProperty: "data"
+ prototype: "FMetaInfoItem"
+ exports: ["com.ford.hmiframework/FLayout 1.0"]
+ Property { name: "viewX"; type: "double" }
+ Property { name: "viewY"; type: "double" }
+ Property { name: "viewZ"; type: "double" }
+ }
+ Component {
+ name: "FLogHandlerItem"
+ defaultProperty: "data"
+ prototype: "QQuickItem"
+ exports: ["com.ford.hmiframework/FLogHandlerItem 1.0"]
+ Signal {
+ name: "newEntry"
+ Parameter { name: "s"; type: "string" }
+ }
+ }
+ Component {
+ name: "FLogger"
+ prototype: "QObject"
+ exports: ["com.ford.hmiframework/FLogger 1.0"]
+ Property { name: "perfStamp"; type: "bool" }
+ Method {
+ name: "debug"
+ Parameter { name: "name"; type: "string" }
+ Parameter { name: "s"; type: "string" }
+ }
+ Method {
+ name: "warning"
+ Parameter { name: "name"; type: "string" }
+ Parameter { name: "s"; type: "string" }
+ }
+ Method {
+ name: "error"
+ Parameter { name: "name"; type: "string" }
+ Parameter { name: "s"; type: "string" }
+ }
+ Method {
+ name: "info"
+ Parameter { name: "name"; type: "string" }
+ Parameter { name: "s"; type: "string" }
+ }
+ Method {
+ name: "perf"
+ Parameter { name: "name"; type: "string" }
+ Parameter { name: "s"; type: "string" }
+ }
+ }
+ Component {
+ name: "FLoggerConsole"
+ prototype: "QObject"
+ exports: ["com.ford.hmiframework/FLoggerConsole 1.0"]
+ }
+ Component {
+ name: "FLoggerFile"
+ prototype: "QObject"
+ exports: ["com.ford.hmiframework/FLoggerFile 1.0"]
+ Property { name: "file"; type: "string" }
+ }
+ Component {
+ name: "FMenuElement"
+ defaultProperty: "children"
+ prototype: "FTreeElement"
+ exports: ["com.ford.hmiframework/FMenuElement 1.0"]
+ Enum {
+ name: "MenuElementType"
+ values: {
+ "Undefined": 0,
+ "Submenu": 1,
+ "Popup": 2,
+ "Hyperlink": 3,
+ "Checkbox": 4,
+ "Radiobutton": 5,
+ "Multistate": 6
+ }
+ }
+ Property { name: "isVisible"; type: "bool" }
+ Property { name: "isEnabled"; type: "bool" }
+ Property { name: "menuType"; type: "int" }
+ Property { name: "menuText"; type: "string" }
+ Property { name: "menuIcon"; type: "string" }
+ Property { name: "menuStatus"; type: "int" }
+ Property { name: "menuData"; type: "QVariant" }
+ }
+ Component {
+ name: "FMenuModel"
+ defaultProperty: "children"
+ prototype: "FTreeModel"
+ exports: ["com.ford.hmiframework/FMenuModel 1.0"]
+ }
+ Component {
+ name: "FMetaInfoItem"
+ defaultProperty: "data"
+ prototype: "QQuickItem"
+ exports: ["com.ford.hmiframework/FMetaInfoItem 1.0"]
+ Property { name: "metaInfo"; type: "string" }
+ Property { name: "metaID"; type: "string" }
+ Property { name: "metaVersion"; type: "string" }
+ }
+ Component {
+ name: "FMetaInfoObject"
+ prototype: "QObject"
+ exports: ["com.ford.hmiframework/FMetaInfoObject 1.0"]
+ Property { name: "metaInfo"; type: "string" }
+ Property { name: "metaID"; type: "string" }
+ Property { name: "metaVersion"; type: "string" }
+ }
+ Component {
+ name: "FProxyListModel"
+ prototype: "QIdentityProxyModel"
+ exports: ["com.ford.hmiframework/FProxyListModel 1.0"]
+ Property { name: "sourceModel"; type: "FAbstractListModel"; isPointer: true }
+ Property { name: "isFrozen"; type: "bool" }
+ Signal {
+ name: "elementSelected"
+ Parameter { type: "FAbstractListElement"; isPointer: true }
+ Parameter { type: "int" }
+ }
+ Method {
+ name: "selectElement"
+ Parameter { name: "index"; type: "int" }
+ }
+ }
+ Component {
+ name: "FReactiveElementBase"
+ prototype: "FMetaInfoObject"
+ exports: ["com.ford.hmiframework/FReactiveElementBase 1.0"]
+ Property { name: "triggers"; type: "FTrigger"; isList: true; isReadonly: true }
+ }
+ Component {
+ name: "FState"
+ prototype: "FStateBase"
+ exports: ["com.ford.hmiframework/FState 1.0"]
+ Property { name: "baseBehavior"; type: "FStateBase"; isPointer: true }
+ }
+ Component {
+ name: "FStateBase"
+ prototype: "FReactiveElementBase"
+ exports: ["com.ford.hmiframework/FStateBase 1.0"]
+ }
+ Component {
+ name: "FStateView"
+ defaultProperty: "childObjects"
+ prototype: "FState"
+ exports: ["com.ford.hmiframework/FStateView 1.0"]
+ Property { name: "priority"; type: "int" }
+ Property { name: "visualPriority"; type: "int" }
+ Property { name: "view"; type: "FView"; isPointer: true }
+ Property { name: "preload"; type: "QVariant" }
+ Property { name: "attachedViews"; type: "QStringList" }
+ Property { name: "childObjects"; type: "QObject"; isList: true; isReadonly: true }
+ Property { name: "isInEntry"; type: "bool"; isReadonly: true }
+ Property { name: "isInExit"; type: "bool"; isReadonly: true }
+ Signal {
+ name: "entry"
+ Parameter { name: "previousView"; type: "string" }
+ Parameter { name: "data"; type: "QVariant" }
+ }
+ Signal { name: "entryComplete" }
+ Signal { name: "exit" }
+ Signal { name: "exitComplete" }
+ }
+ Component {
+ name: "FThemeProvider"
+ prototype: "QObject"
+ exports: ["com.ford.hmiframework/FThemeProvider 1.0"]
+ Property { name: "theme"; type: "string" }
+ Property { name: "resourcePath"; type: "QUrl" }
+ Method {
+ name: "getFileSubPath"
+ type: "string"
+ Parameter { type: "string" }
+ }
+ Method {
+ name: "getStyle"
+ type: "FStyle*"
+ Parameter { type: "string" }
+ }
+ Method {
+ name: "applyStyle"
+ Parameter { name: "target"; type: "QObject"; isPointer: true }
+ Parameter { name: "styleName"; type: "string" }
+ }
+ }
+ Component {
+ name: "FTreeElement"
+ defaultProperty: "children"
+ prototype: "FAbstractListElement"
+ exports: ["com.ford.hmiframework/FTreeElement 1.0"]
+ Property { name: "children"; type: "FTreeElement"; isList: true; isReadonly: true }
+ Property { name: "level"; type: "int"; isReadonly: true }
+ Property { name: "isOpened"; type: "bool" }
+ }
+ Component {
+ name: "FTreeModel"
+ defaultProperty: "children"
+ prototype: "FAbstractListModel"
+ exports: ["com.ford.hmiframework/FTreeModel 1.0"]
+ Property { name: "children"; type: "FTreeElement"; isList: true; isReadonly: true }
+ Property { name: "root"; type: "FTreeElement"; isPointer: true }
+ Property { name: "rootRoot"; type: "FTreeElement"; isReadonly: true; isPointer: true }
+ Method {
+ name: "openElement"
+ Parameter { name: "numIndex"; type: "int" }
+ }
+ Method {
+ name: "closeElement"
+ Parameter { name: "numIndex"; type: "int" }
+ }
+ Method {
+ name: "selectElement"
+ Parameter { name: "index"; type: "int" }
+ }
+ }
+ Component {
+ name: "FTrgAnimCompleted"
+ defaultProperty: "actions"
+ prototype: "FTrigger"
+ exports: ["com.ford.hmiframework/FTrgAnimCompleted 1.0"]
+ Property { name: "animation"; type: "FAnimation"; isPointer: true }
+ Method {
+ name: "animCompleted"
+ Parameter { type: "FAnimation"; isPointer: true }
+ }
+ }
+ Component {
+ name: "FTrgCondition"
+ defaultProperty: "actions"
+ prototype: "FTrigger"
+ exports: ["com.ford.hmiframework/FTrgCondition 1.0"]
+ Property { name: "condition"; type: "bool" }
+ Property { name: "checkOnEntry"; type: "bool" }
+ }
+ Component {
+ name: "FTrgEntry"
+ defaultProperty: "actions"
+ prototype: "FTrigger"
+ exports: ["com.ford.hmiframework/FTrgEntry 1.0"]
+ Property { name: "previousView"; type: "string"; isReadonly: true }
+ Property { name: "data"; type: "QVariant"; isReadonly: true }
+ Method {
+ name: "entry"
+ Parameter { name: "previousView"; type: "string" }
+ Parameter { name: "data"; type: "QVariant" }
+ }
+ }
+ Component {
+ name: "FTrgEntryComplete"
+ defaultProperty: "actions"
+ prototype: "FTrigger"
+ exports: ["com.ford.hmiframework/FTrgEntryComplete 1.0"]
+ }
+ Component {
+ name: "FTrgEvent"
+ defaultProperty: "actions"
+ prototype: "FTrigger"
+ exports: ["com.ford.hmiframework/FTrgEvent 1.0"]
+ Property { name: "event"; type: "FEvent"; isPointer: true }
+ Property { name: "data"; type: "QVariant" }
+ Method {
+ name: "eventTrigger"
+ Parameter { name: "data"; type: "QVariant" }
+ }
+ }
+ Component {
+ name: "FTrgExit"
+ defaultProperty: "actions"
+ prototype: "FTrigger"
+ exports: ["com.ford.hmiframework/FTrgExit 1.0"]
+ }
+ Component {
+ name: "FTrgExitComplete"
+ defaultProperty: "actions"
+ prototype: "FTrigger"
+ exports: ["com.ford.hmiframework/FTrgExitComplete 1.0"]
+ }
+ Component {
+ name: "FTrgHardwareControl"
+ defaultProperty: "actions"
+ prototype: "FTrigger"
+ exports: ["com.ford.hmiframework/FTrgHardwareControl 1.0"]
+ Property { name: "hardControls"; type: "QVariant" }
+ Signal {
+ name: "handleHardwareControlEvent"
+ Parameter { name: "action"; type: "int" }
+ }
+ }
+ Component {
+ name: "FTrgHardwareKey"
+ defaultProperty: "actions"
+ prototype: "FTrgHardwareControl"
+ exports: ["com.ford.hmiframework/FTrgHardwareKey 1.0"]
+ Property { name: "keyAction"; type: "int" }
+ Property { name: "hardkeys"; type: "QVariant" }
+ }
+ Component {
+ name: "FTrgHardwareRotary"
+ defaultProperty: "actions"
+ prototype: "FTrgHardwareControl"
+ exports: ["com.ford.hmiframework/FTrgHardwareRotary 1.0"]
+ Property { name: "valueChange"; type: "int" }
+ Property { name: "rotary"; type: "QVariant" }
+ }
+ Component {
+ name: "FTrgListModel"
+ defaultProperty: "actions"
+ prototype: "FTrigger"
+ exports: ["com.ford.hmiframework/FTrgListModel 1.0"]
+ Property { name: "model"; type: "FAbstractListModel"; isPointer: true }
+ Property { name: "element"; type: "FAbstractListElement"; isReadonly: true; isPointer: true }
+ Property { name: "index"; type: "int"; isReadonly: true }
+ Method {
+ name: "elementSelected"
+ Parameter { type: "FAbstractListElement"; isPointer: true }
+ Parameter { type: "int" }
+ }
+ }
+ Component {
+ name: "FTrgMenuElement"
+ defaultProperty: "actions"
+ prototype: "FTrigger"
+ exports: ["com.ford.hmiframework/FTrgMenuElement 1.0"]
+ Property { name: "menuElement"; type: "FMenuElement"; isPointer: true }
+ Method {
+ name: "elementSelected"
+ Parameter { type: "FAbstractListElement"; isPointer: true }
+ }
+ }
+ Component {
+ name: "FTrgTouchArea"
+ defaultProperty: "actions"
+ prototype: "FTrigger"
+ exports: ["com.ford.hmiframework/FTrgTouchArea 1.0"]
+ Property { name: "touchArea"; type: "FWdgtTouchArea"; isPointer: true }
+ Property { name: "touchAction"; type: "int" }
+ Property { name: "xPos"; type: "int" }
+ Property { name: "yPos"; type: "int" }
+ Method {
+ name: "touchEvent"
+ Parameter { name: "action"; type: "int" }
+ Parameter { name: "x"; type: "int" }
+ Parameter { name: "y"; type: "int" }
+ }
+ }
+ Component {
+ name: "FTrigger"
+ defaultProperty: "actions"
+ prototype: "FMetaInfoObject"
+ exports: ["com.ford.hmiframework/FTrigger 1.0"]
+ Property { name: "initialized"; type: "bool" }
+ Property { name: "actions"; type: "FAction"; isList: true; isReadonly: true }
+ Signal {
+ name: "init"
+ Parameter { type: "FStateView"; isPointer: true }
+ }
+ Signal {
+ name: "cleanup"
+ Parameter { type: "FStateView"; isPointer: true }
+ }
+ Signal { name: "intializedChanged" }
+ }
+ Component {
+ name: "FView"
+ defaultProperty: "data"
+ prototype: "FWidget"
+ exports: ["com.ford.hmiframework/FView 1.0"]
+ Property { name: "viewClass"; type: "FViewClass"; isPointer: true }
+ }
+ Component {
+ name: "FViewClass"
+ defaultProperty: "derivedClass"
+ prototype: "FMetaInfoObject"
+ exports: ["com.ford.hmiframework/FViewClass 1.0"]
+ Property { name: "derivedClass"; type: "FViewClass"; isList: true; isReadonly: true }
+ }
+ Component {
+ name: "FWdgtTouchArea"
+ defaultProperty: "data"
+ prototype: "QQuickItem"
+ exports: ["com.ford.hmiframework/FWdgtTouchArea 1.0"]
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "enabled"; type: "bool" }
+ Property { name: "longPressMSec"; type: "int" }
+ Property { name: "repeatDelayMSec"; type: "int" }
+ Property { name: "repeatIntervalMSec"; type: "int" }
+ Signal {
+ name: "touchEvent"
+ Parameter { name: "event"; type: "int" }
+ Parameter { name: "x"; type: "int" }
+ Parameter { name: "y"; type: "int" }
+ }
+ }
+ Component {
+ name: "FWidget"
+ defaultProperty: "data"
+ prototype: "FWidgetBase"
+ exports: ["com.ford.hmiframework/FWidget 1.0"]
+ Property { name: "layout"; type: "FLayout"; isPointer: true }
+ Property { name: "triggers"; type: "FTrigger"; isList: true; isReadonly: true }
+ }
+ Component { name: "FWidgetBase"; defaultProperty: "data"; prototype: "FMetaInfoItem" }
+ Component {
+ name: "QAbstractProxyModel"
+ prototype: "QAbstractItemModel"
+ Property { name: "sourceModel"; type: "QAbstractItemModel"; isPointer: true }
+ }
+ Component { name: "QIdentityProxyModel"; prototype: "QAbstractProxyModel" }
+ Component {
+ name: "QSortFilterProxyModel"
+ prototype: "QAbstractProxyModel"
+ exports: ["com.ford.hmiframework/FSortFilterProxyListModel 1.0"]
+ Property { name: "filterRegExp"; type: "QRegExp" }
+ Property { name: "filterKeyColumn"; type: "int" }
+ Property { name: "dynamicSortFilter"; type: "bool" }
+ Property { name: "filterCaseSensitivity"; type: "Qt::CaseSensitivity" }
+ Property { name: "sortCaseSensitivity"; type: "Qt::CaseSensitivity" }
+ Property { name: "isSortLocaleAware"; type: "bool" }
+ Property { name: "sortRole"; type: "int" }
+ Property { name: "filterRole"; type: "int" }
+ Method {
+ name: "setFilterRegExp"
+ Parameter { name: "pattern"; type: "string" }
+ }
+ Method {
+ name: "setFilterWildcard"
+ Parameter { name: "pattern"; type: "string" }
+ }
+ Method {
+ name: "setFilterFixedString"
+ Parameter { name: "pattern"; type: "string" }
+ }
+ Method { name: "clear" }
+ Method { name: "invalidate" }
+ }
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtBorderImage.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtBorderImage.qml
new file mode 100644
index 0000000000..c95ebd3191
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtBorderImage.qml
@@ -0,0 +1,40 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+import com.ford.hmiframework 1.0
+
+BorderImage {
+ property string bitmap: ""
+ property bool themed: false
+
+ onBitmapChanged: {
+ applyThemedImage();
+ }
+
+ function applyThemedImage() {
+ if (bitmap !== "") {
+ if (themed) {
+ source = FThemeProvider.resourcePath + "/" + FThemeProvider.theme + "/" + bitmap;
+ }
+ else {
+ source = FThemeProvider.resourcePath + "/" + bitmap;
+ }
+ }
+ else {
+ source = "";
+ }
+ }
+
+ Component.onCompleted: {
+ if (themed)
+ {
+ FThemeProvider.themeChanged.connect(applyThemedImage);
+ }
+ }
+
+ Component.onDestruction: {
+ if (themed)
+ {
+ FThemeProvider.themeChanged.disconnect(applyThemedImage);
+ }
+ }
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtContainer.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtContainer.qml
new file mode 100644
index 0000000000..f0e4720cce
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtContainer.qml
@@ -0,0 +1,8 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+Item {
+ id: container
+
+ property alias widget: container.children
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtGridView.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtGridView.qml
new file mode 100644
index 0000000000..61d1832db4
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtGridView.qml
@@ -0,0 +1,35 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+GridView {
+ id: theGrid
+
+ property alias data : theGrid.model
+ property alias itemWidget : theGrid.delegate
+
+ /*
+ Setting rows/columns fundamentally changes how children fit into the GridView.
+ -Normal behaviour: Children have a fixed size (cellWidth/cellHeight) and the NUMBER of them
+ that will fit into the GridView varies with the GridView's size.
+ -Modified behaviour(setting rows and/or columns triggers this mode): A fixed number of children
+ will fit into the GridView (determined by number of rows/columns) and their SIZE
+ (cellWidth/cellHeight) will vary with the GridView's size
+ -rows/columns determines the size of VISIBLE children and simply sets cellWidth/cellHeight at runtime.
+ If the number of children is different than rows * columns, it will either scroll or not
+ fill the GridView completely, same as normal.
+ -the item_Widget component must be designed for fluid layout using anchors, not fixed sizes,
+ for this to have any effect besides spacing
+ */
+ property int rows
+ property int columns
+
+ Component.onCompleted: {
+ if (rows) {
+ theGrid.cellHeight = theGrid.height/rows
+ }
+ if (columns) {
+ theGrid.cellWidth = theGrid.width/columns
+ }
+ }
+
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtImage.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtImage.qml
new file mode 100644
index 0000000000..89e57bbf0e
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtImage.qml
@@ -0,0 +1,43 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+import com.ford.hmiframework 1.0
+
+Image {
+ property string bitmap: ""
+ property bool themed: false
+
+ fillMode: Image.PreserveAspectFit
+ asynchronous: true
+
+ onBitmapChanged: {
+ applyThemedImage();
+ }
+
+ function applyThemedImage() {
+ if (bitmap !== "") {
+ if (themed) {
+ source = FThemeProvider.resourcePath + "/" + FThemeProvider.getFileSubPath(bitmap) + bitmap;
+ }
+ else {
+ source = FThemeProvider.resourcePath + "/" + bitmap;
+ }
+ }
+ else {
+ source = "";
+ }
+ }
+
+ Component.onCompleted: {
+ if (themed)
+ {
+ FThemeProvider.themeChanged.connect(applyThemedImage);
+ }
+ }
+
+ Component.onDestruction: {
+ if (themed)
+ {
+ FThemeProvider.themeChanged.disconnect(applyThemedImage);
+ }
+ }
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtListView.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtListView.qml
new file mode 100644
index 0000000000..7e1ccd10a3
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtListView.qml
@@ -0,0 +1,9 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+ListView {
+ id: theList
+
+ property alias data : theList.model
+ property alias itemWidget : theList.delegate
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtPathView.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtPathView.qml
new file mode 100644
index 0000000000..08762015a9
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtPathView.qml
@@ -0,0 +1,9 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+PathView {
+ id: thePathView
+
+ property alias data : thePathView.model
+ property alias itemWidget : thePathView.delegate
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtScrollbar.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtScrollbar.qml
new file mode 100644
index 0000000000..74c1e27e9b
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtScrollbar.qml
@@ -0,0 +1,104 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+BorderImage {
+ property variant target
+
+ source: "../Resources/scrollbar.png"
+ border {left: 0; top: 3; right: 0; bottom: 3}
+ width: 17
+
+ //anchors {top: target.top; bottom: target.bottom; right: target.right }
+ visible: (track.height == slider.height) ? false : true //TODO: !visible -> width: 0 (but creates a binding loop)
+
+ Item {
+ anchors {fill: parent; margins: 1; rightMargin: 2; bottomMargin: 2}
+
+ Image {
+ id: upArrow
+ source: "../Resources/up-arrow.png"
+ anchors.top: parent.top
+ MouseArea {
+ anchors.fill: parent
+ onPressed: {
+ timer.scrollAmount = -10
+ timer.running = true;
+ }
+ onReleased: {
+ timer.running = false;
+ }
+ }
+ }
+
+ Timer {
+ property int scrollAmount
+
+ id: timer
+ repeat: true
+ interval: 20
+ onTriggered: {
+ target.contentY = Math.max(
+ 0, Math.min(
+ target.contentY + scrollAmount,
+ target.contentHeight - target.height));
+ }
+ }
+
+ Item {
+ id: track
+ anchors {top: upArrow.bottom; topMargin: 1; bottom: dnArrow.top;}
+ width: parent.width
+
+ MouseArea {
+ anchors.fill: parent
+ onPressed: {
+ timer.scrollAmount = target.height * (mouseY < slider.y ? -1 : 1) // scroll by a page
+ timer.running = true;
+ }
+ onReleased: {
+ timer.running = false;
+ }
+ }
+
+ BorderImage {
+ id:slider
+
+ source: "../Resources/slider.png"
+ border {left: 0; top: 3; right: 0; bottom: 3}
+ width: parent.width
+
+ height: Math.min(target.height / target.contentHeight * track.height, track.height)
+ y: target.visibleArea.yPosition * track.height
+
+ MouseArea {
+ anchors.fill: parent
+ drag.target: parent
+ drag.axis: Drag.YAxis
+ drag.minimumY: 0
+ drag.maximumY: track.height - height
+
+ onPositionChanged: {
+ if (pressedButtons == Qt.LeftButton) {
+ target.contentY = slider.y * target.contentHeight / track.height
+ }
+ }
+ }
+ }
+ }
+ Image {
+ id: dnArrow
+ source: "../Resources/dn-arrow.png"
+ anchors.bottom: parent.bottom
+ MouseArea {
+ anchors.fill: parent
+ onPressed: {
+ timer.scrollAmount = 10
+ timer.running = true;
+ }
+ onReleased: {
+ timer.running = false;
+ }
+ }
+ }
+ }
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtScrollview.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtScrollview.qml
new file mode 100644
index 0000000000..a42f74c9fe
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtScrollview.qml
@@ -0,0 +1,7 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+Flickable {
+ id: theScrollView
+ clip: true
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtText.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtText.qml
new file mode 100644
index 0000000000..9e7a93773f
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtText.qml
@@ -0,0 +1,6 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+Text {
+ id: myText
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtTouchAreaEnums.js b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtTouchAreaEnums.js
new file mode 100644
index 0000000000..f21a454065
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/BaseWidgets/FWdgtTouchAreaEnums.js
@@ -0,0 +1,12 @@
+.pragma library
+
+var In = 1
+var Out = 2
+var Short = 4
+var Long = 8
+var Repeat = 16
+var InRepeat = 17
+var All = 31
+var Cancel = 32
+var DragOut = 64
+var DragIn = 128
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActScriptCall.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActScriptCall.qml
new file mode 100644
index 0000000000..39862d6f22
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActScriptCall.qml
@@ -0,0 +1,13 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+import com.ford.hmiframework 1.0
+
+FAction {
+ id: theAction
+
+ signal script
+
+ onExecute: {
+ script();
+ }
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActSystemModelCall.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActSystemModelCall.qml
new file mode 100644
index 0000000000..5783286ccf
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActSystemModelCall.qml
@@ -0,0 +1,14 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+import com.ford.hmiframework 1.0
+
+
+FAction {
+ id: theAction
+
+ signal call
+
+ onExecute: {
+ call();
+ }
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActTimer.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActTimer.qml
new file mode 100644
index 0000000000..e31937a2b9
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActTimer.qml
@@ -0,0 +1,25 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+import com.ford.hmiframework 1.0
+
+FAction {
+ id: theAction
+
+ property variant timer
+ property int action: 1
+
+ onExecute: {
+ switch(action)
+ {
+ case TM.Start:
+ timer.start();
+ break;
+ case TM.Restart:
+ timer.restart();
+ break;
+ case TM.Stop:
+ timer.stop();
+ break;
+ }
+ }
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActWidgetCall.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActWidgetCall.qml
new file mode 100644
index 0000000000..6e7048fe9a
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActWidgetCall.qml
@@ -0,0 +1,13 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+import com.ford.hmiframework 1.0
+
+FAction {
+ id: theAction
+
+ signal call
+
+ onExecute: {
+ call();
+ }
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActWidgetProperty.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActWidgetProperty.qml
new file mode 100644
index 0000000000..040695d298
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FActWidgetProperty.qml
@@ -0,0 +1,13 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+import com.ford.hmiframework 1.0
+
+FAction {
+ id: theAction
+
+ signal change
+
+ onExecute: {
+ change();
+ }
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FAnimViewHide.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FAnimViewHide.qml
new file mode 100644
index 0000000000..4eef062bea
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FAnimViewHide.qml
@@ -0,0 +1,6 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+FAnimView {
+ supportOutgoing: true
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FAnimationEnums.js b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FAnimationEnums.js
new file mode 100644
index 0000000000..117cb99267
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FAnimationEnums.js
@@ -0,0 +1,7 @@
+.pragma library
+
+var Start = 1
+var Restart = 2
+var Pause = 3
+var Resume = 4
+var Stop = 0
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FConditionPool.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FConditionPool.qml
new file mode 100644
index 0000000000..97c502e517
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FConditionPool.qml
@@ -0,0 +1,5 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+QtObject {
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FDataPool.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FDataPool.qml
new file mode 100644
index 0000000000..97c502e517
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FDataPool.qml
@@ -0,0 +1,5 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+QtObject {
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FEventPool.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FEventPool.qml
new file mode 100644
index 0000000000..add0413172
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FEventPool.qml
@@ -0,0 +1,9 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+import com.ford.hmiframework 1.0
+
+QtObject {
+ id: theEventPool
+ default property alias events: theEventPool._events
+ property list<FEvent> _events
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FGaugeValue.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FGaugeValue.qml
new file mode 100644
index 0000000000..1886d54af7
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FGaugeValue.qml
@@ -0,0 +1,51 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+// The FGauge allows to transform an input value range into an output value rang using a smooth transition
+// it can be e.g. used to transfrom the speed of a vehicle into an angle of the pointer needle
+// The borders of the input and output ranges are mapped to each other and a linear transformation is executed
+
+Item {
+ id: theGauge
+
+ // the time required to move through the full range from e.g. min to max
+ property int fullSweepTime: 1000
+
+ // minimum border, the input value can reach
+ property double minInput: 0.0
+ // maximum value, the input can reach
+ property double maxInput: 100.0
+ // the current input value. Each change will trigger an animated change of the output
+ property double currentInput: 50.0
+
+ // minimum border, the output value can reach
+ property double minOutput: 0.0
+ // maximum value, the output can reach
+ property double maxOutput: 100.0
+ //
+ property double currentOutput: 50.0
+
+ // this is the targetted output. Changing this, will trigger the animation to be executed
+ property double targetOutput
+ // this is the time required to move to the target value
+ property int targetTime
+
+ PropertyAnimation { id: anim; target: theGauge; properties: "currentOutput"; to: theGauge.targetOutput; duration: theGauge.targetTime }
+
+ onCurrentInputChanged: {
+ // we need to calculate the target and the required time to reach it
+ var target = (currentInput - minInput) * (maxOutput - minOutput) / (maxInput - minInput) + minOutput;
+ if(target < minOutput) {
+ target = minOutput;
+ }
+ else if (target > maxOutput) {
+ target = maxOutput;
+ }
+
+ targetTime = Math.abs((target - currentOutput) / (maxOutput - minOutput)) * fullSweepTime;
+ if(targetTime > 0) {
+ targetOutput = target;
+ anim.restart();
+ }
+ }
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FHardwareKeyEnums.js b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FHardwareKeyEnums.js
new file mode 100644
index 0000000000..ee1db632a7
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FHardwareKeyEnums.js
@@ -0,0 +1,9 @@
+.pragma library
+
+var In = 1
+var Out = 2
+var Short = 4
+var Long = 8
+var Repeat = 16
+var InRepeat = 17
+var All = 31
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStringFormat.js b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStringFormat.js
new file mode 100644
index 0000000000..1a1d2af589
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStringFormat.js
@@ -0,0 +1,132 @@
+var leadSection = ""
+var trailSection = ""
+var varName = ""
+var formatSection = ""
+
+var digits = 0
+var digitZeros = 0
+var decimals = 0
+var decimalsZeros = 0
+var decimalSymbol = "."
+
+function splitFormatString(format) {
+ // we need to analyze the structure of the string first
+ // a typical notation is like this: "{distance:#00.0#} km", where
+ // "{" "}" variable limiters
+ // "distance" variable name, this will be discarded and has not effect
+ // "#" non-leading/-trailing zero character
+ // "0" leading/trailing zero character
+ // " km" additional text which will remain unchanged
+ leadSection = ""
+ trailSection = ""
+ varName = ""
+ formatSection = ""
+
+ var startPos = 0;
+ var searchStep = 0;
+ for(var i = 0; i < format.length; ++i)
+ {
+ // search for the opening "{"
+ if(searchStep === 0) {
+ if(format.charAt(i)==='{') {
+ leadSection = format.slice(startPos, i);
+ startPos = i + 1;
+ searchStep++;
+ }
+ }
+ // search for the ":" or the closing "}"
+ else if(searchStep === 1) {
+ if(format.charAt(i) === '}') {
+ formatSection = format.slice(startPos, i);
+ startPos = i + 1;
+ trailSection = format.slice(startPos)
+ break;
+ }
+ else if(format.charAt(i) === ':') {
+ varName = format.slice(startPos, i);
+ startPos = i + 1;
+ searchStep++;
+ }
+ }
+ else if(searchStep === 2) {
+ if(format.charAt(i) === '}') {
+ formatSection = format.slice(startPos, i);
+ startPos = i + 1;
+ trailSection = format.slice(startPos)
+ break;
+ }
+ }
+ }
+
+ // finally we need to create the formatting string for sprintf out of the formatSection
+ digits = 0;
+ digitZeros = 0;
+ decimals = 0;
+ decimalsZeros = 0;
+ searchStep = 0;
+ for(var i = 0; i < formatSection.length; ++i) {
+ if(searchStep === 0) {
+ if(formatSection.charAt(i) === '#') {
+ digits++;
+ }
+ else if(formatSection.charAt(i) === '0') {
+ digits++;
+ digitZeros++;
+ }
+ else if(formatSection.charAt(i) === '.' || formatSection.charAt(i) === ',') {
+ decimalSymbol = formatSection.charAt(i);
+ searchStep++;
+ }
+ }
+ else if(searchStep === 1) {
+ if(formatSection.charAt(i) === '#') {
+ decimals++;
+ }
+ else if(formatSection.charAt(i) === '0') {
+ decimals++;
+ decimalsZeros++;
+ }
+ }
+ }
+}
+
+function formatOutput(data)
+{
+ // format the output, first the digits
+ var digitString = Math.floor(data).toString();
+ if(digitString.length < digitZeros) {
+ // zero pad the string
+ var temp = "";
+ for(var i = 0; i < digitZeros - digitString.length; ++i) {
+ temp += '0';
+ }
+ digitString = temp + digitString;
+ }
+ else {
+ digitString = digitString.slice(-digits);
+ }
+
+ var decimalString = (data - Math.floor(data)).toFixed(decimals).slice(2);
+ if (decimalString.length > decimalsZeros) {
+ for (var i = decimalString.length - 1; i >= decimalsZeros; i--)
+ {
+ if(decimalString.charAt(i) === '0')
+ {
+ decimalString = decimalString.slice(0, -1);
+ }
+ }
+ }
+ else {
+ for (var i = decimalString.length; i < decimalsZeros; i++)
+ {
+ decimalString += '0';
+ }
+ }
+
+ if (decimalString.length > 0) {
+ return leadSection + digitString + decimalSymbol + decimalString + trailSection;
+ }
+ else {
+ return leadSection + digitString + trailSection;
+ }
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStringFormat.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStringFormat.qml
new file mode 100644
index 0000000000..c3be3832fa
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStringFormat.qml
@@ -0,0 +1,28 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+import "FStringFormat.js" as CB
+
+QtObject {
+ // output string for which is used as output
+ property string output
+
+ // this string defines the format of the output
+ property string format
+
+ // this is the data to be formatted into the output
+ property variant data
+
+
+ onFormatChanged: {
+ CB.splitFormatString(format);
+ }
+
+ onDataChanged: {
+ doFormat();
+ }
+
+ function doFormat()
+ {
+ output = CB.formatOutput(data);
+ }
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStyle.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStyle.qml
new file mode 100644
index 0000000000..5f9106f9af
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStyle.qml
@@ -0,0 +1,56 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+import com.ford.hmiframework 1.0
+
+QtObject {
+ id: _style
+
+ Component.onCompleted: {
+ FThemeProvider.themeChanged.connect(themeChanged);
+ }
+
+ // This property is used to assign a "style" filename to the style. This file loads the style data and updates the properties of the style
+ property string styleFile: ""
+
+ property bool themed: false
+
+ onStyleFileChanged: {
+ loadStyle(_style);
+ }
+
+ function themeChanged() {
+ if (themed)
+ {
+ loadStyle(_style);
+ }
+ }
+
+ // indicate, that the style has been updated to the attached widgets
+ signal styleUpdated
+
+ function loadStyle(style)
+ {
+ if(styleFile.length > 0) {
+ console.log( "Loading style: " + styleFile + " (" + FThemeProvider.theme + ")")
+ var xhr = new XMLHttpRequest();
+ xhr.open("GET", FThemeProvider.resourcePath + FThemeProvider.getFileSubPath(styleFile + ".qmlstyle") + "/" + styleFile + ".qmlstyle");
+ xhr.onreadystatechange = function() {
+ if (xhr.readyState === XMLHttpRequest.DONE) {
+ try {
+ var a = JSON.parse(xhr.responseText);
+ for (var b in a) {
+ if (style.hasOwnProperty(b)) {
+ style[b] = a[b];
+ }
+ }
+ styleUpdated();
+ }
+ catch (ex) {
+ console.log("Style exception (" + styleFile + "): " + ex);
+ }
+ }
+ }
+ xhr.send();
+ }
+ }
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStyler.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStyler.qml
new file mode 100644
index 0000000000..3fb89882da
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FStyler.qml
@@ -0,0 +1,41 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+QtObject {
+ // this property can be FStyle, but only if the instance is created in place and not assigned. Otherwise we need to use variant
+ //property FStyle style
+ property variant style
+ property variant styleTarget
+
+ onStyleChanged: {
+ if(style !== undefined && style !== null) {
+ style.styleUpdated.connect(applyStyle);
+ applyStyle();
+ }
+ }
+
+ onStyleTargetChanged: {
+ applyStyle();
+ }
+
+ function applyStyle()
+ {
+ if(style !== undefined && style !== null && styleTarget !== undefined && styleTarget !== null) {
+ setStyledProperties(style, styleTarget)
+ }
+ }
+
+ function setStyledProperties(style, target)
+ {
+ for(var prop in style) {
+ // first filter unwanted properties
+ if(prop !== "objectName" && prop.slice(-7) !== "Changed" ) {
+ // process only properties owned by style & target
+ if (target.hasOwnProperty(prop)) {
+ // assign the value
+ target[prop] = style[prop];
+ }
+ }
+ }
+ }
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FTimer.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FTimer.qml
new file mode 100644
index 0000000000..bc148998b9
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FTimer.qml
@@ -0,0 +1,6 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+Timer {
+ triggeredOnStart: false
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FTimerEnums.js b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FTimerEnums.js
new file mode 100644
index 0000000000..d657de1f0c
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FTimerEnums.js
@@ -0,0 +1,5 @@
+.pragma library
+
+var Stop = 0
+var Start = 1
+var Restart = 2
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FTrgTimer.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FTrgTimer.qml
new file mode 100644
index 0000000000..b3ac5f8a15
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FTrgTimer.qml
@@ -0,0 +1,19 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+import com.ford.hmiframework 1.0
+
+FTrigger {
+ property QtObject timer
+
+ onInit: {
+ timer.triggered.connect(timerTrigger);
+ }
+
+ onCleanup: {
+ timer.triggered.disconnect(timerTrigger);
+ }
+
+ function timerTrigger() {
+ executeActions();
+ }
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCase.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCase.qml
new file mode 100644
index 0000000000..258a1da623
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCase.qml
@@ -0,0 +1,9 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+State {
+ default property alias propertyChange: myState.changes
+ property alias condition: myState.when
+ id: myState
+ when: true === true
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCaseGroup.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCaseGroup.qml
new file mode 100644
index 0000000000..7b1fa6ba51
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCaseGroup.qml
@@ -0,0 +1,7 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+StateGroup {
+ id: myUseCaseGroup
+ default property alias useCases: myUseCaseGroup.states
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCaseSimple.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCaseSimple.qml
new file mode 100644
index 0000000000..44da5a5a79
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCaseSimple.qml
@@ -0,0 +1,15 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+StateGroup {
+ default property alias propertyChange: theState.changes
+ property alias condition: theState.when
+
+ states: [
+ State {
+ id: theState
+ name: "*"
+ when: true == true
+ }
+ ]
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCaseTransition.qml b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCaseTransition.qml
new file mode 100644
index 0000000000..24f6acfa4f
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qml/Framework/FViewUseCaseTransition.qml
@@ -0,0 +1,6 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 2.0
+
+Transition {
+ to: "*"
+}
diff --git a/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qmldir b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qmldir
new file mode 100644
index 0000000000..3ccd0e58e8
--- /dev/null
+++ b/src/components/qt_hmi/References/Look/plugins/com/ford/hmiframework/qmldir
@@ -0,0 +1,35 @@
+module com.ford.hmiframework
+plugin QtHMIFramework
+typeinfo plugin.qmltypes
+FActScriptCall 1.0 qml/Framework/FActScriptCall.qml
+FActSystemModelCall 1.0 qml/Framework/FActSystemModelCall.qml
+FActTimer 1.0 qml/Framework/FActTimer.qml
+FActWidgetCall 1.0 qml/Framework/FActWidgetCall.qml
+FActWidgetProperty 1.0 qml/Framework/FActWidgetProperty.qml
+FConditionPool 1.0 qml/Framework/FConditionPool.qml
+FDataPool 1.0 qml/Framework/FDataPool.qml
+FEventPool 1.0 qml/Framework/FEventPool.qml
+FGaugeValue 1.0 qml/Framework/FGaugeValue.qml
+FStringFormat 1.0 qml/Framework/FStringFormat.qml
+FStyle 1.0 qml/Framework/FStyle.qml
+FStyler 1.0 qml/Framework/FStyler.qml
+FTimer 1.0 qml/Framework/FTimer.qml
+FTrgTimer 1.0 qml/Framework/FTrgTimer.qml
+FViewUseCase 1.0 qml/Framework/FViewUseCase.qml
+FViewUseCaseGroup 1.0 qml/Framework/FViewUseCaseGroup.qml
+FViewUseCaseSimple 1.0 qml/Framework/FViewUseCaseSimple.qml
+FViewUseCaseTransition 1.0 qml/Framework/FViewUseCaseTransition.qml
+FWdgtBorderImage 1.0 qml/BaseWidgets/FWdgtBorderImage.qml
+FWdgtContainer 1.0 qml/BaseWidgets/FWdgtContainer.qml
+FWdgtImage 1.0 qml/BaseWidgets/FWdgtImage.qml
+FWdgtListView 1.0 qml/BaseWidgets/FWdgtListView.qml
+FWdgtPathView 1.0 qml/BaseWidgets/FWdgtPathView.qml
+FWdgtGridView 1.0 qml/BaseWidgets/FWdgtGridView.qml
+FWdgtScrollbar 1.0 qml/BaseWidgets/FWdgtScrollbar.qml
+FWdgtScrollview 1.0 qml/BaseWidgets/FWdgtScrollview.qml
+FWdgtScrollText 1.0 qml/BaseWidgets/FWdgtScrollText.qml
+FWdgtText 1.0 qml/BaseWidgets/FWdgtText.qml
+HK 1.0 qml/Framework/FHardwareKeyEnums.js
+TA 1.0 qml/BaseWidgets/FWdgtTouchAreaEnums.js
+ANIM 1.0 qml/Framework/FAnimationEnums.js
+TM 1.0 qml/Framework/FTimerEnums.js