summaryrefslogtreecommitdiff
path: root/src/controls/ToolBar.qml
Commit message (Collapse)AuthorAgeFilesLines
* ToolBar: fix spacing between menu button & contentJ-P Nurmi2014-10-301-1/+1
| | | | | Change-Id: I0e46e77186a8572c63c3eed7a99f35b948b87de3 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* ToolBar: fix the right marginJ-P Nurmi2014-10-031-1/+1
| | | | | | | A regression introduced by 7909cd1 Change-Id: Ia7f1dd4da53619e39245cdd9cf3752c13cefad94 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* ToolBar: add support for a stylable menu buttonJ-P Nurmi2014-09-301-2/+17
| | | | | Change-Id: I75021d5a4b54104cccaf5988f0bc79efce3c4c9f Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Merge remote-tracking branch 'origin/5.3' into devJ-P Nurmi2014-07-091-7/+19
|\ | | | | | | | | | | | | Conflicts: src/controls/ToolBar.qml Change-Id: I5510496219a4ebe8bfced4192307219238ca9bb6
| * Doc: Added images and missing snippetsVenu2014-06-271-7/+20
| | | | | | | | | | | | Task-number: QTBUG-33799 Change-Id: I582518a73276d47cf63cf31411b5176a90acab6f Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* | Revise and align ToolBar & StatusBar size calculationJ-P Nurmi2014-06-071-11/+15
|/ | | | | | | | | | Instead of preferring the layout size, and only using the panel size as a fallback, take the maximum of the two. This way styles can provide a default size that will be respected. Furthermore, replace unnecessary function calls with declarative property bindings. Change-Id: Iabc59c694ac8c8302cea72f53c9177462d7f146c Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Bump QtQuick.Controls import version to 1.2J-P Nurmi2014-04-071-2/+2
| | | | | Change-Id: Idc0b93cbfc2fe23e8be3bcaece672d06555a81f6 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Import QtQuick 2.2J-P Nurmi2014-04-071-1/+1
| | | | | Change-Id: Ifc9719ec6fbbd80b866c01eebc471d0ed121bd16 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Make StatusBar and ToolBar focus scopesJens Bache-Wiig2013-12-041-1/+1
| | | | | | | | | | | | | | The problem is that the content item of both these controls have the focus property set to true. This property will then affect the implicit focus logic and should be protected by a focusscope. Currently adding a ToolBar or StatusBar to an application could result in this content item grabbing focus implicitly even if the application only sets focus: true on a single item. Task-number: QTBUG-34713 Change-Id: I94cb79d25e4cfd727915f5b5ab612ad5c0132db7 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Doc: Changed the \since argument to the Qt version.Jerome Pasion2013-09-261-1/+1
| | | | | | | | | | | | | | -1.0 types were introduced in Qt 5.1 -1.1 types were introduced in Qt 5.2 -The module versions are now taken from the \qmlmodule This change was only applied to \qmltype. For methods, signals, and properties, we keep the \since QtQuick.Controls <version> Task-number: QTBUG-32172 Change-Id: Iefa73d4a489aa285bae873f68ae9a228030f0115 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Update imports to 1.1 and remove version from qmlmodule definitionJens Bache-Wiig2013-09-101-3/+3
| | | | | Change-Id: Icb4c6d78225c072da787e4646a55d8cf71a5db7a Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* ToolBar: add RTL supportJ-P Nurmi2013-08-151-0/+2
| | | | | Change-Id: Ib0f78310c96cda29cc6ea4551b3a2c98011a11c9 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Fix incorrect size hint for ToolBar and StatusBarJens Bache-Wiig2013-06-031-1/+5
| | | | | | | | | | We only cared about reserving space for the height but while trying to actually get the minimumSize for a window based on the toolbar content I realized that we really need to calculate the width as well. Change-Id: I7b55b66a2475a2355d30614095f173a39f47f2f1 Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Fix missing margins and incorrect size for ToolBar and StatusBarJens Bache-Wiig2013-05-311-11/+70
| | | | | | | | | | | Using the implicitHeight of an item makes ToolBar and StatusBar a lot more useable with layouts. In addition we enable the padding property from the style, allowing its content to be positioned in a more convenient way. This is similar to how we already do it for GroupBox. Change-Id: Ia2aa1bcb9ae109718fd752401400222adec242ac Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Make QQuickSettings::style a property with a notifier signalJ-P Nurmi2013-05-241-1/+1
| | | | | Change-Id: I9f1690524e29cd7fe0ab35be216aca9a6edd35ca Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Automatically set toolbar widthJens Bache-Wiig2013-05-101-0/+1
| | | | | Change-Id: I4038afc1cb22102f8873014d90dedec79cbaa376 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Refactor and clean up public style APIJens Bache-Wiig2013-05-081-0/+1
| | | | | Change-Id: I10271c860abd9b45a262e3548628e6a3026e1a4f Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Doc: check and correct for compliancy with Writing GuidelinesNico Vertriest2013-05-061-0/+1
| | | | | | | Task-number: QTBUG-30318 Change-Id: I9839470fbac1d14c1788766d275aba3fac6ec8b1 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Remove hard dependency on widgetsJens Bache-Wiig2013-04-151-2/+1
| | | | | Change-Id: I1fabb4efcc931f12f0a65ac5c66e6e085108269b Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Remove StyleItem dependencies from controlsJens Bache-Wiig2013-04-131-5/+8
| | | | | | | | This is another step towards making controls work without the widgets module. Change-Id: I7066d79f42d90199cfd1a5d6f6ce6cf6cae381d6 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* ToolBar: Fix height on MacGabriel de Dietrich2013-03-221-1/+1
| | | | | | | Would not contain the toolbuton's pressed shadow. Change-Id: I989e6ec38d0632fcd4c09e1805ec3fa0133d9b93 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Support QQuickItem.activeFocusOnTab in QtQuick.ControlsLiang Qi2013-03-191-0/+1
| | | | | Change-Id: Ie23b504f590e6c4e7f2a1a9090c2dd8671389937 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Doc: corrected punctuation (,)Nico Vertriest2013-03-151-1/+1
| | | | | | Change-Id: Id1b7bf4c6ff1fa7286cafdc5ffe7cdab636a622b Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
* Change imports from QtQuick 2.0 to QtQuick 2.1Caroline Chao2013-03-141-1/+1
| | | | | | Change-Id: If9df032c76e36f385aacd30cc31d6f02574c6f11 Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Fix ToolBar sizeJens Bache-Wiig2013-03-111-2/+0
| | | | | | | | We should not override the implicit size. Change-Id: I12b8639c527e6c2170507c3ce36605ae1d839b90 Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Doc: Small doc changes to StatusBar and ToolBarJerome Pasion2013-03-111-6/+6
| | | | | Change-Id: I82bdec248223de2dfb4ab8d1cd6cc04d5560ca5f Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Replaced BSD with LGPL license to conform with Qt Project modulesShawn Rutledge2013-02-211-2/+2
| | | | | | | | 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>
* Rename QtDesktop to QtQuick.ControlsJens Bache-Wiig2013-02-211-0/+82
Change-Id: Icc61dbfc74cc2a303b9847e7d2c7ace4a9002046 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>