Merge remote-tracking branch 'origin/5.10' into dev

Conflicts:
	tests/auto/widgets/itemviews/qtreeview/tst_qtreeview.cpp

Change-Id: If089d5010d15c33b3c1f13912d4386207456c1a9
This commit is contained in:
Liang Qi 2018-01-20 22:34:43 +01:00
commit 65a97fccc6
161 changed files with 13934 additions and 13076 deletions

183
dist/changes-5.9.4 vendored Normal file
View File

@ -0,0 +1,183 @@
Qt 5.9.4 is a bug-fix release. It maintains both forward and backward
compatibility (source and binary) with Qt 5.9.0 through 5.9.3.
For more details, refer to the online documentation included in this
distribution. The documentation is also available online:
http://doc.qt.io/qt-5/index.html
The Qt version 5.9 series is binary compatible with the 5.8.x series.
Applications compiled for 5.8 will continue to run with 5.9.
Some of the changes listed in this file include issue tracking numbers
corresponding to tasks in the Qt Bug Tracker:
https://bugreports.qt.io/
Each of these identifiers can be entered in the bug tracker to obtain more
information about a particular change.
****************************************************************************
* Qt 5.9.4 Changes *
****************************************************************************
QtCore
------
- [QTBUG-64529] Fixed a compilation issue with qfloat16 if AVX2 support is
enabled in the compiler. Since all processors that support AVX2 also
support F16C, for GCC and Clang it is recommended to either add -mf16c
to your build or to use the corresponding -march= switch.
- QCoreApplication:
* [QTBUG-58919] Fixed a crash if QCoreApplication is recreated on Windows
and the passed argv parameter is different.
- QFileInfo:
* [QTBUG-30148] Fixed isWritable() on Windows to return whether the given
file is writable only under current privilege levels. Previously, the
result would take into account privilege elevation.
- QObject:
* Fixed a crash that could happen if the context QObject pointer passed to
new-style connect() was null.
- QStandardPaths:
* On Windows, it is now possible to resolve configuration paths even
without QCoreApplication created.
- QString:
* QString::unicode(), constData() and `data() const` do not return a
NUL-terminated string. This was true before, but the documentation
claimed the opposite.
- QVector:
* Fixed a problem when calling removeAll() on an element from the
container, if the container had more than one copy of the that element.
- QXmlStreamWriter:
* [QTBUG-63538] Empty namespace URIs are now possible.
- State Machine:
* [QTBUG-61463] Fixed a failed assertion that could happen when emitting a
signal from another thread.
QtNetwork
---------
- QUdpSocket:
* [QTBUG-64718] Fixed a regression from Qt 5.9.3 caused by an apparent
Win32 API quirk we triggered when using readDatagram(), resulting in
an invalid QHostAddress sender address. receiveDatagram() was not
affected.
QtPrintSupport
--------------
- QPrintDialog:
* [QTBUG-63933] Properly pre-select explicitly requested printer on
Unix.
QtWidgets
---------
- QFileSystemModel:
* [QTBUG-46684] It is now possible to enable per-file watching by
setting the environment variable QT_FILESYSTEMMODEL_WATCH_FILES,
allowing to track for example changes in file size.
* [QTBUG-64098] Fixed column alignment issues.
* [QTBUG-62841] Fixed assert when monitoring directories.
- QPixmapCache:
* [QTBUG-65475] Changing application palette runtime will now affect
(and invalidate) cached widget pixmaps used by the current style.
- QTreeView:
* [QTBUG-57538] Fixed issue with drag and drop sometimes being inaccurate.
* [QTBUG-63396] Fixed issue with child indicator not drawn correctly in RTL mode.
* [QTBUG-63869] Fixed key navigation issue when using hidden items.
* [QTBUG-8376] Fixed row heights being wrong because of hidden columns.
- QTableView:
* [QTBUG-60219] Fixed grid lines being drawn outside header.
- QHeaderView:
* [QTBUG-53221] Fixed assert in QHeaderView because of layout changes.
* [QTBUG-65017] Fixed a font issue when using drag and drop.
* [QTBUG-56520] Fixed drawing issues in RTL mode.
* [QTBUG-41124] [QTBUG-54610] Fixed update issues.
- QWidget:
* [QTBUG-61213] Fixed crash related to the usage of Qt::WA_WindowPropagation.
- QPlainTextEdit:
* [QTBUG-62818] Fixed QPlainTextedit hanging because of scrollbar usage.
- QMenu:
* [QTBUG-63576] Fixed HiDPI issue in QFusionStyle for QCheckBoxes in QMenus.
* [QTBUG-59794] Fixed HiDPI issue in QMenu when using several screens.
- QMenuItem:
* [QTBUG-64055] Fixed drawing issue when setting a font style.
- QAbstractButton:
* [QTBUG-53244] Fixed issue with released signal not being emmited when using
several mouse buttons at the same time.
- QGraphicsEffect:
* [QTBUG-60231] Fixed crash when using child widgets with graphic effects.
Third-Party Code
----------------
- [QTBUG-65138] Fixed glitch in attribution documentation for Freetype
licenses / Qt Gui.
Platform Specific Changes
-------------------------
- eglfs:
* [QTBUG-65119] Fixed crash when using cursors and multiple GL contexts.
- iOS/tvOS:
* Qt will now take the safe area margins of the device into account when
computing layouts for QtWidgets.
- macOS:
* [QTBUG-57487][QTBUG-54160] If you have changed the button mapping of
your Wacom tablet in System Preferences, it will be respected by Qt
applications now. To revert to the old behavior, set the environment
variable QT_MAC_TABLET_IGNORE_BUTTON_MAPPING.
- macOS/iOS:
* [QTBUG-63476] Fixed an issue where text using one of the system theme
fonts would under certain circumstances display random glyphs.
- INTEGRITY:
* Added mkspec for INTEGRITY Qualcomm s820 MSM8996AU
- QNX:
* [QTBUG-64033] Fixed a build issue when using slog2 in QNX7.
- X11 / XCB:
* [QTBUG-62224] Minimal libXi version requirement has been updated from
1.7.4 to 1.7.5. This is because XIAllowTouchEvents is known to
deadlock with libXi 1.7.4 and earlier. When touch events are never
received, this is not an issue. Plain mouse / keyboard systems are not
affected.
configure & build system
------------------------
- [QTBUG-61431][QTBUG-62521] Fixed processing of *_LIBS_{DEBUG|RELEASE}=
configure command line arguments.
- [QTBUG-63452] Fixed bogus complaints about DUMMY platform when
re-configuring a build on a different day than initially configuring it.
- Fixed logic errors in the conditions of various Qt features.
qmake
-----
- [QTBUG-41246][QTBUG-50896][Xcode] It is now possible to enable generation
of dSYM debug symbols for release builds.
- [iOS] Fixed compilation of asset catalogs for a generic simulator.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

