aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/testbench
Commit message (Collapse)AuthorAgeFilesLines
* import Qt.labs.controls 1.0 => QtQuick.Controls 2.0J-P Nurmi2016-04-211-3/+3
| | | | | | | | | Docs, resources, .metainfo and plugins.qmltypes will be updated in follow up commits. Change-Id: I4438c5bfb8802bff0fa15c56431cfd288f179861 Task-number: QTBUG-52549 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Fix testbenchJ-P Nurmi2016-04-161-1/+1
| | | | | | | ComboBox::down does not exist. Change-Id: I981b952c4b94baa09b15d147bf57472c7986afc9 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Add QQuickAbstractButton::downMitch Curtis2016-04-151-13/+13
| | | | | | | | | | | | | | | | | This property will determine whether or not the button is visually pressed. Having such a distinction allows users more control over their controls. The patch also fixes the problem with ComboBox where pressing on the ComboBox when it's open would cause a delegate in the popup to show as being pressed. Unless explicitly set, this property follows the value of the pressed property. To return to the default value, set it to undefined. Change-Id: I29ecf325ed2ede125613f0c878b0427937599866 Task-number: QTBUG-51005 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Introduce ToolTipJ-P Nurmi2016-03-221-0/+16
| | | | | | Change-Id: I917f7e83219788fc63389773eb07ee39757bed7f Task-number: QTBUG-51003 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Add Popup::parentJ-P Nurmi2016-01-231-19/+19
| | | | | | | | | | | | | | | The parent defaults to the QML parent object where Popup is declared. Popup::x/y are relative to the parent, and the popup also automatically follows the parent as appropriate. QQuickPopupPositioner has been adapted from Qt Quick Controls 1. It was called QQuickScenePosListener, and it was implemented for the text selection handle popups. ComboBox's popup now follows the control eg. when scrolling, but the below/above positioning feature is temporarily gone missing. It will be restored in a follow up commit. Change-Id: I8a6b58cd74e07f33930abc35d0ab9da056685128 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Refactor PopupJ-P Nurmi2016-01-221-2/+2
| | | | | | | | | | | Added relevant properties to make it almost like a Control: x, y, width, height, padding, background... This change makes popup use an internal item where the style/user-supplied contentItem and background are re-parented. This way we can provide a default style (background) for Popup. Change-Id: I3e7933562464c5c852e4ba4bc37d9ac25691c714 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* testbench: cleanup explicit Material.accent assignmentJ-P Nurmi2016-01-201-1/+0
| | | | | | | ...that slipped in by accident in c08c717. Change-Id: Id05545912a5ffd58943c7809af04972a664580f4 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Material: add support for user-defined accent colorsJ-P Nurmi2016-01-141-0/+1
| | | | | | Change-Id: Ia88cfcb307d03977c45bff32ad2b1d290d183a57 Task-number: QTBUG-50178 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Material ToolBar backgroundJ-P Nurmi2015-12-251-0/+2
| | | | | | Change-Id: I214c646de05b95d04a1b759820b93d02006c9206 Task-number: QTBUG-50025 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Add Quit (Ctrl+Q) shortcut to testbenchMitch Curtis2015-12-211-1/+6
| | | | | Change-Id: I0af8eb73cf099e5ca99001d842ee7381e0cc0ce9 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* testbench: make use of Pane to get "standard" content paddingJ-P Nurmi2015-12-171-384/+384
| | | | | Change-Id: Idcfe1f4b48244c9bb5d57cbaf08f429f631d46e7 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* ToolButton: support highlighted modeJ-P Nurmi2015-12-171-0/+9
| | | | | | Change-Id: I8fb754080e204384e0215d60e819f9eaac204de7 Task-number: QTBUG-50018 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* testbench: fix the comment about use qputenv()J-P Nurmi2015-12-151-2/+1
| | | | | | | | | Refer to qputenv() instead of qsetenv(), and remove the mention of QT_QUICK_FILE_SELECTORS that is no longer supported. Change-Id: Ifada695afb1815e3b709d147250d297915550c16 Task-number: QTBUG-49891 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Popup: rename show()/hide() to open()/close()J-P Nurmi2015-12-141-1/+1
| | | | | | | | | QML popups have traditionally used more explicit open() and close(). Renaming them to show() and hide() at this stage doesn't seem to have any real advantages. Change-Id: I1e7c8c4817c67e62cef965525e00f5bf125a7d76 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* testbench: fix TextArea placeholder textJ-P Nurmi2015-12-121-1/+1
| | | | | Change-Id: I36b036e9bb7f5f0dd66ffae205a90f3b11a3ee27 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add ComboBoxJ-P Nurmi2015-12-041-0/+34
| | | | | Change-Id: I4cfc2367db92786097a1ce66bd4b5a2f71322a2e Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Adapt MenuItem to designsMitch Curtis2015-12-031-0/+3
| | | | | | | Decrease the padding and swap the label/indicator order. Change-Id: I0ee2528d3c3111024fe1a6e52acc0da1a0d30990 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add MenuMitch Curtis2015-12-021-0/+17
| | | | | | | | | An item-based menu derived from QQuickPanel. Eventually we'd like to make Panel itself a QQuickItem, as it makes both the implementation and the actual usage of Menu a lot easier. Change-Id: Ic1bf2a05ab98d9e17824c402ed8326ef65d26c69 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* testbench: fix theme switchJ-P Nurmi2015-11-301-2/+3
| | | | | | | It wasn't a good idea to use RTL, because the knob is also inverted :P Change-Id: Iee059807efb2243fb084381216a37f9c93961c19 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Implement more of default style designMitch Curtis2015-11-261-91/+204
| | | | | Change-Id: Ieaa2fa1b876d75f94f48a7fce0c47c166b969d57 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* testbench: add support for slow motion animationsJ-P Nurmi2015-11-262-1/+4
| | | | | | | | | Useful for debugging animations. Usage: ./testbench -slow Change-Id: Ic509c8da428dd08eddc9f445f942e3362bad9004 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Visualize Material Button's highlighted stateMitch Curtis2015-11-231-2/+7
| | | | | | Change-Id: I1c638c0b70a0ba8d0f5cfe1d7e41fd514c38c1c9 Task-number: QTBUG-49551 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add highlighted buttons to testbenchMitch Curtis2015-11-161-0/+9
| | | | | Change-Id: I0cb200864304f91413f0e47b786d930b2efaac94 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Apply all styles' theme switchesMitch Curtis2015-11-131-2/+2
| | | | | | | | So that it's no longer necessary to make changes to the testbench to test a different style. Change-Id: I1eefa5f681e3852baa93e8a240af722edf8a45c2 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Scale testbench automaticallyMitch Curtis2015-11-131-1/+3
| | | | | Change-Id: Ie362fa22b3280733783e7ec2293a98e737717257 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add Universal styleJ-P Nurmi2015-11-121-2/+2
| | | | | | | https://dev.windows.com/design Change-Id: I1d8c633ae246724649a6ed71b300a56ba9572405 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* testbench: fix scrollingJ-P Nurmi2015-11-121-3/+6
| | | | | | | | | | | - specify only width for the Flow. let it wrap & freely grow in height - use Flickable content margins instead of anchor margins. Flickable reserves these margins between itself and the internal content item - specify content height for the Flickable so it knows how much content is available for scrolling Change-Id: Iaa52f6ca9c48e6a213ee8e00de04445f806db350 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* testbench: move TabBar to footerMitch Curtis2015-11-121-16/+14
| | | | | | | | This is a more typical use of TabBar, and gives it the room it needs for styles where the text is larger. Change-Id: I302a690dd23a69c4b919ebc9996cfaa641ea1b01 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Improve testbenchMitch Curtis2015-11-061-283/+295
| | | | | | | | | | - Rearrange items. - Replace more usages of Rectangle with Frame. - Add SpinBox. - Add indeterminate ProgressBar. Change-Id: I38f15fdfbbf35c8d2c87e629e4e0ccaa4ae0b5fd Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Update testbenchMitch Curtis2015-10-307-402/+370
| | | | | | | | | Move some things around. Also, begin to set all themes in main.qml. There will be at least two unused themes instantiated, but it doesn't matter, as it's just a manual test. Change-Id: Icd8b24d3db3068e05b35de5ce55b4d418a530e5e Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Make testbench work with all stylesMitch Curtis2015-10-276-360/+403
| | | | | | | Take advantage of file selectors to display different styles. Change-Id: I2722fdbeedd343682622a9eb5084f65f11dee371 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add testbench as a manual testMitch Curtis2015-10-215-0/+501
This allows us to see every state for each control, and will help with collaboration with designers. Change-Id: I5589b05ef3abf768d26f14bbd85aa674107d956b Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>