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

List:       kde-commits
Subject:    [kde-workspace/plasma/sreich/tasks-qml] plasma/desktop/applets/tasks/package/contents/ui: basic text
From:       Shaun Reich <shaun.reich () kdemail ! net>
Date:       2012-02-13 1:38:50
Message-ID: 20120213013850.CA812A60B9 () git ! kde ! org
[Download RAW message or body]

Git commit 61218c50d881efa6dc44d1143ffb39ab92456c70 by Shaun Reich.
Committed on 13/02/2012 at 02:35.
Pushed by sreich into branch 'plasma/sreich/tasks-qml'.

basic text and icon now

M  +42   -38   plasma/desktop/applets/tasks/package/contents/ui/main.qml

http://commits.kde.org/kde-workspace/61218c50d881efa6dc44d1143ffb39ab92456c=
70

diff --git a/plasma/desktop/applets/tasks/package/contents/ui/main.qml b/pl=
asma/desktop/applets/tasks/package/contents/ui/main.qml
index 2a93e08..81f475f3 100644
--- a/plasma/desktop/applets/tasks/package/contents/ui/main.qml
+++ b/plasma/desktop/applets/tasks/package/contents/ui/main.qml
@@ -126,53 +126,57 @@ Item {
 =

             Item {
                 id: wrapper
-                width: 30
-                height: 30
-
-
-
-           //     PlasmaCore.FrameSvgItem {
-           //         id: taskBackground
-           //
-           //         anchors { left: icon.left; right: text.right; top: i=
con.top; bottom: icon.bottom }
-           //
-           //         imagePath: "widgets/tasks"
-           //         //                prefix: {
-           //             //                    if (model.minimized) {
-           //                 //                        "focus"
-           //         //                    } else {
-           //             //                        if (hovered) {
-           //                 //                            "hover"
-           //         //                        } else {
-           //             //                            "normal"
-           //         //                        }
-           //         //                    }
-           //         //                }
-           //     }
+                width: 400
+                height: 100
+
+
+
+ //               PlasmaCore.FrameSvgItem {
+ //                   id: taskBackground
+ //
+ //                   width: 300; height: 30
+ //
+////                    anchors { left: icon.left; top: icon.top; bottom: =
icon.bottom }
+ //
+ //                   imagePath: "widgets/tasks"
+ //                   prefix: "normal"
+ //                   //                prefix: {
+ //                       //                    if (model.minimized) {
+ //                           //                        "focus"
+ //                   //                    } else {
+ //                       //                        if (hovered) {
+ //                           //                            "hover"
+ //                   //                        } else {
+ //                       //                            "normal"
+ //                   //                        }
+ //                   //                    }
+ //                   //                }
+ //               }
 =

                 QIconItem {
                     id: icon
 =

-                    anchors { left: taskBackground.left; verticalCenter: t=
askBackground.verticalCenter }
-                  =

+//                    anchors { left: taskBackground.left; verticalCenter:=
 taskBackground.verticalCenter }
+
                     icon: model.DecorationRole
                     width: 22
                     height: 22
                 }
 =

-            //    PlasmaComponents.Label {
-            //        id: text
-            //
-            //        anchors { left: icon.right; top: icon.top; bottom: i=
con.bottom }
-            //
-            //        height: tasksGrid.cellHeight
-            //        width: 200
-            //
-            //        verticalAlignment: Text.AlignVCenter
-            //
-            //        clip: true
-            //        text: model.DisplayRole
-            //    }
+                PlasmaComponents.Label {
+                    id: text
+
+                    anchors { left: icon.right; top: icon.top; bottom: ico=
n.bottom }
+
+                 //   height: tasksGrid.cellHeight
+                    height: 20
+                    width: 200
+
+                    verticalAlignment: Text.AlignVCenter
+
+                    clip: true
+                    text: model.DisplayRole
+                }
             }
         }
     }

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

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