[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/mobile
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2010-11-29 11:35:39
Message-ID: 20101129113539.42AFFAC8A6 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1202014 by tokoe:

Use KPIM.DecoratedListView instead of QML.ListView to
show visual indicators that this area is flickable


 M  +1 -1      calendar/korganizer-mobile.qml  
 M  +1 -1      lib/ActionMenuContainer.qml  
 M  +1 -1      lib/AgentInstanceListContainer.qml  
 M  +1 -1      lib/AttachmentList.qml  
 M  +2 -2      lib/BulkActionList.qml  
 M  +1 -0      lib/CMakeLists.txt  
 A             lib/DecoratedListView.qml   [License: UNKNOWN]
 M  +2 -1      lib/ItemListView.qml  
 M  +1 -1      lib/MultipleSelectionComponent.qml  
 M  +1 -1      lib/ReorderListContainer.qml  
 M  +2 -2      lib/StartCanvas.qml  
 M  +1 -0      lib/qmldir  
 M  +1 -1      mail/AclEditor.qml  
 M  +1 -1      mail/AttachmentEditor.qml  
 M  +1 -1      mail/FilterConfigDialog.qml  
 M  +1 -1      mail/NewMailPage.qml  
 M  +1 -1      mail/SnippetsEditor.qml  


--- trunk/KDE/kdepim/mobile/calendar/korganizer-mobile.qml #1202013:1202014
@@ -222,7 +222,7 @@
 
       // It's not possible to get the number of items in a model. We have to
       // put the model in a view and count the items in the view.
-      ListView { id : dummyItemView; model : calendarModel }
+      KPIM.DecoratedListView { id : dummyItemView; model : calendarModel }
 
       multipleSelectionText : KDE.i18nc("%1 is e.g. 3 folders, %2 is e.g. from 2 \
accounts, %3 is e.g. 9 events",  "You have selected \n%1\n%2\n%3",
--- trunk/KDE/kdepim/mobile/lib/ActionMenuContainer.qml #1202013:1202014
@@ -181,7 +181,7 @@
     }
   }
 
