summaryrefslogtreecommitdiff
path: root/examples/svg
Commit message (Collapse)AuthorAgeFilesLines
* SVG viewer: Add export option.Friedemann Kleint2016-03-157-6/+363
| | | | | | | | | Add an option to export an image giving a size. This can be used for creating High DPI icons from SVG files among other things. Task-number: QTBUG-49374 Change-Id: I0437889961bc6e646667c5165584002f7ab4d952 Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
* Polish the SVG viewer example.Friedemann Kleint2016-03-115-87/+102
| | | | | | | | | | | | - Use Qt 5 connection syntax, demonstrating lambdas. - Use QCommandLineParser. - Improve error handling. - Use Mime API of QFileDialog, point to pictures location initially. - Prevent the application from shrinking when loading small images. - Minor polishing, status messages on loading, About Qt dialog. Change-Id: I76f14001c9ab12cbfaaacc2ca4828b404e4b13b2 Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
* Fix building with unusual optionsUlf Hermann2016-02-081-1/+2
| | | | | | | | | | | | When building without image format plugins we shouldn't even try to build the svg image format plugin. Otherwise it will fail to load later. Then icon engine plugin, however, can easily be built even without image formats. Furthermore, the network example needs bearer management. Change-Id: I1380e5b2de7d112283ef0fb65a01a5049412af55 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
* Updated license headersJani Heikkinen2016-01-2518-294/+600
| | | | | | | | | | | From Qt 5.7 -> examples are licensed under BSD license, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new BSD header instead of LGPL21 one (in those files which will be under BSD) Change-Id: I24ade8428a20f6c0070729b5fa8b20839f07a143 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Fixed BSD licensed file headersJani Heikkinen2015-02-1331-93/+93
| | | | | Change-Id: Id2a266b2ec46761769a6bb220cb84dd70fec0817 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Update copyright headersJani Heikkinen2015-02-1152-301/+301
| | | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: Ie7d37928ebd680c6f1b20045de11abcd5595c73f Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Doc: corrected links text object examplev5.4.15.4.1Nico Vertriest2014-12-232-0/+156
| | | | | | Task-number: QTBUG-43462 Change-Id: I9c5092d68b767cafe2c98838e32b205311105452 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Fix permissions of svg fileKai Koehne2014-12-011-0/+0
| | | | | Change-Id: I57aae43b317734d86201ef3ed797ac0a44c1fe6b Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Fix shadow build behavior of fluidlauncher exampleAlex Blasche2014-09-195-3/+67
| | | | | | | | | | | All files are embedded into a qrc file. The image lookup first assumes that local dirs are used. If nothing is found the lookup moves to the qrc file. This enables flexibility whereby the app can still be customized after having been built. Task-number: QTBUG-28377 Change-Id: I99371ecce08a45321e475a7c32d5b368716bdb18 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* Update license headers and add new license filesv5.4.0-alpha1Antti Kokko2014-08-2518-342/+198
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I847adeea20fd98e5c9a18b8c44a15de84283f216 Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* Remove example for WinRTMaurice Kalinowski2014-07-071-0/+3
| | | | | Change-Id: Iaf1109eb70c892aa819775f2773168633c62af67 Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
* qtsvg: Disable framebuffer example for dynamic gl buildsLaszlo Agocs2014-06-261-1/+1
| | | | | | | | Examples relying on OpenGL 1.x cannot be used in dynamic OpenGL builds. Therefore we just disable them, like in ES builds. Change-Id: Ifdd773f4aa4dc317fad1912b40991e129ded05d9 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Remove obsolete dependency on QtXmlv5.3.1stable5.3.1Alessandro Portale2014-05-201-1/+1
| | | | | | | | | | | | A while a go, QtSvg was changed to use the QXmlStream* classes from QtCore. Now, only tests/auto/qsvggenerator is left with a QtXml dependency. This patch also reverts commit b719b93770393bbf20251e1dffc70498061e612c Change-Id: I67417a27aa66a2db6d1985cad73e5bab806ad7d2 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Examples: Use yr.no API for the embedded/weatherinfo exampleCaroline Chao2014-04-151-159/+252
| | | | | | | | | | Since the google API is no longer available Task-number: QTBUG-38041 Change-Id: I8ef91a047cade27856579cf871efb5e10afd2350 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* Remove S60-configuration from fluidlauncher example.Friedemann Kleint2013-07-041-35/+0
| | | | | Change-Id: I95a2619343535740ed744eb1b0f3a51d62e6fb22 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Fix warning in fluidlauncher example.Friedemann Kleint2013-07-043-4/+6
| | | | | | | | "QFSFileEngine::open: No file name specified" for empty icon. Change getImage() to return a QImage to avoid leaking QImages. Change-Id: I0ff3843b32d8faad9dd01bf81a5496a701d555cf Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Disable compilation of framebufferobject example for OpenGL ES 2.0v5.1.0-rc2v5.1.0-rc1v5.1.0Gunnar Sletta2013-05-282-1/+3
| | | | | | | Task-number: QTBUG-31345 Change-Id: Ic2659fa90c3928ed75d5768dfb386184b523c8cd Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
* Doc: Fix module name formatSze Howe Koh2013-01-262-2/+2
| | | | | | | | Follow the conventions at http://qt-project.org/wiki/Spelling_Module_Names_in_Qt_Documentation Change-Id: Iec74520d922bf87241eca8e12698ed3fbff84367 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* remove QT+=widgets from SUBDIRS projectsOswald Buddenhagen2013-01-116-7/+0
| | | | | | | it makes no sense whatsoever Change-Id: I02383afae25b2c29ad784d59025238f84375765e Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* make use of qtHaveModule()Oswald Buddenhagen2013-01-117-8/+8
| | | | | Change-Id: Idd8bca1e8e9bb183bc6725b9a9d6a220d609869d Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-1051-51/+51
| | | | | | Change-Id: Icf9d15a0f1f38ab60f0dd8fc2bc6ac936dd7dc62 Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* clean up example project files wrt QT+=widgetsOswald Buddenhagen2013-01-045-12/+5
| | | | | Change-Id: Ie39fa6ef364320842e8efe30594f9cfad39fce26 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* make qtbase build dir dependency explicitv5.0.0Oswald Buddenhagen2012-12-131-3/+5
| | | | | Change-Id: If18427d317328607615d6a06878930dd2d124ecd Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Centralize and fixup qtsvg example sources install targetshjk2012-12-06134-17/+9126
| | | | | | | This follows suit with aeb036e in qtbase. Change-Id: I2e64dcce15b3b39f98395df5627cf0839debdf99 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Fix building of installed examples.Friedemann Kleint2012-11-214-8/+11
| | | | | | | | | - Correct install paths - Add missing resources. Task-number: QTBUG-27977 Change-Id: Ie31cc31a208393dd8dfce87b067b81d986dc946e Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Doc: Modularized Qt Svg documentationGeir Vattekar2012-10-2535-0/+2599
Change-Id: I2b503ec04a0a4bf800f62c8d3dc2bf1675293add Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>