summaryrefslogtreecommitdiff
path: root/examples/svg/embedded
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Replace call to deprecated QNetworkReply::error method"Timur Pocheptsov2020-02-241-1/+1
| | | | | | | | | This reverts commit 88f30c3f5be38fb9cb6886a683a71ae792e61c61. Reason for revert: it was decided to use errorOccured as the name for the signal, thus we reverting this change. Change-Id: Ibc147869317e7d68162e677fcac08707d730ddb5 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* Replace call to deprecated QNetworkReply::error methodFabian Kosmale2020-01-161-1/+1
| | | | | | Change-Id: Id95d1f09fa533e2993f446da965fa7cda81c473a Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* Convert uses of QTime as a timer to QElapsedTimerEdward Welbourne2019-06-131-3/+3
| | | | | | | | | | | | One was an easy replacement, the other changes its reference time, which isn't supported by QElapsedTimer. However, it was easy enough to reimplement in terms of QDateTime::currentMSecsSinceEpoch(); and, as it was previously using QTime as timer, this is presumably good enough (although a proper monotonic timer would be better). Change-Id: I90f8e08635e7d2bc364755efd93fce008b6a62c0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* QtSvg: remove deprecated functions and enumerationsChristian Ehrlicher2019-05-272-4/+1
| | | | | | | | Replace QPainter::HighQualityAntialiasing with Antialiasing and remove defines needed for Qt4. Change-Id: I866decad7d9c10da15e5b0e0bd79033d574f6a08 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* Fix deprecation warningsv5.13.0-alpha1Friedemann Kleint2019-02-051-2/+2
| | | | | | | | | | | | | | | | | Fix: qsvgiconengine.cpp: In member function ‘virtual QPixmap QSvgIconEngine::pixmap(const QSize&, QIcon::Mode, QIcon::State)’: qsvgiconengine.cpp:200:38: warning: ‘static bool QPixmapCache::find(const QString&, QPixmap&)’ is deprecated: Use bool find(const QString &, QPixmap *) instead [-Wdeprecated-declarations] tst_qsvgrenderer.cpp:479:54: warning: ‘const QMatrix& QPainter::worldMatrix() const’ is deprecated: Use worldTransform() instead [-Wdeprecated-declarations] ... glwidget.cpp: In member function ‘void GLWidget::draw()’: glwidget.cpp:231:41: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] glwidget.cpp:232:41: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] fluidlauncher.cpp:71:65: warning: ‘const QRect QDesktopWidget::screenGeometry(int) const’ is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] Change-Id: Iae20d950c3118d05f91202c8020dbd81fa73b48f Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* Fix outdated BSD license headerKai Koehne2017-10-172-6/+26
| | | | | Change-Id: I3917e7ab180b49c77bff0d071eca10f8bc7f33c7 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Use the "process" feature to determine if QProcess is availableUlf Hermann2017-03-061-1/+1
| | | | | | | There are more platforms where it isn't. Change-Id: I7be556fb4ed5327205ce734f1edca934ce292c00 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* Examples: Add missing override and remove redundant virtualAlexander Volkov2016-12-066-20/+20
| | | | | | Change-Id: I3292c8e35bdedeb42d9ca3b163587ead83236bf0 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* Eradicate Q_FOREACH loops and mark the module as Q_FOREACH-freeMarc Mutz2016-09-131-3/+2
| | | | | | | | | | | | | | | | | | | | In BearerCloud::timerEvent(), bite the bullet and use a std::vector instead of a QList to avoid repeated qAsConst() applications. In BearerCloud::configurationRemoved() and configurationChanged(), instead of iterating over QMultiMap::uniqueKeys() and QMap::remove(), iterate directly over the QMultiMap and remove the desired elements. Cache a QString. In BearerCloud::updateConfigurations(), instead of using while !isEmpty() takeFirst() on a local copy of a QList, simply iterate over the QList (now made const) using C++11 ranged for. In tst_QSvgGenerator, replace a QList of statically-known size with a C array. Change-Id: Ic0dd1c67d0819fe6167f2bce248f9b910be65803 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Disable fluidlauncher example on UIKit platformsJake Petroules2016-08-181-1/+1
| | | | | | | | This example requires QProcess support which UIKit platforms don't have. Change-Id: I97a66958d33717df84d9e481732d670d539656de Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Merge remote-tracking branch 'origin/5.7' into devLiang Qi2016-05-241-8/+0
|\ | | | | | | Change-Id: I02f07888db8531778c1e28aa3da6d2166c7b8c8a
| * Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.0-rc1Liang Qi2016-05-191-8/+0
| |\ | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I55408b98072be007247bca4fa61f1a62ce32e7ca
| | * purge symbian vestigeOswald Buddenhagen2016-04-281-8/+0
| | | | | | | | | | | | | | | Change-Id: Ic1bc43b92a8c211ecadf1f2988fbb33779a27c08 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* | | Remove Windows CE.Friedemann Kleint2016-03-103-55/+0
|/ / | | | | | | | | | | | | | | | | Remove #ifdef sections for Q_OS_WINCE, wince .pro file clauses and Windows CE-specific files. Task-number: QTBUG-51673 Change-Id: I07ea3a9522d5b6bd8cce6f5256d92e65a699e3f5 Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
* | Updated license headersJani Heikkinen2016-01-2515-244/+499
|/ | | | | | | | | | | 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-132-6/+6
| | | | | Change-Id: Id2a266b2ec46761769a6bb220cb84dd70fec0817 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Update copyright headersJani Heikkinen2015-02-1117-117/+117
| | | | | | | | | | 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>
* 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-2515-285/+165
| | | | | | | | | - 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>
* 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>
* remove QT+=widgets from SUBDIRS projectsOswald Buddenhagen2013-01-111-1/+0
| | | | | | | it makes no sense whatsoever Change-Id: I02383afae25b2c29ad784d59025238f84375765e Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* make use of qtHaveModule()Oswald Buddenhagen2013-01-111-1/+1
| | | | | Change-Id: Idd8bca1e8e9bb183bc6725b9a9d6a220d609869d Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-1017-17/+17
| | | | | | 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-041-2/+1
| | | | | 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-0687-0/+5898
This follows suit with aeb036e in qtbase. Change-Id: I2e64dcce15b3b39f98395df5627cf0839debdf99 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>