-  ListView {
+  KPIM.DecoratedListView {
     height : parent.height
     width : parent.actionItemWidth
     id : myListView
--- trunk/KDE/kdepim/mobile/lib/AgentInstanceListContainer.qml #1202013:1202014
@@ -38,7 +38,7 @@
 
   signal triggered(string triggeredName)
 
-  QML.ListView {
+  KPIM.DecoratedListView {
     id : myList
     anchors { top: parent.top; bottom: parent.bottom; left: parent.left }
     width: parent.width - actionColumn.width
--- trunk/KDE/kdepim/mobile/lib/AttachmentList.qml #1202013:1202014
@@ -69,7 +69,7 @@
     }
   }
 
-  ListView {
+  KPIM.DecoratedListView {
     property string currentMimeType
     property string currentAttachmentUrl
 
--- trunk/KDE/kdepim/mobile/lib/BulkActionList.qml #1202013:1202014
@@ -47,7 +47,7 @@
     anchors.left : parent.left
     anchors.right : parent.right
     height : itemHeight
-    QML.ListView {
+    KPIM.DecoratedListView {
       id : selectedItem
       anchors.fill : parent
       delegate : CollectionDelegate {
@@ -133,7 +133,7 @@
         text : KDE.i18n( "Please select one\nor more items\non the right." )
         visible : !_itemActionModel.hasSelection
       }
-      QML.ListView {
+      KPIM.DecoratedListView {
         anchors.fill:parent
         model: actionModel;
         id: actionListView;
--- trunk/KDE/kdepim/mobile/lib/CMakeLists.txt #1202013:1202014
@@ -80,6 +80,7 @@
   BulkActionScreen.qml
   BulkActionList.qml
   DecoratedFlickable.qml
+  DecoratedListView.qml
   FakeAction.qml
   FavoriteManager.qml
   ActionList.qml
--- trunk/KDE/kdepim/mobile/lib/ItemListView.qml #1202013:1202014
@@ -19,6 +19,7 @@
 */
 
 import Qt 4.7 as QML
+import org.kde.pim.mobileui 4.5 as KPIM
 
 QML.Rectangle {
   color : "#00000000"
@@ -32,7 +33,7 @@
   property alias section: itemListView.section
   property variant navigationModel
 
-  QML.ListView {
+  KPIM.DecoratedListView {
     id: itemListView
     anchors.fill: parent
     focus: true
--- trunk/KDE/kdepim/mobile/lib/MultipleSelectionComponent.qml #1202013:1202014
@@ -43,7 +43,7 @@
     width : parent.width / 3
   }
 
-  QML.ListView {
+  KPIM.DecoratedListView {
     id : selectedView
     anchors.left : navigationView.right
     anchors.right : parent.right
--- trunk/KDE/kdepim/mobile/lib/ReorderListContainer.qml #1202013:1202014
@@ -37,7 +37,7 @@
 
   signal triggered(string triggeredName)
 
-  ListView {
+  KPIM.DecoratedListView {
     id : myList
     anchors.top : _topLevel.top
     anchors.bottom : _topLevel.bottom
--- trunk/KDE/kdepim/mobile/lib/StartCanvas.qml #1202013:1202014
@@ -76,7 +76,7 @@
         }
       }
 
-      ListView {
+      KPIM.DecoratedListView {
         id : accountsList
         clip: true
         width: parent.width
@@ -97,7 +97,7 @@
         width: parent.width
       }
 
-      ListView {
+      KPIM.DecoratedListView {
         id : favsView
         width: parent.width
         height: parent.height - contextContainer.height - 2 - 4 * 5
--- trunk/KDE/kdepim/mobile/lib/qmldir #1202013:1202014
@@ -41,3 +41,4 @@
 SearchResultScreen 4.5 SearchResultScreen.qml
 ItemEditButton 4.5 ItemEditButton.qml
 DecoratedFlickable 4.5 DecoratedFlickable.qml
+DecoratedListView 4.5 DecoratedListView.qml
--- trunk/KDE/kdepim/mobile/mail/AclEditor.qml #1202013:1202014
@@ -43,7 +43,7 @@
     text: KDE.i18n( "<b>Access Control List for '%1'</b>", aclEditor.collectionName \
)  }
 
-  QML.ListView {
+  KPIM.DecoratedListView {
     id: aclView
     anchors.left: parent.left
     anchors.top: headLine.bottom
--- trunk/KDE/kdepim/mobile/mail/AttachmentEditor.qml #1202013:1202014
@@ -25,7 +25,7 @@
 Item {
   width: 600
 
-  ListView {
+  KPIM.DecoratedListView {
     id: attachmentListView
     anchors.top: parent.top
     anchors.left: parent.left
--- trunk/KDE/kdepim/mobile/mail/FilterConfigDialog.qml #1202013:1202014
@@ -65,7 +65,7 @@
       fillMode : QML.Image.TileVertically
     }
 
-    QML.ListView {
+    KPIM.DecoratedListView {
       id: filterList
       anchors.topMargin: 25
       anchors.top: topText.bottom
--- trunk/KDE/kdepim/mobile/mail/NewMailPage.qml #1202013:1202014
@@ -38,7 +38,7 @@
 
     QML.Column {
       anchors.fill: parent
-      QML.ListView {
+      KPIM.DecoratedListView {
         anchors.fill: parent
         model: _emailTemplateModel
         focus: true
--- trunk/KDE/kdepim/mobile/mail/SnippetsEditor.qml #1202013:1202014
@@ -39,7 +39,7 @@
   signal triggered(string triggeredName)
   signal doCollapse()
 
-  QML.ListView {
+  KPIM.DecoratedListView {
     id: snippetsView
     anchors { top: parent.top; bottom: parent.bottom; left: parent.left }
     width: parent.width - actionColumn.width


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic