Added support for custom download directories

This commit is contained in:
2025-04-22 21:46:15 -04:00
parent bcb86bc4b0
commit a3d8dc7887
13 changed files with 1030 additions and 467 deletions

View File

@@ -255,6 +255,9 @@
<property name="text">
<string notr="true"/>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
@@ -278,7 +281,7 @@
<item>
<widget class="QLineEdit" name="archive_file_entry">
<property name="enabled">
<bool>false</bool>
<bool>true</bool>
</property>
<property name="placeholderText">
<string>File Name</string>
@@ -589,7 +592,7 @@
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<layout class="QHBoxLayout" name="auto_update_row">
<item>
<widget class="QCheckBox" name="auto_update_chkbox">
<property name="sizePolicy">
@@ -612,6 +615,54 @@
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="custom_out_dir_row">
<item>
<widget class="QCheckBox" name="custom_out_dir_chkbox">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="custom_out_dir_chkbox_lbl">
<property name="text">
<string>Use a custom download directory</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="custom_out_dir_entry_row">
<item>
<widget class="QLineEdit" name="custom_out_dir_entry">
<property name="enabled">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>Output Path</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="custom_out_dir_btn">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Open...</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
@@ -666,7 +717,7 @@ p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.AppleSystemUIFont'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
@@ -681,7 +732,7 @@ li.checked::marker { content: &quot;\2612&quot;; }
<x>0</x>
<y>0</y>
<width>1010</width>
<height>30</height>
<height>21</height>
</rect>
</property>
</widget>