qt5base-lts/examples/widgets
David Faure 739611221c Add QHeaderView::setFirstSectionMovable(), useful for flat treeviews
QTreeView makes columns movable except for the first one
(since Qt 5.0, see commit e0fc088c0c). This is indeed best
for actual trees, but not when using QTreeView as a flat
multi-column list (with no "root decoration"). Then it should
be possible to move the first column.

[ChangeLog][QtWidgets][QHeaderView] Flat treeviews can now allow
the user to move the first column (like in Qt 4.x) using the new
method QHeaderView::setFirstSectionMovable().

Change-Id: I6b5025e40850bf5c4c373124ee81f657f3f09d29
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
2018-01-02 09:31:11 +00:00
..
animation Doc: drop Application Chooser Example 2017-11-20 09:32:38 +00:00
desktop Use dependencies instead of CONFIG+=ordered 2017-12-02 11:09:15 +00:00
dialogs examples: remove wince leftovers 2017-09-22 19:22:07 +00:00
doc Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
draganddrop Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
effects Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
gestures Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
graphicsview Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
itemviews Add QHeaderView::setFirstSectionMovable(), useful for flat treeviews 2018-01-02 09:31:11 +00:00
layouts Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
mac macOS: Make QMacNativeWidget example more usable 2017-02-12 12:29:55 +00:00
mainwindows Make the Main Window example use high-DPI toolbar icons 2017-12-19 17:57:08 +00:00
painting Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
richtext Convert features.printdialog to QT_[REQUIRE_]CONFIG 2017-05-30 17:21:26 +00:00
scroller Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
statemachine Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
tools Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
tutorials Tutorial: migrate addressbook tutorial to use QRegularExpression 2017-01-24 07:24:13 +00:00
widgets Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
windowcontainer Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
widgets.pro examples: fix compile without gui module 2017-05-05 06:54:15 +00:00