aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/calendar
Commit message (Collapse)AuthorAgeFilesLines
* Rename QtQuick.Calendar 2.0 to Qt.labs.calendar 1.0J-P Nurmi2015-10-017-921/+0
| | | | | Change-Id: Ief7e28f6c595cb60f15a4960dada24a6c2f5ca3e Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Templatize the former extrasJ-P Nurmi2015-09-232-7/+9
| | | | | 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>
* Use QtQuick.TemplatesJ-P Nurmi2015-09-091-1/+2
| | | | | Change-Id: I3d1822457efd740e7c9d91747e978d787c0dd4b8 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
* Make examples return -1 on load failures.Friedemann Kleint2015-08-281-0/+2
| | | | | | | | Avoid hanging processes and empty windows in case some module is not installed. Change-Id: I26c0b0fafc87ae17719850ad06f13c946f099dd9 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Add support for ListView to Tumbler.Mitch Curtis2015-08-067-131/+632
| | | | | | | This enables creation of non-wrapping Tumblers. Change-Id: I0e21b860b84c456c0651923e87217cafc42c69b7 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Speedup CalendarViewJ-P Nurmi2015-07-081-2/+0
| | | | | | | | | | | | | | | | | | | | | - Use spacing inside the positioner instead of setting padding inside each and every cell. - Resize cells in C++ to avoid those crazy expensive width/height bindings (which lead to binding loops in certain circumstances). - Cache QDate::currentDate() for model.today - Remove the dynamic font size calculation. We can add that as an example in the docs. Before: RESULT : tst_CreationTime::testCalendar():"CalendarView": 12.5 msecs per iteration (total: 100, iterations: 8) After: RESULT : tst_CreationTime::testCalendar():"CalendarView": 6.5 msecs per iteration (total: 52, iterations: 8) Change-Id: Iba6c57cb543e1e90518d920f6b52bd981160e27c Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Remove non-color properties from ThemeJ-P Nurmi2015-07-061-1/+1
| | | | | | | | Better start with a minimal set. It will be also easier to transition from Theme to Palette if it gets done. Change-Id: Ic9951ac5b913f99a84e2b8efb9ae7f8d61177aee Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Kill CalendarDelegateJ-P Nurmi2015-06-231-1/+5
| | | | | | | | | | | | The default CalendarView delegate implementation will be included in the "Customizing CalendarView" docs. That should be enough to get started, so we avoid exposing such type and committing to its API for now. Hiding it from the API allows also a bit simpler implementation => getting rid of the wrapper item reduces the total amount of items in a CalendarView from 87 to 45. Change-Id: Idac693347df72377b3bb518fb1bab505d20d6f12 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add install targets for examplesJ-P Nurmi2015-05-181-0/+3
| | | | | | | | $$[QT_INSTALL_EXAMPLES]/<module>/<example> Change-Id: I82267c740b5e7750cd0e9149b241a03837aea8e2 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Rename Style to ThemeJ-P Nurmi2015-04-081-6/+6
| | | | | Change-Id: I0186cd36f0b42ca015b70a09af27f8a3517d4a60 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Implement Style as an attached propertyJ-P Nurmi2015-03-111-6/+6
| | | | | Change-Id: I006ee566647e31d1a14919d164d7dd68539aae10 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* import QtQuick 2.6J-P Nurmi2015-03-061-1/+1
| | | | | Change-Id: I2a8a1c6884e65383f0938763497a419d2f0fcbd6 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Update padding usage in examplesJ-P Nurmi2015-03-031-2/+2
| | | | | Change-Id: Id1f983b242a0daa6b89f3b055d1b726e0a2ea049 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Update BSD license headers as appropriateJ-P Nurmi2015-02-232-6/+6
| | | | | Change-Id: I03812c7df56c804b5afdeff5829e00417a4b135c Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Examples: BSD license (liberal, free to copy-paste)J-P Nurmi2015-02-092-44/+52
| | | | | Change-Id: I311f86b9faa2fa006d563ba597fb83a2859f4aa0 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Import the Qt Quick Controls 2 prototypeJ-P Nurmi2015-02-054-0/+403
Change-Id: Ib8c0c4160958e5cfea29a6e9df1b3f1fb19715fc Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>