Skip to content

Commit

Permalink
Fixed ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Imeguras committed Sep 2, 2024
1 parent 9828f0f commit ac27f80
Showing 1 changed file with 36 additions and 103 deletions.
139 changes: 36 additions & 103 deletions src/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
<string>LukHudX</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
<enum>Qt::LayoutDirection::LeftToRight</enum>
</property>
<property name="autoFillBackground">
<bool>true</bool>
Expand All @@ -306,48 +306,11 @@
<property name="leftMargin">
<number>0</number>
</property>
<item>
<spacer name="vs_2">
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="SOC">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>Fira Mono</family>
<pointsize>16</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="cursor">
<cursorShape>BlankCursor</cursorShape>
</property>
<property name="text">
<string>SOC</string>
</property>
<property name="alignment">
<set>Qt::AlignHCenter|Qt::AlignTop</set>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
Expand Down Expand Up @@ -382,7 +345,6 @@
<font>
<family>Fira Mono</family>
<pointsize>24</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand All @@ -395,6 +357,9 @@
<property name="textVisible">
<bool>false</bool>
</property>
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="invertedAppearance">
<bool>false</bool>
</property>
Expand All @@ -413,13 +378,14 @@
<font>
<family>Fira Mono</family>
<pointsize>20</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>0</string>
<string>___</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
</property>
</widget>
</item>
Expand All @@ -429,6 +395,7 @@
<font>
<family>Fira Mono</family>
<pointsize>20</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
Expand All @@ -440,8 +407,11 @@
</item>
<item>
<spacer name="vs_1">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
<enum>QSizePolicy::Policy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
Expand All @@ -465,7 +435,6 @@
<font>
<family>Fira Mono</family>
<pointsize>22</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand All @@ -480,7 +449,6 @@
<font>
<family>Fira Mono</family>
<pointsize>22</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand All @@ -495,7 +463,6 @@
<font>
<family>Fira Mono</family>
<pointsize>22</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand All @@ -510,7 +477,6 @@
<font>
<family>Fira Mono</family>
<pointsize>22</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand Down Expand Up @@ -539,7 +505,6 @@
<font>
<family>Fira Mono</family>
<pointsize>48</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand Down Expand Up @@ -572,7 +537,6 @@
<font>
<family>Fira Mono</family>
<pointsize>48</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand All @@ -599,7 +563,6 @@
<font>
<family>Fira Mono</family>
<pointsize>48</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand All @@ -626,7 +589,6 @@
<font>
<family>Fira Mono</family>
<pointsize>48</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand All @@ -635,33 +597,31 @@
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_3">
<item row="4" column="0">
<widget class="QLabel" name="HV_voltage_label">
<property name="font">
<font>
<family>Fira Mono</family>
<pointsize>48</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>V</string>
<string>__</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="HV_voltage_label">
<item row="4" column="1">
<widget class="QLabel" name="label_3">
<property name="font">
<font>
<family>Fira Mono</family>
<pointsize>48</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>__</string>
<string>V</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -694,45 +654,11 @@
<property name="leftMargin">
<number>0</number>
</property>
<item>
<spacer name="vs_4">
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>Fira Mono</family>
<pointsize>16</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Consumed Power</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
Expand Down Expand Up @@ -767,7 +693,6 @@
<font>
<family>Fira Mono</family>
<pointsize>28</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand All @@ -777,6 +702,9 @@
<property name="textVisible">
<bool>false</bool>
</property>
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="invertedAppearance">
<bool>false</bool>
</property>
Expand All @@ -795,16 +723,17 @@
<font>
<family>Fira Mono</family>
<pointsize>20</pointsize>
<bold>true</bold>
</font>
</property>
<property name="cursor">
<cursorShape>BlankCursor</cursorShape>
</property>
<property name="text">
<string>0</string>
<string>__</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
</property>
</widget>
</item>
Expand All @@ -814,19 +743,23 @@
<font>
<family>Fira Mono</family>
<pointsize>20</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>KW</string>
<string>kWh</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="vs_3">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
<enum>QSizePolicy::Policy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
Expand Down

0 comments on commit ac27f80

Please sign in to comment.