浏览代码

added icons

Zoadian 10 年之前
父节点
当前提交
30edcc3765
共有 10 个文件被更改,包括 524 次插入28 次删除
  1. 13 6
      ccsim.cpp
  2. 1 1
      ccsim.h
  3. 4 1
      ccsim.pro
  4. 1 1
      ccsim.pro.user
  5. 8 0
      ccsim.qrc
  6. 99 19
      ccsim.ui
  7. 144 0
      media/icons/editor.svg
  8. 81 0
      media/icons/people.svg
  9. 86 0
      media/icons/simulator.svg
  10. 87 0
      media/icons/tournament.svg

+ 13 - 6
ccsim.cpp

@@ -17,27 +17,27 @@ CCSim::CCSim(QWidget *parent) :
 
 
 
-   connect(ui->btnEditor, &QPushButton::clicked, this, [this](){
+   connect(ui->btnEditor, &QToolButton::clicked, this, [this](){
        ui->stackedWidget->setCurrentWidget(ui->pgEditor);
    });
 
-   connect(ui->btnSimulator, &QPushButton::clicked, this, [this](){
+   connect(ui->btnSimulator, &QToolButton::clicked, this, [this](){
        ui->stackedWidget->setCurrentWidget(ui->pgSimulator);
    });
 
-   connect(ui->btnTournament, &QPushButton::clicked, this, [this](){
+   connect(ui->btnTournament, &QToolButton::clicked, this, [this](){
        ui->stackedWidget->setCurrentWidget(ui->pgTournament);
    });
 
-   connect(ui->btnOptionSet, &QPushButton::clicked, this, [this](){
+   connect(ui->btnOptionSet, &QToolButton::clicked, this, [this](){
        ui->stackedWidget->setCurrentWidget(ui->pgOptionSet);
    });
 
-   connect(ui->btnPreferences, &QPushButton::clicked, this, [this](){
+   connect(ui->btnPreferences, &QToolButton::clicked, this, [this](){
        ui->stackedWidget->setCurrentWidget(ui->pgPreferences);
    });
 
-   connect(ui->btnHelp, &QPushButton::clicked, this, [this](){
+   connect(ui->btnHelp, &QToolButton::clicked, this, [this](){
        ui->stackedWidget->setCurrentWidget(ui->pgHelp);
    });
 
@@ -92,4 +92,11 @@ void CCSim::updateUiElements()
     ui->tbOptionSet->setVisible(ui->stackedWidget->currentWidget() == ui->pgOptionSet);
     ui->tbPreferences->setVisible(ui->stackedWidget->currentWidget() == ui->pgPreferences);
     ui->tbHelp->setVisible(ui->stackedWidget->currentWidget() == ui->pgHelp);
+
+    ui->btnEditor->setChecked(ui->stackedWidget->currentWidget() == ui->pgEditor);
+    ui->btnSimulator->setChecked(ui->stackedWidget->currentWidget() == ui->pgSimulator);
+    ui->btnTournament->setChecked(ui->stackedWidget->currentWidget() == ui->pgTournament);
+    ui->btnOptionSet->setChecked(ui->stackedWidget->currentWidget() == ui->pgOptionSet);
+    ui->btnPreferences->setChecked(ui->stackedWidget->currentWidget() == ui->pgPreferences);
+    ui->btnHelp->setChecked(ui->stackedWidget->currentWidget() == ui->pgHelp);
 }

+ 1 - 1
ccsim.h

@@ -15,7 +15,7 @@ private:
     Ui::CCSim *ui;
 
 public:
-    explicit CCSim(QWidget *parent = 0);
+    explicit CCSim(QWidget* parent = 0);
     ~CCSim();
 
 public slots:

+ 4 - 1
ccsim.pro

@@ -4,7 +4,7 @@
 #
 #-------------------------------------------------
 
-QT       += core gui
+QT       += core gui svg
 CONFIG   += c++11
 
 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
@@ -40,3 +40,6 @@ HEADERS  += mainwindow.h \
 FORMS    += mainwindow.ui \
     debugwidget.ui \
     ccsim.ui
+
+RESOURCES += \
+    ccsim.qrc

+ 1 - 1
ccsim.pro.user

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE QtCreatorProject>
-<!-- Written by QtCreator 3.6.0, 2016-01-25T21:55:13. -->
+<!-- Written by QtCreator 3.6.0, 2016-01-25T22:22:41. -->
 <qtcreator>
  <data>
   <variable>EnvironmentId</variable>

+ 8 - 0
ccsim.qrc

@@ -0,0 +1,8 @@
+<RCC>
+    <qresource prefix="/ccsim">
+        <file alias="people">media/icons/people.svg</file>
+        <file alias="editor">media/icons/editor.svg</file>
+        <file alias="tournament">media/icons/tournament.svg</file>
+        <file alias="simulator">media/icons/simulator.svg</file>
+    </qresource>
+</RCC>

+ 99 - 19
ccsim.ui

@@ -33,7 +33,7 @@
     <item>
      <layout class="QVBoxLayout" name="verticalLayout_3">
       <item>
-       <widget class="QPushButton" name="btnEditor">
+       <widget class="QToolButton" name="btnEditor">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
           <horstretch>0</horstretch>
@@ -42,17 +42,30 @@
         </property>
         <property name="minimumSize">
          <size>
-          <width>64</width>
-          <height>64</height>
+          <width>70</width>
+          <height>70</height>
          </size>
         </property>
         <property name="text">
          <string>Editor</string>
         </property>
+        <property name="icon">
+         <iconset resource="ccsim.qrc">
+          <normaloff>:/ccsim/editor</normaloff>:/ccsim/editor</iconset>
+        </property>
+        <property name="iconSize">
+         <size>
+          <width>64</width>
+          <height>64</height>
+         </size>
+        </property>
+        <property name="checkable">
+         <bool>true</bool>
+        </property>
        </widget>
       </item>
       <item>
-       <widget class="QPushButton" name="btnSimulator">
+       <widget class="QToolButton" name="btnSimulator">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
           <horstretch>0</horstretch>
@@ -61,17 +74,30 @@
         </property>
         <property name="minimumSize">
          <size>
-          <width>64</width>
-          <height>64</height>
+          <width>70</width>
+          <height>70</height>
          </size>
         </property>
         <property name="text">
          <string>Simulator</string>
         </property>
+        <property name="icon">
+         <iconset resource="ccsim.qrc">
+          <normaloff>:/ccsim/simulator</normaloff>:/ccsim/simulator</iconset>
+        </property>
+        <property name="iconSize">
+         <size>
+          <width>64</width>
+          <height>64</height>
+         </size>
+        </property>
+        <property name="checkable">
+         <bool>true</bool>
+        </property>
        </widget>
       </item>
       <item>
-       <widget class="QPushButton" name="btnTournament">
+       <widget class="QToolButton" name="btnTournament">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
           <horstretch>0</horstretch>
@@ -80,17 +106,30 @@
         </property>
         <property name="minimumSize">
          <size>
-          <width>64</width>
-          <height>64</height>
+          <width>70</width>
+          <height>70</height>
          </size>
         </property>
         <property name="text">
          <string>Tournament</string>
         </property>
+        <property name="icon">
+         <iconset resource="ccsim.qrc">
+          <normaloff>:/ccsim/tournament</normaloff>:/ccsim/tournament</iconset>
+        </property>
+        <property name="iconSize">
+         <size>
+          <width>64</width>
+          <height>64</height>
+         </size>
+        </property>
+        <property name="checkable">
+         <bool>true</bool>
+        </property>
        </widget>
       </item>
       <item>
-       <widget class="QPushButton" name="btnOptionSet">
+       <widget class="QToolButton" name="btnOptionSet">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
           <horstretch>0</horstretch>
@@ -99,13 +138,26 @@
         </property>
         <property name="minimumSize">
          <size>
-          <width>64</width>
-          <height>64</height>
+          <width>70</width>
+          <height>70</height>
          </size>
         </property>
         <property name="text">
          <string>Option Set</string>
         </property>
+        <property name="icon">
+         <iconset resource="ccsim.qrc">
+          <normaloff>:/ccsim/people</normaloff>:/ccsim/people</iconset>
+        </property>
+        <property name="iconSize">
+         <size>
+          <width>64</width>
+          <height>64</height>
+         </size>
+        </property>
+        <property name="checkable">
+         <bool>true</bool>
+        </property>
        </widget>
       </item>
       <item>
@@ -122,7 +174,7 @@
        </spacer>
       </item>
       <item>
-       <widget class="QPushButton" name="btnPreferences">
+       <widget class="QToolButton" name="btnPreferences">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
           <horstretch>0</horstretch>
@@ -131,17 +183,30 @@
         </property>
         <property name="minimumSize">
          <size>
-          <width>64</width>
-          <height>64</height>
+          <width>70</width>
+          <height>70</height>
          </size>
         </property>
         <property name="text">
          <string>Preferences</string>
         </property>
+        <property name="icon">
+         <iconset resource="ccsim.qrc">
+          <normaloff>:/ccsim/people</normaloff>:/ccsim/people</iconset>
+        </property>
+        <property name="iconSize">
+         <size>
+          <width>64</width>
+          <height>64</height>
+         </size>
+        </property>
+        <property name="checkable">
+         <bool>true</bool>
+        </property>
        </widget>
       </item>
       <item>
-       <widget class="QPushButton" name="btnHelp">
+       <widget class="QToolButton" name="btnHelp">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
           <horstretch>0</horstretch>
@@ -150,13 +215,26 @@
         </property>
         <property name="minimumSize">
          <size>
-          <width>64</width>
-          <height>64</height>
+          <width>70</width>
+          <height>70</height>
          </size>
         </property>
         <property name="text">
          <string>Help</string>
         </property>
+        <property name="icon">
+         <iconset resource="ccsim.qrc">
+          <normaloff>:/ccsim/people</normaloff>:/ccsim/people</iconset>
+        </property>
+        <property name="iconSize">
+         <size>
+          <width>64</width>
+          <height>64</height>
+         </size>
+        </property>
+        <property name="checkable">
+         <bool>true</bool>
+        </property>
        </widget>
       </item>
      </layout>
@@ -360,6 +438,8 @@
    <header>wgtcodeeditor.h</header>
   </customwidget>
  </customwidgets>
- <resources/>
+ <resources>
+  <include location="ccsim.qrc"/>
+ </resources>
  <connections/>
 </ui>

+ 144 - 0
media/icons/editor.svg

@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="512"
+   height="512"
+   viewBox="0 0 512.00001 512.00001"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="editor.svg">
+  <defs
+     id="defs4" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.8671875"
+     inkscape:cx="250.02756"
+     inkscape:cy="52.962094"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     units="px"
+     inkscape:window-width="1920"
+     inkscape:window-height="1057"
+     inkscape:window-x="-8"
+     inkscape:window-y="-8"
+     inkscape:window-maximized="1">
+    <inkscape:grid
+       type="xygrid"
+       id="grid3336"
+       color="#ff3f00"
+       opacity="0.1254902"
+       empcolor="#ff3f00"
+       empopacity="0.25098039"
+       empspacing="8" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-540.36216)">
+    <path
+       style="fill:#645f66;fill-opacity:1"
+       d="M 48 32 C 39.136 32 32 39.136013 32 48 L 32 464 C 32 472.86399 39.136 480 48 480 L 464 480 C 472.864 480 480 472.86399 480 464 L 480 48 C 480 39.136013 472.864 32 464 32 L 48 32 z M 64 48 L 448 48 C 456.864 48 464 55.136 464 64 L 464 448 C 464 456.864 456.864 464 448 464 L 64 464 C 55.136 464 48 456.864 48 448 L 48 64 C 48 55.136 55.136 48 64 48 z "
+       transform="translate(0,540.36216)"
+       id="rect4195" />
+    <rect
+       style="fill:#645f66;fill-opacity:1"
+       id="rect4202"
+       width="208"
+       height="32"
+       x="70"
+       y="612.43427"
+       rx="16"
+       ry="16" />
+    <rect
+       style="fill:#d7543e;fill-opacity:1"
+       id="rect4204"
+       width="304"
+       height="32"
+       x="70"
+       y="660.43427"
+       rx="16"
+       ry="16" />
+    <rect
+       style="fill:#645f66;fill-opacity:1"
+       id="rect4206"
+       width="128"
+       height="32"
+       x="70"
+       y="708.43427"
+       rx="16"
+       ry="16" />
+    <rect
+       style="fill:#d7543e;fill-opacity:1"
+       id="rect4208"
+       width="208"
+       height="32"
+       x="70"
+       y="756.43427"
+       rx="16"
+       ry="16" />
+    <rect
+       style="fill:#645f66;fill-opacity:1"
+       id="rect4210"
+       width="256"
+       height="32"
+       x="70"
+       y="804.43427"
+       rx="16"
+       ry="16" />
+    <rect
+       style="fill:#645f66;fill-opacity:1"
+       id="rect4212"
+       width="320"
+       height="32"
+       x="70"
+       y="852.43427"
+       rx="16"
+       ry="16" />
+    <rect
+       style="fill:#645f66;fill-opacity:1"
+       id="rect4214"
+       width="160"
+       height="32"
+       x="70"
+       y="900.43427"
+       rx="16"
+       ry="16" />
+    <rect
+       style="fill:#645f66;fill-opacity:1"
+       id="rect4216"
+       width="272"
+       height="32"
+       x="70"
+       y="948.43427"
+       rx="16"
+       ry="16" />
+  </g>
+</svg>

+ 81 - 0
media/icons/people.svg

@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="512"
+   height="512"
+   viewBox="0 0 512.00001 512.00001"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="people.svg">
+  <defs
+     id="defs4" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="1.734375"
+     inkscape:cx="256"
+     inkscape:cy="256"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     units="px"
+     inkscape:window-width="1920"
+     inkscape:window-height="1057"
+     inkscape:window-x="-8"
+     inkscape:window-y="-8"
+     inkscape:window-maximized="1">
+    <inkscape:grid
+       type="xygrid"
+       id="grid3336"
+       color="#ff3f00"
+       opacity="0.1254902"
+       empcolor="#ff3f00"
+       empopacity="0.25098039"
+       empspacing="8" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-540.36216)">
+    <g
+       id="g4191"
+       transform="translate(-0.324325,45.955465)">
+      <path
+         inkscape:connector-curvature="0"
+         id="rect3375"
+         d="m 346.87676,628.1609 c -42.64114,0 -76.96957,40.23997 -76.96957,90.22525 l 0,0.65438 c 0,36.77839 18.59591,68.25763 45.40224,82.33728 -0.078,2.60133 -0.12602,5.22704 -0.12602,7.88797 l 0,9.05524 -63.38671,0 c -45.14944,0 -81.4972,38.36708 -81.4972,86.02482 0,4.62537 0.35076,9.15912 1.01032,13.58287 l 323.96815,0 c 0.65958,-4.42375 1.01032,-8.9575 1.01032,-13.58287 0,-47.65774 -36.34775,-86.02482 -81.4972,-86.02482 l -36.22098,0 0,-9.05524 c 0,-2.66093 -0.048,-5.28664 -0.12601,-7.88797 26.80633,-14.07965 45.40223,-45.55889 45.40223,-82.33728 l 0,-0.65438 c 0,-49.98528 -34.32842,-90.22525 -76.96957,-90.22525 z"
+         style="fill:#645f66;fill-opacity:1" />
+      <path
+         inkscape:connector-curvature="0"
+         id="rect3360"
+         d="m 211.0481,582.88468 c -52.67435,0 -95.08006,54.52162 -95.08006,122.2458 0,48.95148 22.1577,90.99808 54.33146,110.55091 l 0,20.75012 -63.3867,0 c -50.166052,0 -90.55244,36.34775 -90.55244,81.4972 l 389.37549,0 c 0,-45.14945 -40.38639,-81.4972 -90.55244,-81.4972 l -63.38671,0 0,-20.75012 c 32.17377,-19.55283 54.33147,-61.59943 54.33147,-110.55091 0,-67.72418 -42.40572,-122.2458 -95.08007,-122.2458 z"
+         style="fill:#d7543e;fill-opacity:1" />
+    </g>
+  </g>
+</svg>

+ 86 - 0
media/icons/simulator.svg

@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="512"
+   height="512"
+   viewBox="0 0 512.00001 512.00001"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="simulator.svg">
+  <defs
+     id="defs4" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.8671875"
+     inkscape:cx="295.83953"
+     inkscape:cy="206.67333"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     units="px"
+     inkscape:window-width="1920"
+     inkscape:window-height="1057"
+     inkscape:window-x="-8"
+     inkscape:window-y="-8"
+     inkscape:window-maximized="1">
+    <inkscape:grid
+       type="xygrid"
+       id="grid3336"
+       color="#ff3f00"
+       opacity="0.1254902"
+       empcolor="#ff3f00"
+       empopacity="0.25098039"
+       empspacing="8" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-540.36216)">
+    <path
+       style="opacity:1;fill:#6e5e62;fill-opacity:0.99215686"
+       d="M 256 96 C 167.36 96 96 167.36 96 256 C 96 344.64 167.36 416 256 416 C 344.64 416 416 344.64 416 256 C 416 167.36 344.64 96 256 96 z M 256 176 C 300.32 176 336 211.68 336 256 C 336 300.32 300.32 336 256 336 C 211.68 336 176 300.32 176 256 C 176 211.68 211.68 176 256 176 z "
+       transform="translate(0,540.36216)"
+       id="rect4312" />
+    <path
+       style="opacity:1;fill:#d7543e;fill-opacity:0.90196078"
+       d="M 400.88477 187.83789 C 410.57836 208.49731 416 231.59043 416 256 C 416 281.65245 410.01347 305.85166 399.37109 327.29883 C 439.46114 306.53739 481.63477 273.07997 481.63477 257.16992 C 481.63476 241.45954 440.51486 208.64687 400.88477 187.83789 z "
+       transform="translate(0,540.36216)"
+       id="path4305" />
+    <rect
+       style="opacity:1;fill:#d7543e;fill-opacity:0.90196078"
+       id="rect4310"
+       width="160"
+       height="160"
+       x="176"
+       y="716.36218"
+       rx="80"
+       ry="80" />
+  </g>
+</svg>

+ 87 - 0
media/icons/tournament.svg

@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="512"
+   height="512"
+   viewBox="0 0 512.00001 512.00001"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="tournament.svg">
+  <defs
+     id="defs4" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.8671875"
+     inkscape:cx="443.65052"
+     inkscape:cy="269.72094"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     units="px"
+     inkscape:window-width="1920"
+     inkscape:window-height="1057"
+     inkscape:window-x="-8"
+     inkscape:window-y="-8"
+     inkscape:window-maximized="1">
+    <inkscape:grid
+       type="xygrid"
+       id="grid3336"
+       color="#ff3f00"
+       opacity="0.1254902"
+       empcolor="#ff3f00"
+       empopacity="0.25098039"
+       empspacing="8" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-540.36216)">
+    <path
+       style="opacity:1;fill:#d7543e;fill-opacity:1"
+       d="M 208 32 C 178.69356 32 154.79583 49.513604 152.23828 72 L 383.76172 72 C 381.20417 49.513604 357.30644 32 328 32 L 208 32 z "
+       transform="translate(0,540.36216)"
+       id="rect4229" />
+    <path
+       style="opacity:1;fill:#645f66;fill-opacity:1"
+       d="M 104 72 C 72.976 72 63.474935 102.535 59.53125 140 C 51.53125 215.99999 211.93108 341.18945 242.95508 341.18945 L 248 341.18945 L 248 400 L 272 400 L 272 341.18945 L 280.57617 341.18945 C 311.60017 341.18945 465.08203 215.99999 457.08203 140 C 453.13835 102.535 439.024 72 408 72 L 104 72 z M 117.94531 92.119141 C 131.60026 92.110075 141.31091 100.5411 142.51367 117.96484 C 142.51367 117.96484 141.9391 162.0125 146.17578 190.58984 C 147.64447 200.49648 155.19922 233.71094 155.19922 233.71094 C 159.15685 269.82433 91.630927 218.64775 80.748047 142.03516 C 78.636877 127.17305 79.090032 95.117235 115.16211 92.234375 C 116.10614 92.158929 117.03498 92.119745 117.94531 92.119141 z M 401.14648 93.003906 C 402.05681 93.004511 402.9837 93.041741 403.92773 93.117188 C 439.99981 96.000048 440.45297 128.05781 438.3418 142.91992 C 427.45892 219.53251 359.93495 270.70714 363.89258 234.59375 C 363.89258 234.59375 371.44537 201.3793 372.91406 191.47266 C 377.15074 162.89532 376.57617 118.84766 376.57617 118.84766 C 377.77894 101.42391 387.49154 92.99484 401.14648 93.003906 z M 272 137.77734 L 272 144 L 272 155.22266 L 272 248 L 256 248 L 256 162.17578 L 224.52148 175.85742 L 218.14453 161.18164 L 256 144.73047 L 256 144 L 257.68164 144 L 272 137.77734 z M 160 432 C 146.704 432 136 442.704 136 456 C 136 469.296 146.704 480 160 480 L 352 480 C 365.296 480 376 469.296 376 456 C 376 442.704 365.296 432 352 432 L 288 432 L 270.39258 432 L 249.60742 432 L 232 432 L 160 432 z "
+       transform="translate(0,540.36216)"
+       id="rect4231" />
+    <path
+       style="opacity:1;fill:#d85a44;fill-opacity:0.98039216"
+       d="M 216 400 C 207.136 400 200 407.136 200 416 L 200 432 L 320 432 L 320 416 C 320 407.136 312.864 400 304 400 L 216 400 z "
+       transform="translate(0,540.36216)"
+       id="rect4241" />
+    <path
+       style="opacity:1;fill:#d7543e;fill-opacity:1"
+       d="M 260 112 C 222.328 112 192 145.896 192 188 C 192 230.104 222.328 264 260 264 C 297.672 264 328 230.104 328 188 C 328 145.896 297.672 112 260 112 z M 272 137.77734 L 272 144 L 272 155.22266 L 272 248 L 256 248 L 256 162.17578 L 224.52148 175.85742 L 218.14453 161.18164 L 256 144.73047 L 256 144 L 257.68164 144 L 272 137.77734 z "
+       transform="translate(0,540.36216)"
+       id="rect4255" />
+  </g>
+</svg>