Fix TextField::placeholderText docs

For usability reasons the placeholder text is kept always visible when
the control is empty, even when focused.

Task-number: QTBUG-36303
Change-Id: I79733b0cf2a48807fb45d5697399f183c2b97f94
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Remove unused white rectangle causing drawing issues

The spinbox has a white rectangle which overlaps the frames with some
styles (eg. oxygen). However the Rectangle itself serves no real purpose
and so it's removed.

Change-Id: I37a6862dfd8ac21fb24b54261fa7d7ab54aa23c7
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Fix implicit width for SpinBox

This patch ensures that we take the minimum width of the SpinBox
into account when getting the size from the style item.

The patch still relies on the height of the TextField since we
want to ensure that they keep similar height and the existing
spinbox code behaves somewhat erratic.

Task-number: QTBUG-36283
Change-Id: I50d14e5afb2576548c381e7f70063dfcb727e7d6
[ChangeLog][QtQuickControls]Fixed implicit width for SpinBox
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Fix StackView documentation

The extra "property Component" breaks the examples.

Task-number: QTBUG-35864
Change-Id: I1317f9a2ce42f4d9e4a03ecc3b85286b1eb3e855
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Controls: Fixed support for Keys attached property on controls allowing text input

By forwarding key events from the internal control.

It includes TextField, TextArea, ComboBox, SpinBox. The key events from
internal are Keys.forwardTo controls, then user could customize their
own behavior for those controls.

Autotest are included.

[ChangeLog][QtQuickControls] Fixed support for Keys attached property on
controls allowing text input, by forwarding key events from the internal
control.

Task-number: QTBUG-33493
Task-number: QTBUG-34101
Task-number: QTBUG-35763
Change-Id: I00ea131160e55048b34fe0713e1ee02ff9472f05
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I974d73fda7e0eb4ea99b354a054452f057327644
ColorDialog: color property must be up-to-date before accepted()

Followup to e73d503b84be12e7bf28491356b459ca309e7c95 in
qtdeclarative: setCurrentColor replaced the calls to setColor, so
now it's necessary to call setColor when the dialog is being
accepted.

Task-number: QTBUG-36312
Change-Id: I38c1b7bf830ee1472bbab697668dec2db80e283c
Reviewed-by: Liang Qi <liang.qi@digia.com>
Add currentFont property to FontDialog.

QFontDialog has this property. This patch effectively means that
the font property will be set when the dialog closes, instead of
whenever the current font in the dialog changes, so pressing cancel
will revert the font to what it was before the dialog was opened.

Align with e73d503b84be12e7bf28491356b459ca309e7c95 in qtdelarative,
the similar change for color dialog.

[ChangeLog][QtQuickControls][FontDialog] Added currentFont property.

Task-number: QTBUG-36574
Change-Id: I4140966543a677d8e654dbaac170a2fe8d3579a1
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Normalize signal & slot signatures in connection

Profiling shows Qt Creator spends 2% of its load time normalizing

Change-Id: I793aea0f46cc74f6466e52d00c0ec868c6603c77
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
ComboBox: Remove style related warning

Change-Id: Idab3a36dcb9d733d48d981854cfc492982cd1394
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
MenuItem: use queued connection to trigger() - avoid deletion crash

If a ListView's delegate launches a context menu which deletes the
corresponding model item, the MouseArea which launched the context menu
gets deleted while handling an event.  That is not allowed, so a
mechanism is necessary to postpone the deletion.  This works for now.

Task-number: QTBUG-36653
Change-Id: Idb78ddb830f229e2006f53fc993f1aee8fb2dc15
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev
QtQuick.Dialogs FileDialog: don't go astray into qrc:/ on Android

Was due to string->URL conversion when setting FolderListModel.folder.

Task-number: QTBUG-36006
Change-Id: Ia768d8a5473b3d4c22ef9be7c8b3cf28d3956f6f
(cherry picked from qtdeclarative/cf2b04f6da6fb4d6a7da924a0796bfa8fda25398)
Reviewed-by: Liang Qi <liang.qi@digia.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Accessibility: Improve TextField and Area

Add password and read only states

Change-Id: I5da2fafc0be8ee451ea754774e8daa8aee2f0dcd
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Accessibility improvements

[ChangeLog][QtQuickControls] Accessibility improved: ComboBox is labeled
properly, check and radio boxes report their state correctly

Change-Id: Ia9fe88f032a627c839bd3ef3aec4e2e6cb4517a7
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Accessible slider should not have value as name

The value is provided though the value interface which works already.
Having the value as name as well leads to the value being read twice.

Change-Id: I97483567c120aa149b52ba35f430aa5c63ad08b7
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>