diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-03-11 11:47:02 +0100 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-03-23 15:37:37 +0100 |
commit | 2d99c751cc8f2609c16d0feb260213eda88266f1 (patch) | |
tree | 4e000dadab60032ff39b6f0bd60e497124ea967b /src/quick/items/qquicktableview_p_p.h | |
parent | 8a7e8190b7c2e3c8a7fa4c2139f34136422a5bbc (diff) |
QQuickTableView: add private support for transposing the view
This is needed by HorizontalHeaderView when assigning it one
dimensional models.
Change-Id: I183f0d35b8f3a97853fc7496dc68b0e13e9be990
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/quick/items/qquicktableview_p_p.h')
-rw-r--r-- | src/quick/items/qquicktableview_p_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quick/items/qquicktableview_p_p.h b/src/quick/items/qquicktableview_p_p.h index 7987d8c6d8..fe4cf82b46 100644 --- a/src/quick/items/qquicktableview_p_p.h +++ b/src/quick/items/qquicktableview_p_p.h @@ -277,6 +277,10 @@ public: bool inSyncViewportPosRecursive = false; bool inUpdateContentSize = false; + // isTransposed is currently only used by HeaderView. + // Consider making it public. + bool isTransposed = false; + QJSValue rowHeightProvider; QJSValue columnWidthProvider; QQuickTableSectionSizeProvider rowHeights; |