diff options
| author | Twinki <Twinki14@users.noreply.github.com> | 2024-06-15 12:51:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-15 18:51:47 +0200 |
| commit | d3b647ab2b19626b2f86b5c2af3946c1fcf22068 (patch) | |
| tree | 3dac9ed85783bdf1bb682cd4a436cfa9197ba382 /src/settingsdialog.ui | |
| parent | 6d08d434a8a5a4471a620974a52550ada05ab663 (diff) | |
Use new Skip File & Skip Directory in usvfs (#2033)
* Use new Skip File & Skip Directory in usvfs.
# Motivations
https://github.com/ModOrganizer2/usvfs/pull/61 Highlights some reasons why the ability to skip files & directories would be beneficial
# Modifications
- Add two new settings, `skip_file_suffixes` and `skip_directories`
- Wire the two new settings up to usvfs
- Add two new buttons to the `Workarounds` dialog, one to adjust Skip File Suffixes and another for Skip Directories, both buttons act nearly identical to the Executable Blacklist button
- Add a new grouping in the `Workarounds` dialog box that contains the usvfs buttons to keep the dialog a tad organized
Diffstat (limited to 'src/settingsdialog.ui')
| -rw-r--r-- | src/settingsdialog.ui | 85 |
1 files changed, 76 insertions, 9 deletions
diff --git a/src/settingsdialog.ui b/src/settingsdialog.ui index 84b5c343..6011b158 100644 --- a/src/settingsdialog.ui +++ b/src/settingsdialog.ui @@ -2017,6 +2017,60 @@ p, li { white-space: pre-wrap; } </widget> </item> <item> + <widget class="QPushButton" name="bsaDateBtn"> + <property name="toolTip"> + <string> + For Skyrim, this can be used instead of Archive Invalidation. It should make AI redundant for all Profiles. + For the other games this is not a sufficient replacement for AI! + </string> + </property> + <property name="whatsThis"> + <string> + For Skyrim, this can be used instead of Archive Invalidation. It should make AI redundant for all Profiles. + For the other games this is not a sufficient replacement for AI! + </string> + </property> + <property name="text"> + <string>Back-date BSAs</string> + </property> + <property name="icon"> + <iconset> + <normaloff>:/MO/gui/resources/emblem-readonly.png</normaloff>:/MO/gui/resources/emblem-readonly.png</iconset> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Orientation::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QWidget" name="widget_usvfs" native="true"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> <widget class="QPushButton" name="execBlacklistBtn"> <property name="toolTip"> <string>Add executables to the blacklist to prevent them from @@ -2037,21 +2091,34 @@ programs you are intentionally running.</string> </widget> </item> <item> - <widget class="QPushButton" name="bsaDateBtn"> + <widget class="QPushButton" name="skipFileSuffixBtn"> <property name="toolTip"> - <string>For Skyrim, this can be used instead of Archive Invalidation. It should make AI redundant for all Profiles. -For the other games this is not a sufficient replacement for AI!</string> + <string>Files to skip or ignore from the virtual file system.</string> </property> <property name="whatsThis"> - <string>For Skyrim, this can be used instead of Archive Invalidation. It should make AI redundant for all Profiles. -For the other games this is not a sufficient replacement for AI!</string> + <string>Files to skip or ignore from the virtual file system.</string> </property> <property name="text"> - <string>Back-date BSAs</string> + <string>Skip File Suffixes</string> </property> - <property name="icon"> - <iconset> - <normaloff>:/MO/gui/resources/emblem-readonly.png</normaloff>:/MO/gui/resources/emblem-readonly.png</iconset> + <property name="autoDefault"> + <bool>false</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="skipDirectoriesBtn"> + <property name="toolTip"> + <string>Directories to skip or ignore from the virtual file system.</string> + </property> + <property name="whatsThis"> + <string>Directories to skip or ignore from the virtual file system.</string> + </property> + <property name="text"> + <string>Skip Directories</string> + </property> + <property name="autoDefault"> + <bool>false</bool> </property> </widget> </item> |
