Skip to content

Commit

Permalink
Added new setting to export .mesh files under a custom sub-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
fo76utils committed Oct 23, 2024
1 parent be427de commit e7bde04
Showing 1 changed file with 103 additions and 43 deletions.
146 changes: 103 additions & 43 deletions src/ui/settingsgeneral.ui
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<attribute name="title">
<string>User Interface</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_1">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QGroupBox" name="grpLanguage">
<property name="sizePolicy">
Expand All @@ -71,7 +71,7 @@
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QComboBox" name="language">
<property name="enabled">
Expand Down Expand Up @@ -139,7 +139,7 @@
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_1">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Misc</string>
</property>
Expand Down Expand Up @@ -176,20 +176,14 @@
<attribute name="title">
<string>NIF</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_3">
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QGroupBox" name="startupDefaults">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Startup Defaults</string>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_1">
<item column="0">
<widget class="QLabel" name="lblVersion">
<property name="text">
<string>Version</string>
Expand All @@ -199,14 +193,20 @@
</property>
</widget>
</item>
<item row="0" column="1">
<item column="1">
<widget class="QLineEdit" name="version">
<property name="maximumSize">
<size>
<width>110</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>20.0.0.5</string>
<string>20.2.0.7</string>
</property>
</widget>
</item>
<item row="1" column="0">
<item column="2" alignment="Qt::AlignRight">
<widget class="QLabel" name="lblUserVersion">
<property name="text">
<string>User Version</string>
Expand All @@ -216,14 +216,20 @@
</property>
</widget>
</item>
<item row="1" column="1">
<item column="3">
<widget class="QLineEdit" name="userVersion">
<property name="maximumSize">
<size>
<width>110</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>11</string>
<string>12</string>
</property>
</widget>
</item>
<item row="2" column="0">
<item column="4" alignment="Qt::AlignRight">
<widget class="QLabel" name="lblUserVersion2">
<property name="text">
<string>User Version 2</string>
Expand All @@ -233,25 +239,44 @@
</property>
</widget>
</item>
<item row="2" column="1">
<item column="5">
<widget class="QLineEdit" name="userVersion2">
<property name="maximumSize">
<size>
<width>110</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>11</string>
<string>100</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>15</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>nif.xml</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QCheckBox" name="checkBox">
<property name="text">
Expand All @@ -266,7 +291,7 @@
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
Expand All @@ -279,38 +304,73 @@
</spacer>
</item>
<item>
<widget class="QCheckBox" name="sfConvertExtMeshes">
<property name="text">
<string>Convert Starfield meshes to internal geometry on load</string>
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>Starfield mesh import and export settings</string>
</property>
<property name="checked">
<bool>false</bool>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item column="0">
<widget class="QCheckBox" name="sfConvertExtMeshes">
<property name="text">
<string>Convert meshes to internal geometry on load</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item column="1" alignment="Qt::AlignRight">
<widget class="QLabel" name="lblMeshExportDir">
<property name="text">
<string>Export geometry folder name</string>
</property>
<property name="buddy">
<cstring>meshExportDir</cstring>
</property>
</widget>
</item>
<item column="2">
<widget class="QLineEdit" name="meshExportDir">
<property name="maximumSize">
<size>
<width>180</width>
<height>30</height>
</size>
</property>
<property name="text">
<string></string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
<height>15</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<widget class="QGroupBox" name="groupBox_5">
<property name="title">
<string>glTF import and export</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item column="0">
<widget class="QCheckBox" name="gltfEnableLOD">
<property name="text">
<string>Enable LOD</string>
Expand All @@ -320,7 +380,7 @@
</property>
</widget>
</item>
<item row="0" column="1">
<item column="1">
<widget class="QCheckBox" name="gltfFullMatPaths">
<property name="text">
<string>Export full material paths</string>
Expand All @@ -330,7 +390,7 @@
</property>
</widget>
</item>
<item row="0" column="2" alignment="Qt::AlignRight">
<item column="2" alignment="Qt::AlignRight">
<widget class="QLabel" name="lblGLTFExportMipLevel">
<property name="text">
<string>Export texture mip level</string>
Expand All @@ -340,7 +400,7 @@
</property>
</widget>
</item>
<item row="0" column="3">
<item column="3">
<widget class="QSpinBox" name="glTFExportMipLevel">
<property name="maximumSize">
<size>
Expand All @@ -366,7 +426,7 @@
</widget>
</item>
<item>
<spacer name="verticalSpacer_4">
<spacer name="verticalSpacer_5">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
Expand All @@ -379,14 +439,14 @@
</spacer>
</item>
<item>
<widget class="QGroupBox" name="groupBox_4">
<widget class="QGroupBox" name="groupBox_6">
<property name="title">
<string>Starfield meshlet algorithm</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QComboBox" name="starfieldMeshletAlgorithm">
<property name="maximumSize">
Expand Down Expand Up @@ -429,27 +489,27 @@
</widget>
</item>
<item>
<spacer name="verticalSpacer_5">
<spacer name="verticalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
<height>15</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QGroupBox" name="groupBox_5">
<widget class="QGroupBox" name="groupBox_7">
<property name="title">
<string>Starfield LOD generation settings</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QLabel" name="lblSFLODGenTargetCnt1">
<property name="text">
Expand Down

0 comments on commit e7bde04

Please sign in to comment.