aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2012-03-08 10:34:20 +0100
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2012-03-08 10:36:08 +0100
commit2e2e165f3e974216de138ad6c33c7219c2663613 (patch)
treef66524fb28b183c9bbf3283eb90286e122160989 /share
parent47e4caa386139a52afc4cc2a71ae1fbaac4a3558 (diff)
WelcomePage: add icons to session inplace editor
Change-Id: I4f2b9f55f6738b379610685f58526ee21b0701f0 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/welcomescreen/widgets/SessionItem.qml20
-rw-r--r--share/qtcreator/welcomescreen/widgets/images/icons/clone.pngbin0 -> 271 bytes
-rw-r--r--share/qtcreator/welcomescreen/widgets/images/icons/delete.pngbin0 -> 252 bytes
-rw-r--r--share/qtcreator/welcomescreen/widgets/images/icons/rename.pngbin0 -> 393 bytes
4 files changed, 14 insertions, 6 deletions
diff --git a/share/qtcreator/welcomescreen/widgets/SessionItem.qml b/share/qtcreator/welcomescreen/widgets/SessionItem.qml
index e02cdb1308..ef5651e88e 100644
--- a/share/qtcreator/welcomescreen/widgets/SessionItem.qml
+++ b/share/qtcreator/welcomescreen/widgets/SessionItem.qml
@@ -174,8 +174,10 @@ Item {
}
Row {
- x: 16
- spacing: 24
+ x: 6
+ spacing: 4
+
+ Image { source: "images/icons/clone.png" }
LinkedText {
text: qsTr("Clone")
onClicked: {
@@ -183,18 +185,24 @@ Item {
}
}
+ Text { width: 16; text: " "; }
+ Image { source: "images/icons/rename.png" }
LinkedText {
- text: qsTr("Delete")
+ text: qsTr("Rename")
onClicked: {
- root.model.deleteSession(sessionName);
+ root.model.renameSession(sessionName);
}
}
+
+ Text { width: 16; text: " "; }
+ Image { source: "images/icons/delete.png" }
LinkedText {
- text: qsTr("Rename")
+ text: qsTr("Delete")
onClicked: {
- root.model.renameSession(sessionName);
+ root.model.deleteSession(sessionName);
}
}
+
}
}
Rectangle {
diff --git a/share/qtcreator/welcomescreen/widgets/images/icons/clone.png b/share/qtcreator/welcomescreen/widgets/images/icons/clone.png
new file mode 100644
index 0000000000..84a11b168c
--- /dev/null
+++ b/share/qtcreator/welcomescreen/widgets/images/icons/clone.png
Binary files differ
diff --git a/share/qtcreator/welcomescreen/widgets/images/icons/delete.png b/share/qtcreator/welcomescreen/widgets/images/icons/delete.png
new file mode 100644
index 0000000000..3e4d8bb940
--- /dev/null
+++ b/share/qtcreator/welcomescreen/widgets/images/icons/delete.png
Binary files differ
diff --git a/share/qtcreator/welcomescreen/widgets/images/icons/rename.png b/share/qtcreator/welcomescreen/widgets/images/icons/rename.png
new file mode 100644
index 0000000000..5de1ad1140
--- /dev/null
+++ b/share/qtcreator/welcomescreen/widgets/images/icons/rename.png
Binary files differ