summaryrefslogtreecommitdiffstats
path: root/examples/demos/photoviewer/PhotoViewerCore
Commit message (Collapse)AuthorAgeFilesLines
* Use SPDX license identifiersLucie Gérard2022-06-079-441/+18
| | | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: Idfd176b7f7b077a5b7c66b7738dc9bcac94ab290 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 6f57506953cc1efaf474368393ecb1df38c9f46a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update examples to use XmlListModel from QtDeclarativeIvan Solovev2021-03-162-14/+26
| | | | | | | | | | | | | | | | | | | Now when the XmlListModel is a part of QtDeclarative, we can udpate the examples, which were using the model. This patch introduces the following changes: - Uses XmlListModel from QtDeclarative, removes the custom implementation from shared subdir. - Improves photoviewer and rssnew examples to get rid of some qml and C++ warnings and deprecation notifications. - Updates the documentation for photoviewer and rssnew examples to reflect the usage of the XmlListModel from QtDeclarative. - Enables documentation build for rssnews example Task-number: QTBUG-89817 Change-Id: If3736a18070dc19492058f7c184d5c9cfab74663 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Port photoviewer's XmlListModel away from QtXmlPatternsDoris Verria2020-11-059-33/+20
| | | | | | | | Remove the qtxmlpatterns dependendency of photoviewer demo and reimplement XmlListModel class to use QXmlStreamReader instead of XPath/XQuery to query Xml. Fixes: QTBUG-88058 Change-Id: If21f3f361c8154bc56d94f37263801b33af8906f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Photoviewer: Fix warnings floodFriedemann Kleint2019-04-231-2/+3
| | | | | | | | | | | | | | | | Accept https and check for the match of the regexp, fixing: rc:/PhotoViewerCore/script/script.mjs:61: TypeError: Cannot read property '1' of null qrc:/PhotoViewerCore/script/script.mjs:61: TypeError: Cannot read property '1' of null qrc:/PhotoViewerCore/script/script.mjs:61: TypeError: Cannot read property '1' of null qrc:/PhotoViewerCore/script/script.mjs:61: TypeError: Cannot read property '1' of null qrc:/PhotoViewerCore/script/script.mjs:61: TypeError: Cannot read property '1' of null qrc:/PhotoViewerCore/script/script.mjs:61: TypeError: Cannot read property '1' of null Fixes: QTBUG-75255 Change-Id: I3c447830874d504213276b8064abcf3cef1f72ec Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Port photoviewer example to use a ES module for the script codeSimon Hausmann2018-08-232-7/+5
| | | | | | | | ... instead of the proprietary .pragma library syntax. Change-Id: Ic5add04d6446a3c221eb3be6ec5a2240f0f80691 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Move demos to qtdoc repositoryVenugopal Shivashankar2018-07-0912-0/+898
These demos use several modules and moving them allows to use for example Qt Quick Controls 2 in them. The shared directory should be removed and the examples made self-contained. Change-Id: I5dc667d22388651894d7d145b65752bc5c5cf6cf Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>