diff options
author | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2014-11-24 13:37:06 +0100 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2014-11-24 13:39:13 +0100 |
commit | 34aba4724f196e34ed02cf50073f41968f119bb6 (patch) | |
tree | 0ebdfcabda989ab76ee6de53c6461553c7a767a5 /examples/widgets | |
parent | b86b2a742afae118bf974c82ba966ddb0cae4afb (diff) | |
parent | b1cf07f495e10c93e53651ac03e46ebdaea0a97e (diff) | |
download | qtbase-34aba4724f196e34ed02cf50073f41968f119bb6.tar.gz |
Merge remote-tracking branch 'origin/5.4' into dev
Conflicts:
src/corelib/io/qiodevice.cpp
src/plugins/bearer/linux_common/qofonoservice_linux.cpp
src/plugins/bearer/linux_common/qofonoservice_linux_p.h
src/plugins/platforms/android/qandroidplatformtheme.cpp
src/tools/bootstrap/bootstrap.pro
src/widgets/styles/qmacstyle_mac.mm
Change-Id: Ia02aab6c4598ce74e9c30bb4666d5e2ef000f99b
Diffstat (limited to 'examples/widgets')
23 files changed, 11 insertions, 8 deletions
diff --git a/examples/widgets/animation/animatedtiles/images/kinetic.png b/examples/widgets/animation/animatedtiles/images/kinetic.png Binary files differindex 55cfa5515f..d5fc0af0f2 100644 --- a/examples/widgets/animation/animatedtiles/images/kinetic.png +++ b/examples/widgets/animation/animatedtiles/images/kinetic.png diff --git a/examples/widgets/animation/easing/images/qt-logo.png b/examples/widgets/animation/easing/images/qt-logo.png Binary files differindex 14ddf2a028..6b72d5fb72 100644 --- a/examples/widgets/animation/easing/images/qt-logo.png +++ b/examples/widgets/animation/easing/images/qt-logo.png diff --git a/examples/widgets/doc/images/dropsite-example.png b/examples/widgets/doc/images/dropsite-example.png Binary files differindex 2c42c7be69..c555dd3609 100644 --- a/examples/widgets/doc/images/dropsite-example.png +++ b/examples/widgets/doc/images/dropsite-example.png diff --git a/examples/widgets/doc/images/icons_qt_extended_16x16.png b/examples/widgets/doc/images/icons_qt_extended_16x16.png Binary files differindex 92743690e3..8bae9499e4 100644 --- a/examples/widgets/doc/images/icons_qt_extended_16x16.png +++ b/examples/widgets/doc/images/icons_qt_extended_16x16.png diff --git a/examples/widgets/doc/images/icons_qt_extended_17x17.png b/examples/widgets/doc/images/icons_qt_extended_17x17.png Binary files differindex e9bb24a282..7ef4222f93 100644 --- a/examples/widgets/doc/images/icons_qt_extended_17x17.png +++ b/examples/widgets/doc/images/icons_qt_extended_17x17.png diff --git a/examples/widgets/doc/images/icons_qt_extended_32x32.png b/examples/widgets/doc/images/icons_qt_extended_32x32.png Binary files differindex cd3d0f3255..7b0c54bac3 100644 --- a/examples/widgets/doc/images/icons_qt_extended_32x32.png +++ b/examples/widgets/doc/images/icons_qt_extended_32x32.png diff --git a/examples/widgets/doc/images/icons_qt_extended_33x33.png b/examples/widgets/doc/images/icons_qt_extended_33x33.png Binary files differindex a67565cc2b..1a38f6e44b 100644 --- a/examples/widgets/doc/images/icons_qt_extended_33x33.png +++ b/examples/widgets/doc/images/icons_qt_extended_33x33.png diff --git a/examples/widgets/doc/images/icons_qt_extended_48x48.png b/examples/widgets/doc/images/icons_qt_extended_48x48.png Binary files differindex 5aa2d73f71..85dcb5f26c 100644 --- a/examples/widgets/doc/images/icons_qt_extended_48x48.png +++ b/examples/widgets/doc/images/icons_qt_extended_48x48.png diff --git a/examples/widgets/doc/images/icons_qt_extended_64x64.png b/examples/widgets/doc/images/icons_qt_extended_64x64.png Binary files differindex 5aa2d73f71..d0bfd97f10 100644 --- a/examples/widgets/doc/images/icons_qt_extended_64x64.png +++ b/examples/widgets/doc/images/icons_qt_extended_64x64.png diff --git a/examples/widgets/doc/images/icons_qt_extended_8x8.png b/examples/widgets/doc/images/icons_qt_extended_8x8.png Binary files differindex 8de7fce038..dcbb5811c6 100644 --- a/examples/widgets/doc/images/icons_qt_extended_8x8.png +++ b/examples/widgets/doc/images/icons_qt_extended_8x8.png diff --git a/examples/widgets/doc/src/application.qdoc b/examples/widgets/doc/src/application.qdoc index 0d244bce00..e0379e9d75 100644 --- a/examples/widgets/doc/src/application.qdoc +++ b/examples/widgets/doc/src/application.qdoc @@ -75,12 +75,12 @@ \snippet mainwindows/application/mainwindow.cpp 0 - We start by including \c <QtGui>, a header file that contains the - definition of all classes in the Qt Core and Qt GUI + We start by including \c <QtWidgets>, a header file that contains the + definition of all classes in the Qt Core, Qt GUI and Qt Widgets modules. This saves us from the trouble of having to include every class individually. We also include \c mainwindow.h. - You might wonder why we don't include \c <QtGui> in \c + You might wonder why we don't include \c <QtWidgets> in \c mainwindow.h and be done with it. The reason is that including such a large header from another header file can rapidly degrade performances. Here, it wouldn't do any harm, but it's still diff --git a/examples/widgets/doc/src/dockwidgets.qdoc b/examples/widgets/doc/src/dockwidgets.qdoc index 2987ec1211..a11524f4f4 100644 --- a/examples/widgets/doc/src/dockwidgets.qdoc +++ b/examples/widgets/doc/src/dockwidgets.qdoc @@ -55,8 +55,8 @@ \snippet mainwindows/dockwidgets/mainwindow.cpp 0 - We start by including \c <QtGui>, a header file that contains the - definition of all classes in the Qt Core and Qt GUI + We start by including \c <QtWidgets>, a header file that contains the + definition of all classes in the Qt Core, Qt GUI and Qt Widgets modules. This saves us from having to include every class individually and is especially convenient if we add new widgets. We also include \c mainwindow.h. diff --git a/examples/widgets/draganddrop/puzzle/example.jpg b/examples/widgets/draganddrop/puzzle/example.jpg Binary files differindex e09fb70757..023203c57a 100644 --- a/examples/widgets/draganddrop/puzzle/example.jpg +++ b/examples/widgets/draganddrop/puzzle/example.jpg diff --git a/examples/widgets/graphicsview/boxes/qt-logo.jpg b/examples/widgets/graphicsview/boxes/qt-logo.jpg Binary files differindex 4014b4659c..8d7fab052a 100644 --- a/examples/widgets/graphicsview/boxes/qt-logo.jpg +++ b/examples/widgets/graphicsview/boxes/qt-logo.jpg diff --git a/examples/widgets/graphicsview/boxes/qt-logo.png b/examples/widgets/graphicsview/boxes/qt-logo.png Binary files differindex 7d3e97eb36..0b0b15480c 100644 --- a/examples/widgets/graphicsview/boxes/qt-logo.png +++ b/examples/widgets/graphicsview/boxes/qt-logo.png diff --git a/examples/widgets/itemviews/puzzle/example.jpg b/examples/widgets/itemviews/puzzle/example.jpg Binary files differindex e09fb70757..023203c57a 100644 --- a/examples/widgets/itemviews/puzzle/example.jpg +++ b/examples/widgets/itemviews/puzzle/example.jpg diff --git a/examples/widgets/painting/basicdrawing/images/qt-logo.png b/examples/widgets/painting/basicdrawing/images/qt-logo.png Binary files differindex a8b452e07a..abfc8caadb 100644 --- a/examples/widgets/painting/basicdrawing/images/qt-logo.png +++ b/examples/widgets/painting/basicdrawing/images/qt-logo.png diff --git a/examples/widgets/widgets/icons/images/qt_extended_16x16.png b/examples/widgets/widgets/icons/images/qt_extended_16x16.png Binary files differindex 95d3bae838..bee4e7d6cd 100644 --- a/examples/widgets/widgets/icons/images/qt_extended_16x16.png +++ b/examples/widgets/widgets/icons/images/qt_extended_16x16.png diff --git a/examples/widgets/widgets/icons/images/qt_extended_32x32.png b/examples/widgets/widgets/icons/images/qt_extended_32x32.png Binary files differindex 7b7a790c12..6e7d000c04 100644 --- a/examples/widgets/widgets/icons/images/qt_extended_32x32.png +++ b/examples/widgets/widgets/icons/images/qt_extended_32x32.png diff --git a/examples/widgets/widgets/icons/images/qt_extended_48x48.png b/examples/widgets/widgets/icons/images/qt_extended_48x48.png Binary files differindex 8434dc26db..7a93d88900 100644 --- a/examples/widgets/widgets/icons/images/qt_extended_48x48.png +++ b/examples/widgets/widgets/icons/images/qt_extended_48x48.png diff --git a/examples/widgets/widgets/mousebuttons/buttontester.cpp b/examples/widgets/widgets/mousebuttons/buttontester.cpp index 41c6c95adf..51287f541b 100644 --- a/examples/widgets/widgets/mousebuttons/buttontester.cpp +++ b/examples/widgets/widgets/mousebuttons/buttontester.cpp @@ -41,6 +41,8 @@ #include "buttontester.h" +#include <QDebug> + void ButtonTester::mousePressEvent(QMouseEvent *e) { int j = ButtonTester::buttonByNumber (e->button()); diff --git a/examples/widgets/widgets/mousebuttons/buttontester.h b/examples/widgets/widgets/mousebuttons/buttontester.h index 9e7011ac9a..41ae8d0582 100644 --- a/examples/widgets/widgets/mousebuttons/buttontester.h +++ b/examples/widgets/widgets/mousebuttons/buttontester.h @@ -41,10 +41,8 @@ #ifndef BUTTONTESTER_H #define BUTTONTESTER_H -#include <QtWidgets> #include <QTextEdit> #include <QString> -#include <QDebug> #include <QMouseEvent> #include <QWheelEvent> diff --git a/examples/widgets/widgets/mousebuttons/main.cpp b/examples/widgets/widgets/mousebuttons/main.cpp index 184547113e..b5446df9e9 100644 --- a/examples/widgets/widgets/mousebuttons/main.cpp +++ b/examples/widgets/widgets/mousebuttons/main.cpp @@ -40,7 +40,10 @@ ****************************************************************************/ #include "buttontester.h" -#include <QtGui> + +#include <QApplication> +#include <QPushButton> +#include <QVBoxLayout> int main(int argv, char **args) { |