summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add changelog for 5.6.1v5.6.1-1v5.6.15.6.1Venugopal Shivashankar2016-05-241-0/+30
| | | | | | Change-Id: I45816d2984bc91d2eb72d8d1c7506f9012486976 Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com> Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Doc: Remove repository name from examplesinstallpathTopi Reinio2016-05-123-3/+3
| | | | | | | | Examples in binary packages now directly match the install path. Change-Id: Icd9ae9ef887b99b96177ec7b590fc3f35da18c82 Task-number: QTBUG-52953 Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* Delete the m_styleoption properlyAlbert Astals Cid2016-05-111-1/+33
| | | | | | | | Unfortunately the destructor of QStyleOption is not virtual so you need to cast them all individually otherwise the wrong destructor is called Change-Id: I3b07450438d98910fbbff9f81234876551ed4e5d Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Save some time and memory by using the SystemPalette singletonAleix Pol2016-05-111-5/+1
| | | | | | | | | Instead of instantiating a SystemPalette object for every Label, re-use the singleton, which is already designed for this. Change-Id: I7356fc983ea6dcd4dad0207c41ae1e0ba07dace4 Reviewed-by: Albert Astals Cid <albert.astals@canonical.com> Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Dialogs: enforce changes in minimum sizeShawn Rutledge2016-05-101-4/+9
| | | | | | | | | | | | | On OS X, if visible: true is declared, the dialog can be shown before the changes in 10f0ae7c571b7e0de41d5fdc5627db6a1ddeb926 are able to set the minimumWidth/Height properties. QWindow::setMinimumWidth() also does not force the window to be wider if it is already shown. Task-number: QTBUG-49058 Change-Id: Id87d92072904555639e1695851d908550d22fe86 Reviewed-by: Alberto Mardegan <mardy@users.sourceforge.net> Reviewed-by: Nikita Krupenko <krnekit@gmail.com> Reviewed-by: Liang Qi <liang.qi@qt.io>
* Cleanup QQmlExtensionInterface usageJ-P Nurmi2016-05-069-9/+9
| | | | | | | | Use the pre-defined macro. Change-Id: I52e362672ff719202d3e40e4245baac2af29f624 Task-number: QTBUG-53208 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* tst_extras: skip crashy test_resize() on WindowsJ-P Nurmi2016-05-031-3/+5
| | | | | | | Task-number: QTBUG-53123 Change-Id: If7b33d46828808d869a7e325a908a8a353c35f57 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* QQuickControlSettings (Android): check touch devicesAnton Kudryavtsev2016-05-031-5/+0
| | | | | | | | | | | | | It's needed for Android devices that have not touch screen, e.g STB. QTBUG-36007 is already resolved and we can use QTouchDevice::devices() Task-number: QTBUG-36007 Task-number: QTBUG-53095 Change-Id: Iaab89cc75238d1aba83ce3d79f3c29fb5cab172f Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com> Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* tst_extras: skip crashing test_resize(PieMenu)J-P Nurmi2016-05-021-4/+8
| | | | | | | | | | | | This has been consistently blocking the qt5 integration, and nobody is able to reproduce the crash locally or when running tests manually in the CI. We don't even know where exactly it crashes, but this change skips the test that we assume to be problematic. Change-Id: Ia5665a542890b90a296d5d068c14e78fc9c3c625 Task-nubmer: QTBUG-53123 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Static builds: ensure we link against layoutsRichard Moe Gustavsen2016-04-301-0/+1
| | | | | | | | | | ApplicationWindow.qml makes use of QtQuick.Layouts. For that reason we need to inform qmake about the dependency so that it links it in for static builds. Change-Id: I30022a3329bc4adca5ca856bc37e72bb157894cd Task-number: QTBUG-52652 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* tst_extras: change QML TestCase visibility bindingsJ-P Nurmi2016-04-298-8/+8
| | | | | | | | | | Let QML TestCase be implicitly shown together with the internal test window. The visibility binding to windowShown is unnecessary, and might cause extra visibility state changes, which in turn may cause other issues further down the chain. Change-Id: I59654c4035185ddcbc1e2c4c231f9a6d76d12383 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* make use of COPIESOswald Buddenhagen2016-04-281-6/+3
| | | | | Change-Id: I232cf933b20e53ea7403a993edfe00c5eda5a0b1 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* fix example installsOswald Buddenhagen2016-04-28199-11/+52
| | | | | | | this includes renaming the first-level subdir of examples/. Change-Id: Idf14164533c247e5c0cc5acdb405ac97f7c33ac5 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* QQuickMouseThief: guard the target item with a QPointerJ-P Nurmi2016-04-281-1/+2
| | | | | | | | | | tst_extras::Tests_Common::test_resize(PieMenu) is constantly crashing in the Win 10 CI. This is a random shot attempting to solve the crash. We're not able to reproduce the issue locally or even when running the test manually on the CI. Change-Id: I4722b7ea9aeca640991602d1148a61eaa91066b3 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* tst_extras: create animation as child of controlJ-P Nurmi2016-04-281-2/+1
| | | | | | | | | | | | ...and let it destruct together with the control. tst_extras::Tests_Common::test_resize(PieMenu) is constantly crashing in the Win 10 CI. This is a random shot attempting to solve the crash. We're not able to reproduce the issue locally or even when running the test manually on the CI. Change-Id: Iee717cdcf4b05273c05833856a9b5fd18443ca82 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Doc: Rename conflicting groupTopi Reinio2016-04-286-12/+6
| | | | | | | | | | | A group name 'dialogs' conflicts with a page elsewhere in the documentation. Renamed to be more specific, and removed the \group command - it's not required for generating annotated lists, and was not linked to. Change-Id: I571702ece13d5eb57a984cec47811b7d58cc0121 Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com> Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
* Increase window size in tst_gauge.qmlMitch Curtis2016-04-271-1/+1
| | | | | | | A width of 60 is too small on Windows, and was causing warnings. Change-Id: Iae4f643fcc9c30a561720b653151cad7ba6d0f20 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Specify the full path to the Flat style when static so it is foundAndy Shaw2016-04-211-0/+5
| | | | | Change-Id: I4346044debdf2301f221186b60798307c563c336 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Remove unused variableAleix Pol2016-04-201-1/+0
| | | | | Change-Id: If6a3ebfdea652437522d3a22e0399818d887b3d5 Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
* Improve DialStyle's valueToAngle() tests and documentationMitch Curtis2016-04-182-4/+10
| | | | | | | | The minimumValueAngle and maximumValueAngle variables it mentions are private. Change-Id: Ib95c96aeb218c8624857c212429f6c4e4e77ece2 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* qtquickcontrols.qdocconf: Fix path to qquickabstractstyle_p.h.Friedemann Kleint2016-04-181-1/+1
| | | | | | | | | Fix qdoc-warning: qtquickcontrols/src/controls/doc/qtquickcontrols.qdocconf:50: warning: Cannot find file or directory: ../Private/qquickabstractstyle.h / Change-Id: If4548ebc2a33a42fd756f8a67d83e64c8dc8d638 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Dialog: allow proper resize and default size for contentAlberto Mardegan2016-04-135-7/+201
| | | | | | | | | | | | | | | | | | | | Currently Dialog use implicitly positioned items as content. This makes impossible to use item, that can be properly resized with change of dialog window size and has proper default size (set implicit width and height). This change made it use implicit size if there is one item or fallback to previous algorithm, that use childrenRect for explicitly sized and positioned items, so it won't break behavior of the existing applications. [ChangeLog][Dialog] Proper resize and default size for content Task-number: QTBUG-49058 Change-Id: I7fa4da7d5fd39d47f60ba9f43c88f78e75739b0a Initial-patch-by: Nikita Krupenko <krnekit@gmail.com> Reviewed-by: Nikita Krupenko <krnekit@gmail.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
* Skipping quickcontrols: Test_TreeView::test_indexAt()Milla Pohjanheimo2016-04-111-0/+1
| | | | | | | | | | | Because of bug QTBUG-47523 we need to skip this test until it is fixed properly. Remove the 'skip' after the bug is fixed. Task-number: QTBUG-47523 Change-Id: I4ba514ac7cc38026ced16f8e12bea6e8ac329818 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* Remove redundant qDebugTimur Pocheptsov2016-04-051-1/+0
| | | | | | | Task-number: QTBUG-52348 Change-Id: If1cef668626fbf5616b5fbb3e60233f3935334cd Reviewed-by: Liang Qi <liang.qi@theqtcompany.com> Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Purge sRGB chunks from PNGs in tests.Edward Welbourne2016-03-293-0/+0
| | | | | | | | | Subjects each *.png file that matched grep -law "sRGB" to: pngcrush -ow -brute -rem allb -reduce (Some needed -force but did get smaller.) Change-Id: I56774d04c4a0397ae183cd70d8edd7f9f0cfcb22 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Purge sRGB chunks from PNGs in documentation.Edward Welbourne2016-03-2216-0/+0
| | | | | | | | Subjects each *.png file that matched grep -law "sRGB" to: pngcrush -ow -brute -rem allb -reduce -force Change-Id: I88acc450a8af929b011286d2ba2f81e75ed0faa9 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Purge sRGB chunks from PNGs of dialog images.Edward Welbourne2016-03-222-0/+0
| | | | | | | | Subjects each *.png file that matched grep -law "sRGB" to: pngcrush -ow -brute -rem allb -reduce Change-Id: I3848a1663d7009185f6546eac242c7e7f7350720 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Purge sRGB chunks from PNGs in examples.Edward Welbourne2016-03-223-0/+0
| | | | | | | | Subjects each *.png file that matched grep -law "sRGB" to: pngcrush -ow -brute -rem allb -reduce Change-Id: Ib0587ac336d8e68dd206872b611b23f8baa9154e Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Doc: Add missing closing brace to a code snippetTopi Reinio2016-03-101-2/+3
| | | | | | | | And switch to use \qml instead of \code, as the snippet is valid QML. Change-Id: I0680eb0427fd3537ab052bb20ce5d7468545ccb0 Task-number: QTBUG-51715 Reviewed-by: Nico Vertriest <nico.vertriest@theqtcompany.com>
* Fix hiding of horizontal scrollbar when content changesJoni Poikelin2016-03-101-2/+2
| | | | | | Task-number: QTBUG-50841 Change-Id: I189745968f9821e324ac25ed64a824bc8eaa9b23 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Clarify Slider::tickmarks' purposeMitch Curtis2016-03-091-1/+4
| | | | | Change-Id: I53d43d03216425e7493e7381ea31f1dfbf553d58 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Doc: Remove text mentioning validatorVenugopal Shivashankar2016-03-091-3/+1
| | | | | | | | | At least it is not documented anywhere how to set the validator for the SpinBox control. Change-Id: I6d31608306298d601a0f91f6b14d71f6775a5792 Task-number: QTBUG-51723 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* StyleData "selected" should be false on invalid rowsFilippo Cucchetto2016-03-041-0/+2
| | | | | | | | | | When a row is -1 the __mouseArea.selected(row) function should return false. Without this change the styleData.selected property could be true with invalid rows. See BasicTableView.qml:555 where "itemSelected: __mouseArea.selected(rowIndex)" Change-Id: I535782446b4afb17f560bca75ec8c17b65f1bafe Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.6.0' into 5.6Liang Qi2016-02-281-0/+98
|\ | | | | | | Change-Id: If5f50df30d1836086d26b7e478746c5b18399b0f
| * changes-5.6.0v5.6.05.6.0J-P Nurmi2016-02-251-0/+98
| | | | | | | | | | | | Change-Id: I82932e39147884c95326906501890746d35417a3 Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* | Fixing Dialogs plugins.qmltypesThomas Hartmann2016-02-221-0/+294
| | | | | | | | | | | | | | | | | | | | We have to explicitly define dependencies. Otherwise the prototypes will not be resolved in Qt Creator and e.g. in MessageDialog the title property is unknown. Change-Id: I187f63384724c2fc5f815d3d4bb0f0ecde15a3cc Reviewed-by: Marco Benelli <marco.benelli@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* | Added test for keyboard navigation in submenusFilippo Cucchetto2016-02-161-3/+97
| | | | | | | | | | | | | | This should test QTBUG-41951 Change-Id: I262f3e7ca1573dcfb149f3ae942e17817d2e1caf Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.5' into 5.6Liang Qi2016-02-150-0/+0
|\ \ | | | | | | | | | Change-Id: I196db88d242bc270c21282d152b949d737232650
| * | Update sync.profile to contain QtGraphicalEffects5.5Tony Sarajärvi2016-02-021-0/+1
| | | | | | | | | | | | | | | | | | Change-Id: I16f4822905f5c1cff5b4f02144b54058e82cae6f Reviewed-by: Marko Kangas <marko.kangas@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* | | Merge remote-tracking branch 'origin/5.6.0' into 5.6Liang Qi2016-02-158-118/+134
|\ \ \ | | |/ | |/| | | | Change-Id: I9eda2b5c68fa993a1aa1316e8b7b8fe3433e6a13
| * | Revert "Adjust popup position by offset of the view in the toplevel window"v5.6.0-rc1J-P Nurmi2016-02-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c717082c098bbfc96848457436ca83db7b83e4c8, which was applied to fix popup position mapping for window containers. However, that change lead to a release blocker by breaking the very same use case with QQuickWidget, which is used by Qt Creator and is considered the modern alternative to those problematic window containers. Change-Id: I72c6d4985668a8dc1d4e1cf6e98f7597bc7c1d8f Task-number: QTBUG-49097 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
| * | FileDialog: move shortcuts properties up to QQuickAbstractFileDialogShawn Rutledge2016-02-024-105/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QQuickQFileDialog does not inherit QQuickFileDialog, so the documented shortcuts property was not defined if your platform happens to use the QFileDialog implementation. As long as we are moving the public property, it's easiest to move everything related to shortcuts. Task-number: QTBUG-50673 Change-Id: Ic2baf4a3c83ca12edf11d7d011aaa78a389e0fde Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
| * | FileDialog: create FolderListModel asynchronously when first openedShawn Rutledge2016-02-021-11/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is only for the QML dialog implementation. The incubator should be able to do this without any UI freeze, however there can still be a delay when opening the dialog. It's better to delay at that time instead of during application startup. Task-number: QTBUG-46477 Change-Id: I31bada236ecbcfeb98ab98c511c65f95f1a1f83c Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
| * | Merge 5.6 into 5.6.0Oswald Buddenhagen2016-02-023-12/+47
| |\ \ | | | | | | | | | | | | Change-Id: I6496fe156e0aaac40c0459188bc0ee7c1f24167a
| * \ \ Merge remote-tracking branch 'origin/5.5' into 5.6.0Liang Qi2016-01-304-1/+15
| |\ \ \ | | | |/ | | |/| | | | | Change-Id: Ideb3ff546c83f52df6fa6a61fa7f91c628c43021
| | * | Fixed key event propagation with submenusFilippo Cucchetto2016-01-292-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a menu receive a Key_Right event and its subMenu popupwindow is already visible, the event should be discarded. In this way the event can forwarded up to the menubar for moving to the next root menu. Change-Id: Ifeb402f66fdac9fcf3a541456b929d11d36ad00d Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* | | | TreeView should update selection on release with ExtendedSelectionFilippo Cucchetto2016-02-121-8/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The selection shouldn't change on press if multiple items are selected and the user presses on an already selected item. This is the correct behavior on Windows and OSX where selection changes on release. Furthermore reacting on press prevents the end user to implement dragging. In fact if we react on press the selection changes before the dragging event starts. Change-Id: Iff5bca8efa5f0701c479f63ff8b1f442268a98d5 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* | | | Bump versionOswald Buddenhagen2016-02-081-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ib75095fa3c78c4329ee785e1418371139260d56b
* | | | Doc: Added qmlpropertygroup statementsNico Vertriest2016-02-032-0/+2
| |_|/ |/| | | | | | | | | | | | | | | | | Change-Id: Ia5aa9889dba5d2b38f20b2dc9ee6dc29efa184a5 Task-number: QTBUG-43810 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com> Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
* | | Merge "Merge remote-tracking branch 'origin/5.5' into 5.6" into refs/staging/5.6Liang Qi2016-01-272-0/+8
|\ \ \