From 14a1ed561791fbc2357cb37206a1c0e73a97abc2 Mon Sep 17 00:00:00 2001
From: tao_z <tzj0429@163.com>
Date: Wed, 20 Jul 2022 22:56:23 +0800
Subject: [PATCH] 调整支持HEX烧录功能

---
 main.ui |  818 ++++++++++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 672 insertions(+), 146 deletions(-)

diff --git a/main.ui b/main.ui
index f1997b5..de8e34a 100644
--- a/main.ui
+++ b/main.ui
@@ -8,13 +8,13 @@
     <x>0</x>
     <y>0</y>
     <width>1050</width>
-    <height>800</height>
+    <height>650</height>
    </rect>
   </property>
   <property name="minimumSize">
    <size>
     <width>1050</width>
-    <height>800</height>
+    <height>650</height>
    </size>
   </property>
   <property name="windowTitle">
@@ -30,7 +30,7 @@
    <property name="minimumSize">
     <size>
      <width>1050</width>
-     <height>800</height>
+     <height>650</height>
     </size>
    </property>
    <layout class="QVBoxLayout" name="verticalLayout">
@@ -194,13 +194,13 @@
            <string notr="true"/>
           </property>
           <property name="currentIndex">
-           <number>0</number>
+           <number>2</number>
           </property>
           <widget class="QWidget" name="tab">
            <attribute name="title">
             <string>UDS</string>
            </attribute>
-           <layout class="QVBoxLayout" name="verticalLayout_9" stretch="6,1,1">
+           <layout class="QVBoxLayout" name="verticalLayout_9" stretch="5,1,1">
             <item>
              <widget class="QGroupBox" name="groupBox_2">
               <property name="title">
@@ -560,7 +560,7 @@
              </widget>
             </item>
             <item>
-             <layout class="QHBoxLayout" name="horizontalLayout_5" stretch="1,1,1,1,1">
+             <layout class="QHBoxLayout" name="horizontalLayout_5" stretch="1,1,1,1,1,1">
               <item>
                <widget class="QGroupBox" name="SessionContrl_gbx">
                 <property name="title">
@@ -593,6 +593,18 @@
                 <layout class="QVBoxLayout" name="verticalLayout_4">
                  <item>
                   <widget class="QComboBox" name="comboBox_9"/>
+                 </item>
+                </layout>
+               </widget>
+              </item>
+              <item>
+               <widget class="QGroupBox" name="SessionContrl_gbx_6">
+                <property name="title">
+                 <string>DTC Ctl(0x85)</string>
+                </property>
+                <layout class="QVBoxLayout" name="verticalLayout_19">
+                 <item>
+                  <widget class="QComboBox" name="comboBox_13"/>
                  </item>
                 </layout>
                </widget>
@@ -635,27 +647,77 @@
              </layout>
             </item>
             <item>
-             <widget class="QGroupBox" name="groupBox_3">
-              <property name="title">
-               <string>Security Access</string>
+             <layout class="QHBoxLayout" name="horizontalLayout_22" stretch="1,1,1,2">
+              <property name="spacing">
+               <number>6</number>
               </property>
-              <layout class="QHBoxLayout" name="horizontalLayout_10">
-               <item>
-                <widget class="QPushButton" name="pushButton_31">
-                 <property name="text">
-                  <string>Unlock Level 1</string>
+              <item>
+               <widget class="QGroupBox" name="groupBox_9">
+                <property name="title">
+                 <string>0x1902服务</string>
+                </property>
+                <layout class="QHBoxLayout" name="horizontalLayout_23">
+                 <item>
+                  <widget class="QComboBox" name="comboBox_11"/>
+                 </item>
+                </layout>
+               </widget>
+              </item>
+              <item>
+               <widget class="QGroupBox" name="groupBox_10">
+                <property name="title">
+                 <string>0x1904服务</string>
+                </property>
+                <layout class="QHBoxLayout" name="horizontalLayout_24">
+                 <item>
+                  <widget class="QComboBox" name="comboBox_12"/>
+                 </item>
+                </layout>
+               </widget>
+              </item>
+              <item>
+               <widget class="QGroupBox" name="groupBox_11">
+                <property name="title">
+                 <string>0x190A服务</string>
+                </property>
+                <layout class="QHBoxLayout" name="horizontalLayout_25">
+                 <item>
+                  <widget class="QPushButton" name="pushButton_49">
+                   <property name="text">
+                    <string>报告支持DTC(190A)</string>
+                   </property>
+                  </widget>
+                 </item>
+                </layout>
+               </widget>
+              </item>
+              <item>
+               <widget class="QGroupBox" name="groupBox_3">
+                <property name="title">
+                 <string>Security Access</string>
+                </property>
+                <layout class="QHBoxLayout" name="horizontalLayout_10" stretch="1,1">
+                 <property name="spacing">
+                  <number>6</number>
                  </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QPushButton" name="pushButton_32">
-                 <property name="text">
-                  <string>Unlock Level 3</string>
-                 </property>
-                </widget>
-               </item>
-              </layout>
-             </widget>
+                 <item>
+                  <widget class="QPushButton" name="pushButton_31">
+                   <property name="text">
+                    <string>Unlock Level 1</string>
+                   </property>
+                  </widget>
+                 </item>
+                 <item>
+                  <widget class="QPushButton" name="pushButton_32">
+                   <property name="text">
+                    <string>Unlock Level 3</string>
+                   </property>
+                  </widget>
+                 </item>
+                </layout>
+               </widget>
+              </item>
+             </layout>
             </item>
            </layout>
           </widget>
@@ -663,78 +725,539 @@
            <attribute name="title">
             <string>校准</string>
            </attribute>
-           <layout class="QVBoxLayout" name="verticalLayout_10">
+           <layout class="QHBoxLayout" name="horizontalLayout_28">
             <item>
-             <layout class="QVBoxLayout" name="verticalLayout_11">
+             <layout class="QHBoxLayout" name="horizontalLayout_27" stretch="1,1">
+              <property name="spacing">
+               <number>20</number>
+              </property>
+              <property name="rightMargin">
+               <number>0</number>
+              </property>
               <item>
-               <widget class="QPushButton" name="pushButton_9">
-                <property name="text">
-                 <string>Start Calibration</string>
+               <layout class="QGridLayout" name="gridLayout_5" rowstretch="1,1,1,1,1" columnstretch="1,1" rowminimumheight="1,1,1,1,1" columnminimumwidth="1,1">
+                <property name="rightMargin">
+                 <number>0</number>
                 </property>
-               </widget>
+                <item row="0" column="1">
+                 <widget class="QPushButton" name="pushButton_56">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="styleSheet">
+                   <string notr="true">background-color: rgb(123, 123, 123);
+color: rgb(255,255,255);  
+border-radius: 15px; 
+font: 9pt &quot;AcadEref&quot;;
+border-style: outset;
+</string>
+                  </property>
+                  <property name="text">
+                   <string>X2</string>
+                  </property>
+                 </widget>
+                </item>
+                <item row="1" column="0">
+                 <widget class="QPushButton" name="pushButton_54">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="styleSheet">
+                   <string notr="true">background-color: rgb(123, 123, 123);
+color: rgb(255,255,255);  
+border-radius: 15px; 
+font: 9pt &quot;AcadEref&quot;;
+border-style: outset;
+</string>
+                  </property>
+                  <property name="text">
+                   <string>M+</string>
+                  </property>
+                 </widget>
+                </item>
+                <item row="1" column="1">
+                 <widget class="QPushButton" name="pushButton_58">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="styleSheet">
+                   <string notr="true">background-color: rgb(123, 123, 123);
+color: rgb(255,255,255);  
+border-radius: 15px; 
+font: 9pt &quot;AcadEref&quot;;
+border-style: outset;
+</string>
+                  </property>
+                  <property name="text">
+                   <string>X1</string>
+                  </property>
+                 </widget>
+                </item>
+                <item row="2" column="0">
+                 <widget class="QPushButton" name="pushButton_62">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="styleSheet">
+                   <string notr="true">background-color: rgb(123, 123, 123);
+color: rgb(255,255,255);  
+border-radius: 15px; 
+font: 9pt &quot;AcadEref&quot;;
+border-style: outset;
+</string>
+                  </property>
+                  <property name="text">
+                   <string>M</string>
+                  </property>
+                 </widget>
+                </item>
+                <item row="2" column="1">
+                 <widget class="QPushButton" name="pushButton_59">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="styleSheet">
+                   <string notr="true">background-color: rgb(123, 123, 123);
+color: rgb(255,255,255);  
+border-radius: 15px; 
+font: 9pt &quot;AcadEref&quot;;
+border-style: outset;
+</string>
+                  </property>
+                  <property name="text">
+                   <string>ZERO</string>
+                  </property>
+                 </widget>
+                </item>
+                <item row="3" column="0">
+                 <widget class="QPushButton" name="pushButton_61">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="styleSheet">
+                   <string notr="true">background-color: rgb(123, 123, 123);
+color: rgb(255,255,255);  
+border-radius: 15px; 
+font: 9pt &quot;AcadEref&quot;;
+border-style: outset;
+</string>
+                  </property>
+                  <property name="text">
+                   <string>M-</string>
+                  </property>
+                 </widget>
+                </item>
+                <item row="3" column="1">
+                 <widget class="QPushButton" name="pushButton_60">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="styleSheet">
+                   <string notr="true">background-color: rgb(123, 123, 123);
+color: rgb(255,255,255);  
+border-radius: 15px; 
+font: 9pt &quot;AcadEref&quot;;
+border-style: outset;
+</string>
+                  </property>
+                  <property name="text">
+                   <string>Y1</string>
+                  </property>
+                 </widget>
+                </item>
+                <item row="4" column="1">
+                 <widget class="QPushButton" name="pushButton_57">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>30</width>
+                    <height>30</height>
+                   </size>
+                  </property>
+                  <property name="styleSheet">
+                   <string notr="true">background-color: rgb(123, 123, 123);
+color: rgb(255,255,255);  
+border-radius: 15px; 
+font: 9pt &quot;AcadEref&quot;;
+border-style: outset;
+</string>
+                  </property>
+                  <property name="text">
+                   <string>X2</string>
+                  </property>
+                 </widget>
+                </item>
+               </layout>
               </item>
               <item>
