aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Fix some issues with GifRecorderMitch Curtis2015-12-093-6/+11
| | | | | | | | | | | | - Try to ensure that the correct region is recorded. Sometimes, on specific machines, I've seen the region being offset by a vertical distance of 24 pixels (the size of the title bar). - Try to ensure that the window has time to render before we start recording with byzanz. Change-Id: Ia4c354ba436ed21af0e83303a98faa616be63325 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-023-0/+126
| | | | | | | | | 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>
* Fix tst_gifs warnings about mouse events being outside windowMitch Curtis2015-12-013-102/+24
| | | | | | | Also replaces event capturer C++ output with moveSmoothly() calls. Change-Id: Ie1cccf6c85517a187588868a90902b82e01d0775 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* GifRecorder: don't assume QQuickViewMitch Curtis2015-11-3010-231/+250
| | | | | | | | | | | | | This allows us to use windows as root items, which means we can have complete examples - not just a snippet without imports. With this, we can have runnable snippets under each GIF, without the need for the user to add code to get it to run. This change is also necessary to generate GIFs for Panel-based items like Menu, which require an ApplicationWindow. Change-Id: I66fec30cde8d719be35766f8c917cd2a06b09127 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>
* Remove pop-o-rama manual testMitch Curtis2015-11-2711-965/+0
| | | | | | | | We will be working on new examples in cooperation with designers that we can use to manually test and demonstrate popup usage with. Change-Id: Ib3b2ffaa66f99698e1f27bec3ba0610da32bdd85 Reviewed-by: J-P Nurmi <jpnurmi@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>
* Introducing Panel typeGabriel de Dietrich2015-11-1416-0/+1761
| | | | | | | | | | | | | | | | | | | | This is the base type to implement all sorts of Popups and Dialogs. Its main role is to keep the panel contents stacked on top of the application window contents and to ensure mouse and key events are forwarded or blocked depending on the visible panels modality. Currently, it only works with ApplicationWindow, which holds a QQuickOverlay. This special item is where the Panel contents gets reparented when the Panel becomes visible. It's also responsible for filtering the mouse events. Future developements may include adding a 'level' property instead of relying on the item's z value. This may or may not result into having several overlays per window. Change-Id: I18a4b8905e4d5a4a4697642b0553a1f9e86b669f Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> 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>
* tests: add testbench into manual.proLiang Qi2015-11-121-1/+2
| | | | | Change-Id: Ic3d0c51d10dc5d760d948ccdcb9cbc45c74f3c29 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>
* tests: fix license headersJ-P Nurmi2015-11-087-7/+7
| | | | | Change-Id: Id3be5a62dec38d610695d71ad792016fabdc922d Reviewed-by: Liang Qi <liang.qi@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>
* Simplify TextField & TextArea placeholderJ-P Nurmi2015-10-301-2/+2
| | | | | | | | | | Better not expose the extra Text item in the API. Ideally it should be implemented as a scenegraph node. We might even want to promote the placeholderText property (and add placeholderColor) to TextInput and TextEdit in Qt Quick core. Change-Id: I4f443c77d1c696b87a50ee184f868713dd50316f Reviewed-by: Liang Qi <liang.qi@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>
* Improve tst_Gifs::rangeSlider()Mitch Curtis2015-10-142-16/+36
| | | | | | | | | | Use proper, calculated coordinates. Also, increase the duration and decrease delays to make it more pleasant to the eye. Change-Id: If91ade9920a3ecaff966c348c623e603783754b8 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add RangeSliderMitch Curtis2015-10-143-0/+104
| | | | | | | | | This is basically Slider, except with two handles. It's used to specify a range of values. Task-number: QTBUG-48667 Change-Id: Ib4f9afe5dc8343e307610943d338a2b574a01e4d Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Attached properties are now available using the QML composite type nameJ-P Nurmi2015-10-092-4/+3
| | | | | | Change-Id: I8cfbd420cea4e01528d2f289cfc5989268d8718a Task-number: QTBUG-43581 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Rename QtQuick.Controls 2.0 to Qt.labs.controls 1.0J-P Nurmi2015-10-019-14/+14
| | | | | Change-Id: I142622dd85e95ef70b11132e77ccf48701f2cabc Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Rename QtQuick.Templates 2.0 to Qt.labs.templates 1.0J-P Nurmi2015-10-012-2/+2
| | | | | | Change-Id: I3263a600065dfa2bfe7334ec44a74e2dca83aa36 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Remove ToggleButtonJ-P Nurmi2015-09-251-1/+0
| | | | | | | | We don't have a sensible design. It's better not to have it at all than to have a confusing tiny bit tweaked clone of Switch. Change-Id: Ib0eabd075590100e9e49846c7172909525b54a57 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Fix Tumbler font, and TextField & TextArea placeholder fontsJ-P Nurmi2015-09-251-20/+38
| | | | | Change-Id: Ifbc8e0a221b1190becb789d69b9b313ab45e1615 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Templatize the former extrasJ-P Nurmi2015-09-231-2/+3
| | | | | Change-Id: Ief9ee07d1f5f6c80500bfa611bace860481e2a3f Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Merge Qt Quick Extras into Qt Quick ControlsMitch Curtis2015-09-182-2/+1
| | | | | | | | | | | | The original split existed because the public and enterprise controls were developed separately. Now that all controls are public and developed together, the split no longer makes sense and is difficult for users to understand. Change-Id: I00420f4d09f8c837232231d03fe818b7b3403fab Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Controls: Make all internal text elements use control.fontLiang Qi2015-09-156-1/+160
| | | | | | Change-Id: I3469277e9dd413a483c82be11fd661a890fab5ba Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* GifRecorder: add some indication of when recordings are finished.Mitch Curtis2015-08-281-0/+13
| | | | | | | | | | This is important for high quality recordings, where there is some conversion that must be done after the recording. If we don't do this, it's hard to get a good idea of when the recording actually finishes. Change-Id: Iafb73358288e50d8f070607f8d69602da6d32506 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* TabBar: add manual GIF test.Mitch Curtis2015-08-212-0/+88
| | | | | Change-Id: Ie20e3a700b5030ed8e6e172c4faad8180ac097b8 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Add and update GIFs.Mitch Curtis2015-08-113-1/+135
| | | | | Change-Id: Ia3bb2b8a4bcbe98f6ceabeb4f57f254cd625bb37 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* GifRecorder: force view updates.Mitch Curtis2015-08-112-6/+23
| | | | | | | byzanz-record will cut recordings short if there are no repaints. Change-Id: Ied7fcfec066aa3d558b5e6909f7abf74628cfa23 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* GifRecorder: refactor code.Mitch Curtis2015-08-102-71/+62
| | | | | Change-Id: Iba14928bdbdc7f01f7ccc7bd55181ec989188ce2 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* GifRecorder: add a gifsicle optimization step.Mitch Curtis2015-08-102-26/+37
| | | | | | | | qtquickcontrols2-busyindicator.gif: 39 kB => 31kB (20%) qtquickcontrols2-slider.gif: 34 kB => 13kB (61%) Change-Id: Iee2c74f1a9e3900572966bd600921d0ad2af80cf Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* GifRecorder: add a high quality option.Mitch Curtis2015-08-073-43/+139
| | | | | | | | | | | | | | | | | byzanz-record will heavily optimize colors in certain GIFs. The GIF generated for BusyIndicator, for example, lost all of its "transparency" that it has in the source image. The man page says that the .flv format is lossless, so when setHighQuality(true) is called, we record a video and then convert it to a bunch of frames with avconv, then to a GIF with convert. Finally, to further optimize the GIF, we could run it through gifsicle, so I haven't updated any GIFs in the docs yet. Change-Id: I0ccc5e2258d7c6dac52e464bcd6fb61128541e82 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* BusyIndicator: add manual GIF test.Mitch Curtis2015-08-072-0/+85
| | | | | | | | | The GIF isn't added yet, because byzanz-record only allows a certain amount of colors, so we must fix that first. Change-Id: I5c438ade6e8a6e7065742003e804c30bb23aa96a Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>