diff options
| author | Mikko Syrjä <mikko@3d-system.fi> | 2019-02-16 00:55:45 +0200 |
|---|---|---|
| committer | Mikko Syrjä <mikko@3d-system.fi> | 2019-02-16 00:55:45 +0200 |
| commit | 11fdfb4e57b1dc1a12a10c0ad58b327da925e0b4 (patch) | |
| tree | e968b95845056b218899c6c70eef445a7f023206 | |
| parent | 78a0f5f0ccf9f3ace910210021190980bd6359e4 (diff) | |
| download | symedit-11fdfb4e57b1dc1a12a10c0ad58b327da925e0b4.tar.gz symedit-11fdfb4e57b1dc1a12a10c0ad58b327da925e0b4.zip | |
Toolbar icons.
| -rw-r--r-- | README.md | 8 | ||||
| -rw-r--r-- | clear.png | bin | 479 -> 0 bytes | |||
| -rw-r--r-- | copy.png | bin | 390 -> 0 bytes | |||
| -rw-r--r-- | image/circle_center.png | bin | 0 -> 1905 bytes | |||
| -rw-r--r-- | image/circle_corner.png | bin | 0 -> 2153 bytes | |||
| -rw-r--r-- | image/circle_horizontal.png | bin | 0 -> 1892 bytes | |||
| -rw-r--r-- | image/circle_vertical.png | bin | 0 -> 2022 bytes | |||
| -rw-r--r-- | image/clipboard_copy_icon&48.png | bin | 0 -> 3902 bytes | |||
| -rw-r--r-- | image/clipboard_cut_icon&48.png | bin | 0 -> 4656 bytes | |||
| -rw-r--r-- | image/clipboard_past_icon&48.png | bin | 0 -> 3941 bytes | |||
| -rw-r--r-- | image/line_poly.png | bin | 0 -> 949 bytes | |||
| -rw-r--r-- | image/line_single.png | bin | 0 -> 1019 bytes | |||
| -rw-r--r-- | image/rectangle_center.png | bin | 0 -> 1844 bytes | |||
| -rw-r--r-- | image/rectangle_corner.png | bin | 0 -> 2146 bytes | |||
| -rw-r--r-- | main.qml | 149 | ||||
| -rw-r--r-- | qml.qrc | 13 | ||||
| -rw-r--r-- | symedit.pro | 2 |
17 files changed, 166 insertions, 6 deletions
@@ -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 Binary files differdeleted file mode 100644 index 9edf96e..0000000 --- a/clear.png +++ /dev/null diff --git a/copy.png b/copy.png Binary files differdeleted file mode 100644 index df34b9f..0000000 --- a/copy.png +++ /dev/null diff --git a/image/circle_center.png b/image/circle_center.png Binary files differnew file mode 100644 index 0000000..39cb2c9 --- /dev/null +++ b/image/circle_center.png diff --git a/image/circle_corner.png b/image/circle_corner.png Binary files differnew file mode 100644 index 0000000..04d59e8 --- /dev/null +++ b/image/circle_corner.png diff --git a/image/circle_horizontal.png b/image/circle_horizontal.png Binary files differnew file mode 100644 index 0000000..a417b63 --- /dev/null +++ b/image/circle_horizontal.png diff --git a/image/circle_vertical.png b/image/circle_vertical.png Binary files differnew file mode 100644 index 0000000..ac872a2 --- /dev/null +++ b/image/circle_vertical.png diff --git a/image/clipboard_copy_icon&48.png b/image/clipboard_copy_icon&48.png Binary files differnew file mode 100644 index 0000000..f1387b8 --- /dev/null +++ b/image/clipboard_copy_icon&48.png diff --git a/image/clipboard_cut_icon&48.png b/image/clipboard_cut_icon&48.png Binary files differnew file mode 100644 index 0000000..82be5f4 --- /dev/null +++ b/image/clipboard_cut_icon&48.png diff --git a/image/clipboard_past_icon&48.png b/image/clipboard_past_icon&48.png Binary files differnew file mode 100644 index 0000000..4d90cc0 --- /dev/null +++ b/image/clipboard_past_icon&48.png diff --git a/image/line_poly.png b/image/line_poly.png Binary files differnew file mode 100644 index 0000000..ca26d19 --- /dev/null +++ b/image/line_poly.png diff --git a/image/line_single.png b/image/line_single.png Binary files differnew file mode 100644 index 0000000..73ea15a --- /dev/null +++ b/image/line_single.png diff --git a/image/rectangle_center.png b/image/rectangle_center.png Binary files differnew file mode 100644 index 0000000..4fb055a --- /dev/null +++ b/image/rectangle_center.png diff --git a/image/rectangle_corner.png b/image/rectangle_corner.png Binary files differnew file mode 100644 index 0000000..004ceaa --- /dev/null +++ b/image/rectangle_corner.png @@ -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 { @@ -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&48.png</file> + <file>image/clipboard_cut_icon&48.png</file> + <file>image/clipboard_past_icon&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 |
