PrimeWorldEditor/src/Editor/CGeneratePropertyNamesDialo...

456 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CGeneratePropertyNamesDialog</class>
<widget class="QDialog" name="CGeneratePropertyNamesDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>693</width>
<height>604</height>
</rect>
</property>
<property name="windowTitle">
<string>Generate Property Names</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4" stretch="1,3">
<item>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QGroupBox" name="SettingsGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Settings</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="MaxWordsLabel">
<property name="text">
<string>Max words:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="NumWordsSpinBox">
<property name="value">
<number>2</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="PrefixLabel">
<property name="text">
<string>Prefix:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="PrefixLineEdit"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="SuffixLabel">
<property name="text">
<string>Suffix:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="SuffixLineEdit"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Casing:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="CNameCasingComboBox" name="CasingComboBox"/>
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="LogOutputCheckBox">
<property name="text">
<string>Print output to log</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="UnnamedOnlyCheckBox">
<property name="text">
<string>Exclude known properties</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="TestIntsAsChoicesCheckBox">
<property name="text">
<string>Test ints as choices</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="TypeSuffixesGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Types</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QListWidget" name="TypeSuffixesListWidget">
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="verticalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
<property name="horizontalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
<item>
<property name="text">
<string>bool</string>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEditable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>int</string>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEditable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>float</string>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEditable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>asset</string>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEditable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>choice</string>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEditable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>enum</string>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEditable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>string</string>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEditable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>sound</string>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEditable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>Color</string>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEditable|ItemIsEnabled</set>
</property>
</item>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="AddSuffixButton">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Icons.qrc">
<normaloff>:/icons/Plus.svg</normaloff>:/icons/Plus.svg</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="RemoveSuffixButton">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Icons.qrc">
<normaloff>:/icons/Minus v2.svg</normaloff>:/icons/Minus v2.svg</iconset>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="IdPoolGroupBox">
<property name="title">
<string>IDs</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QListWidget" name="IdPoolList">
<property name="alternatingRowColors">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="ClearIdPoolButton">
<property name="text">
<string>Clear</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="OutputGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>3</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Output</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="CCheckableTreeWidget" name="OutputTreeWidget">
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="showDropIndicator" stdset="0">
<bool>false</bool>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="verticalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
<property name="indentation">
<number>10</number>
</property>
<property name="uniformRowHeights">
<bool>true</bool>
</property>
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
<column>
<property name="text">
<string>Name</string>
</property>
</column>
<column>
<property name="text">
<string>Type</string>
</property>
</column>
<column>
<property name="text">
<string>ID</string>
</property>
</column>
<column>
<property name="text">
<string>Current</string>
</property>
</column>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="CheckAllButton">
<property name="text">
<string>Check All</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="UncheckAllButton">
<property name="text">
<string>Uncheck All</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="NumSelectedLabel">
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="ApplyButton">
<property name="text">
<string>Apply</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QProgressBar" name="ProgressBar">
<property name="maximum">
<number>100000</number>
</property>
<property name="value">
<number>0</number>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="StartButton">
<property name="text">
<string>Start</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="CancelButton">
<property name="text">
<string>Cancel</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>CCheckableTreeWidget</class>
<extends>QTreeWidget</extends>
<header>Editor/Widgets/CCheckableTreeWidget.h</header>
</customwidget>
<customwidget>
<class>CNameCasingComboBox</class>
<extends>QComboBox</extends>
<header>Editor/CGeneratePropertyNamesDialog.h</header>
</customwidget>
</customwidgets>
<resources>
<include location="Icons.qrc"/>
</resources>
<connections/>
</ui>