After

Width:  |  Height:  |  Size: 154 KiB

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
SOURCES += main.cpp \ SOURCES += main.cpp \
dialog.cpp dialog.cpp

View File

@ -1,5 +1,6 @@
TEMPLATE = app TEMPLATE = app
QT += widgets QT += widgets
requires(qtConfig(treeview))
CONFIG -= app_bundle CONFIG -= app_bundle
CONFIG += c++11 CONFIG += c++11

View File

@ -6,6 +6,7 @@ SOURCES = main.cpp \
renderthread.cpp \ renderthread.cpp \
window.cpp window.cpp
QT += widgets QT += widgets
requires(qtConfig(filedialog))
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/corelib/threads/queuedcustomtype target.path = $$[QT_INSTALL_EXAMPLES]/corelib/threads/queuedcustomtype

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(listview))
HEADERS = randomlistmodel.h HEADERS = randomlistmodel.h
SOURCES = randomlistmodel.cpp \ SOURCES = randomlistmodel.cpp \

View File

@ -1,5 +1,6 @@
TARGET = bearermonitor TARGET = bearermonitor
QT = core gui network widgets QT = core gui network widgets
requires(qtConfig(treeview))
HEADERS = sessionwidget.h \ HEADERS = sessionwidget.h \
bearermonitor.h bearermonitor.h

