make path inputs support drag/dropping files onto them to add the path quickly. fixes #1033

This commit is contained in:
Arisotura
2021-03-29 01:08:22 +02:00
parent 284a9b73b0
commit d5dbef2c22
4 changed files with 91 additions and 10 deletions

View File

@ -62,7 +62,7 @@
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="3" column="1">
<widget class="QLineEdit" name="txtMicWavPath">
<widget class="QPathInput" name="txtMicWavPath">
<property name="minimumSize">
<size>
<width>290</width>
@ -136,6 +136,13 @@
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QPathInput</class>
<extends>QLineEdit</extends>
<header>QPathInput.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>