Add basic application example

People keeps asking for this so it is a good idea to show
how we launch a window using QmlEngine

Change-Id: I9ad9b1a3cf2e6f4148b2b579df82f44310a2fa84
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Splitter: fix crash when dragging on handle

The reson for the crash is we check if item.Splitter[minimum]
exists, just to access item.[minimum] on the next line instead
(which does not exist).

Change-Id: I972c4daa8a49271dafbd5395f6c1597b3f6caf7c
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Moved all header files to _p.h

Change-Id: I58c6f143de8d074fe2b382eff524500c6a8270ea
Reviewed-by: Liang Qi <liang.qi@digia.com>
Added relative macros in headers and sources

Including QT_BEGIN_NAMESPACE, QT_END_NAMESPACE, QT_BEGIN_HEADER
and QT_END_HEADER.

Change-Id: I9040bdf097d229ba897ada799f72cd9bfc80c844
Reviewed-by: Liang Qi <liang.qi@digia.com>
Updated styleplugin.pri to use $$PWD

It's convenient for other .pro files to use it.

Change-Id: I8acb0d51b31120c0b47ee6addc7f14ba413abadd
Reviewed-by: Liang Qi <liang.qi@digia.com>
Make Dialog work again

Remove some non-working code, update property names and add missing
import statement.
Add a manual test.

Change-Id: Id6964ce7acca65088d10158493ed75db3fa05c83
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Fixed qmldir file for styleplugin and etc

Change-Id: I0ba99670befe4efa1e6f364ec53d2ff9f35acee5
Reviewed-by: Liang Qi <liang.qi@digia.com>
SpinBox: Enable hover in mouse up and down areas

Otherwise the properties upHovered and downHovered can never be true.

Change-Id: If8bb93961efa740028ace484099f3a6ce20e168e
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Fix TableView delegate to work with C++ models again.

Use the views's delegate 'model' property for accessing both
Qml ListModel and C++ QAbstractItemModel values.

For Qml objects, QObject and QObjectList based models modelData
properties will be used.

For models without roles (Integer, Array, QStringList) modelData
is used directly.

A new manual test for all model types is included.

Change-Id: I9934ff9737e1b687b852f2413b2d7484248c4e6e
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Added example for QML auto test

Defined a new macro QTDC_QUICK_TEST_MAIN, to have QApplication as
QCoreApplication instance because QtDC still depends on QtWidget.

Change-Id: Ie28aba092b4741c3b8e0b89ab77fb338947b4a7e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Liang Qi <liang.qi@digia.com>
Fix tab separator issue on Mac

The tabbar had broken separators. I had to tweak the style hints
a bit to send all three properties to the tab.

Change-Id: Idcf851cd5d81b1906a4013352c80919368055297
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
PageStack: Add new component: PageStack

This will add a PageStack to the components, along
with PageTransition, PageAnimation, and PageSlideTransition.
This is all documented on the PageStack.qml file.

Change-Id: Id97dbefb933497a14bfb0dfa494475c50b953fc1
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
QApplication is required.

Instead of QCoreApplication.

Change-Id: Idbc6ee8892c0b439bc60012e5165e81eb4f35502
Reviewed-by: Liang Qi <liang.qi@digia.com>
Update headers defined names

To match the file names.

Change-Id: Iddf23656eb502c01016e554c344df9d638500733
Reviewed-by: Liang Qi <liang.qi@digia.com>
Introducing Action, ExclusiveGroup components

Action is loosely inspired by QAction in a simple, minimalistic way.

Change-Id: I2f018699f9233ad29488606b87dbb4da46160f10
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Add some docs and properties to SpinBox.

Change-Id: I217fec885e50cf77d95f84fddc1aeda75b2183a8
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Tests: Add tests for SpinBox

Change-Id: Icde1cbc5bfef090de47453fd391adb7c28f0f868
Reviewed-by: Liang Qi <liang.qi@digia.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Fix broken frame property on TabFrame

Change-Id: Ia5eef555375bbdb45cfca78b76336864828cfe56
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
StyleItem: use a SG texture node to avoid render thread issues

Change-Id: Ie21a123e635452c484c978593d64284b4a0ce1c0
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Page: add new component: Page

Change-Id: I749e02440fba0505cddf797e12a5fb8aae59d597
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>