diff options
author | Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> | 2015-01-06 16:35:05 +0100 |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> | 2015-02-12 13:08:44 +0000 |
commit | a2f81b85d5dfa7fbd3b11557fe38de649a1f6914 (patch) | |
tree | 6488905640b7ec0747794cbe9762d2c1f3ed5a8b /src/controls/Private/private.pri | |
parent | 90293338d43791c30a0dd58a5e9cef29dcc0b2f8 (diff) | |
download | qtquickcontrols-a2f81b85d5dfa7fbd3b11557fe38de649a1f6914.tar.gz |
BasicTableView refactoring: Separate view from user interaction
One of the main tasks of the user interaction code is to manage
the current items selection. However, in the upcoming TreeView,
the selection will be completely different, but we still want to
keep 99% of the view code.
Also, in our TreeView implementation, the user's model is proxyfied
by a TreeModelAdaptor. But that's not the case in the TableView.
So, in order to keep using the same API, we introduce the __model
intermediate property.
Where it makes sense, TableView and TreeView share common API
through BasicTableView.
Change-Id: I0a922c1c1093919df7d880d72fe12ed0f372cc08
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/controls/Private/private.pri')
-rw-r--r-- | src/controls/Private/private.pri | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/Private/private.pri b/src/controls/Private/private.pri index e69d0a29..3d6a7162 100644 --- a/src/controls/Private/private.pri +++ b/src/controls/Private/private.pri @@ -61,6 +61,7 @@ PRIVATE_QML_FILES += \ $$PWD/EditMenu_base.qml \ $$PWD/EditMenu_ios.qml \ $$PWD/ToolMenuButton.qml \ + $$PWD/BasicTableView.qml \ $$PWD/qmldir QML_FILES += $$PRIVATE_QML_FILES |