summaryrefslogtreecommitdiff
path: root/examples/quick/controls/tableview/main.qml
Commit message (Collapse)AuthorAgeFilesLines
* fix example installsOswald Buddenhagen2016-04-281-188/+0
| | | | | | | this includes renaming the first-level subdir of examples/. Change-Id: Idf14164533c247e5c0cc5acdb405ac97f7c33ac5 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Update BSD license headersJ-P Nurmi2015-02-131-3/+3
| | | | | Change-Id: Ia95c64b333416568fe6a88607d802fe7239dba35 Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
* Examples: update license headersJ-P Nurmi2015-02-111-6/+6
| | | | | Change-Id: I41096c464db4e1513db1d4ffe7311be3c902d973 Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
* Revise the Table View exampleJ-P Nurmi2014-11-061-352/+117
| | | | | | | | | | | A simple sortable and searchable table view example that also fits a mobile screen. The old "example" is demoted as a manual test app. Task-number: QTBUG-41253 Change-Id: I746c8e5871c35a184748abbb4427ca3d160ffc8e Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com> Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
* Table View Example: Sort indicator for the custom header delegateTopi Reinio2014-10-011-1/+19
| | | | | | | | | | | | The Delegates tab in the example shows how to use custom types as TableView header, row, and item. The UI has a checkbox to toggle a sort indicator for the header - this change implements the indicator for the custom header delegate, and adjusts the header text accordingly. Task-number: QTBUG-41396 Change-Id: Iab917b87b9b91c3dcc468f87aa14ec9293afd5f6 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Fix the editable delegate in tableview exampleJens Bache-Wiig2014-04-091-2/+2
| | | | | | | | | | We re-interpreted what "model" means in TableView to align it with what it means for ListView. Unfortunately the example still assume that "model" refers to the views acual model object and not to the current item data as it did for listview. Change-Id: I3457954a622be38500672edb1c0a910d18760947 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Bump QtQuick.Controls import version to 1.2J-P Nurmi2014-04-071-1/+1
| | | | | 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>
* Merge remote-tracking branch 'origin/release' into stableFrederik Gladhorn2013-12-031-1/+1
|\ | | | | | | Change-Id: I1b4f7508ead5631abb70b4cdf29d6efa05f33b5b
| * Fix typo in tableview example.Mitch Curtis2013-11-301-1/+1
| | | | | | | | | | | | | | Sortindicator => Sort indicator Change-Id: Id9897268bb21e9ba0dc14de2c4cc9e7f9f9a66d4 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* | Revise main() in examplesJ-P Nurmi2013-11-281-1/+1
|/ | | | | | | | | | | | Replace the inconvenient QT_QUICK_CONTROLS_EXAMPLE_MAIN macro with a simpler macro that merely defines the actual application type. This way it's easier to do tweaks to main() when for example testing a different application font size. Moreover, browsing the example code becomes more convenient (especially online). Task-number: QTBUG-35083 Change-Id: I8203816a9112bf29b4661baa86bf4a196554db05 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Fix some issues in the modelview exampleJens Bache-Wiig2013-10-161-8/+1
| | | | | | | | | | The edit menu was never implemented and should not be exposed. Fading out the combo box is not really intuitive and doesnt actually disable the control. task-number: QTBUG-33818 Change-Id: I76190b675fd9400caac2754277ba9960b7f6dd06 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Update imports to 1.1 and remove version from qmlmodule definitionJens Bache-Wiig2013-09-101-1/+1
| | | | | Change-Id: Icb4c6d78225c072da787e4646a55d8cf71a5db7a Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Adapt to Qt.platform.os rename ("mac" -> "osx")v5.1.0-rc2v5.1.0J-P Nurmi2013-06-241-1/+1
| | | | | | Change-Id: I089a01bee10b92f85dcdd338c695a3b796b0ecd1 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
* Rename controlState to styleDataJ-P Nurmi2013-05-271-4/+4
| | | | | Change-Id: I06c9f4b0d9b6eef7d2ca608827eee982d8d97027 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Refactor TableView styling APIJens Bache-Wiig2013-05-271-51/+35
| | | | | | | | | We don't want to directly expose the item properties in the namespace of the loader. Instead we standardize on styleData as a property container. Change-Id: Ib451e06ab393ba4945c96076d71dd3f96489e0c7 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Rename rowIndex and columnIndex to just row and columnJens Bache-Wiig2013-05-161-2/+2
| | | | | | | | Just aligning our delegate api with the rest. Change-Id: Ia8dc3c6dbf87431ff850a3e91f28c129072e2ee3 Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Examples: Make example projects work with Qt CreatorJens Bache-Wiig2013-05-131-1/+2
| | | | | | | | | | It seems pure qml projects don't really work in our examples architecture at the moment. This change adds a simple main file and resource bundle to each of the example folders. Change-Id: I4758242e71a2cb053252cbb09bf5c4439415691d Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Refactor and clean up public style APIJens Bache-Wiig2013-05-081-4/+4
| | | | | Change-Id: I10271c860abd9b45a262e3548628e6a3026e1a4f Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Move examples into separate quick/controls directoryKai Koehne2013-04-301-0/+427
This makes sure all examples are in a separate directory for the Qt source packages. It also is in line with how the other repositories are structured. Task-number: QTBUG-30886 Change-Id: Idc2856e5dfaf467c8cb9764aee327a3b20c7b2d0 Reviewed-by: Caroline Chao <caroline.chao@digia.com>