-               <widget class="QPushButton" name="pushButton_11">
-                <property name="text">
-                 <string>Calibration Z</string>
-                </property>
-               </widget>
-              </item>
-              <item>
-               <widget class="QPushButton" name="pushButton_13">
-                <property name="text">
-                 <string>Calibration M</string>
-                </property>
-               </widget>
-              </item>
-              <item>
-               <widget class="QPushButton" name="pushButton_18">
-                <property name="text">
-                 <string>Calibration M+</string>
-                </property>
-               </widget>
-              </item>
-              <item>
-               <widget class="QPushButton" name="pushButton_22">
-                <property name="text">
-                 <string>Calibration M-</string>
-                </property>
-               </widget>
-              </item>
-              <item>
-               <widget class="QPushButton" name="pushButton_24">
-                <property name="text">
-                 <string>Calibration X2</string>
-                </property>
-               </widget>
-              </item>
-              <item>
-               <widget class="QPushButton" name="pushButton_26">
-                <property name="text">
-                 <string>Calibration X1</string>
-                </property>
-               </widget>
-              </item>
-              <item>
-               <widget class="QPushButton" name="pushButton_27">
-                <property name="text">
-                 <string>Calibration Y1</string>
-                </property>
-               </widget>
-              </item>
-              <item>
-               <widget class="QPushButton" name="pushButton_28">
-                <property name="text">
-                 <string>Calibration Y2</string>
-                </property>
-               </widget>
-              </item>
-              <item>
-               <widget class="QPushButton" name="pushButton_29">
-                <property name="text">
-                 <string>Calibration Gap</string>
-                </property>
-               </widget>
+               <layout class="QVBoxLayout" name="verticalLayout_11">
+                <item>
+                 <widget class="QPushButton" name="pushButton_9">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>0</width>
+                    <height>31</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>500</width>
+                    <height>16777215</height>
+                   </size>
+                  </property>
+                  <property name="text">
+                   <string>Start Calibration</string>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <widget class="QPushButton" name="pushButton_11">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>0</width>
+                    <height>31</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>500</width>
+                    <height>16777215</height>
+                   </size>
+                  </property>
+                  <property name="text">
+                   <string>Calibration Z</string>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <widget class="QPushButton" name="pushButton_13">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>0</width>
+                    <height>31</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>500</width>
+                    <height>16777215</height>
+                   </size>
+                  </property>
+                  <property name="text">
+                   <string>Calibration M</string>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <widget class="QPushButton" name="pushButton_18">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>0</width>
+                    <height>31</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>500</width>
+                    <height>16777215</height>
+                   </size>
+                  </property>
+                  <property name="text">
+                   <string>Calibration M+</string>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <widget class="QPushButton" name="pushButton_22">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>0</width>
+                    <height>31</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>500</width>
+                    <height>16777215</height>
+                   </size>
+                  </property>
+                  <property name="text">
+                   <string>Calibration M-</string>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <widget class="QPushButton" name="pushButton_24">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>0</width>
+                    <height>31</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>500</width>
+                    <height>16777215</height>
+                   </size>
+                  </property>
+                  <property name="text">
+                   <string>Calibration X2</string>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <widget class="QPushButton" name="pushButton_26">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>0</width>
+                    <height>31</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>500</width>
+                    <height>16777215</height>
+                   </size>
+                  </property>
+                  <property name="text">
+                   <string>Calibration X1</string>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <widget class="QPushButton" name="pushButton_27">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>0</width>
+                    <height>31</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>500</width>
+                    <height>16777215</height>
+                   </size>
+                  </property>
+                  <property name="text">
+                   <string>Calibration Y1</string>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <widget class="QPushButton" name="pushButton_28">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>0</width>
+                    <height>31</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>500</width>
+                    <height>16777215</height>
+                   </size>
+                  </property>
+                  <property name="text">
+                   <string>Calibration Y2</string>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <widget class="QPushButton" name="pushButton_29">
+                  <property name="sizePolicy">
+                   <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                   </sizepolicy>
+                  </property>
+                  <property name="minimumSize">
+                   <size>
+                    <width>0</width>
+                    <height>31</height>
+                   </size>
+                  </property>
+                  <property name="maximumSize">
+                   <size>
+                    <width>500</width>
+                    <height>100</height>
+                   </size>
+                  </property>
+                  <property name="text">
+                   <string>Calibration Gap</string>
+                  </property>
+                 </widget>
+                </item>
+               </layout>
               </item>
              </layout>
             </item>