View File

@ -1,4 +1,5 @@
QT += network widgets QT += network widgets
requires(qtConfig(combobox))
HEADERS = client.h HEADERS = client.h
SOURCES = client.cpp \ SOURCES = client.cpp \

View File

@ -1,4 +1,5 @@
QT += network widgets QT += network widgets
requires(qtConfig(itemviews))
SOURCES = main.cpp searchbox.cpp googlesuggest.cpp SOURCES = main.cpp searchbox.cpp googlesuggest.cpp
HEADERS = searchbox.h googlesuggest.h HEADERS = searchbox.h googlesuggest.h

View File

@ -12,6 +12,7 @@ SOURCES = chatdialog.cpp \
FORMS = chatdialog.ui FORMS = chatdialog.ui
QT += network widgets QT += network widgets
requires(qtConfig(udpsocket)) requires(qtConfig(udpsocket))
requires(qtConfig(listwidget))
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/network/network-chat target.path = $$[QT_INSTALL_EXAMPLES]/network/network-chat

View File

@ -10,6 +10,8 @@ FORMS += certificateinfo.ui \
sslclient.ui \ sslclient.ui \
sslerrors.ui sslerrors.ui
QT += network widgets QT += network widgets
requires(qtConfig(listwidget))
requires(qtConfig(combobox))
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/network/securesocketclient target.path = $$[QT_INSTALL_EXAMPLES]/network/securesocketclient

View File

@ -1,4 +1,5 @@
QT += network widgets QT += network widgets
requires(qtConfig(filedialog))
HEADERS += addtorrentdialog.h \ HEADERS += addtorrentdialog.h \
bencodeparser.h \ bencodeparser.h \

View File

@ -1,5 +1,6 @@
TEMPLATE = app TEMPLATE = app
QT += widgets QT += widgets
requires(qtConfig(filedialog))
SOURCES += main.cpp \ SOURCES += main.cpp \
widget.cpp \ widget.cpp \

View File

@ -1,4 +1,5 @@
QT += concurrent widgets QT += concurrent widgets
requires(qtConfig(filedialog))
SOURCES += main.cpp imagescaling.cpp SOURCES += main.cpp imagescaling.cpp
HEADERS += imagescaling.h HEADERS += imagescaling.h

View File

@ -7,6 +7,7 @@ SOURCES = bookdelegate.cpp main.cpp bookwindow.cpp
FORMS = bookwindow.ui FORMS = bookwindow.ui
QT += sql widgets widgets QT += sql widgets widgets
requires(qtConfig(tableview))
target.path = $$[QT_INSTALL_EXAMPLES]/sql/books target.path = $$[QT_INSTALL_EXAMPLES]/sql/books
INSTALLS += target INSTALLS += target

View File

@ -3,6 +3,7 @@ HEADERS = ../connection.h \
SOURCES = main.cpp \ SOURCES = main.cpp \
tableeditor.cpp tableeditor.cpp
QT += sql widgets QT += sql widgets
requires(qtConfig(tableview))
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/sql/cachedtable target.path = $$[QT_INSTALL_EXAMPLES]/sql/cachedtable

View File

@ -8,6 +8,7 @@ SOURCES = imageitem.cpp \
main.cpp \ main.cpp \
view.cpp view.cpp
QT += sql widgets QT += sql widgets
requires(qtConfig(combobox))
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/sql/drilldown target.path = $$[QT_INSTALL_EXAMPLES]/sql/drilldown

View File

