aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
Commit message (Collapse)AuthorAgeFilesLines
* Fix Qt include statementsFriedemann Kleint2018-05-221-1/+1
| | | | | | | | | | | Change #include <QtCore/QDebug>, #include <QDebug> to #include <QtCore/qdebug.h> according to the coding style. Change-Id: I45fa5e55222e6913972d743908c47480b23cd92c Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Remove the code to manually initialize resources in static buildsSimon Hausmann2018-04-271-8/+1
| | | | | | | | | After commit be9a56e5e3ced5d0d668fa24e4c65ae928f2e25a in qtbase, this is not needed anymore. Instead the resource system injects the plugin entry point with a reference to all resources. Change-Id: I9c47e29e336efac47e41a583bb1ba4368f3170fd Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix build of the QML import with -no-openglFriedemann Kleint2017-01-251-1/+1
| | | | | | | | Add -luser32 in that case. Task-number: QTBUG-58415 Change-Id: I052dac8b44409f60b461e93f463d0e4854718a57 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Eradicate Q_FOREACH loops and mark the libraries as Q_FOREACH-freev5.8.0-beta1Marc Mutz2016-09-054-4/+7
| | | | | Change-Id: I4dbad7ab4c9f467b2e2fd90eff44e1c4a58d43e2 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Improve robustness of QML plugin loadingv5.8.0-alpha1Simon Hausmann2016-08-261-1/+1
| | | | | | | | Use a variable that expands to the latest plugin version instead of hard-coding the string. Change-Id: Ica08496d3a9a357db32d0cd1e0abc8503c575c2e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Adjust to qtConfig() changes in qtbaseLars Knoll2016-08-191-1/+1
| | | | | | Change-Id: Ia72129947858da59a05a7114a5b35514e443909f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Enable using the module in a statically built applicationv5.7.0-alpha1Andy Shaw2016-02-262-0/+9
| | | | | | Change-Id: I703af8402b38309562c2de9029070ac19a36c7f0 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
* Updated license headersAntti Kokko2016-01-1922-327/+459
| | | | | | | | | | From Qt 5.7 -> LGPL v2.1 isn't an option anymore, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new LGPL header instead of LGPL21 one (in those files which will be under LGPL v3) Change-Id: Ie3a7eb2a349a0c80b8ae4ca5f4a32baf7a646fa1 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Add missing "We mean it" comments to private headers.Friedemann Kleint2015-10-0510-0/+110
| | | | | Change-Id: I27447f8bf4a3243e517d1f2c7ad7b07d00d2e83f Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
* Update plugins.qmltypesKai Koehne2015-09-171-2/+157
| | | | | | Change-Id: I8f8e221b6c9d9e06a7b18bfcc979a9b9e27e2077 Reviewed-by: Marco Benelli <marco.benelli@theqtcompany.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
* Port to new Q_ENUM macro.Friedemann Kleint2015-04-021-1/+2
| | | | | Change-Id: I0b6d44dfed0a7b71f84dc175fd3c82831cc7fc90 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Update copyright headersv5.5.0-alpha1Antti Kokko2015-02-1622-151/+151
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: Ia5781193927251d6b6786f53a9b1cfba9e6d0782 Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.4' into devFrederik Gladhorn2015-01-021-2/+7
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I0e3a17d947087a01ea98826c73ad190165751c04
| * Update plugins.qmltypesKai Koehne2014-12-051-2/+7
| | | | | | | | | | Change-Id: If4fa3c8d3fcc150535e9d513f87e0bee2a2ad9d1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
* | Use Qt 5 signals & slot syntax.Friedemann Kleint2014-12-172-7/+7
|/ | | | | Change-Id: I548076eebc2c8f1204ef76bb4e6e09ed00352553 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Update license headers and add new license filesAntti Kokko2014-08-2422-410/+234
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I4852e1e3fb306319e63d919675acad9a64e43db6 Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* Implement iconic live previews/iconic thumbnail icons.Friedemann Kleint2014-07-073-0/+127
| | | | | | | | | | | [ChangeLog][QWinThumbnailToolBar] Added pixmap properties and change notifications for thumbnail icons and live preview. Task-number: QTBUG-36730 Change-Id: I31ad0ff347235bc7933c1c14dece359ec0c36b39 Reviewed-by: Oliver Wolff <oliver.wolff@digia.com> Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Refactor QQuickIconLoader.Friedemann Kleint2014-07-026-108/+178
| | | | | | | | | | | | Instead using a QObject with a single icon member variable that needs to be instantiated for each task bar button, introduce a static load function that takes a member function pointer accepting a QVariant. For synchronous requests, invoke it immediately; connect it to a slot for network requests. Task-number: QTBUG-36730 Change-Id: Ic70422d98d0bc3d486b32fb3534400b9fff8d324 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fix build with dynamic GL.Friedemann Kleint2014-05-281-0/+2
| | | | | Change-Id: I9dafdea8745e680a20c162496f3b5089b38037de Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
* Add missing include for QQuickDwmFeatures plugin.v5.2.0Friedemann Kleint2013-12-031-0/+1
| | | | | | | Task-number: QTBUG-35260 Change-Id: I8145fd8a98b8549de7e819740e6b7529d0785488 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Add plugins.qmltypes fileKai Koehne2013-11-301-0/+207
| | | | | | | Task-number: QTBUG-35207 Change-Id: If6843d71c2d6e0a9afec3dca3683ac0fcd1188b6 Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Change camel-case header <QWinFunctions> to <QtWin>Sze Howe Koh2013-10-292-2/+2
| | | | | | | | | | | Name the header after its namespace, to reduce the number of names developers must remember. Change-Id: I7b653886c1b504678d73117dfa4a9bfe2a2edbc4 Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Fix and change the way QQuickDwmFeatures works.Ivan Vizir2013-10-073-28/+81
| | | | | | | | | | Made it update each DWM property separately but not all at once every time a property changes. Added manual test for DwmFeatures QML item. Added blurBehindEnabled property. Change-Id: Icfa6fb922be0ac4554c232ba4b41b71d0e7585ca Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Turn QtWin back to a namespaceJ-P Nurmi2013-10-026-12/+90
| | | | | | | | | | | The conditional QT_WIDGETS_LIB inline functions won't work on MSVC when they are class members. Symbols would have to be exported from the lib. The enum duplication can be hopefully solved later by adding Q_ENUMS() support for namespaces. Change-Id: Ibf01e9c64db2be7e5f189f2088e879e9d8fabf54 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Docs: fix "missing \qmlpropertygroup" warningsJ-P Nurmi2013-10-021-0/+2
| | | | | | Change-Id: I73eab1f97e43726e7092d91c7898b8f628f19808 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
* Rename QML JumpLink/Destination to JumpListLink/DestinationJ-P Nurmi2013-09-264-16/+16
| | | | | | Change-Id: If7e761e435e75c218f50c50f8940428bb8c14a23 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Sync the jump lists QML APIJ-P Nurmi2013-09-268-200/+537
| | | | | | | | The C++ API was changed - update the QML API accordingly. Change-Id: I89d0939c4ffc27580e7db53a479db4ff70ee0fef Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Jump Lists: introduce "categories" & hide COMJ-P Nurmi2013-09-202-13/+6
| | | | | | | | | | | | | | | | | | | | QWinJumpList now has three built-in categories: Recent, Frequent and Tasks. In addition to that, user can add custom categories. A new type, QWinJumpListCategory, represents all these categories, providing access to items in the category. The former COM-like begin(), append(), commit(), abort() API has been replaced by a more property/ attribute-based API. The jump list automatically invalidates and lazily rebuilds itself behind the scenes. Furthermore, the API has been minimalized for now - restoring the application identifier as a full-fledged property is in the works. Change-Id: I623a658b4b1fcfc881006f67e2300acadb483c97 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
* QQuickDwm: use QtWin::WindowFlip3DPolicyJ-P Nurmi2013-09-164-26/+13
| | | | | | Change-Id: Ifa74acbf7cde330838b37505e18a5b7376116216 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Revamp QQuickDwmFeaturesJ-P Nurmi2013-09-133-27/+56
| | | | | | | | | | Add missing change notifiers, fix property names vs. isFoo() accessor names, remove unused member variables, fix the event filter and add missing updates... Change-Id: Ie86a89dc1415ad082ac5c2e839245d55a446a1d4 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Overhaul the TaskbarButton QML typeJ-P Nurmi2013-09-123-43/+101
| | | | | | | | | | Make the overlay a grouped property, and use QQuickIconLoader internally to support remote icon sources. Change-Id: I888244fe5384702dceebe372b0bd0dd50891629a Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Tidy up the QtQuick classesJ-P Nurmi2013-09-1115-200/+214
| | | | | | | | | | | - not part of the public API => private header naming convention - unify class names (quick-prefix vs. win-prefix vs. quickwin-prefix) => drop the superfluous win-prefix from the class names, just like for the registered QML type names Change-Id: I408cb22b38ae1db71e9bd7cdb8fa29c1aa1f504a Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Tidy up the QML extension pluginJ-P Nurmi2013-09-103-82/+20
| | | | | | | | | Remove redundant qwinextrasplugin.h, fix Q_PLUGIN_METADATA(), and rename qwinextrasplugin.cpp to plugin.cpp to follow the established convention in qtdeclarative/src/imports. Change-Id: I6f2f710283cfdd43fa15b01dcc63bcb65ab1eca7 Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Rename namespace QtWinExtras to QtWin.Friedemann Kleint2013-09-101-13/+13
| | | | | | | | | As discussed on mailing list. Change-Id: I7ef41d758730998e365d9e616118c4a7c811eebf Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* TaskbarButton::overlayAccessibleDescriptionJ-P Nurmi2013-09-062-11/+9
| | | | | | | | | | | | | Unify the following properties to "overlayAccessibleDescription": - QWinTaskbarButton::overlayIconAccessibilityDescription and - QQuickWinTaskbarButton::iconDescription. "overlayAccessibleDescription" is nice pair for "overlayIcon" and more importantly, consistent with QWidget::accessibleDescription. Change-Id: Id5c3afb1c9db6881876983ce482d622c90db3f2d Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* ThumbnailToolBar: support dynamic button manipulationJ-P Nurmi2013-09-052-3/+76
| | | | | | Change-Id: I5c424f883134ea2352f7cda6100525bd6b4a00d8 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Unify QML type namesJ-P Nurmi2013-09-052-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | Currently few of the QML types have a Win-prefix while others don't: - WinDwmFeatures, WinTaskbarButton, WinTaskbarProgress - JumpList, JumpListItem, JumpListCategory, ThumbnailToolBar, ThumbnailToolButton In QML it is easy to import stuff into namespaces to avoid potential conflicts, or to do it just for clarity if one prefers: import QtWinExtras 1.0 as Win Win.JumpList { ... } => Remove the hardcoded Win-prefix that is unnecessary for QML types. Change-Id: I699498640e5d7c32695193147323b929cf5dae86 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Alan Alpert <aalpert@blackberry.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* QWinTaskbarButton::progressBar() -> progress()J-P Nurmi2013-08-301-1/+1
| | | | | | | | | | The class is called QWinTaskbarProgress -> use the same name for the accessor. That name was also used for the QML grouped property name since it looks really nice. :) Change-Id: I6c46ea4336dd3f420b16a305de47b490f7629adb Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Grouped WinTaskbarButton.progress propertyJ-P Nurmi2013-08-303-81/+7
| | | | | | | | | | | | | Usage in QML becomes: WinTaskbarButton { progress.value: 50 progress.visible: true } Change-Id: I5cd4b2d99fc110709e056b3d6c5f0c89b03735e3 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Fix namespaced build.Friedemann Kleint2013-08-281-2/+2
| | | | | Change-Id: Ie1e51e2aed78e16145a7f7ca548921a40ecb122f Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Rename the QWinExtras namespace to QtWinExtrasJ-P Nurmi2013-08-281-12/+12
| | | | | Change-Id: I24cc4cfa5b51d14bc70a895d625c98e49af4537d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Refactor QWinTaskbarProgress out of QWinTaskbarButtonJ-P Nurmi2013-08-282-13/+14
| | | | | | Change-Id: I8b95d7804d9070c8e93993ad6acf5c22d964880d Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Rename QJumpList(Item) to QWinJumpList(Item)J-P Nurmi2013-08-132-14/+14
| | | | | | | | Follow the existing QtWinExtras class naming convention. All the other public classes are currently named QWinXxx. Change-Id: I2509961e280b9794547e7420b941469fc8cdd2fa Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Fix license headersSergio Ahumada2013-08-0618-18/+18
| | | | | | Change-Id: Ibe5544297ee69e776e81dd39e61c99430fe1de0e Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Ivan Vizir <define-true-false@yandex.com>
* Revamp the jumplistsJ-P Nurmi2013-08-061-0/+1
| | | | | | | | | Follow Qt coding conventions, and also split the item to it's own .h & .cpp files for more pleasant maintenance. Change-Id: I1c8915c738a8697097a9ab66a0e47bdef8b892bd Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Doc: Fix the "since" field for Quick itemsCaroline Chao2013-08-066-7/+7
| | | | | Change-Id: Idb85a95f48fe1aa1b88512d7be006d81d952f1b5 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Add missing QDebug include in qwiniconloader.cppCaroline Chao2013-08-061-0/+1
| | | | | | | Needed for qWarning(). Change-Id: Ibc9ea41942e1412770a403bcc11419551586b2f6 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Introduce ThumbnailToolBar and ThumbnailToolButton QML typesIvan Vizir2013-08-058-3/+732
| | | | | | Change-Id: Ie47ac13a2ece9ba67767e6d45c7885417f30b448 Reviewed-by: Caroline Chao <caroline.chao@digia.com> Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
* Simplify the event typesJ-P Nurmi2013-08-021-4/+3
| | | | | | | | | | Dedicated classes for parameterless event types and pimpl in event classes is overkill. Following the QEvent conventions, some "int/void* reserved" can be added if felt necessary. Change-Id: Ie5536dd8c68333be07ebae13ac5c74129236e9df Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Doc: add descriptions for all QML typesLeena Miettinen2013-07-316-8/+33
| | | | | | | | Each type must have at least one paragraph of descriptive text in addition to a \brief. Edited the briefs where necessary. Change-Id: I0cfaa37b39bab0be8409e4bf6ac8c4b6e5a77bf3 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>