aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Syrjä <mikko@3d-system.fi>2019-02-16 00:55:45 +0200
committerMikko Syrjä <mikko@3d-system.fi>2019-02-16 00:55:45 +0200
commit11fdfb4e57b1dc1a12a10c0ad58b327da925e0b4 (patch)
treee968b95845056b218899c6c70eef445a7f023206
parent78a0f5f0ccf9f3ace910210021190980bd6359e4 (diff)
downloadsymedit-11fdfb4e57b1dc1a12a10c0ad58b327da925e0b4.tar.gz
symedit-11fdfb4e57b1dc1a12a10c0ad58b327da925e0b4.zip
Toolbar icons.
-rw-r--r--README.md8
-rw-r--r--clear.pngbin479 -> 0 bytes
-rw-r--r--copy.pngbin390 -> 0 bytes
-rw-r--r--image/circle_center.pngbin0 -> 1905 bytes
-rw-r--r--image/circle_corner.pngbin0 -> 2153 bytes
-rw-r--r--image/circle_horizontal.pngbin0 -> 1892 bytes
-rw-r--r--image/circle_vertical.pngbin0 -> 2022 bytes
-rw-r--r--image/clipboard_copy_icon&48.pngbin0 -> 3902 bytes
-rw-r--r--image/clipboard_cut_icon&48.pngbin0 -> 4656 bytes
-rw-r--r--image/clipboard_past_icon&48.pngbin0 -> 3941 bytes
-rw-r--r--image/line_poly.pngbin0 -> 949 bytes
-rw-r--r--image/line_single.pngbin0 -> 1019 bytes
-rw-r--r--image/rectangle_center.pngbin0 -> 1844 bytes
-rw-r--r--image/rectangle_corner.pngbin0 -> 2146 bytes
-rw-r--r--main.qml149
-rw-r--r--qml.qrc13
-rw-r--r--symedit.pro2
17 files changed, 166 insertions, 6 deletions
diff --git a/README.md b/README.md
index 29957b5..5bffef4 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,11 @@
# Symbol editor
Simple symbol editor for use with 3D-Win.
+
+https://gentleface.com/free_icon_set.html
+
+krita:
+ icons:
+ 48x48
+ transparent
+ line width 5pxkrita
diff --git a/clear.png b/clear.png
deleted file mode 100644
index 9edf96e..0000000
--- a/clear.png
+++ /dev/null
Binary files differ
diff --git a/copy.png b/copy.png
deleted file mode 100644
index df34b9f..0000000
--- a/copy.png
+++ /dev/null
Binary files differ
diff --git a/image/circle_center.png b/image/circle_center.png
new file mode 100644
index 0000000..39cb2c9
--- /dev/null
+++ b/image/circle_center.png
Binary files differ
diff --git a/image/circle_corner.png b/image/circle_corner.png
new file mode 100644
index 0000000..04d59e8
--- /dev/null
+++ b/image/circle_corner.png
Binary files differ
diff --git a/image/circle_horizontal.png b/image/circle_horizontal.png
new file mode 100644
index 0000000..a417b63
--- /dev/null
+++ b/image/circle_horizontal.png
Binary files differ
diff --git a/image/circle_vertical.png b/image/circle_vertical.png
new file mode 100644
index 0000000..ac872a2
--- /dev/null
+++ b/image/circle_vertical.png
Binary files differ
diff --git a/image/clipboard_copy_icon&48.png b/image/clipboard_copy_icon&48.png
new file mode 100644
index 0000000..f1387b8
--- /dev/null
+++ b/image/clipboard_copy_icon&48.png
Binary files differ
diff --git a/image/clipboard_cut_icon&48.png b/image/clipboard_cut_icon&48.png
new file mode 100644
index 0000000..82be5f4
--- /dev/null
+++ b/image/clipboard_cut_icon&48.png
Binary files differ
diff --git a/image/clipboard_past_icon&48.png b/image/clipboard_past_icon&48.png
new file mode 100644
index 0000000..4d90cc0
--- /dev/null
+++ b/image/clipboard_past_icon&48.png
Binary files differ
diff --git a/image/line_poly.png b/image/line_poly.png
new file mode 100644
index 0000000..ca26d19
--- /dev/null
+++ b/image/line_poly.png
Binary files differ
diff --git a/image/line_single.png b/image/line_single.png
new file mode 100644
index 0000000..73ea15a
--- /dev/null
+++ b/image/line_single.png
Binary files differ
diff --git a/image/rectangle_center.png b/image/rectangle_center.png
new file mode 100644
index 0000000..4fb055a
--- /dev/null
+++ b/image/rectangle_center.png
Binary files differ
diff --git a/image/rectangle_corner.png b/image/rectangle_corner.png
new file mode 100644
index 0000000..004ceaa
--- /dev/null
+++ b/image/rectangle_corner.png
Binary files differ
diff --git a/main.qml b/main.qml
index b411df2..990c0be 100644
--- a/main.qml
+++ b/main.qml
@@ -241,10 +241,153 @@ ApplicationWindow
{
RowLayout
{
- anchors.fill: parent
+ ToolButton
+ {
+ width: 32; height: 32
+ Image
+ {
+ source: "image/clipboard_cut_icon&48.png"
+ anchors.fill: parent
+ }
+ onClicked:
+ {
+
+ }
+ }
+ ToolButton
+ {
+ width: 32; height: 32
+ Image
+ {
+ source: "image/clipboard_copy_icon&48.png"
+ anchors.fill: parent
+ }
+ onClicked:
+ {
+
+ }
+ }
+ ToolButton
+ {
+ width: 32; height: 32
+ Image
+ {
+ source: "image/clipboard_past_icon&48.png"
+ anchors.fill: parent
+ }
+ onClicked:
+ {
- ToolButton { iconSource: "clear.png" }
- ToolButton { iconSource: "copy.png" }
+ }
+ }
+ ToolButton { implicitWidth: 8 }
+ ToolButton
+ {
+ width: 32; height: 32
+ Image
+ {
+ source: "image/line_single.png"
+ anchors.fill: parent
+ }
+ onClicked:
+ {
+
+ }
+ }
+ ToolButton
+ {
+ width: 32; height: 32
+ Image
+ {
+ source: "image/line_poly.png"
+ anchors.fill: parent
+ }
+ onClicked:
+ {
+
+ }
+ }
+ ToolButton { implicitWidth: 8 }
+ ToolButton
+ {
+ width: 32; height: 32
+ Image
+ {
+ source: "image/rectangle_corner.png"
+ anchors.fill: parent
+ }
+ onClicked:
+ {
+
+ }
+ }
+ ToolButton
+ {
+ width: 32; height: 32
+ Image
+ {
+ source: "image/rectangle_center.png"
+ anchors.fill: parent
+ }
+ onClicked:
+ {
+
+ }
+ }
+ ToolButton { implicitWidth: 8 }
+ ToolButton
+ {
+ width: 32; height: 32
+ tooltip: qsTr("Circle Corners") //%%
+ Image
+ {
+ source: "image/circle_corner.png"
+ anchors.fill: parent
+ }
+ onClicked:
+ {
+
+ }
+ }
+ ToolButton
+ {
+ width: 32; height: 32
+ Image
+ {
+ source: "image/circle_center.png"
+ anchors.fill: parent
+ }
+ onClicked:
+ {
+
+ }
+ }
+ ToolButton
+ {
+ width: 32; height: 32
+ Image
+ {
+ source: "image/circle_horizontal.png"
+ anchors.fill: parent
+ }
+ onClicked:
+ {
+
+ }
+ }
+ ToolButton
+ {
+ width: 32; height: 32
+ Image
+ {
+ source: "image/circle_vertical.png"
+ anchors.fill: parent
+ }
+ onClicked:
+ {
+
+ }
+ }
Item { Layout.fillWidth: true }
CheckBox
{
diff --git a/qml.qrc b/qml.qrc
index f21abe3..253ab56 100644
--- a/qml.qrc
+++ b/qml.qrc
@@ -1,8 +1,17 @@
<RCC>
<qresource prefix="/">
<file>main.qml</file>
- <file>clear.png</file>
- <file>copy.png</file>
<file>Editor.qml</file>
+ <file>image/rectangle_center.png</file>
+ <file>image/rectangle_corner.png</file>
+ <file>image/circle_corner.png</file>
+ <file>image/circle_center.png</file>
+ <file>image/circle_horizontal.png</file>
+ <file>image/circle_vertical.png</file>
+ <file>image/line_single.png</file>
+ <file>image/line_poly.png</file>
+ <file>image/clipboard_copy_icon&amp;48.png</file>
+ <file>image/clipboard_cut_icon&amp;48.png</file>
+ <file>image/clipboard_past_icon&amp;48.png</file>
</qresource>
</RCC>
diff --git a/symedit.pro b/symedit.pro
index da59315..f90bcd5 100644
--- a/symedit.pro
+++ b/symedit.pro
@@ -34,4 +34,4 @@ HEADERS += \
symbol.h
DISTFILES += \
- README.md
+ README.md