@@ -754,8 +1277,8 @@
                 </property>
                 <layout class="QHBoxLayout" name="horizontalLayout_8">
                  <item>
-                  <layout class="QVBoxLayout" name="verticalLayout_13" stretch="2,2,2">
-                   <item>
+                  <layout class="QGridLayout" name="gridLayout_3">
+                   <item row="0" column="0">
                     <widget class="QPushButton" name="pushButton_35">
                      <property name="sizePolicy">
                       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -765,20 +1288,20 @@
                      </property>
                      <property name="minimumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>30</height>
                       </size>
                      </property>
                      <property name="maximumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>3</height>
                       </size>
                      </property>
                      <property name="styleSheet">
                       <string notr="true">background-color: rgb(123, 123, 123);
 color: rgb(255,255,255);  
-border-radius: 30px; 
+border-radius: 15px; 
 font: 9pt &quot;AcadEref&quot;;
 border-style: outset;</string>
                      </property>
@@ -787,7 +1310,7 @@
                      </property>
                     </widget>
                    </item>
-                   <item>
+                   <item row="1" column="0">
                     <widget class="QPushButton" name="pushButton_39">
                      <property name="sizePolicy">
                       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -797,20 +1320,20 @@
                      </property>
                      <property name="minimumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>30</height>
                       </size>
                      </property>
                      <property name="maximumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>30</height>
                       </size>
                      </property>
                      <property name="styleSheet">
                       <string notr="true">background-color: rgb(123, 123, 123);
 color: rgb(255,255,255);  
-border-radius: 30px; 
+border-radius: 15px; 
 font: 9pt &quot;AcadEref&quot;;
 border-style: outset;</string>
                      </property>
@@ -819,7 +1342,7 @@
                      </property>
                     </widget>
                    </item>
-                   <item>
+                   <item row="2" column="0">
                     <widget class="QPushButton" name="pushButton_36">
                      <property name="sizePolicy">
                       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -829,20 +1352,20 @@
                      </property>
                      <property name="minimumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>30</height>
                       </size>
                      </property>
                      <property name="maximumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>30</height>
                       </size>
                      </property>
                      <property name="styleSheet">
                       <string notr="true">background-color: rgb(123, 123, 123);
 color: rgb(255,255,255);  
-border-radius: 30px; 
+border-radius: 15px; 
 font: 9pt &quot;AcadEref&quot;;
 border-style: outset;</string>
                      </property>
@@ -854,8 +1377,11 @@
                   </layout>
                  </item>
                  <item>