@ -8,6 +8,7 @@ SOURCES = dialog.cpp \
QT += sql widgets QT += sql widgets
QT += xml widgets QT += xml widgets
requires(qtConfig(tableview))
EXAMPLE_FILES = albumdetails.xml EXAMPLE_FILES = albumdetails.xml

View File

@ -5,6 +5,7 @@ SOURCES = customsqlmodel.cpp \
editablesqlmodel.cpp \ editablesqlmodel.cpp \
main.cpp main.cpp
QT += sql widgets QT += sql widgets
requires(qtConfig(tableview))
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/sql/querymodel target.path = $$[QT_INSTALL_EXAMPLES]/sql/querymodel

View File

@ -1,6 +1,7 @@
HEADERS = ../connection.h HEADERS = ../connection.h
SOURCES = relationaltablemodel.cpp SOURCES = relationaltablemodel.cpp
QT += sql widgets QT += sql widgets
requires(qtConfig(tableview))
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/sql/relationaltablemodel target.path = $$[QT_INSTALL_EXAMPLES]/sql/relationaltablemodel

View File

@ -2,6 +2,7 @@ TEMPLATE = app
TARGET = sqlbrowser TARGET = sqlbrowser
QT += sql widgets QT += sql widgets
requires(qtConfig(tableview))
HEADERS = browser.h connectionwidget.h qsqlconnectiondialog.h HEADERS = browser.h connectionwidget.h qsqlconnectiondialog.h
SOURCES = main.cpp browser.cpp connectionwidget.cpp qsqlconnectiondialog.cpp SOURCES = main.cpp browser.cpp connectionwidget.cpp qsqlconnectiondialog.cpp

View File

@ -2,6 +2,7 @@ HEADERS = window.h
SOURCES = main.cpp \ SOURCES = main.cpp \
window.cpp window.cpp
QT += sql widgets QT += sql widgets
requires(qtConfig(combobox))
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/sql/sqlwidgetmapper target.path = $$[QT_INSTALL_EXAMPLES]/sql/sqlwidgetmapper

View File

@ -1,6 +1,7 @@
HEADERS = ../connection.h HEADERS = ../connection.h
SOURCES = tablemodel.cpp SOURCES = tablemodel.cpp
QT += sql widgets QT += sql widgets
requires(qtConfig(tableview))
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/sql/tablemodel target.path = $$[QT_INSTALL_EXAMPLES]/sql/tablemodel

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
qtHaveModule(printsupport): QT += printsupport qtHaveModule(printsupport): QT += printsupport
HEADERS = mainwindow.h \ HEADERS = mainwindow.h \

View File

@ -48,7 +48,7 @@
** **
****************************************************************************/ ****************************************************************************/
#include <QtWidgets> #include <QtWidgets/QtWidgets>
#include <QtCore/qmath.h> #include <QtCore/qmath.h>
#include <QtCore/qrandom.h> #include <QtCore/qrandom.h>
#include <QtCore/qstate.h> #include <QtCore/qstate.h>
@ -236,25 +236,25 @@ int main(int argc, char **argv)
anim->setEasingCurve(QEasingCurve::InOutBack); anim->setEasingCurve(QEasingCurve::InOutBack);
group->addAnimation(anim); group->addAnimation(anim);
} }
QAbstractTransition *trans = rootState->addTransition(ellipseButton, SIGNAL(pressed()), ellipseState); QAbstractTransition *trans = rootState->addTransition(ellipseButton, &Button::pressed, ellipseState);
trans->addAnimation(group); trans->addAnimation(group);
trans = rootState->addTransition(figure8Button, SIGNAL(pressed()), figure8State); trans = rootState->addTransition(figure8Button, &Button::pressed, figure8State);
trans->addAnimation(group); trans->addAnimation(group);
trans = rootState->addTransition(randomButton, SIGNAL(pressed()), randomState); trans = rootState->addTransition(randomButton, &Button::pressed, randomState);
trans->addAnimation(group); trans->addAnimation(group);
trans = rootState->addTransition(tiledButton, SIGNAL(pressed()), tiledState); trans = rootState->addTransition(tiledButton, &Button::pressed, tiledState);
trans->addAnimation(group); trans->addAnimation(group);
trans = rootState->addTransition(centeredButton, SIGNAL(pressed()), centeredState); trans = rootState->addTransition(centeredButton, &Button::pressed, centeredState);
trans->addAnimation(group); trans->addAnimation(group);
QTimer timer; QTimer timer;
timer.start(125); timer.start(125);
timer.setSingleShot(true); timer.setSingleShot(true);
trans = rootState->addTransition(&timer, SIGNAL(timeout()), ellipseState); trans = rootState->addTransition(&timer, &QTimer::timeout, ellipseState);
trans->addAnimation(group); trans->addAnimation(group);
states.start(); states.start();

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(listwidget))
HEADERS = window.h \ HEADERS = window.h \
animation.h animation.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
HEADERS = screenshot.h HEADERS = screenshot.h
SOURCES = main.cpp \ SOURCES = main.cpp \

