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>
<x>0</x>
<y>0</y>
<width>1220</width>
<width>1279</width>
<height>805</height>
</rect>
</property>
@ -67,20 +67,6 @@
<string>2.操作</string>
</property>
<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>
<widget class="Line" name="line">
<property name="orientation">
@ -198,6 +184,20 @@
</property>
</widget>
</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>
<spacer name="horizontalSpacer_2">
<property name="orientation">
@ -287,8 +287,6 @@
<tabstop>edStatus</tabstop>
<tabstop>btnRead</tabstop>
<tabstop>btnSave</tabstop>
<tabstop>btnExport</tabstop>
<tabstop>btnImport</tabstop>
<tabstop>edRepPre</tabstop>
<tabstop>edRepAfter</tabstop>
<tabstop>btnReplace</tabstop>

View File

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