Do not loop infinitely if a span is larger than the layout extent

There is no point in searching through all cells to see if an item of
columnSpan 3 fits into a layout with 2 columns, since it won't ever
fit.
So instead we detect this case early and ignore the item for
inclusion.

Task-number: QTBUG-35778

Change-Id: I3f7963df17b05b3eb14ba0bae49e5a885d15b33b
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Add missing call to initResources needed for static linking

Task-number: QTBUG-35674

Change-Id: If0b995fc8a28adf949189138106a2a1e7bd16147
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
ComboBox: Don't suggest auto-complete text if editText is empty

... for editable ComboBoxes, that is.

Change-Id: Ieda089f715e8252ae47bbbff647982f96ec5f797
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
ComboBox: Allow setting currentIndex to -1 to clear selection

Task-number: QTBUG-35794
[ChangeLog][QtQuickControls]ComboBox: Allow setting currentIndex to -1 to clear selection

Change-Id: I034b061484ab095a9ec049fb3b35614b98bfb956
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I2491c91285196583e784033e78757743bfa2a423
Settings.hasTouchScreen checks the QTouchDevices

This should be more reliable than making assumptions based only on
the platform screen.  This also means that ultrabooks, desktops etc.
which have multiple input devices including a touchscreen will
have touch optimizations.  However due to QTBUG-36007 it's still necessary
to check for the platforms that do not create QTouchDevices properly
at startup.

Change-Id: I6cc0408b472af16580e91509eb4cbc420a263871
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
TableView.selection docs

Change-Id: Ib2e1cc6c4459af9c1e4ba3b72e1e946924b65d2b
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Expose contentArea as contentItem in ApplicationWindow

This will intentionally shadow the QQuickWindow::contentItem

This enables users of ApplicationWindow to correctly set the
{min,max}imumHeight for the contents of the ApplicationWindow
(excluding menubar, toolbar and statusbar).

With this information at hand, the ApplicationWindow can easily deduct
the correct total size of its {min,max}imumHeight *including* the
menubar, toolbar and statusbar.

Previously, it was for instance not possible to set an exact
minimumHeight because it didn't take the toolbar, statusbar or
menubar into consideration

One small disadvantage is that the contentItem.minimumWidth
cannot be autocompleted. qmlplugindump does not inspect the members
of ContentItem.

Task-number: QTBUG-32443
Change-Id: I9903e7d4b5e6db7bd7c3c46351a2bb5578f67a57
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
QtQuick Dialogs: don't use native windows on iOS

Re-applying changes from 560b95b77ac18edd0954a9b8ce9b92a828b51176
in the qtdeclarative repository which were done after beginning to move
the dialogs into qtquickcontrols.

Task-number: QTBUG-35561
Change-Id: I9651be2066e44310afcd4ec9e626583acfec8c8e
Reviewed-by: Liang Qi <liang.qi@digia.com>
Menus: Move private items into Controls.Private module

Keeping the same name as before to avoid any confusion when
importing the private module in other places.

Change-Id: I77986cb9ae4de40d83a2d477487dd806a0cb99d8
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Expose PopupWindow type privately

Still needs some API refinement.

Includes manual test for key event handling. It did not work
as expected on Mac, hence this test. Patch pending in integration
in qtdeclarative.

Change-Id: Id88f5f84d2534cf9b9d93f9224207e661894189d
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Set currentIndex of combobox to match defaultAlignment

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