View File

@ -4,6 +4,7 @@ SOURCES = main.cpp \
RESOURCES = systray.qrc RESOURCES = systray.qrc
QT += widgets QT += widgets
requires(qtConfig(combobox))
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/desktop/systray target.path = $$[QT_INSTALL_EXAMPLES]/widgets/desktop/systray

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
HEADERS = window.h HEADERS = window.h
SOURCES = main.cpp \ SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
HEADERS = dialog.h HEADERS = dialog.h
SOURCES = dialog.cpp \ SOURCES = dialog.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(listwidget))
HEADERS = tabdialog.h HEADERS = tabdialog.h
SOURCES = main.cpp \ SOURCES = main.cpp \

View File

@ -32,4 +32,13 @@
\brief Demonstrates how to apply graphical effects on items in the view \brief Demonstrates how to apply graphical effects on items in the view
\image blurpickereffect-example.png \image blurpickereffect-example.png
The Blur Picker example displays a circle of application icons.
All icons are blurred, except the one on the bottom left side of
the screen, which is the one in focus.
Clicking anywhere on the left side of the screen moves the icon
circle clockwise to the next icon
Clicking on the right side advances the circle counterclockwise.
\sa QGraphicsBlurEffect
*/ */

View File

@ -35,4 +35,47 @@
class. class.
\image graphicsanchorlayout-example.png \image graphicsanchorlayout-example.png
The basic steps of this example are:
\list
\li Create a QGraphicsScene
\li Create widgets
\li Create a QGraphicsAnchorLayout
\li Create a QGraphicsWidget
\li Add vertical and horizontal anchors between the widgets
\li View the scene with a QGraphicsView object
\endlist
\section1 Creating a QGraphicsScene
\quotefromfile graphicsview/anchorlayout/main.cpp
\skipto QGraphicsScene
\printuntil setSceneRect
\section1 Creating Widgets
\skipto QGraphicsProxyWidget
\printuntil *g
\section1 Creating a Layout
\skipto QGraphicsAnchorLayout
\printuntil l->setSpacing
\section1 Creating a QGraphicsWidget
\skipto QGraphicsWidget
\printuntil setLayout(l)
\section1 Adding Anchors
\skipto vertical
\printuntil l->addAnchor(f, Qt::AnchorRight
\section1 Viewing the Scene with QGraphicsView
\skipto scene.addItem
\printuntil view.show
\sa {Simple Anchor Layout Example}
*/ */

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(tablewidget))
HEADERS = droparea.h \ HEADERS = droparea.h \
dropsitewindow.h dropsitewindow.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
HEADERS = mainwindow.h \ HEADERS = mainwindow.h \
pieceslist.h \ pieceslist.h \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
HEADERS = imagewidget.h \ HEADERS = imagewidget.h \
mainwidget.h mainwidget.h

View File

