| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Change-Id: I589e15e78ac980f326566e7543e0378c24e4088a
|
| |
| |
| |
| |
| |
| | |
Change-Id: Id95d1f09fa533e2993f446da965fa7cda81c473a
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
|/
|
|
|
|
|
|
|
|
|
| |
Remove the framebufferobject example as it still relied
on the now removed QGL* classes.
Ported the svgviewer example over to use QOpenGLWidget.
Change-Id: Idfb1ea7bcb0c8ba7f3f97b4b2d26603f4f7ec96a
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
|
|
|
|
|
|
|
|
|
| |
Replaced:
QDesktopWidget::availableGeometry(QWidget*) -> QWidget::screen()->availableGeometry()
Task-number: QTBUG-76491
Change-Id: Icfda5c8f046652f30eb123be3a377da2e8ecc11c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Replaced the deprecated QWheelEvent::delta() with the vertical component of
angle delta, assuming that it's acceptable to have a single-dimension
mouse wheel in the example code.
Task-number: QTBUG-76491
Change-Id: I404d0bf80e22ef4ec3a11aa962f0389c150081cb
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
Replace QPainter::HighQualityAntialiasing with Antialiasing and remove
defines needed for Qt4.
Change-Id: I866decad7d9c10da15e5b0e0bd79033d574f6a08
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: Id98f7cc5fb46bfc4ed57a78c86096b3d191967f5
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
| |
Rename Cloud::advance() to Cloud::advanceAnimation() to avoid a
clash with void QGraphicsItem::advance(int).
Task-number: QTBUG-60653
Change-Id: Iabcc0eab6de3090c5dcc0952f350b060ae542f02
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Add a label displaying the current zoom with
a tooltip.
Add menu actions for ZoomIn/ZoomOut and Reset.
Task-number: QTBUG-60653
Change-Id: I7569427345737024b7a3191677e54c83673bb40e
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|
|
|
|
| |
Change-Id: I69f37f9304f24709a823fffd14e676c097712329
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I8b9a5a395dbd6659f7806eeebdd665c760a71ec1
|
| |
| |
| |
| |
| | |
Change-Id: I2a2501a61107717b8e1adacad064664cf54cd972
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I3917e7ab180b49c77bff0d071eca10f8bc7f33c7
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The whole array was incremented in lock-step so that, when values were
being read, they all had the same value; so a single float can hold
that value, instead of 16k copies of it.
Change-Id: Ib1bd31513eb7fe9e500f16f37a1c3653426c896c
Reviewed-by: hjk <hjk@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use M_PI (from qmath.h) rather than hand-rolled values. Simplify some
untidy arithmetic, eliminating some duplication and inefficiency.
Task-number: QTBUG-58083
Change-Id: I6ec5a91cae30693e0c17f80e2be235faa1edcdb7
Reviewed-by: hjk <hjk@qt.io>
|
|/
|
|
|
| |
Change-Id: Icd0e0d4b27cb4e5eb892fffd14b5285d43f4afbf
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
| |
The qfeatures mechanism doesn't exist anymore. Use qtConfig(...)
instead.
Change-Id: I8285d7f92d87c07d316a47ef96178d9024aac40f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
|
|
|
|
|
| |
There are more platforms where it isn't.
Change-Id: I7be556fb4ed5327205ce734f1edca934ce292c00
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
|
|
|
|
| |
Change-Id: I3292c8e35bdedeb42d9ca3b163587ead83236bf0
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: Ic345acc4e7cf08a0fd94c9e3a1fd2279cdd8a93e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| |
| | |
Change-Id: I02f07888db8531778c1e28aa3da6d2166c7b8c8a
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: I55408b98072be007247bca4fa61f1a62ce32e7ca
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ic1bc43b92a8c211ecadf1f2988fbb33779a27c08
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
they were added without an explanation, and they can't be particularly
useful (because they contain hard-coded paths and refer to non-existing
icons).
Change-Id: I5f0bb2efbdfa296c07a65afacac5fb1d80490037
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I97d904adb62eda37b0d40a1b33ea62aa9f66f5ff
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: I8226348c242d0d5bf1f78adc376ecbe26215445e
|
| |\ \
| | |/
| | |
| | | |
Change-Id: I14c3db02026247710ea21ef90e804773acf53cac
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Otherwise heart.svg is installed two times - one time in a strange
location.
Change-Id: Iacd0c7342f323dd600e0539e399efe4d1d9e5665
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: Id2a266b2ec46761769a6bb220cb84dd70fec0817
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Task-number: QTBUG-43462
Change-Id: I9c5092d68b767cafe2c98838e32b205311105452
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
|
|
|
|
| |
Change-Id: I57aae43b317734d86201ef3ed797ac0a44c1fe6b
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
| |
Change-Id: Iaf1109eb70c892aa819775f2773168633c62af67
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I95a2619343535740ed744eb1b0f3a51d62e6fb22
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
|
|
|
|
|
|
|
| |
"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>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-31345
Change-Id: Ic2659fa90c3928ed75d5768dfb386184b523c8cd
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
|