- 03 May, 2013 - 1 commit
-
-
Caroline Chao authored
'Warning: Property declaration __font has no READ accessor function or associated MEMBER variable. The property will be invalid.' Task-number: QTBUG-30988 Change-Id: I7530310d0da03ecd59bfe1cc3e221e776c17d4f7 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- 30 Apr, 2013 - 1 commit
-
-
Gabriel de Dietrich authored
These are for tweaking the popup position according to the current style. First usage goes to ComboBox. Also prepares for proper support of 'small' and 'mini' style hints. Change-Id: I7bc682d5d82bf6fa7a36916a9d4c64dfb2bdb56e Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- 18 Apr, 2013 - 1 commit
-
-
Gabriel de Dietrich authored
And vice-versa, including containers. Change-Id: I97cfc7a55327d5f5c5e0eb4befb246b0bccb2c32 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- 15 Apr, 2013 - 1 commit
-
-
J-P Nurmi authored
Change-Id: I89aa205686f0bdf2b267ad17a8ae0470c2f4751f Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- 12 Apr, 2013 - 2 commits
-
-
Gabriel de Dietrich authored
In particular, Menu::insertItem() is now overloaded. It can take a string as second parameter, in which case it will create a new MenuItem and return it after inserting it, or it can take any QtMenuBase based class pointer and just insert it. The latter use case is useful when populating a menu with the Instantiator type. Currently, addSeparator and insertSeparator don't return any value since MenuSeparators are not configurable. Change-Id: I9659ea0ee9d76ed5163316be1a5c7a8f03eaa28f Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
J-P Nurmi authored
Change-Id: I6e55938749cac6177d3c7f3628aba52ea661873f Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- 04 Apr, 2013 - 1 commit
-
-
Gabriel de Dietrich authored
See comment in code. Change-Id: I5ab6c639079dd57aaf8b661e4307cf5587361495 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- 21 Mar, 2013 - 2 commits
-
-
Gabriel de Dietrich authored
For completion's sake. Change-Id: I7660999af56ba330085bc23b5b877bf9905b2316 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Gabriel de Dietrich authored
Includes Menu, MenuItem, Action, and ExclusiveGroup. Change-Id: I447c36fe361bbad2f5a31584f242601a150832fa Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-
- 20 Mar, 2013 - 1 commit
-
-
Gabriel de Dietrich authored
Add 'type' property to QtMenuBase (not exposed to QML explicitly, but is the base class for all things menu). Useful to inspect menu items after creation, for instance. Also, Menu gets addSeparator() and addMenu() functions. Since the Iterator type has been merged to QML, tst_menu now uses it. Change-Id: I4a2f43ecce6671885e523d720e4e1315eca8616e Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- 14 Mar, 2013 - 1 commit
-
-
Gabriel de Dietrich authored
Also prepares to expose the class in QML, since it is needed for the (in progress) drop-down list implementation. Change-Id: I978f26590594050f52bd2244fe2c264967b65b38 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- 13 Mar, 2013 - 3 commits
-
-
Gabriel de Dietrich authored
Change-Id: I41fa2cb39ba8ec6ba2a5ccd68d9d53d6b2f2e543 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Gabriel de Dietrich authored
Also, removed 'pressed' property. In Menu, we removed 'selectedProperty' as well. (And by 'removed', we mean 'made it private'.) Auto-tests have also been updated. Change-Id: I4b4f9c81aad1165df1d2925964a9cd383079aa9c Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-
Gabriel de Dietrich authored
In the near future, we hope that QML types like Creator/Instantiator (currently under review) will help simplify model binding, and object creation and deletion. Also, given the differences between QML models and QAbstractItemModel APIs, it's hard to provide a unified and elegant solution for this right now. ComboBox gets the part of the logic that ContextMenu was responsible for, extended to support string list and number models. Auto-tests updated and XFAIL removed where applicable. Change-Id: I9f5d4059644c495bffff76fb7c353e6fe7fde62e Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-
- 11 Mar, 2013 - 2 commits
-
-
Gabriel de Dietrich authored
Change-Id: Ib0b1445593ff48df56cd8d4d20122880c2dacca5 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Gabriel de Dietrich authored
Some window managers use fading effects to close popups, resulting on an unnatural animation if menus close from parent to child. Change-Id: I5860b65b2905752f74c8abdad05988980c167323 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- 06 Mar, 2013 - 2 commits
-
-
Caroline Chao authored
Task-number: QTBUG-29862 Change-Id: I0a10aa103b1c4f5e0fba2e80eee7e07b6bc748fb Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
Debao Zhang authored
Change-Id: If1b47e16b0add48a1bda1476408ea31f6872b0ef Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- 01 Mar, 2013 - 5 commits
-
-
Gabriel de Dietrich authored
This avoids needing to duplicate some logic, in particular icon source and name changes triggering icon updates. Change-Id: Id8b34fa365db6d31eb6855f690c13073fd589a2c Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
J-P Nurmi authored
Change-Id: I2681e220dc9a46316d802610c926e41526283f9a Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Gabriel de Dietrich authored
Change-Id: I98c4c6aa39f9a947f0610ac976ed74447252d06b Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Gabriel de Dietrich authored
Also removed Menu.visibleParent since it had no apparent use. Likewise, trigger(), and the triggered() signal are now only in MenuItem. Change-Id: Ide194505664c60906019422a503b189250d6a86e Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
Gabriel de Dietrich authored
Change-Id: Ic018c0d9c61ddf6fdf05750bf172cf5e306d0508 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- 28 Feb, 2013 - 1 commit
-
-
J-P Nurmi authored
Change-Id: Ica57d3dc788dae0ffb7280f816535044a3555a9a Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- 25 Feb, 2013 - 1 commit
-
-
Gabriel de Dietrich authored
This demanded some code refactoring, and the introduction of the parent menu property. Updated auto-tests too. Change-Id: I3d9070b0a1a76d6c174ccf13965d30413f23aadd Reviewed-by:
J-P Nurmi <jpnurmi@digia.com> Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
-
- 21 Feb, 2013 - 3 commits
-
-
Shawn Rutledge authored
We want to use the same license as the other Qt modules. QML files stay as BSD for now. Change-Id: I10b1484f5ab0dfe2138ff7e045d0ecfd85556aa1 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
Jens Bache-Wiig authored
Change-Id: Icc61dbfc74cc2a303b9847e7d2c7ace4a9002046 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
Gabriel de Dietrich authored
When popping up a menu with the mouse cursor under a certain item, the visual item coordinates may be resolved too late. To solve this, we listen to the item's position and update the popup window's position accordingly, in a similar fashion as we did for its size. Change-Id: I1a853e5bc0cd2c3d6765bcc34a9f63f8598099a0 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- 20 Feb, 2013 - 2 commits
-
-
Gabriel de Dietrich authored
Change-Id: Ifca31aa02625e3279c69d61f6c71761931fbaa0d Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
Martin Smith authored
When documenting a QML component, each qdoc comment must immediately precede the element being documented. In this file, that rule was violated. The property and method comments should be removed, because they don't apply to anything in the Menu. Or, if they should be there, they should be reintroduced so that each one immediately precedes the element being documented. The \qmltype comment is probably out of date now as well. Task-number: QTBUG-29740 Change-Id: Id8048e5f9d6d158305110a7c561224a8033ab088 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- 14 Feb, 2013 - 1 commit
-
-
Jens Bache-Wiig authored
Change-Id: I2686f1d2245d5757f4ef947403e4ddd6284ad53b Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- 12 Feb, 2013 - 2 commits
-
-
Gabriel de Dietrich authored
These are purely visual, and should not be part of the model side. Change-Id: Ice701787a072b606d2d0d76a5d17c7f75066a041 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Gabriel de Dietrich authored
Added '__visualItem' private property to QtMenuBase, pointing to the actual QtQuick item representing the menu item. We use this to get the window an item belongs to, and its position inside the menu popup. Also, moved some logic from ContextMenu into ComboBox, where it looks more appropriate. Change-Id: Idbed0497359457a696c7cac8703ae9d47f5e2003 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- 11 Feb, 2013 - 1 commit
-
-
Gabriel de Dietrich authored
Change-Id: Ib26aef1ea7eb9c70462e5262dd96698223981a6a Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- 08 Feb, 2013 - 1 commit
-
-
Jerome Pasion authored
-added components into their groups -made group overviews -added links to overviews from landing pages -added a place holder image Change-Id: I099de1f8ef3a89cd5f61220874fc69f781704799 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- 07 Feb, 2013 - 1 commit
-
-
Gabriel de Dietrich authored
This removes one dependency from QtWidgets. QPA is only implemented for Mac so far, and depends on qt/qtbase's I5f83f260602f55b9409ad69abf670afb59b2d33a change. This means, it will only work with Qt 5.1 and older. Other QPA implementations will follow, like Android. The QML-only implementation has been tested mostly on Linux. On Mac, we need I4716b4c0b6187d14adb34c46b848ca0a16370b5a to be integrated in qt/qtbase dev branch if we want to enforce non-QPA menus. Updated ComboBox, ContextMenu to new QPA menu behavior Includes preliminary documentation for Action, ExclusiveGroup, MenuBar, MenuItem, MenuSeparator, and Menu. Change-Id: I6f38849a03a51386465156f8be3034df0d29e40d Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- 04 Jan, 2013 - 2 commits
-
-
Liang Qi authored
Including QT_BEGIN_NAMESPACE, QT_END_NAMESPACE, QT_BEGIN_HEADER and QT_END_HEADER. Change-Id: I9040bdf097d229ba897ada799f72cd9bfc80c844 Reviewed-by:
Liang Qi <liang.qi@digia.com>
-
Liang Qi authored
Change-Id: I58c6f143de8d074fe2b382eff524500c6a8270ea Reviewed-by:
Liang Qi <liang.qi@digia.com>
-
- 31 Dec, 2012 - 2 commits
-
-
Jens Bache-Wiig authored
These are to primitive to be interesting and are essentially manual tests. Change-Id: I7664f1f15d65dd2ed0c55023167271068f0f0f07 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
Jens Bache-Wiig authored
This exposes a bug in the rectangle offset. Change-Id: I1d525a7e92d2c9dcb70545dbb81653c7dd572d63 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-