porymap/forms/gridsettingsdialog.ui

181 lines
5.4 KiB
Text
Raw Normal View History

2024-09-27 16:31:55 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>GridSettingsDialog</class>
<widget class="QDialog" name="GridSettingsDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2024-09-28 03:19:52 +01:00
<width>423</width>
<height>375</height>
2024-09-27 16:31:55 +01:00
</rect>
</property>
<property name="windowTitle">
<string>Grid Settings</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QScrollArea" name="scrollArea">
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2024-09-28 03:19:52 +01:00
<width>397</width>
<height>309</height>
2024-09-27 16:31:55 +01:00
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox_Offset">
<property name="title">
2024-09-28 03:19:52 +01:00
<string>Offset (in pixels)</string>
2024-09-27 16:31:55 +01:00
</property>
<layout class="QFormLayout" name="formLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label_X">
<property name="text">
<string>X</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_Y">
<property name="text">
<string>Y</string>
</property>
</widget>
</item>
<item row="0" column="1">
2024-09-28 03:19:52 +01:00
<widget class="NoScrollSpinBox" name="spinBox_X"/>
2024-09-27 16:31:55 +01:00
</item>
<item row="1" column="1">
2024-09-28 03:19:52 +01:00
<widget class="NoScrollSpinBox" name="spinBox_Y"/>
2024-09-27 16:31:55 +01:00
</item>
</layout>
</widget>
</item>
2024-09-28 03:19:52 +01:00
<item row="3" column="0">
<widget class="QLabel" name="label_Color">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Color</string>
</property>
</widget>
</item>
2024-09-27 16:31:55 +01:00
<item row="2" column="0">
<widget class="QLabel" name="label_Style">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Style</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox_Dimensions">
<property name="title">
2024-09-28 03:19:52 +01:00
<string>Dimensions (in pixels)</string>
2024-09-27 16:31:55 +01:00
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_Width">
<property name="text">
<string>Width</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_Height">
<property name="text">
<string>Height</string>
</property>
</widget>
</item>
<item row="0" column="1">
2024-09-28 03:19:52 +01:00
<widget class="NoScrollSpinBox" name="spinBox_Width">
2024-09-27 16:31:55 +01:00
<property name="minimum">
<number>1</number>
</property>
</widget>
</item>
<item row="1" column="1">
2024-09-28 03:19:52 +01:00
<widget class="NoScrollSpinBox" name="spinBox_Height">
2024-09-27 16:31:55 +01:00
<property name="minimum">
<number>1</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="1">
2024-09-28 03:19:52 +01:00
<widget class="NoScrollComboBox" name="comboBox_Style">
<property name="editable">
<bool>false</bool>
2024-09-27 16:31:55 +01:00
</property>
2024-09-28 03:19:52 +01:00
<property name="sizeAdjustPolicy">
<enum>QComboBox::SizeAdjustPolicy::AdjustToContentsOnFirstShow</enum>
</property>
<property name="minimumContentsLength">
<number>0</number>
2024-09-27 16:31:55 +01:00
</property>
</widget>
</item>
2024-09-28 03:19:52 +01:00
<item row="4" column="0" colspan="2">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
2024-09-27 16:31:55 +01:00
</layout>
</widget>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok|QDialogButtonBox::StandardButton::RestoreDefaults</set>
</property>
</widget>
</item>
</layout>
</widget>
2024-09-28 03:19:52 +01:00
<customwidgets>
<customwidget>
<class>NoScrollSpinBox</class>
<extends>QSpinBox</extends>
<header>noscrollspinbox.h</header>
</customwidget>
<customwidget>
<class>NoScrollComboBox</class>
<extends>QComboBox</extends>
<header>noscrollcombobox.h</header>
</customwidget>
</customwidgets>
2024-09-27 16:31:55 +01:00
<resources/>
2024-09-28 03:19:52 +01:00
<connections/>
2024-09-27 16:31:55 +01:00
</ui>