diff --git a/src/interface/settings.ui b/src/interface/settings.ui index 64d57391f6e26044ae1a2f058ed94351e432e785..30911c5df5bba886bdd39768c477b3b60176d387 100755 --- a/src/interface/settings.ui +++ b/src/interface/settings.ui @@ -9,10 +9,16 @@ <rect> <x>0</x> <y>0</y> - <width>457</width> - <height>414</height> + <width>467</width> + <height>665</height> </rect> </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="windowTitle"> <string>Preferences</string> </property> @@ -20,383 +26,293 @@ <iconset resource="vite.qrc"> <normaloff>:/icon/icon/vite.png</normaloff>:/icon/icon/vite.png</iconset> </property> - <widget class="QTabWidget" name="tabWidget"> - <property name="geometry"> - <rect> - <x>9</x> - <y>9</y> - <width>431</width> - <height>351</height> - </rect> - </property> - <property name="currentIndex"> - <number>0</number> - </property> - <widget class="QWidget" name="tab_2"> - <attribute name="title"> - <string>General</string> - </attribute> - <layout class="QVBoxLayout" name="verticalLayout_6"> - <item> - <widget class="QGroupBox" name="groupBox_2"> - <property name="title"> - <string>Geometry</string> - </property> - </widget> - </item> - <item> - <widget class="QGroupBox" name="groupBox"> - <property name="title"> - <string>Filters</string> - </property> - <layout class="QVBoxLayout" name="verticalLayout_7"> - <item> - <widget class="QCheckBox" name="use_palette_cb"> - <property name="text"> - <string>Use palettes</string> - </property> - </widget> - </item> - <item> - <widget class="QCheckBox" name="checkBox_2"> - <property name="text"> - <string>No links</string> - </property> - </widget> - </item> - <item> - <widget class="QCheckBox" name="checkBox_3"> - <property name="text"> - <string>No events</string> - </property> - </widget> - </item> - </layout> - </widget> - </item> - </layout> - </widget> - <widget class="QWidget" name="tab_3"> - <attribute name="title"> - <string>States</string> - </attribute> - <layout class="QVBoxLayout" name="verticalLayout_8"> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_7"> - <item> - <widget class="QComboBox" name="palette_list"/> - </item> - <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="add_palette_btn"> - <property name="text"> - <string>Add</string> - </property> - </widget> - </item> + <layout class="QVBoxLayout" name="verticalLayout_9"> + <item> + <widget class="QTabWidget" name="tabWidget"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>100</verstretch> + </sizepolicy> + </property> + <property name="currentIndex"> + <number>5</number> + </property> + <widget class="QWidget" name="tab_2"> + <attribute name="title"> + <string>General</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_6"> <item> - <widget class="QPushButton" name="copy_palette_btn"> - <property name="text"> - <string>Copy</string> + <widget class="QGroupBox" name="groupBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="rm_palette_btn"> - <property name="text"> - <string>Remove</string> + <property name="layoutDirection"> + <enum>Qt::LeftToRight</enum> </property> - </widget> - </item> - </layout> - </item> - <item> - <widget class="QTableWidget" name="states_table"> - <column> - <property name="text"> - <string>State name</string> - </property> - </column> - <column> - <property name="text"> - <string>Color</string> - </property> - </column> - <column> - <property name="text"> - <string>Visible</string> - </property> - </column> - </widget> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_16"> - <item> - <widget class="QLabel" name="label_9"> - <property name="text"> - <string>State:</string> + <property name="title"> + <string>Filters</string> </property> + <layout class="QVBoxLayout" name="verticalLayout_7"> + <property name="sizeConstraint"> + <enum>QLayout::SetDefaultConstraint</enum> + </property> + <property name="topMargin"> + <number>9</number> + </property> + <item> + <widget class="QCheckBox" name="use_palette_cb"> + <property name="text"> + <string>Use palettes</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="checkBox_2"> + <property name="text"> + <string>No links</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="checkBox_3"> + <property name="text"> + <string>No events</string> + </property> + </widget> + </item> + </layout> </widget> </item> <item> - <spacer name="horizontalSpacer_4"> + <spacer name="verticalSpacer_8"> <property name="orientation"> - <enum>Qt::Horizontal</enum> + <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> - <width>40</width> - <height>20</height> + <width>20</width> + <height>40</height> </size> </property> </spacer> </item> + </layout> + </widget> + <widget class="QWidget" name="tab_3"> + <attribute name="title"> + <string>States</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_8"> <item> - <widget class="QPushButton" name="reload_states_btn"> - <property name="toolTip"> - <string>Reload all the states types from the displayed trace</string> - </property> - <property name="text"> - <string>Reload All</string> - </property> - </widget> + <layout class="QHBoxLayout" name="horizontalLayout_7"> + <item> + <widget class="QComboBox" name="palette_list"/> + </item> + <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="add_palette_btn"> + <property name="text"> + <string>Add</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="copy_palette_btn"> + <property name="text"> + <string>Copy</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="rm_palette_btn"> + <property name="text"> + <string>Remove</string> + </property> + </widget> + </item> + </layout> </item> <item> - <widget class="QPushButton" name="add_state_btn"> - <property name="text"> - <string>Add</string> + <widget class="QTableWidget" name="states_table"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>100</horstretch> + <verstretch>100</verstretch> + </sizepolicy> </property> + <column> + <property name="text"> + <string>State name</string> + </property> + </column> + <column> + <property name="text"> + <string>Color</string> + </property> + </column> + <column> + <property name="text"> + <string>Visible</string> + </property> + </column> </widget> </item> <item> - <widget class="QPushButton" name="rm_state_btn"> - <property name="text"> - <string>Remove</string> - </property> - </widget> + <layout class="QHBoxLayout" name="horizontalLayout_16"> + <item> + <widget class="QLabel" name="label_9"> + <property name="text"> + <string>State:</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_4"> + <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="reload_states_btn"> + <property name="toolTip"> + <string>Reload all the states types from the displayed trace</string> + </property> + <property name="text"> + <string>Reload All</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="add_state_btn"> + <property name="text"> + <string>Add</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="rm_state_btn"> + <property name="text"> + <string>Remove</string> + </property> + </widget> + </item> + </layout> </item> </layout> - </item> - </layout> - </widget> - <widget class="QWidget" name="tab_4"> - <attribute name="title"> - <string>Event Types</string> - </attribute> - <widget class="QWidget" name="layoutWidget"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>411</width> - <height>29</height> - </rect> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_14"> - <item> - <widget class="QComboBox" name="event_types_palette_list"/> - </item> - <item> - <spacer name="horizontalSpacer_5"> - <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="reload_event_types_palette_btn"> - <property name="text"> - <string>Reload</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="copy_event_types_palette_btn"> - <property name="text"> - <string>Copy</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="rm_event_types_palette_btn"> - <property name="text"> - <string>Remove</string> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QWidget" name="layoutWidget_1"> - <property name="geometry"> - <rect> - <x>10</x> - <y>43</y> - <width>411</width> - <height>271</height> - </rect> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_10"> - <item> - <widget class="QTableWidget" name="event_types_table"> - <column> - <property name="text"> - <string>Event Type</string> - </property> - </column> - <column> - <property name="text"> - <string>Color</string> - </property> - </column> - <column> - <property name="text"> - <string>Visible</string> - </property> - </column> - </widget> - </item> - </layout> - </widget> - </widget> - <widget class="QWidget" name="tab_5"> - <attribute name="title"> - <string>Link Types</string> - </attribute> - <widget class="QWidget" name="layoutWidget_2"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>411</width> - <height>29</height> - </rect> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_12"> - <item> - <widget class="QComboBox" name="link_types_palette_list"/> - </item> - <item> - <spacer name="horizontalSpacer_6"> - <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="reload_link_types_palette_btn"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>Reload</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="copy_link_types_palette_btn"> - <property name="text"> - <string>Copy</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="rm_link_types_palette_btn"> - <property name="text"> - <string>Remove</string> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QWidget" name="layoutWidget_3"> - <property name="geometry"> - <rect> - <x>10</x> - <y>40</y> - <width>411</width> - <height>271</height> - </rect> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_15"> - <item> - <widget class="QTableWidget" name="link_types_table"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="cornerButtonEnabled"> - <bool>true</bool> - </property> - <column> - <property name="text"> - <string>Link Type</string> - </property> - </column> - <column> - <property name="text"> - <string>Color</string> - </property> - </column> - <column> - <property name="text"> - <string>Visible</string> - </property> - </column> - </widget> - </item> - </layout> - </widget> - </widget> - <widget class="QWidget" name="tab"> - <attribute name="title"> - <string>Plugin</string> - </attribute> - <layout class="QHBoxLayout" name="horizontalLayout_8"> - <item> - <widget class="QLabel" name="label_8"> - <property name="text"> - <string>Directory list:</string> - </property> - </widget> - </item> - <item> - <layout class="QVBoxLayout" name="verticalLayout_5"> + </widget> + <widget class="QWidget" name="tab_4"> + <attribute name="title"> + <string>Event Types</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_4"> <item> - <widget class="QListWidget" name="dir_list"/> + <layout class="QHBoxLayout" name="horizontalLayout_14"> + <item> + <widget class="QComboBox" name="event_types_palette_list"/> + </item> + <item> + <spacer name="horizontalSpacer_5"> + <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="reload_event_types_palette_btn"> + <property name="text"> + <string>Reload</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="copy_event_types_palette_btn"> + <property name="text"> + <string>Copy</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="rm_event_types_palette_btn"> + <property name="text"> + <string>Remove</string> + </property> + </widget> + </item> + </layout> </item> <item> - <layout class="QHBoxLayout" name="horizontalLayout_9"> + <layout class="QHBoxLayout" name="horizontalLayout_10"> <item> - <spacer name="horizontalSpacer"> + <widget class="QTableWidget" name="event_types_table"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>100</verstretch> + </sizepolicy> + </property> + <column> + <property name="text"> + <string>Event Type</string> + </property> + </column> + <column> + <property name="text"> + <string>Color</string> + </property> + </column> + <column> + <property name="text"> + <string>Visible</string> + </property> + </column> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <widget class="QWidget" name="tab_5"> + <attribute name="title"> + <string>Link Types</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_10"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_12"> + <item> + <widget class="QComboBox" name="link_types_palette_list"/> + </item> + <item> + <spacer name="horizontalSpacer_6"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> @@ -409,111 +325,239 @@ </spacer> </item> <item> - <widget class="QPushButton" name="rm_dir_btn"> + <widget class="QPushButton" name="reload_link_types_palette_btn"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Reload</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="copy_link_types_palette_btn"> <property name="text"> - <string>-</string> + <string>Copy</string> </property> </widget> </item> <item> - <widget class="QPushButton" name="add_dir_btn"> + <widget class="QPushButton" name="rm_link_types_palette_btn"> <property name="text"> - <string>+</string> + <string>Remove</string> </property> </widget> </item> </layout> </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_15"> + <item> + <widget class="QTableWidget" name="link_types_table"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="cornerButtonEnabled"> + <bool>true</bool> + </property> + <column> + <property name="text"> + <string>Link Type</string> + </property> + </column> + <column> + <property name="text"> + <string>Color</string> + </property> + </column> + <column> + <property name="text"> + <string>Visible</string> + </property> + </column> + </widget> + </item> + </layout> + </item> </layout> - </item> - </layout> - </widget> - <widget class="QWidget" name="map_tab"> - <attribute name="title"> - <string>Minimap</string> - </attribute> - <layout class="QHBoxLayout" name="horizontalLayout_13"> - <item> - <layout class="QVBoxLayout" name="verticalLayout_3"> + </widget> + <widget class="QWidget" name="tab"> + <attribute name="title"> + <string>Plugin</string> + </attribute> + <layout class="QHBoxLayout" name="horizontalLayout_8"> <item> - <widget class="QCheckBox" name="minimap_hide_cb"> + <widget class="QLabel" name="label_8"> <property name="text"> - <string>hidden on start</string> + <string>Directory list:</string> </property> </widget> </item> <item> - <layout class="QHBoxLayout" name="horizontalLayout_6"> + <layout class="QVBoxLayout" name="verticalLayout_5"> <item> - <layout class="QVBoxLayout" name="verticalLayout"> + <widget class="QListWidget" name="dir_list"/> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_9"> <item> - <spacer name="verticalSpacer_4"> + <spacer name="horizontalSpacer"> <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::MinimumExpanding</enum> + <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> - <width>20</width> + <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> - <widget class="QLabel" name="label_3"> + <widget class="QPushButton" name="rm_dir_btn"> <property name="text"> - <string>Position</string> + <string>-</string> </property> </widget> </item> <item> - <layout class="QHBoxLayout" name="horizontalLayout"> + <widget class="QPushButton" name="add_dir_btn"> + <property name="text"> + <string>+</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </item> + </layout> + </widget> + <widget class="QWidget" name="map_tab"> + <attribute name="title"> + <string>Minimap</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_11"> + <item> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="QCheckBox" name="minimap_hide_cb"> + <property name="text"> + <string>hidden on start</string> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_6"> + <item> + <layout class="QVBoxLayout" name="verticalLayout"> <item> - <widget class="QLabel" name="label"> + <widget class="QLabel" name="label_3"> <property name="text"> - <string>x</string> + <string>Position</string> </property> </widget> </item> <item> - <widget class="QSpinBox" name="minimap_x_sb"> - <property name="maximum"> - <number>1000</number> - </property> - </widget> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>x</string> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="minimap_x_sb"> + <property name="maximum"> + <number>1000</number> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>y</string> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="minimap_y_sb"> + <property name="maximum"> + <number>1000</number> + </property> + </widget> + </item> + </layout> </item> </layout> </item> <item> - <layout class="QHBoxLayout" name="horizontalLayout_2"> + <layout class="QVBoxLayout" name="verticalLayout_2"> <item> - <widget class="QLabel" name="label_2"> + <widget class="QLabel" name="label_4"> <property name="text"> - <string>y</string> + <string>Dimension</string> </property> </widget> </item> <item> - <widget class="QSpinBox" name="minimap_y_sb"> - <property name="maximum"> - <number>1000</number> - </property> - </widget> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QLabel" name="label_5"> + <property name="text"> + <string>width</string> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="minimap_w_sb"> + <property name="maximum"> + <number>1000</number> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string>height</string> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="minimap_h_sb"> + <property name="maximum"> + <number>1000</number> + </property> + </widget> + </item> + </layout> </item> </layout> </item> <item> - <spacer name="verticalSpacer_6"> + <spacer name="horizontalSpacer_8"> <property name="orientation"> - <enum>Qt::Vertical</enum> + <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> - <width>10</width> - <height>10</height> + <width>40</width> + <height>20</height> </size> </property> </spacer> @@ -521,91 +565,29 @@ </layout> </item> <item> - <spacer name="verticalSpacer_2"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::MinimumExpanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> + <layout class="QHBoxLayout" name="horizontalLayout_5"> + <property name="sizeConstraint"> + <enum>QLayout::SetDefaultConstraint</enum> </property> - </spacer> - </item> - <item> - <layout class="QVBoxLayout" name="verticalLayout_2"> - <item> - <spacer name="verticalSpacer_5"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::MinimumExpanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>20</height> - </size> - </property> - </spacer> - </item> <item> - <widget class="QLabel" name="label_4"> + <widget class="QLabel" name="label_7"> <property name="text"> - <string>Dimension</string> + <string>square border size</string> </property> </widget> </item> <item> - <layout class="QHBoxLayout" name="horizontalLayout_3"> - <item> - <widget class="QLabel" name="label_5"> - <property name="text"> - <string>width</string> - </property> - </widget> - </item> - <item> - <widget class="QSpinBox" name="minimap_w_sb"> - <property name="maximum"> - <number>1000</number> - </property> - </widget> - </item> - </layout> + <widget class="QSpinBox" name="spinBox_5"/> </item> <item> - <layout class="QHBoxLayout" name="horizontalLayout_4"> - <item> - <widget class="QLabel" name="label_6"> - <property name="text"> - <string>height</string> - </property> - </widget> - </item> - <item> - <widget class="QSpinBox" name="minimap_h_sb"> - <property name="maximum"> - <number>1000</number> - </property> - </widget> - </item> - </layout> - </item> - <item> - <spacer name="verticalSpacer_7"> + <spacer name="horizontalSpacer_7"> <property name="orientation"> - <enum>Qt::Vertical</enum> + <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> - <width>20</width> - <height>40</height> + <width>40</width> + <height>20</height> </size> </property> </spacer> @@ -615,105 +597,64 @@ </layout> </item> <item> - <spacer name="verticalSpacer_3"> + <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> - <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> - </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> - <height>30</height> + <height>40</height> </size> </property> </spacer> </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_5"> - <property name="sizeConstraint"> - <enum>QLayout::SetDefaultConstraint</enum> - </property> - <item> - <widget class="QLabel" name="label_7"> - <property name="text"> - <string>square border size</string> - </property> - </widget> - </item> - <item> - <spacer name="verticalSpacer"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QSpinBox" name="spinBox_5"/> - </item> - </layout> - </item> </layout> + </widget> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_11"> + <property name="sizeConstraint"> + <enum>QLayout::SetDefaultConstraint</enum> + </property> + <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="cancel"> + <property name="text"> + <string>Cancel</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="apply"> + <property name="text"> + <string>Apply</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="ok"> + <property name="text"> + <string>OK</string> + </property> + </widget> </item> </layout> - </widget> - </widget> - <widget class="QWidget" name=""> - <property name="geometry"> - <rect> - <x>10</x> - <y>377</y> - <width>421</width> - <height>29</height> - </rect> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_11"> - <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="cancel"> - <property name="text"> - <string>Cancel</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="apply"> - <property name="text"> - <string>Apply</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="ok"> - <property name="text"> - <string>OK</string> - </property> - </widget> - </item> - </layout> - </widget> + </item> + </layout> </widget> <resources> <include location="vite.qrc"/>