Make BusyIndicator style use threaded animations

This uses a graphic that will work even when the application is
busy. It should still work pretty well on most light and dark
backgrounds.

Change-Id: I5506120140fe37cdfbd7d88004f5ad3d817b5aed
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Gallery example: add an About box

Change-Id: Ie683c9d6dca577193f6a5a2cee40916b263719d6
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
ApplicationWindow has the WindowFullscreenButtonHint flag by default

It should be possible to go fullscreen by default in most applications,
unless there is a reason not to, in which case the developer can turn
this flag back off.  It's also not so intuitive to turn it on, because
one needs to remember to specify Qt.Window as well, to avoid losing
the toolbar.  So making it the default avoids some mistakes/surprises.
Furthermore QWidget has this flag by default.

Task-number: QTBUG-33607
Change-Id: I350ffb38459d2a305353efe0db29335fe354a441
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Liang Qi <liang.qi@digia.com>
Make sure menu bar has a parent window

On Android we depend on the parent window of the menu bar to
know when to show which menu bar. The menu bar parent was
set in the onVisibleChanged signal of the background item, but
this visible property is never changed. Adding a signal handler
for the visible property of the window as well fixes the issue.

Task-number: QTBUG-34681
Change-Id: I2cbafabe165420fd1697fbe51a8f393eb5158ffd
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
TextEditor example: use the MessageDialog for the About box

Change-Id: I0813b7d392dfe7143d438b4057c5d787d223ad5e
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Fix plugins.qmltypes

We have to "forward" declare QQuickText to get Label working
in the code model.

Change-Id: Ie8a032d4266d6923f56da7051b207f47090f180e
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
SpinBox: get active focus when up or down was pressed

This behavior also needs activeFocusOnPress was true.

Task-number: QTBUG-34773
Change-Id: I681c1cb20c1803e3bf7f60af5cdf45ae3fe34dae
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Merge remote-tracking branch 'origin/release' into stable

Change-Id: Ifce0bd8b87bc58a4708b7e682a27aaeaba9fbd53
Fix retina rendering issues with Qt Quick Controls

We need to scale the texture size since it has twice the pixel
count on retina macs.

Task-number: QTBUG-34922
Change-Id: I38ff316016ccb1e609037598f7107d62b3ba4295
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Fix TableView scrolling problem

TableView was specifying its content width based on item rows' width.
Item rows get dynamically loaded and destroyed while scrolling, and it
sometimes applied a width of a half-(de)constructed item row. That made
the horizontal scrollbar jump to the beginning. This patch makes
TableView use header row's (static) width for specifying the content
width.

Task-number: QTBUG-34344
Change-Id: I797f0f5d294fbb8c95b2836f9aec0dc14c32bc6b
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
TextField: add editingFinished signal

Autotest is included.

Task-number: QTBUG-34780
Change-Id: I19e73ca0c988a9d294aca52f9c0eabb9274f40d7
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
SpinBox: add editingFinished signal

Autotest is included.

Task-number: QTBUG-34780
Change-Id: I2da9d57b409c24cbf1d90ce42da9b4071dd6dac8
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Revert "ApplicationWindow has the WindowFullscreenButtonHint flag by default"

This reverts commit 29d1b0d209ebb267c5a6ac8402c33892c09b8de6.

This patch caused a regression resulting in QTBUG-35049
and should be reverted until we have a better fix.

Change-Id: I76f9fa9859742a63f33757456c64f70183c76178
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Set more window flags to keep Windows from omitting titlebar & buttons

This should not be necessary, but Windows does not treat the missing
Qt::CustomizeWindowHint the same as the other platforms do.

Task-number: QTBUG-35049
Change-Id: I81dc645dc1acf29b6ff4d5fc04f5dd3db94b0133
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Bump MODULE_VERSION to 5.2.1

Change-Id: Ica5c8a62a6b4ac522530431b387a4aedb0f75d4f
Reviewed-by: Matti Paaso <matti.paaso@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Merge remote-tracking branch 'origin/release' into stable

Change-Id: I470ff77e4a52f37263c8f0d9bf789f10c643d659
ComboBox: Call resolveTextValue() after any model change

Particularly if the nature of the model has changed (e.g., from null to array).

Task-number: QTBUG-34936
Change-Id: If07690a8836dcd786ed7a32afda1e344d048d31f
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Make TextFieldStyle and SpinBoxStyle respect font size

This makes both the controls respect a custom font size.
Before this patch these controls would only support the
global application font.

Task-number: QTBUG-34750
Change-Id: I200a14adba5b75088ab54ba691430330d9226ada
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Docs: add missing \since 5.2 to TextFieldStyle::renderType

Change-Id: I1a8691a2ef06cc188be11e2f6d04973f9e1f9270
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Fix disabled text color of an editable ComboBox

Change-Id: I2b38fa17434796be65a88d7c8d14ff94a7e2b233
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>