@ -1,4 +1,5 @@
QT += opengl widgets QT += opengl widgets
requires(qtConfig(combobox))
qtConfig(opengles.|angle|dynamicgl): error("This example requires Qt to be configured with -opengl desktop") qtConfig(opengles.|angle|dynamicgl): error("This example requires Qt to be configured with -opengl desktop")

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(fontcombobox))
HEADERS = mainwindow.h \ HEADERS = mainwindow.h \
diagramitem.h \ diagramitem.h \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(fontcombobox))
SOURCES += main.cpp SOURCES += main.cpp
SOURCES += customproxy.cpp embeddeddialog.cpp SOURCES += customproxy.cpp embeddeddialog.cpp

View File

@ -17,6 +17,7 @@ FORMS += \
form.ui form.ui
QT += widgets QT += widgets
requires(qtConfig(treewidget))
qtHaveModule(opengl): QT += opengl qtHaveModule(opengl): QT += opengl
# install # install

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(listview))
SOURCES = adddialog.cpp \ SOURCES = adddialog.cpp \
addresswidget.cpp \ addresswidget.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(combobox))
HEADERS = window.h HEADERS = window.h
SOURCES = main.cpp \ SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
HEADERS = mainwindow.h \ HEADERS = mainwindow.h \
pieview.h pieview.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(combobox))
HEADERS = colorlisteditor.h \ HEADERS = colorlisteditor.h \
window.h window.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(combobox))
HEADERS = window.h HEADERS = window.h
SOURCES = main.cpp \ SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(treeview))
HEADERS = mysortfilterproxymodel.h \ HEADERS = mysortfilterproxymodel.h \
window.h \ window.h \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(treeview))
SOURCES = main.cpp SOURCES = main.cpp

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(treeview))
FORMS = mainwindow.ui FORMS = mainwindow.ui
HEADERS = mainwindow.h \ HEADERS = mainwindow.h \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(listview))
HEADERS = filelistmodel.h \ HEADERS = filelistmodel.h \
window.h window.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(tableview))
HEADERS += freezetablewidget.h HEADERS += freezetablewidget.h
SOURCES += main.cpp freezetablewidget.cpp SOURCES += main.cpp freezetablewidget.cpp

View File

@ -1,5 +1,6 @@
TEMPLATE = app TEMPLATE = app
QT += widgets QT += widgets
requires(qtConfig(treeview))
HEADERS += model.h HEADERS += model.h
SOURCES += model.cpp main.cpp SOURCES += model.cpp main.cpp

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(tableview))
qtHaveModule(printsupport): QT += printsupport qtHaveModule(printsupport): QT += printsupport
HEADERS = imagemodel.h \ HEADERS = imagemodel.h \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(listview))
HEADERS = mainwindow.h \ HEADERS = mainwindow.h \
piecesmodel.h \ piecesmodel.h \

View File

@ -6,6 +6,7 @@ SOURCES = domitem.cpp \
main.cpp \ main.cpp \
mainwindow.cpp mainwindow.cpp
QT += xml widgets QT += xml widgets
requires(qtConfig(filedialog))
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/simpledommodel target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/simpledommodel

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(treeview))
HEADERS = treeitem.h \ HEADERS = treeitem.h \
treemodel.h treemodel.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(datawidgetmapper))
HEADERS = window.h HEADERS = window.h
SOURCES = main.cpp \ SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(tableview))
HEADERS = delegate.h HEADERS = delegate.h
SOURCES = delegate.cpp \ SOURCES = delegate.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(treeview))
qtHaveModule(printsupport): QT += printsupport qtHaveModule(printsupport): QT += printsupport
#unix:qtHaveModule(dbus): QT += dbus widgets #unix:qtHaveModule(dbus): QT += dbus widgets

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(tablewidget))
HEADERS = stardelegate.h \ HEADERS = stardelegate.h \
stareditor.h \ stareditor.h \

View File

