summaryrefslogtreecommitdiffstats
path: root/framework/qmldir
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-16 23:27:51 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-17 20:02:43 -0600
commitde4be82bf141f1eb5f57189bf251123e57996f28 (patch)
tree28701506e5e77af0120b25f52aed02f252cb12ac /framework/qmldir
parenta855b61ace6572e19c305cdee7bd080c5f89eb51 (diff)
downloadkube-de4be82bf141f1eb5f57189bf251123e57996f28.tar.gz
kube-de4be82bf141f1eb5f57189bf251123e57996f28.zip
Non listview based conversationview
The listview deals badly with non uniformly sized items. We use the buffer hack to ensure all items are loaded so it works at all, and setting the current index resulted in unpredictable scrolling. With this new approach we manage everything ourselves in a Flickable, and just always load all delegates (which we also did before, but with a hack). As an optimization it should be possible to avoid loading some delegates until they become visible. Note that ConversationView is thightly coupled to ConversationListView due to dependencies on some properties in the delegate. This could be handled more elegantly with attached properties. In any case, this seems to work much, much better.
Diffstat (limited to 'framework/qmldir')
-rw-r--r--framework/qmldir1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/qmldir b/framework/qmldir
index 02a66bb6..7ce99e2a 100644
--- a/framework/qmldir
+++ b/framework/qmldir
@@ -1,6 +1,7 @@
1module org.kube.framework 1module org.kube.framework
2 2
3ConversationView 1.0 ConversationView.qml 3ConversationView 1.0 ConversationView.qml
4ConversationListView 1.0 ConversationListView.qml
4FolderListView 1.0 FolderListView.qml 5FolderListView 1.0 FolderListView.qml
5MailListView 1.0 MailListView.qml 6MailListView 1.0 MailListView.qml
6InlineAccountSwitcher 1.0 InlineAccountSwitcher.qml 7InlineAccountSwitcher 1.0 InlineAccountSwitcher.qml