-                  <layout class="QVBoxLayout" name="verticalLayout_12" stretch="1,1,1,1,1">
-                   <item>
+                  <layout class="QGridLayout" name="gridLayout_2">
+                   <property name="leftMargin">
+                    <number>0</number>
+                   </property>
+                   <item row="0" column="0">
                     <widget class="QPushButton" name="pushButton_37">
                      <property name="sizePolicy">
                       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -865,20 +1391,20 @@
                      </property>
                      <property name="minimumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>30</height>
                       </size>
                      </property>
                      <property name="maximumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>30</height>
                       </size>
                      </property>
                      <property name="styleSheet">
                       <string notr="true">background-color: rgb(123, 123, 123);
 color: rgb(255,255,255);  
-border-radius: 30px; 
+border-radius: 15px; 
 font: 9pt &quot;AcadEref&quot;;
 border-style: outset;
 </string>
@@ -888,7 +1414,7 @@
                      </property>
                     </widget>
                    </item>
-                   <item>
+                   <item row="1" column="0">
                     <widget class="QPushButton" name="pushButton_38">
                      <property name="sizePolicy">
                       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -898,20 +1424,20 @@
                      </property>
                      <property name="minimumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>30</height>
                       </size>
                      </property>
                      <property name="maximumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>30</height>
                       </size>
                      </property>
                      <property name="styleSheet">
                       <string notr="true">background-color: rgb(123, 123, 123);
 color: rgb(255,255,255);  
-border-radius: 30px; 
+border-radius: 15px; 
 font: 9pt &quot;AcadEref&quot;;
 border-style: outset;
 </string>
@@ -921,7 +1447,7 @@
                      </property>
                     </widget>
                    </item>
-                   <item>
+                   <item row="2" column="0">
                     <widget class="QPushButton" name="pushButton_30">
                      <property name="sizePolicy">
                       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -931,20 +1457,20 @@
                      </property>
                      <property name="minimumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>30</height>
                       </size>
                      </property>
                      <property name="maximumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>30</height>
                       </size>
                      </property>
                      <property name="styleSheet">
                       <string notr="true">background-color: rgb(123, 123, 123);
 color: rgb(255,255,255);  
-border-radius: 30px; 
+border-radius: 15px; 
 font: 9pt &quot;AcadEref&quot;;
 border-style: outset;</string>
                      </property>
@@ -953,7 +1479,7 @@
                      </property>
                     </widget>
                    </item>
-                   <item>
+                   <item row="3" column="0">
                     <widget class="QPushButton" name="pushButton_33">
                      <property name="sizePolicy">
                       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -963,20 +1489,20 @@
                      </property>
                      <property name="minimumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>30</height>
                       </size>
                      </property>
                      <property name="maximumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>30</height>
                       </size>
                      </property>
                      <property name="styleSheet">
                       <string notr="true">background-color: rgb(123, 123, 123);
 color: rgb(255,255,255);  
-border-radius: 30px; 
+border-radius: 15px; 
 font: 9pt &quot;AcadEref&quot;;
 border-style: outset;</string>
                      </property>
@@ -985,24 +1511,24 @@
                      </property>
                     </widget>
                    </item>
-                   <item>
+                   <item row="4" column="0">
                     <widget class="QPushButton" name="pushButton_34">
                      <property name="minimumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>30</height>
                       </size>
                      </property>
                      <property name="maximumSize">
                       <size>
-                       <width>60</width>
-                       <height>60</height>
+                       <width>30</width>
+                       <height>30</height>
                       </size>
                      </property>
                      <property name="styleSheet">
                       <string notr="true">background-color: rgb(123, 123, 123);
 color: rgb(255,255,255);  
-border-radius: 30px; 
+border-radius: 15px; 
 font: 9pt &quot;AcadEref&quot;;
 border-style: outset;</string>
                      </property>
@@ -1014,8 +1540,8 @@
                   </layout>
                  </item>
                  <item>
-                  <layout class="QVBoxLayout" name="verticalLayout_14" stretch="1,1">
-                   <item>
+                  <layout class="QGridLayout" name="gridLayout_4">
+                   <item row="0" column="0">
                     <widget class="QPushButton" name="pushButton_41">
                      <property name="sizePolicy">
                       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -1047,7 +1573,7 @@
                      </property>
                     </widget>
                    </item>
-                   <item>
+                   <item row="1" column="0">
                     <widget class="QPushButton" name="pushButton_40">
                      <property name="sizePolicy">
                       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -1354,7 +1880,7 @@
          <enum>QTabWidget::West</enum>
         </property>
         <property name="currentIndex">
-         <number>2</number>
+         <number>0</number>
         </property>
         <widget class="QWidget" name="tab_logger">
          <attribute name="title">

--
Gitblit v1.8.0