@ -1,4 +1,5 @@
QT += core gui widgets QT += core gui widgets
requires(qtConfig(treeview))
TARGET = storageview TARGET = storageview
TEMPLATE = app TEMPLATE = app
SOURCES += storagemodel.cpp \ SOURCES += storagemodel.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(combobox))
HEADERS = dialog.h HEADERS = dialog.h
SOURCES = dialog.cpp \ SOURCES = dialog.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(combobox))
HEADERS = dialog.h HEADERS = dialog.h
SOURCES = dialog.cpp \ SOURCES = dialog.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
HEADERS = mainwindow.h HEADERS = mainwindow.h
SOURCES = main.cpp \ SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(listwidget))
qtHaveModule(printsupport): QT += printsupport qtHaveModule(printsupport): QT += printsupport
HEADERS = mainwindow.h HEADERS = mainwindow.h

View File

@ -1,5 +1,6 @@
TEMPLATE = app TEMPLATE = app
QT += widgets QT += widgets
requires(qtConfig(combobox))
HEADERS += colorswatch.h mainwindow.h toolbar.h HEADERS += colorswatch.h mainwindow.h toolbar.h
SOURCES += colorswatch.cpp mainwindow.cpp toolbar.cpp main.cpp SOURCES += colorswatch.cpp mainwindow.cpp toolbar.cpp main.cpp

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
HEADERS = mainwindow.h \ HEADERS = mainwindow.h \
mdichild.h mdichild.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
HEADERS = mainwindow.h HEADERS = mainwindow.h
SOURCES = main.cpp \ SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(combobox))
HEADERS = renderarea.h \ HEADERS = renderarea.h \
window.h window.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(combobox))
qtHaveModule(printsupport): QT += printsupport qtHaveModule(printsupport): QT += printsupport
FORMS = mainwindowbase.ui FORMS = mainwindowbase.ui

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(combobox))
HEADERS = imagecomposer.h HEADERS = imagecomposer.h
SOURCES = imagecomposer.cpp \ SOURCES = imagecomposer.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(combobox))
HEADERS = renderarea.h \ HEADERS = renderarea.h \
window.h window.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(combobox))
HEADERS = renderarea.h \ HEADERS = renderarea.h \
window.h window.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(combobox))
HEADERS = mainwindow.h HEADERS = mainwindow.h
SOURCES = main.cpp \ SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(tablewidget))
qtHaveModule(printsupport): QT += printsupport qtHaveModule(printsupport): QT += printsupport
HEADERS = detailsdialog.h \ HEADERS = detailsdialog.h \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
HEADERS = highlighter.h \ HEADERS = highlighter.h \
mainwindow.h mainwindow.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
qtHaveModule(printsupport): QT += printsupport qtHaveModule(printsupport): QT += printsupport
TEMPLATE = app TEMPLATE = app

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
HEADERS += mainwindow.h \ HEADERS += mainwindow.h \
previewform.h previewform.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(completer))
HEADERS = fsmodel.h \ HEADERS = fsmodel.h \
mainwindow.h mainwindow.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(completer))
HEADERS = mainwindow.h \ HEADERS = mainwindow.h \
textedit.h textedit.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(listwidget))
HEADERS = languagechooser.h \ HEADERS = languagechooser.h \
mainwindow.h mainwindow.h

View File

