summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use the renderType property to get native textwip/qt5-nativetextqt5-nativetextEskil Abrahamsen Blomfeldt2012-08-0814-14/+61
| | | | | | | | The property was recently introduced and allows enabling the system font rasterizer. Change-Id: I2aee4b88e743c169eac5d5f06ff185ec347511e7 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
* Remove unused QTopLevelWindow::sizeChanged() signalGabriel de Dietrich2012-07-062-2/+0
| | | | | Change-Id: Ibdb5c6b20e1c89ea24cc383ced280c5704daba01 Reviewed-by: J-P Nurmi <j-p.nurmi@nokia.com>
* Remove dead code from StyleItemAdriano Rezende2012-07-051-51/+0
| | | | | Change-Id: I11c4e84931ee1ce9980a636c95ad398e9920ed34 Reviewed-by: Gabriel de Dietrich <gabriel.dietrich-de@nokia.com>
* Remove deprecated CursorAreaAdriano Rezende2012-07-055-173/+2
| | | | | | | All components now use the new MouseArea API. Change-Id: Id6380a71c1c3d0489b8a31ba1e95ca6fafd2b7bf Reviewed-by: Gabriel de Dietrich <gabriel.dietrich-de@nokia.com>
* Remove dummy StyleItem inside SliderAdriano Rezende2012-07-051-9/+4
| | | | | | | | | We should not bind the size to this dummy item, since the delegate can be changed leading to a wrong implicit size in that case. Change-Id: Ibeff637dba1ea485abdb6801685f5262a3843ca7 Reviewed-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Fix text highlight colorJens Bache-Wiig2012-07-053-0/+6
| | | | | Change-Id: Icfcf99561129a09820c2d5ddf1972f11491adf0b Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* StyleItem: update when enabled/disabledJ-P Nurmi2012-07-052-0/+4
| | | | | Change-Id: I45a2c4833d289748548100b6c543019c0c5d2e6b Reviewed-by: Gabriel de Dietrich <gabriel.dietrich-de@nokia.com>
* Removes implicitWidth and implicitHeight override from QQuickItemDaker Fernandes Pinheiro2012-07-052-23/+1
| | | | | | | | These properties were added in QDeclarativeItem after QtQuick 1.1. Now they can use the parent's value. Change-Id: Iddacb1c25caead38be09b75fe5d198bd6ef6daff Reviewed-by: Adriano Rezende <adriano.1.rezende@nokia.com>
* Add missing copyright in ApplicationWindowAdriano Rezende2012-07-051-0/+40
| | | | | Change-Id: Id00cdebc4b1757215fc1bf9aa07e1e4f77242d2e Reviewed-by: Adriano Rezende <adriano.1.rezende@nokia.com>
* Fix ScrollBar implementationAdriano Rezende2012-07-051-2/+4
| | | | | | | | The styleitem is not a valid id anymore since the content is being loaded dynamically now. Change-Id: I4bdada523179fbd330e7877c265ac1011fcdb8b2 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Remove overriden final properties in QWindowItemGabriel de Dietrich2012-07-053-67/+48
| | | | | | | | | | | x, y, width, and height are declared as final in QQuickItem, and should therefore not be redefined in inherited classes. Also changed the event filter accordingly. Change-Id: Ife4f655235916f96b0608c6d20593ef50d3d4313 Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Fix Splitters to use new APIAdriano Rezende2012-07-053-10/+39
| | | | | Change-Id: I7ce96151cfb57c46f5132e70530c2ec339ff59ae Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Remove Qt 4 support in QWindowItemGabriel de Dietrich2012-07-044-122/+3
| | | | | | | There's a separate branch for Qt 4. Change-Id: I2d89b169f6a8eece7b4f2f3ff78ee2e3f72b7cc0 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Support key navigation for CheckBox and RadioButtonAdriano Rezende2012-07-042-6/+14
| | | | | | Change-Id: I9dbce4d9d8a6339b2424a94ce15afcec21896b86 Reviewed-by: Leonardo Sobral Cunha <leo.cunha@nokia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Handle key press and release correctly for buttonsAdriano Rezende2012-07-043-11/+12
| | | | | | | | | The clicked signal should not be emitted multiple times when the button is just pressed. Change-Id: I3f1f3ab7f135b366150af985b41409afa0130568 Reviewed-by: Leonardo Sobral Cunha <leo.cunha@nokia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Add key navigation manual testAdriano Rezende2012-07-041-0/+99
| | | | | Change-Id: I5419e66091a2a6a400e0a9389aaffb4637cb6f1f Reviewed-by: Leonardo Sobral Cunha <leo.cunha@nokia.com>
* Fix ToolTip and improve ButtonBehaviorAdriano Rezende2012-07-039-124/+58
| | | | | Change-Id: I099aa93a8ee28c5e7e76ef8e316449266acbadd2 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* SplitterGallery: fix references to obsolete Splitter.minimumSizeJ-P Nurmi2012-07-031-3/+3
| | | | | | Change-Id: If31b9dcf8d6c40ef32fc98dc1481a1a6ff9e27a3 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Splitter: fix function bindingJ-P Nurmi2012-07-031-1/+1
| | | | | | Change-Id: Ifd032941a3602f8f87c2c6332a1119c4e55d66ea Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Fix south tab alignmentJens Bache-Wiig2012-07-021-1/+1
| | | | | Change-Id: I2cf2bfef90988fad3f389ab7821035ef105d1691 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Refactor and simplifyJens Bache-Wiig2012-07-0220-132/+128
| | | | | | | | | | - Made ScrollBar, TabFrame, Tab, Frame styleable - Renamed background delegates to delegate - Removed redundant sizing code - Removed backgroundItem Change-Id: I30904047d203e404b90ae01eaab2e8c4431879ed Reviewed-by: Gabriel de Dietrich <gabriel.dietrich-de@nokia.com>
* list qmldir in alphabetical orderLeonardo Sobral Cunha2012-06-301-23/+24
| | | | | | Change-Id: Id9730dcc6f4fdcdbc86d7d5d0df9e9f05957a47a Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Remove qdeclarativefolderlistmodelJens Bache-Wiig2012-06-294-623/+0
| | | | | | | | Not used for anytning so lets kill it Change-Id: If68efb4c6e90f5c88e33728cee23df12bb7fb1d1 Reviewed-by: Leonardo Sobral Cunha <leo.cunha@nokia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Add back BasicButtonJens Bache-Wiig2012-06-291-0/+105
| | | | | | Change-Id: I4dd0a3d579650d8798b47cde9ff1bbf48a5cab47 Reviewed-by: Leonardo Sobral Cunha <leo.cunha@nokia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Add RowLayout and ColumnLayout componentsAdriano Rezende2012-06-299-2/+1508
| | | | | | | | These components provides a more powerful layout features necessary for desktop applications. Change-Id: Id41fc7dedeac46128775c56cc0c1d18515b67d54 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Remove images folder from componentsJens Bache-Wiig2012-06-291-0/+0
| | | | | | | This contained only an unused image Change-Id: I028f8f79fffa68c1b518d74ec19e000c7a104116 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Remove shadereffectsJens Bache-Wiig2012-06-291-80/+0
| | | | | | | This has no place in desktop right now. Change-Id: I44dd55007f4762d90c79007b700d849f0c232b28 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Refactor and remove "custom" componentsJens Bache-Wiig2012-06-2941-1527/+728
| | | | | | | | | | | The custom subdirectory doesnt make much sense for desktop and adds an uneccessary abstraction layer. This patch removes it and removes some of the properties that are no longer required. Change-Id: I65c44db54f6f97bbc1e69d85d35d55464dac794e Reviewed-by: Gabriel de Dietrich <gabriel.dietrich-de@nokia.com>
* Fix uninitialized variables in StyleItemAdriano Rezende2012-06-291-1/+6
| | | | | Change-Id: Iac540a4f4672fc627d3f088547a75a3d69e46b0d Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Create proper binding for Splitter widthFrederik Gladhorn2012-06-271-1/+1
| | | | | Change-Id: I96f70dbce3187f8821a6a7bd8ff50dd4c0fc6778 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Add missing import (Desktop 2.0)Frederik Gladhorn2012-06-271-0/+1
| | | | | Change-Id: I2458f1b37b09e08fcf66495bc3eaa92fbba7063f Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Bring ApplicationWindow to Quick 2Frederik Gladhorn2012-06-271-1/+1
| | | | | Change-Id: I307662627ca5fed8086736ce8560af05f23cb930 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Improve TextArea marginsFrederik Gladhorn2012-06-271-37/+32
| | | | | | | | | | | | Remove some extra item and other confusing things. Now the margins should be right and the right aligned text works properly. Thanks to Gabriel for doing the actual work. Change-Id: I1ef0cebb2e2c6678cef9a420fb8015474ac7305d Reviewed-by: Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Use QtQuick2Sukhyun Kim2012-06-271-1/+1
| | | | | Change-Id: Ic67cd155d9ca8aa2ab5711979af557d9ff5aa7bc Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Remove dependency on XmlListModelJens Bache-Wiig2012-06-221-10/+10
| | | | | | | | This is not really needed for desktop components and causes problems since it is not a dependency of qtdeclarative Change-Id: I1d1debbffab994ed48f8377c485233dd9043e40e Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Make menu example work a bitFrederik Gladhorn2012-06-221-12/+14
| | | | | Change-Id: Ib48425db49cccff573360271b896eba98229056c Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Remove mac specific hackJens Bache-Wiig2012-06-221-4/+0
| | | | | | | No longer needed for Qt5 Change-Id: Ibd302f49657e3424e1c036374d2c19451c26c4ec Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Allow right-aligned text in TextAreaFrederik Gladhorn2012-06-211-0/+1
| | | | | Change-Id: Ic586b99fcae54e32a33f5d6084b65f677248eb22 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Fix hover for TooltipAreaFrederik Gladhorn2012-06-212-4/+4
| | | | | Change-Id: I66a30d7cb7ed01a45b806681da8f6076a3eea978 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Remove old merge conflict, use QQuick 2Frederik Gladhorn2012-06-212-5/+1
| | | | | Change-Id: If16005177415341272122c434071f074b85ed8ac Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Get rid of activeWindow hack in menuFrederik Gladhorn2012-06-211-5/+3
| | | | | Change-Id: Ia5fcbbd7cf910594ed0b1d3ba5da07900aa2b7a0 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Position popup menu correctly.Frederik Gladhorn2012-06-211-2/+3
| | | | | Change-Id: I6785f1caa55c60a5d9aa1567b1d5831ec7bbc896 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Fix crash when using ContextMenuGabriel de Dietrich2012-06-211-2/+0
| | | | | | | | | | | There is no such 'rebuildMenu' signal, either. Crash is directly related to QTBUG-26223. The patch by Gabriel should have gone to the qt5 branch. Change-Id: I24f3dfc9f55d693e45916cab847cc73fd479b48a Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
* Fix mouse wheel handling.Frederik Gladhorn2012-06-202-27/+7
| | | | | | | | QQuick2 doesn't send mouse wheel events through the general event() function any more. Change-Id: I52299670f4956c94d9dd6804aa7e737cfc9f48df Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
* Copy ContextMenu.qml changes from the master branch.Morten Johan Sorvig2012-05-231-16/+44
| | | | | Change-Id: I115db8505eff673b7dae65fbe9f1689661df76ab Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
* Relicense lgpl and non-commercial to BSDJens Bache-Wiig2012-05-2130-261/+715
| | | | | Change-Id: I7ab9a8e64495c5586499f826e865550347778249 Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
* Remove Mac visibility workaround on Qt 5.Morten Johan Sorvig2012-05-211-1/+1
| | | | | | | | WA_DontShowOnScreen now works the same way on all platforms. Change-Id: If7c5416e4f38b4c5ac955c861aad5b1ee55aef05 Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
* Don't use QMainWindow on Qt 5.Morten Johan Sorvig2012-05-215-137/+26
| | | | | | | | | Simplify and make QQuickView the top-level window. Menus still work on OS X, other platforms are unknown. Change-Id: Ic5bd505ed91675dd34aef7ee2926cd603fc3e9ad Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
* Add BSD headers to QML-filesJens Bache-Wiig2012-05-2143-30/+1698
| | | | | Change-Id: I834dfc98f6a3a60859af08fd555a6c741a9d8288 Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
* Port menus to Qt 5.Morten Johan Sorvig2012-05-1512-62/+898
| | | | | | | | | | | | | | | | | | Copy over qtmenu and qtmenuitem from the Qt 4 branch. Register types in qstyleplugin.cpp. Delete Menu.qml MenuItem.qml - no longer in use and replaced by C++ code. Some porting was necessary, in particular changing QtMenuBase's base class from QObject to QtQuickItem. Bugs: On OS X the menu bar is displayed only ~50% if the time. Other platforms are not tested. Context menus do not work. Change-Id: I4e9cc6952ec1c70dc28cfda2352ba9962b539b17 Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>