summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-10-10 08:10:35 +0200
committerAleks Kissinger <aleks0@gmail.com>2018-10-10 08:10:35 +0200
commitdd59a5c4b8b0eadf223a7e4b3fa0cc8bd99375f9 (patch)
tree225f85f4ff14231f094e0b7440b5ae584e26f880
parentd0d81a31afd69594ed098c6afe855f05607db27e (diff)
wrong edge
-rw-r--r--images/edge-ak.svg36
-rw-r--r--images/edge.svg64
-rw-r--r--src/gui/mainwindow.cpp2
-rw-r--r--src/gui/toolpalette.cpp1
4 files changed, 38 insertions, 65 deletions
diff --git a/images/edge-ak.svg b/images/edge-ak.svg
new file mode 100644
index 0000000..eafc423
--- /dev/null
+++ b/images/edge-ak.svg
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve">
+<style type="text/css">
+ .st0{fill:none;stroke:#4D4D4D;stroke-width:3;stroke-miterlimit:10;}
+ .st1{opacity:0.82;fill:none;stroke:#009245;stroke-width:3;stroke-miterlimit:10;enable-background:new ;}
+ .st2{fill:#CCCCCC;}
+ .st3{fill:#4D4D4D;}
+ .st4{fill:#39B54A;}
+ .st5{fill:#009245;}
+</style>
+<path class="st0" d="M21.5,15.5c27,0,27,29,0,28.5"/>
+<line class="st1" x1="21.5" y1="15.5" x2="48.5" y2="15.5"/>
+<g>
+ <circle class="st2" cx="14" cy="15" r="6.5"/>
+ <path class="st3" d="M14,10c2.8,0,5,2.2,5,5s-2.2,5-5,5s-5-2.2-5-5S11.2,10,14,10 M14,7c-4.4,0-8,3.6-8,8s3.6,8,8,8s8-3.6,8-8
+ S18.4,7,14,7L14,7z"/>
+</g>
+<g>
+ <circle class="st4" cx="48.5" cy="15.5" r="3.5"/>
+ <path class="st5" d="M48.5,13c1.4,0,2.5,1.1,2.5,2.5S49.9,18,48.5,18S46,16.9,46,15.5S47.1,13,48.5,13 M48.5,11
+ C46,11,44,13,44,15.5s2,4.5,4.5,4.5s4.5-2,4.5-4.5S51,11,48.5,11L48.5,11z"/>
+</g>
+<line class="st1" x1="21.5" y1="44" x2="48.5" y2="44"/>
+<g>
+ <circle class="st4" cx="48.5" cy="44" r="3.5"/>
+ <path class="st5" d="M48.5,41.5c1.4,0,2.5,1.1,2.5,2.5s-1.1,2.5-2.5,2.5S46,45.4,46,44S47.1,41.5,48.5,41.5 M48.5,39.5
+ c-2.5,0-4.5,2-4.5,4.5s2,4.5,4.5,4.5s4.5-2,4.5-4.5S51,39.5,48.5,39.5L48.5,39.5z"/>
+</g>
+<g>
+ <circle class="st2" cx="15" cy="44" r="6.5"/>
+ <path class="st3" d="M15,39c2.8,0,5,2.2,5,5s-2.2,5-5,5s-5-2.2-5-5S12.2,39,15,39 M15,36c-4.4,0-8,3.6-8,8s3.6,8,8,8s8-3.6,8-8
+ S19.4,36,15,36L15,36z"/>
+</g>
+</svg>
diff --git a/images/edge.svg b/images/edge.svg
deleted file mode 100644
index 43280f8..0000000
--- a/images/edge.svg
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve">
-<g>
- <path style="fill:#7383BF;" d="M40.209,16.5H53c0.552,0,1-0.448,1-1s-0.448-1-1-1H33c-0.164,0-0.313,0.049-0.45,0.119L32,14.556
- V17.5h-4v-2.944l-1,0.115V14.5H7v2h12.791C9.856,20.546,3,30.289,3,41.5c0,0.552,0.448,1,1,1s1-0.448,1-1
- c0-12.329,8.951-22.744,21-24.676V19.5h8v-2.676C46.049,18.756,55,29.171,55,41.5c0,0.552,0.448,1,1,1s1-0.448,1-1
- C57,30.289,50.144,20.546,40.209,16.5z"/>
- <g>
- <rect x="1" y="41.5" style="fill:#434C6D;" width="6" height="6"/>
- <path style="fill:#434C6D;" d="M8,48.5H0v-8h8V48.5z M2,46.5h4v-4H2V46.5z"/>
- </g>
- <g>
- <rect x="53" y="41.5" style="fill:#434C6D;" width="6" height="6"/>
- <path style="fill:#434C6D;" d="M60,48.5h-8v-8h8V48.5z M54,46.5h4v-4h-4V46.5z"/>
- </g>
- <g>
- <rect x="27" y="12.5" style="fill:#434C6D;" width="6" height="6"/>
- <path style="fill:#434C6D;" d="M34,19.5h-8v-8h8V19.5z M28,17.5h4v-4h-4V17.5z"/>
- </g>
- <g>
- <circle style="fill:#26B99A;" cx="4" cy="15.5" r="3"/>
- <path style="fill:#26B99A;" d="M4,19.5c-2.206,0-4-1.794-4-4s1.794-4,4-4s4,1.794,4,4S6.206,19.5,4,19.5z M4,13.5
- c-1.103,0-2,0.897-2,2s0.897,2,2,2s2-0.897,2-2S5.103,13.5,4,13.5z"/>
- </g>
- <g>
- <circle style="fill:#26B99A;" cx="56" cy="15.5" r="3"/>
- <path style="fill:#26B99A;" d="M56,19.5c-2.206,0-4-1.794-4-4s1.794-4,4-4s4,1.794,4,4S58.206,19.5,56,19.5z M56,13.5
- c-1.103,0-2,0.897-2,2s0.897,2,2,2s2-0.897,2-2S57.103,13.5,56,13.5z"/>
- </g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-<g>
-</g>
-</svg>
diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp
index cdf7bea..b0ffdc6 100644
--- a/src/gui/mainwindow.cpp
+++ b/src/gui/mainwindow.cpp
@@ -102,7 +102,7 @@ QSplitter *MainWindow::splitter() const {
void MainWindow::closeEvent(QCloseEvent *event)
{
- qDebug() << "got close event";
+ //qDebug() << "got close event";
QSettings settings("tikzit", "tikzit");
settings.setValue("geometry-main", saveGeometry());
diff --git a/src/gui/toolpalette.cpp b/src/gui/toolpalette.cpp
index 2452bda..3d65369 100644
--- a/src/gui/toolpalette.cpp
+++ b/src/gui/toolpalette.cpp
@@ -32,6 +32,7 @@ ToolPalette::ToolPalette(QWidget *parent) :
setOrientation(Qt::Vertical);
setFocusPolicy(Qt::NoFocus);
setWindowTitle("Tools");
+ setObjectName("toolPalette");
//setGeometry(100,200,30,195);
tools = new QActionGroup(this);