Document CheckBox.

Change-Id: Iaa60ffde5ff4c0d3a6d8a9c1277fa77ccbbb0c24
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Doc: Enabled the listing of QML types in Assistant or Qt Creator.

We do the same for modules with QML types or C++ classes.

Change-Id: I4715a2386a0640788decae851c63731d9ffa7d1d
Reviewed-by: Geir Vattekar <geir.vattekar@digia.com>
TabBar: Tweaky, tweaky little style...

Tweaky, tweaky, shine on Mac!

Change-Id: Ic338b1474f1cbaeedda11be00a2bfbdbf7388adb
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Menu: Add support for multiple screens

Change-Id: Ied5a913c220335ea51d6e785d870d340d634d790
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Rename properties Layout.{vertical}SizePolicy

..to Layout.fill{Width,Height}

This property now takes a bool, which enables you to write
  Layout.fillWidth: true

instead of
  Layout.horizontalSizePolicy: Layout.Expanding

Change-Id: Icf2e0dc4757938489908b8997d6c4e80c8be1c50
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
API: Rename {vertic,horizont}alSpacing to {row,column}Spacing

This makes it more consistent with Grid element, and with the
other properties the GridLayout has (rows,columns,Layout.row...)

Change-Id: I341a806df889a7888ac0466e07d73bb2ea90f5ef
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
ToolBar: Fix height on Mac

Would not contain the toolbuton's pressed shadow.

Change-Id: I989e6ec38d0632fcd4c09e1805ec3fa0133d9b93
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Improve GroupBox styling and content calculation

We need this to have expanding layouts.

Change-Id: I32ef9da90fa9210febaa23d3f579ec94f03c377d
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Improve basiclayouts example now when GroupBox is fixed

Now when it is possible to modify the content rect of a GroupBox, we can
finally have a resizable layout in the GroupBox.

Change-Id: I8afc4474c222eda790e52a82de00b5439942efeb
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
TextField: Remove unnecessary MouseArea

Change-Id: I2ca953321130bb0b40f55cd4051d4b390b3db554
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
ScrollView: Fix crash on exit

Reproducible with the gallery example application, Launch it, select
the TextField, and quit the application.

The following short example also reproduces the crash in the same way,
but selecting the TextInput instead.

import QtQuick 2.1
import QtQuick.Window 2.1
import QtQuick.Controls 1.0

Window {

    property bool blah: !!activeFocusItem && !!activeFocusItem["copy"]

    Column {
        TextInput {
            width: 200
            height: 30
        }
        TextArea {
            width: 200
            height: 200
        }
    }
}

Whether the real cause is in ScrollView or deeper in QtQuick is yet to
be throughly investigated. But, hey, that's one crash less right now.

Change-Id: Idf358775b8b0333261ecfec7a2fefd3c5b931cc8
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
FileDialog and ColorDialog example usage in the gallery example

Change-Id: I37e9a3c4c165525b0c785a47584fd62c17841e8f
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
gallery: Clean-up some code

This should work the all same, but with one hack less.

Change-Id: Ia2deccc31a89baf414fbd6eb11979c6d85fb0cb9
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Examples: Update open file tooltip

And fix one import QtQuick 2.0 -> QtQuick 2.1

Change-Id: If22ef7c4c47923f4cd84c1c8c232c10c79b110e7
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
ToolButton: Fix tool button with text only

When only a text is given, it can be truncated because its
width is not used.

The style option is not exposed at the moment. The default
behavior is to show only the icon when one is provided.

Change-Id: Ib5ca65fba3d10619408ba29049fff33a14295d1d
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Fix some imports QtQuick 2.0 -> QtQuick 2.1

Change-Id: I7f2d6c2f85d01fa693cf0e129e7d86d28e417366
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Merge branch 'dev' into stable

This starts Qt 5.1 release cycle

Conflicts:
	src/qtdesktop/CheckBox.qml
	src/qtdesktop/doc/qtdesktopcomponents.qdocconf

Change-Id: Ic3799053a18b0a3f97e251354ad8433438b08a7a
ScrollView: Improve "Crash on exit" patch

This saves a parent change when creating the flickable item.
Partially amends f36f562a0e58f4ea37.

Change-Id: I2f76ea329c86e8754712b97cd87e41f56c791183
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
ComboBox: Update style to respect given width/height

Currently setting i.e. the width of the control is ignored.

Change-Id: Icfff0f0c9a15250fba8c41181c1fba9049b5260a
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
ComboBox: Allow (ugly) vertical resizing

Also, make sure popup and drop-down list are properly positioned.

Task-number: QTBUG-30357
Change-Id: I1afa05aded75fbe697dd6cf8672c0d3623b4c988
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>