@ -1,3 +1,6 @@
QT_FOR_CONFIG += widgets
requires(qtConfig(inputdialog))
TEMPLATE = subdirs TEMPLATE = subdirs
SUBDIRS = plugins app SUBDIRS = plugins app

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(combobox))
HEADERS = regexpdialog.h HEADERS = regexpdialog.h
SOURCES = regexpdialog.cpp \ SOURCES = regexpdialog.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(treewidget))
HEADERS = regularexpressiondialog.h HEADERS = regularexpressiondialog.h
SOURCES = regularexpressiondialog.cpp \ SOURCES = regularexpressiondialog.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(tablewidget))
HEADERS = locationdialog.h \ HEADERS = locationdialog.h \
mainwindow.h \ mainwindow.h \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(completer))
HEADERS = treemodelcompleter.h \ HEADERS = treemodelcompleter.h \
mainwindow.h mainwindow.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(undoview))
SOURCES += main.cpp mainwindow.cpp commands.cpp document.cpp SOURCES += main.cpp mainwindow.cpp commands.cpp document.cpp
HEADERS += mainwindow.h commands.h document.h HEADERS += mainwindow.h commands.h document.h

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(undoview))
HEADERS = commands.h \ HEADERS = commands.h \
diagramitem.h \ diagramitem.h \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
SOURCES = addressbook.cpp \ SOURCES = addressbook.cpp \
finddialog.cpp \ finddialog.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
SOURCES = addressbook.cpp \ SOURCES = addressbook.cpp \
finddialog.cpp \ finddialog.cpp \

View File

@ -1,5 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(filedialog))
SOURCES = main.cpp SOURCES = main.cpp
# install # install

View File

@ -3,6 +3,7 @@ TARGET = mv_readonly
TEMPLATE = app TEMPLATE = app
QT += widgets QT += widgets
requires(qtConfig(tableview))
SOURCES += main.cpp \ SOURCES += main.cpp \
mymodel.cpp mymodel.cpp

View File

@ -3,6 +3,7 @@ TARGET = mv_formatting
TEMPLATE = app TEMPLATE = app
QT += widgets QT += widgets
requires(qtConfig(tableview))
SOURCES += main.cpp \ SOURCES += main.cpp \
mymodel.cpp mymodel.cpp

View File

@ -3,6 +3,7 @@ TARGET = mv_changingmodel
TEMPLATE = app TEMPLATE = app
QT += widgets QT += widgets
requires(qtConfig(tableview))
SOURCES += main.cpp \ SOURCES += main.cpp \
mymodel.cpp mymodel.cpp

View File

@ -3,6 +3,7 @@ TARGET = mv_headers
TEMPLATE = app TEMPLATE = app
QT += widgets QT += widgets
requires(qtConfig(tableview))
SOURCES += main.cpp \ SOURCES += main.cpp \
mymodel.cpp mymodel.cpp

View File

@ -3,6 +3,7 @@ TARGET = mv_edit
TEMPLATE = app TEMPLATE = app
QT += widgets QT += widgets
requires(qtConfig(tableview))
SOURCES += main.cpp \ SOURCES += main.cpp \
mainwindow.cpp \ mainwindow.cpp \

View File

@ -1,6 +1,7 @@
TARGET = mv_tree TARGET = mv_tree
TEMPLATE = app TEMPLATE = app
QT += widgets QT += widgets
requires(qtConfig(treeview))
SOURCES += main.cpp \ SOURCES += main.cpp \
mainwindow.cpp mainwindow.cpp
HEADERS += mainwindow.h HEADERS += mainwindow.h

View File

@ -1,6 +1,7 @@
TARGET = mv_selections TARGET = mv_selections
TEMPLATE = app TEMPLATE = app
QT += widgets QT += widgets
requires(qtConfig(treeview))
SOURCES += main.cpp \ SOURCES += main.cpp \
mainwindow.cpp mainwindow.cpp
HEADERS += mainwindow.h HEADERS += mainwindow.h

View File

@ -2,6 +2,7 @@ TEMPLATE = app
TARGET = notepad TARGET = notepad
QT += printsupport QT += printsupport
requires(qtConfig(fontdialog))
SOURCES += \ SOURCES += \
main.cpp\ main.cpp\

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(tableview))
SOURCES = main.cpp SOURCES = main.cpp

View File

@ -1,4 +1,5 @@
QT += widgets QT += widgets
requires(qtConfig(combobox))
HEADERS = window.h HEADERS = window.h
SOURCES = main.cpp \ SOURCES = main.cpp \

Some files were not shown because too many files have changed in this diff Show More