aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
Commit message (Collapse)AuthorAgeFilesLines
* Fix style inheritance for popupsJ-P Nurmi2016-01-082-2/+2
| | | | | | Change-Id: I7bc36cb68e8d668fff2270e018de7eb1c71ccd20 Task-number: QTBUG-50347 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Material style: hide implementation detailsJ-P Nurmi2016-01-082-2/+5
| | | | | Change-Id: Ib797d34014c5faddc05e93f6fc5c4f95c5664997 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Material: sync ProgressBar height with AndroidJ-P Nurmi2016-01-071-2/+2
| | | | | Change-Id: I4e7864e39fcf6dc8f3f0f821e2c9129a472967ba Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Material: fix BusyIndicator on high DPIJ-P Nurmi2016-01-071-4/+7
| | | | | | | Take the device pixel ratio into account Change-Id: Icd2aa70018254975675d284ce77f6db02af9517a Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Fix plugins.qmltypes for designerThomas Hartmann2016-01-071-154/+0
| | | | | | | | | Multiple definitions of "QQuickItem" break the inheritance hierarchy required for Qt Quick Designer. Change-Id: I867a2fa7cdbb0054518c566ae31d8d9dc859b7a1 Reviewed-by: Marco Benelli <marco.benelli@theqtcompany.com> Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Implement default ProgressBar according to designsMitch Curtis2016-01-065-30/+424
| | | | | Change-Id: I7f973deec7453c4b80c03b3dc063f4d0dbe850c5 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Correct TextArea/TextField visualsMitch Curtis2016-01-062-1/+2
| | | | | Change-Id: I812f36c5ff7ca0e5cf3c7e8f866a756584a1a220 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Busy animators: fix access to childContainerNode()J-P Nurmi2016-01-052-10/+34
| | | | | | | | | Accessing QQuickItemPrivate::childContainerNode() in updateCurrentTime(), which is executed in render thread context, is not safe and may cause random crashes. Change-Id: Ibbdf387f7e8d593740452e56b819a6d7fd9341e6 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Material: declare dependency on QtGraphicalEffectsJ-P Nurmi2016-01-051-0/+1
| | | | | Change-Id: I5c79641b2f4e4eb39acc8d102e7d9494f71a9dd1 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* MenuItem: specify baseline offsetJ-P Nurmi2016-01-053-0/+3
| | | | | | Change-Id: I55eaf9d49785377c50d6c5dff6923c90a304d6bc Task-number: QTBUG-49468 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Material: add missing MenuItemJ-P Nurmi2016-01-052-0/+155
| | | | | Change-Id: I0cb591f6c5e09328b34df98772178b7fd6aa6035 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Docs: templatesJ-P Nurmi2016-01-053-0/+118
| | | | | | Change-Id: I4b28b2c847869a3768e40ba835cda04191ca18d6 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Universal: fix resources prefixJ-P Nurmi2016-01-042-2/+2
| | | | | Change-Id: I57f53777cba9f15e75722bbbad2a083dc3d0141a Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* SpinBox: specify baseline offsetJ-P Nurmi2016-01-043-0/+3
| | | | | | Change-Id: I81c8ea1dd8086cb2913998c5c91339b9b0ad0247 Task-number: QTBUG-49468 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* ItemDelegate: specify baseline offsetJ-P Nurmi2016-01-043-0/+3
| | | | | | Change-Id: I5bbcd762f2a70822262490835bf46caaa95f4c07 Task-number: QTBUG-49468 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Make sure that Dial is always circularMitch Curtis2016-01-043-17/+21
| | | | | | Task-number: QTBUG-49958 Change-Id: Ifbb14987e503aaa59651e65a2b8cfd99f2907154 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Remove unused Material::primaryJ-P Nurmi2015-12-252-62/+0
| | | | | Change-Id: Ied4c732ed9147f6f8f03b7165057e74a17274b7f Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Universal: add support for user-defined accent colorsJ-P Nurmi2015-12-2519-85/+108
| | | | | | Change-Id: I23863519269deddb3a6007657fc93e83f33be842 Task-number: QTBUG-50103 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Material ToolBar backgroundJ-P Nurmi2015-12-251-2/+10
| | | | | | Change-Id: I214c646de05b95d04a1b759820b93d02006c9206 Task-number: QTBUG-50025 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Material: sync overlay background dimming with popup animsJ-P Nurmi2015-12-231-1/+1
| | | | | Change-Id: I709ce35ae21cf105d6328071cf8408e1f21e5d42 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Docs: high-DPI supportJ-P Nurmi2015-12-232-1/+64
| | | | | | | Change-Id: Id4308c610669bfff92d09f88eb90cdc240238cd9 Task-number: QTBUG-50002 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Doc: GalleryJ-P Nurmi2015-12-235-2/+70
| | | | | Change-Id: If8ec0bfef5db602472c54745102d6d20b61e5e47 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Material: set default transitions for PopupJ-P Nurmi2015-12-215-1/+99
| | | | | Change-Id: I3844718c4a6fa0410f6d8670390878e4521976c0 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Replace Q_DECLARE_TYPEINFO(T, Q_COMPLEX_TYPE) by QML_DECLARE_TYPE(T)J-P Nurmi2015-12-2114-33/+30
| | | | | | | | | | | Q_COMPLEX_TYPE tells Qt containers that the type has a ctor/dtor and that it may not be moved in memory using memcpy(). QML types are never stored by value in Qt containers (non-copyable QObjects), so the type info declaration is superfluous. QML_DECLARE_TYPE, however, is useful (QTBUG-49920) and consistently used for all QtQuick types. Change-Id: I3bd1718b306fa7af85a623fa7a17e1b9653d2152 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Doc: stylesJ-P Nurmi2015-12-216-35/+189
| | | | | | Change-Id: I9d1beb753ec8525a3b1f1ce2a7afdc2621bc86af Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Material: increase ToolBar sizeJ-P Nurmi2015-12-202-3/+3
| | | | | | | | Android has 46dp in portrait, 40dp in landscape. We had 26, which felt very small. Increase to 40 and see if it feels better. Change-Id: Iaf3152e3688e3288712f78247a1396c83ae42f89 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Material: set transitions for ComboBox popupJ-P Nurmi2015-12-191-1/+15
| | | | | Change-Id: I24b7a05224073d5094b92f49ef7f1c908dac806b Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Rename Popup transitionsJ-P Nurmi2015-12-193-6/+6
| | | | | | | | | Use Android-inspired enter & exit, which eliminates the need of using a "transition" suffix, and also less prone to appear in auto-completion when new users try to open/show/close/hide popups. Change-Id: I3a448d3e9be33fbfffbf08488858aa63a70233f2 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Material: use QRgb instead of color namesJ-P Nurmi2015-12-191-318/+318
| | | | | | | | | | Constructing colors from QRgb (typedef unsigned int) is an order of magnitude faster than parsing named color strings. The same change was applied to Universal in 87a4d34. Change-Id: I3d44e913fe48a8fb2b7c1caf5f84e3291e60945d Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* StackView: update Material style transitionsJ-P Nurmi2015-12-181-6/+18
| | | | | Change-Id: I5d294424d526e6082d2e5f23e69ed0e1f8dfe212 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Universal: set larger touch areas for SpinBox buttonsJ-P Nurmi2015-12-181-9/+11
| | | | | | Change-Id: Id7b6bb25b69deb1d0a7a12bb7d2416faf5a3adba Task-number: QTBUG-50033 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Material: show/hide transition for MenuJ-P Nurmi2015-12-181-0/+13
| | | | | Change-Id: I710aa7d12353374b852078379738c755073c5da3 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Material style for MenuJ-P Nurmi2015-12-185-6/+90
| | | | | Change-Id: Ifb00d1ddfc326cf206f6d1ffd93ccbe248eb5a3d Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Update plugins.qmltypesJ-P Nurmi2015-12-173-18/+1726
| | | | | | | | | The contents of templates/plugins.qmltypes has been manually copied to controls/plugins.qmltypes as suggested in the linked bug report. Change-Id: I6b71af2aa85f6e87f42689018f7814e5c139b7c8 Task-number: QTCREATORBUG-15137 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Button: visualize disabled state more clearlyJ-P Nurmi2015-12-172-1/+4
| | | | | | Change-Id: I0b1bec4aa2c17e875a9a9580e10db80f6b21bc35 Task-number: QTBUG-50008 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* ToolButton: support highlighted modeJ-P Nurmi2015-12-173-7/+6
| | | | | | Change-Id: I8fb754080e204384e0215d60e819f9eaac204de7 Task-number: QTBUG-50018 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* ProgressBar: tweak the default styleJ-P Nurmi2015-12-171-9/+4
| | | | | | | | | The animation is not according to the designs, but the overall looks are now a bit closer (no rounded corners or empty padding). Change-Id: Ia3ee94390f99c7ccc320e2ae87ae1d6d986ed33c Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Material: fix mis-aligned text in tabsJ-P Nurmi2015-12-171-2/+2
| | | | | | | | Same as 5f5654f but for the Material style. Change-Id: I5d206c396099af6dafbe828438cdf9262896502e Task-number: QTBUG-48718 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Implement BusyIndicator according to designsMitch Curtis2015-12-169-23/+310
| | | | | | Change-Id: Iffaafc1d5512b4e47a7c6c304a3883ab8d986b12 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Make Drawers use the overlay background dimmingJ-P Nurmi2015-12-162-14/+2
| | | | | Change-Id: I6ec68983b06918d60acc2d60164d70cac0e37fac Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Prefix resources to avoid clashesJ-P Nurmi2015-12-167-9/+9
| | | | | Change-Id: Ia166a0acd1cfae92ba096a687a574f3645fc6f5c Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Run optipng -o7 -strip "all" over default style imagesJ-P Nurmi2015-12-1615-0/+0
| | | | | | | | | | | Strip contained color profiles causing the warning: libpng warning: iCCP: known incorrect sRGB profile Same was done to QQC1 in 58b8833. Change-Id: I4773f59ed6e76e83c2e6b8f5caf3666433f87cb9 Task-number: QTBUG-49924 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Replace QLatin1Literal occurrences with QStringLiteralKonstantin Ritt2015-12-162-4/+4
| | | | | Change-Id: I37bd9dd933c2125dbe6d382bf6d0a6a46b31c1dd Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* UniversalTheme: Fix typo in the system font family nameKonstantin Ritt2015-12-161-2/+2
| | | | | Change-Id: I5eefd75677a5762fed848c1e174211abd00bafba Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add Overlay::background that is shown when any modal popup is openJ-P Nurmi2015-12-155-0/+20
| | | | | Change-Id: Idc2a5bbb5cf7a08ff21731537a378b1dd8050833 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Expose the actual type of QQuickApplicationWindow::overlay()Mitch Curtis2015-12-151-0/+2
| | | | | | Change-Id: I4fdff4049d469781ad6324a0d85cc519bd95a038 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Material: fix drop shadowsJ-P Nurmi2015-12-153-44/+59
| | | | | Change-Id: Ic4b1152a0a8a28a64721f064ccd09b669a12e795 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Universal: fix Pane backgroundv5.6.0-beta1J-P Nurmi2015-12-141-1/+1
| | | | | Change-Id: I8187a968f4f11438c02374ffb2b6b8d33ecb8dc1 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Remove QQuickStyleSelector::instance()J-P Nurmi2015-12-143-39/+38
| | | | | | | | | | | It was a bad idea to share the same instance, because non-thread-safe instance() ends up being called from multiple threads. Let the style plugins create their own instances instead, QQuickStyleSelector ctor is not that heavy and there's no such shared state as originally was anticipated. Change-Id: Ie23091c6dd50f5d7abbab3b996da4471054da89a Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Material style: read theme, accent & primary from qtlabscontrols.confJ-P Nurmi2015-12-142-4/+37
| | | | | Change-Id: Ie55978ae9c76789cf7796752ceefd183c063662b Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>