summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews/qtableview.cpp
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2017-05-31 10:32:39 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2017-06-01 10:08:36 +0000
commit22a52d1d640f4ee6c68e8ef5da4573770efdb90a (patch)
treef704ab91f747bab48fb674a95ac8824486588be0 /src/widgets/itemviews/qtableview.cpp
parent96d6e031635f6d838ae0109d2a91b852a65bbc60 (diff)
Doc: Remove references to screenshots illustrating different styles
... from widget class descriptions. Use one screenshot from Windows instead. The styles change and the screenshots become outdated very fast, so it is easier to update just one screenshot now and then. The styles can still be seen in the style gallery topics. The image files will be removed in a follow-up commit after all references to them have been removed. Change-Id: Id326c141f4884a2e4f67a4fe8681d8c65f8b24ba Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/widgets/itemviews/qtableview.cpp')
-rw-r--r--src/widgets/itemviews/qtableview.cpp17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/widgets/itemviews/qtableview.cpp b/src/widgets/itemviews/qtableview.cpp
index ed6482a8bc..b79932327b 100644
--- a/src/widgets/itemviews/qtableview.cpp
+++ b/src/widgets/itemviews/qtableview.cpp
@@ -988,6 +988,8 @@ int QTableViewPrivate::heightHintForIndex(const QModelIndex &index, int hint, QS
\ingroup advanced
\inmodule QtWidgets
+ \image windows-tableview.png
+
A QTableView implements a table view that displays items from a
model. This class is used to provide standard tables that were
previously provided by the QTable class, but using the more
@@ -1052,21 +1054,6 @@ int QTableViewPrivate::heightHintForIndex(const QModelIndex &index, int hint, QS
columnViewportPosition() functions provide the equivalent conversion
operations between x-coordinates and column indexes.
- \section1 Styles
-
- QTableView is styled appropriately for each platform. The following images show
- how it looks on three different platforms. Go to the \l{Qt Widget Gallery} to see
- its appearance in other styles.
-
- \table 100%
- \row \li \inlineimage windowsvista-tableview.png Screenshot of a Windows Vista style table view
- \li \inlineimage macintosh-tableview.png Screenshot of a Macintosh style table view
- \li \inlineimage fusion-tableview.png Screenshot of a Fusion style table view
- \row \li A \l{Windows Vista Style Widget Gallery}{Windows Vista style} table view.
- \li A \l{Macintosh Style Widget Gallery}{Macintosh style} table view.
- \li A \l{Fusion Style Widget Gallery}{Fusion style} table view.
- \endtable
-
\sa QTableWidget, {View Classes}, QAbstractItemModel, QAbstractItemView,
{Chart Example}, {Pixelator Example}, {Table Model Example}
*/