add:添加文件路径支持拖入。

This commit is contained in:
2024-09-14 09:35:13 +08:00
parent 2bfddf1ef7
commit e1ef813032
5 changed files with 85 additions and 14 deletions

View File

@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1056</width>
<width>1102</width>
<height>682</height>
</rect>
</property>
@@ -35,7 +35,7 @@
</widget>
</item>
<item>
<widget class="QLineEdit" name="edStatus"/>
<widget class="QCustomQLineEdit" name="edStatus"/>
</item>
<item>
<widget class="QComboBox" name="cbConfig"/>
@@ -57,7 +57,7 @@
<item>
<widget class="QPushButton" name="btnFormat">
<property name="text">
<string></string>
<string>重排版</string>
</property>
</widget>
</item>
@@ -87,7 +87,7 @@
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
@@ -142,7 +142,7 @@
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
@@ -227,9 +227,6 @@
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
@@ -247,9 +244,6 @@
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
@@ -329,6 +323,13 @@
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QCustomQLineEdit</class>
<extends>QLineEdit</extends>
<header>QCustomQLineEdit.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>btnSelectFile</tabstop>
<tabstop>edStatus</tabstop>