aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/doc
Commit message (Collapse)AuthorAgeFilesLines
* Add CheckDelegateMitch Curtis2016-04-118-0/+140
| | | | | | | | | | | | CheckDelegate is an item delegate that is used in lists, and can be checked and unchecked. It derives from QQuickItemDelegate and hence has background press effects. The order of the indicator and text is reversed (compared to CheckBox) to reflect what is most commonly seen on mobile. Change-Id: I6fdac226fe87247052389b2e49f6cf20d7be44fb Task-number: QTBUG-52208 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Doc: added src/controls to header and sourcedirs in qdocconf fileNico Vertriest2016-04-081-1/+3
| | | | | | Change-Id: I07d1b255baa741ae7c12ae2a04a348c5559f757c Reviewed-by: Martin Smith <martin.smith@theqtcompany.com> Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Doc: Rename Qt Labs Controls to Qt Quick Controls 2Nico Vertriest2016-04-073-29/+29
| | | | | | | | Replaced all remaining instances of "Qt Labs Controls" Change-Id: Iab8ca27d98a16a7c99bd364c66efc8b98d93eacc Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com> Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
* Doc: Rename Qt Labs Controls to Qt Quick Controls 2Venugopal Shivashankar2016-04-0116-37/+37
| | | | | | | Replaced all remaining instances of "Qt Labs Controls" Change-Id: Iad784417b9b4ce015c11b4737dab2105b338ff5f Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Improve documentation for delegate controlsMitch Curtis2016-04-012-0/+48
| | | | | | | | | | - Add "Delegate Controls" doc page. This will list future delegate controls, such as CheckDelegate, RadioDelegate and SwitchDelegate. - Add GIF for ItemDelegate. Change-Id: If8c66ab2178185f96d190f29ef7815beaa6e8d68 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Rename Qt Labs Controls to Qt Quick Controls 2 - doc updateVenugopal Shivashankar2016-03-2923-65/+69
| | | | | | | | | | | | - Change \title, \page, and \l instances that used "qtlabs" instead of "qtquick". - Renamed the qdocconf file and changed the qch parameters in it to use "Qt Quick Controls 2". - Added "2" as output suffix for the html filenames. Change-Id: Ia2fdd1c835229e5216f42a2fdfa5f7e11965e21d Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Add support for specifying theme, accent & primary via envJ-P Nurmi2016-03-243-0/+48
| | | | | | | | Environment values take presedence over the default values requested in qtquickcontrols.conf, the same way than style name. Change-Id: I4641317bdce320c33a89f3614f3c782883c9c843 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Docs: add examples how to sync active states for ScrollBar & IndicatorJ-P Nurmi2016-03-232-0/+92
| | | | | Change-Id: I353f9c8b0dec4eef71d27300645a1dc3cbca82cd Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Inherit QQuickDrawer from QQuickPopupJ-P Nurmi2016-03-231-6/+1
| | | | | | Change-Id: Icf71270e63aedd93ba975ab9743de68c3a54e849 Task-number: QTBUG-51007 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Rename Qt Labs Controls to Qt Quick Controls 2 - doc filenamesVenugopal Shivashankar2016-03-2220-0/+0
| | | | | | | | Except the .qdocconf all .qdoc files are renamed to use "qtquickcontrols2" instead of "qtlabscontrols". Change-Id: I317a4e81ea4e78b63a0d4d849d7352f496824cb3 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Introduce ToolTipJ-P Nurmi2016-03-2214-0/+301
| | | | | | Change-Id: I917f7e83219788fc63389773eb07ee39757bed7f Task-number: QTBUG-51003 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Doc: moved Gallery files to examples/controls/galleryNico Vertriest2016-03-224-35/+0
| | | | | Change-Id: I5e15631a51fe01e2ff7ecc6ea4b464b3522b7882 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Doc: moved chat tutorial to examples folderNico Vertriest2016-03-2220-855/+0
| | | | | | Change-Id: I152f29bfe9a202e9c0723e7aa2ebc8fa3c18e2d6 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Remove RangeSlider::track in favor of Control::backgroundJ-P Nurmi2016-03-213-48/+3
| | | | | | | In the series of minimalizing the delegate APIs. Change-Id: I11e519f5226bf44d18b42fd31276c5528b18ec46 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Remove Slider::track in favor of Control::backgroundJ-P Nurmi2016-03-214-48/+5
| | | | | | | In the series of minimalizing the delegate APIs. Change-Id: I664f4227ff55876be2594c8855dacc7c92eddc94 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* ProgressBar: use contentItem instead of indicatorJ-P Nurmi2016-03-213-7/+6
| | | | | Change-Id: I8bd21b32b6f3d333c119d77b629b46fe411c06eb Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* ScrollBar: use contentItem instead of handleJ-P Nurmi2016-03-213-5/+5
| | | | | | | | Thanks to virtual resizeContent() we can finally use contentItem like everywhere else, and cleanup the special handle item. Change-Id: I9e52ec3ff327d19cda3d85d2e2d9b73d80442bbc Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* ScrollIndicator: use contentItem instead of indicatorJ-P Nurmi2016-03-213-5/+5
| | | | | | | | Thanks to virtual resizeContent() we can finally use contentItem like everywhere else, and cleanup the special indicator item. Change-Id: Ia2bd62684d49a05c199e490750a31c13d2c22182 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Rename Qt Labs Controls to Qt Quick Controls 2 - config fileJ-P Nurmi2016-03-192-3/+3
| | | | | Change-Id: I39bf55cc4e07788722fa2a3962a3476495b83dc9 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Document the order of priority for various methods of setting a styleMitch Curtis2016-03-181-0/+4
| | | | | Change-Id: I44e22d049ea09eab38b9e85221a328fe904006d8 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Rename Qt Labs Controls to Qt Quick Controls 2 - doc asset filenamesMitch Curtis2016-03-18300-116/+116
| | | | | | | | | This renames all documentation assets (snippets, images), but leaves .qdoc files and the .qdocconf file in an attempt to avoid conflicts with controls 1. Change-Id: I08692233e8d645de8d9746fe74edc14d31bb744e Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Chat Tutorial: fix install targetsMitch Curtis2016-03-181-3/+3
| | | | | | Change-Id: I6651ecffcc76953c06bc70e81b38c72aa1da9b02 Task-number: QTBUG-51918 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add public API for setting and getting the style from C++J-P Nurmi2016-03-171-3/+28
| | | | | | | | TODO: setup QtLabsControls C++ module docs Task-number: QTBUG-50787 Change-Id: I382bad34df88d13fb9a74b3d2f9203280dfb4a66 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Doc: complete documentation Control QML TypeNico Vertriest2016-03-171-0/+0
| | | | | | Change-Id: Ie6b8dec8bea2315232beccf2f20cc860610451e8 Task-number: QTBUG-51616 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Doc: Corrected link issues in qt labs controlsNico Vertriest2016-03-163-23/+17
| | | | | Change-Id: I799ed7d7ac8d60a2422be894f15ef7fce059a832 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add SwipeDelegateMitch Curtis2016-03-1511-0/+225
| | | | | | | | | | SwipeDelegate presents a view item that can be swiped left or right to expose more options or information. It is used as a delegate in views such as ListView. Change-Id: I7533a2b223f652993b6cee730930ea6dc125c869 Task-number: QTBUG-51610 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Doc: update doc Qt Labs ControlsNico Vertriest2016-03-1010-14/+142
| | | | | | Change-Id: I49a8632b0561483e6090577ae17fd7bdeb4da6ec Task-number: QTBUG-50933 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Doc: updated description Gallery ex. Qt Labs ControlsNico Vertriest2016-03-091-2/+4
| | | | | | Change-Id: I3efd94ea4d4bbf9fbdae8474f1129b4eb1340d8b Task-number: QTBUG-50933 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* qtlabscontrols.qdocconf: remove obsolete qtquicklayouts dependencyJ-P Nurmi2016-03-081-1/+1
| | | | | | | | | | | | The layouts have been moved to qtdeclarative, and the docs have been included to qtquick.qdocconf. qdoc: warning: "QtLabsControls" Cannot locale index file for dependency "qtquicklayouts" Change-Id: I96d04519d8884c408a5f5b3c72171b6b2d874f11 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
* Doc: remove ToolBar::frame reference leftoverJ-P Nurmi2016-03-041-6/+0
| | | | | | | | 'frame' was removed in favor of 'background' in 13f7c9f. Change-Id: Ibc55c5103ab3c89b43ebcd270bee8cde833a293b Reviewed-by: Nico Vertriest <nico.vertriest@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Add Chat TutorialMitch Curtis2016-02-2920-0/+861
| | | | | | | | | | This is useful for beginners who may have not even used Qt Quick Controls before. It goes step-by-step (and in detail) to show how and why things are done the way they are. Change-Id: I527ff2ce429279e37b7cebb765588cb89b5c5e89 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com> Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Doc: Using File Selectors with Qt Labs ControlsJ-P Nurmi2016-02-235-14/+171
| | | | | Change-Id: I55a8fa716540d7ee2bd03018c6fefae3f400ca0d Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* ToolBar: remove doc references to frameJ-P Nurmi2016-02-093-40/+1
| | | | | Change-Id: I6261af1715d745a425ed17d5a3853b83811f5863 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Frame: migrage from frame to backgroundJ-P Nurmi2016-02-093-49/+2
| | | | | Change-Id: I4478580026d4dba8994d09e8d0264b44150631d5 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* GroupBox: migrage from frame to backgroundJ-P Nurmi2016-02-093-50/+3
| | | | | Change-Id: Ice0b983a89367c3d4cae1bfbc9500bf98ad90ba8 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Doc: added link to examples page Qt Labs ControlsNico Vertriest2016-02-091-0/+1
| | | | | | Change-Id: Id5316f2d14c663a9653a408bcfd767cf11d9e708 Task-number: QTBUG-50933 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.6' into devJ-P Nurmi2016-02-072-2/+4
|\ | | | | | | | | | | | | Conflicts: src/imports/controls/universal/ToolButton.qml Change-Id: Ib9f1e7d83fb824d9e6a13a2bc429d1a5642fe4f6
| * Update example snippets to use qrc:/main.qmlJ-P Nurmi2016-02-052-2/+4
| | | | | | | | | | | | | | This matches the Qt Quick application template in Qt Creator. Change-Id: I509481ee60b3f06a5a29202753767f32023e37b8 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* | Remove remaining references to AbstractButton::labelJ-P Nurmi2016-02-061-1/+1
| | | | | | | | | | Change-Id: Ib9fb690dbaa27bb5d0ba2345ed7ba9b47c167a8e Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* | Switch: migrate from label to contentItemJ-P Nurmi2016-02-063-5/+5
| | | | | | | | | | Change-Id: Ic287fc207b689d5f4a252a527b536272ad94c057 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* | ItemDelegate: migrate from label to contentItemJ-P Nurmi2016-02-063-5/+5
| | | | | | | | | | Change-Id: I928192b1b5d31e077032cba31f1bde3bf35491f3 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* | RadioButton: migrate from label to contentItemJ-P Nurmi2016-02-063-5/+5
| | | | | | | | | | Change-Id: Ic2b26c7d61f56ee245de3aee3cbace54014a9cfa Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* | CheckBox: migrate from label to contentItemJ-P Nurmi2016-02-063-5/+5
| | | | | | | | | | Change-Id: Ie35fc6a9a5424c6f002480fc461b7cd5fe84753b Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* | ToolButton: migrage from label to contentItemJ-P Nurmi2016-02-063-5/+5
| | | | | | | | | | Change-Id: Iacc8ba21e48f40062d0784c76d33dbf79ce803e0 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* | Button: migrate from label to contentItemJ-P Nurmi2016-02-063-5/+5
|/ | | | | Change-Id: Icccab45dec0dafc907847eb0151b60bd9320ab9a Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Update TabBar and TabButton screenshotsJ-P Nurmi2016-01-293-0/+0
| | | | | Change-Id: I5aec1c2a08b24e1779e62b9580a740fb102c1561 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add Popup::transformOriginJ-P Nurmi2016-01-251-0/+0
| | | | | Change-Id: I4a52468234f0479c1b8feb102e07686e3235ba3f Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Docs: move "Getting Started with Qt Labs Controls" on its own pageJ-P Nurmi2016-01-202-41/+71
| | | | | | | | | | Makes the landing page a bit less crowded so it's easier to find the essential information that is browsed and searched repeatedly during development. The getting started page is presumably just read once to get familiar with the controls. Change-Id: I29fe4089fd4dbf497acb18777be60d1ba9920f7e Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Restore Material::primaryJ-P Nurmi2016-01-201-15/+37
| | | | | | | | | | | | | The idea was that users would simply configure a different accent color for the toolbar, but the only way to do this is in code, which creates a hard dependency to the material style. A separate primary color makes it possible to configure both colors in :/qtlabscontrols.conf, which nicely avoids style specific dependencies. Change-Id: Ia5ad92b57f9aea32e16e9260117e8d32b3356556 Task-number: QTBUG-50329 Reviewed-by: Nikita Krupenko <krnekit@gmail.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Docs: add notes about the Qt.labs moduleJ-P Nurmi2016-01-195-0/+10
| | | | | Change-Id: I65c37f661689bf30e7a9119bb877dce68eeb634c Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>