adjust the display effect of dateTimeWidget.ui in Linux

This commit is contained in:
duanshengchao 2024-11-19 18:30:02 +08:00
parent 9b86bb2140
commit 8f602fd007
1 changed files with 14 additions and 10 deletions

View File

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>207</width> <width>214</width>
<height>141</height> <height>154</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -106,7 +106,7 @@ color:rgb(250,250,250);</string>
<string>11:39:52</string> <string>11:39:52</string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set> <set>Qt::AlignCenter</set>
</property> </property>
</widget> </widget>
</item> </item>
@ -245,7 +245,7 @@ icon: url(:/images/icon_realtime.png);
{ {
font: 12pt &quot;微软雅黑&quot;; font: 12pt &quot;微软雅黑&quot;;
color:rgb(250,250,250); color:rgb(250,250,250);
background-color:transparent; background-color: transparent;
icon-size:18px; icon-size:18px;
icon: url(:/images/icon_calendar.png); icon: url(:/images/icon_calendar.png);
} }
@ -260,7 +260,7 @@ QPushButton:pressed
<string> 2024/09/30</string> <string> 2024/09/30</string>
</property> </property>
<property name="flat"> <property name="flat">
<bool>false</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
@ -294,7 +294,7 @@ background-color:transparent;
<item> <item>
<spacer name="horizontalSpacer"> <spacer name="horizontalSpacer">
<property name="orientation"> <property name="orientation">
<enum>Qt::Orientation::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
@ -338,12 +338,15 @@ QPushButton:pressed
<property name="text"> <property name="text">
<string>30m</string> <string>30m</string>
</property> </property>
<property name="flat">
<bool>true</bool>
</property>
</widget> </widget>
</item> </item>
<item> <item>
<spacer name="horizontalSpacer_2"> <spacer name="horizontalSpacer_2">
<property name="orientation"> <property name="orientation">
<enum>Qt::Orientation::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
@ -384,6 +387,9 @@ background-color:transparent;
<property name="text"> <property name="text">
<string>Minute Chart Range</string> <string>Minute Chart Range</string>
</property> </property>
<property name="flat">
<bool>true</bool>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>
@ -685,8 +691,6 @@ background-color:transparent;
</item> </item>
</layout> </layout>
</widget> </widget>
<resources> <resources/>
<include location="../resource/PowerMaster.qrc"/>
</resources>
<connections/> <connections/>
</ui> </ui>