aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
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