opti:导入导出位置移到左下,风格改为习惯的windows经典风格。

This commit is contained in:
taynpg 2024-05-20 08:18:13 +08:00
parent 0d42b849a7
commit 730c83c649
2 changed files with 17 additions and 18 deletions

View File

@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1220</width> <width>1279</width>
<height>805</height> <height>805</height>
</rect> </rect>
</property> </property>
@ -67,20 +67,6 @@
<string>2.操作</string> <string>2.操作</string>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="btnExport">
<property name="text">
<string>导出</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnImport">
<property name="text">
<string>导入</string>
</property>
</widget>
</item>
<item> <item>
<widget class="Line" name="line"> <widget class="Line" name="line">
<property name="orientation"> <property name="orientation">
@ -198,6 +184,20 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QPushButton" name="btnExport">
<property name="text">
<string>导出</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnImport">
<property name="text">
<string>导入</string>
</property>
</widget>
</item>
<item> <item>
<spacer name="horizontalSpacer_2"> <spacer name="horizontalSpacer_2">
<property name="orientation"> <property name="orientation">
@ -287,8 +287,6 @@
<tabstop>edStatus</tabstop> <tabstop>edStatus</tabstop>
<tabstop>btnRead</tabstop> <tabstop>btnRead</tabstop>
<tabstop>btnSave</tabstop> <tabstop>btnSave</tabstop>
<tabstop>btnExport</tabstop>
<tabstop>btnImport</tabstop>
<tabstop>edRepPre</tabstop> <tabstop>edRepPre</tabstop>
<tabstop>edRepAfter</tabstop> <tabstop>edRepAfter</tabstop>
<tabstop>btnReplace</tabstop> <tabstop>btnReplace</tabstop>

View File

@ -9,7 +9,8 @@ int main(int argc, char *argv[])
#ifdef _WIN32 #ifdef _WIN32
QFont font("Microsoft YaHei", 9); QFont font("Microsoft YaHei", 9);
a.setFont(font); a.setFont(font);
a.setStyle("fusion"); //a.setStyle("fusion");
a.setStyle("windows");
#endif #endif
MainWidget w; MainWidget w;