[GUI] Layout fixes in DlgActions.ui

Closes #20821
This commit is contained in:
xtemp09
2025-04-17 18:43:42 +07:00
committed by Kacper Donat
parent 4598283cad
commit fdaa53d191

View File

@@ -1,245 +1,274 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<author/>
<comment/>
<exportmacro/>
<class>Gui::Dialog::DlgCustomActions</class>
<widget class="QWidget" name="Gui::Dialog::DlgCustomActions">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>523</width>
<width>564</width>
<height>383</height>
</rect>
</property>
<property name="windowTitle">
<string>Macros</string>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>9</number>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="0">
<item>
<widget class="QGroupBox" name="GroupBox7">
<property name="title">
<string>Setup Custom Macros</string>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>9</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item rowspan="9" row="0" column="0">
<widget class="QTreeWidget" name="actionListWidget">
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="rootIsDecorated">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="TextLabel1_3">
<property name="text">
<string>Macro:</string>
</property>
</widget>
</item>
<item row="0" column="2" colspan="4">
<widget class="QComboBox" name="actionMacros"/>
</item>
<item row="1" column="1">
<widget class="QLabel" name="TextLabel3">
<property name="text">
<string>Menu text:</string>
</property>
</widget>
</item>
<item row="1" column="2" colspan="4">
<widget class="QLineEdit" name="actionMenu"/>
</item>
<item row="2" column="1">
<widget class="QLabel" name="TextLabel2_2">
<property name="text">
<string>Tool tip:</string>
</property>
</widget>
</item>
<item row="2" column="2" colspan="4">
<widget class="QLineEdit" name="actionToolTip">
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="TextLabel3_2">
<property name="text">
<string>Status text:</string>
</property>
</widget>
</item>
<item row="3" column="2" colspan="4">
<widget class="QLineEdit" name="actionStatus"/>
</item>
<item row="4" column="1">
<widget class="QLabel" name="TextLabel2">
<property name="text">
<string>What's this:</string>
</property>
</widget>
</item>
<item row="4" column="2" colspan="4">
<widget class="QLineEdit" name="actionWhatsThis"/>
</item>
<item row="5" column="1">
<widget class="QLabel" name="TextLabel1">
<property name="text">
<string>Accelerator:</string>
</property>
</widget>
</item>
<item row="5" column="2" colspan="4">
<widget class="Gui::AccelLineEdit" name="actionAccel"/>
</item>
<item row="6" column="1">
<widget class="QLabel" name="TextLabel5_2">
<property name="text">
<string>Pixmap</string>
</property>
</widget>
</item>
<item row="6" column="2">
<widget class="QToolButton" name="buttonChoosePixmap">
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>30</height>
</size>
</property>
<property name="text">
<string notr="true">...</string>
</property>
</widget>
</item>
<item row="6" column="3">
<widget class="QLabel" name="pixmapLabel">
<property name="minimumSize">
<size>
<width>40</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>40</height>
</size>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="4" colspan="2">
<spacer>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="7" column="1">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="8" column="1">
<widget class="QPushButton" name="buttonAddAction">
<property name="text">
<string>Add</string>
<enum>Qt::Orientation::Horizontal</enum>
</property>
<widget class="QTreeWidget" name="actionListWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="rootIsDecorated">
<bool>false</bool>
</property>
<column>
<property name="text">
<string notr="true">1</string>
</property>
</column>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="TextLabel1_3">
<property name="text">
<string>Macro:</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="TextLabel3">
<property name="text">
<string>Menu text:</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="TextLabel2_2">
<property name="text">
<string>Tool tip:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="TextLabel3_2">
<property name="text">
<string>Status text:</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="TextLabel2">
<property name="text">
<string>What's this:</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="TextLabel1">
<property name="text">
<string>Accelerator:</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="Gui::AccelLineEdit" name="actionAccel"/>
</item>
<item row="5" column="2">
<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>
<item row="6" column="0">
<widget class="QLabel" name="TextLabel5_2">
<property name="text">
<string>Pixmap</string>
</property>
</widget>
</item>
<item row="6" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QToolButton" name="buttonChoosePixmap">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>30</height>
</size>
</property>
<property name="text">
<string notr="true">...</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="pixmapLabel">
<property name="minimumSize">
<size>
<width>40</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>40</height>
</size>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Policy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="0" column="1" colspan="2">
<widget class="QComboBox" name="actionMacros"/>
</item>
<item row="1" column="1" colspan="2">
<widget class="QLineEdit" name="actionMenu"/>
</item>
<item row="2" column="1" colspan="2">
<widget class="QLineEdit" name="actionToolTip">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="3" column="1" colspan="2">
<widget class="QLineEdit" name="actionStatus"/>
</item>
<item row="4" column="1" colspan="2">
<widget class="QLineEdit" name="actionWhatsThis"/>
</item>
</layout>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Policy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="buttonAddAction">
<property name="text">
<string>Add</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonRemoveAction">
<property name="text">
<string>Remove</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonReplaceAction">
<property name="text">
<string>Replace</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Policy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>41</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
</item>
<item row="8" column="2" colspan="2">
<widget class="QPushButton" name="buttonRemoveAction">
<property name="text">
<string>Remove</string>
</property>
</widget>
</item>
<item row="8" column="4">
<widget class="QPushButton" name="buttonReplaceAction">
<property name="text">
<string>Replace</string>
</property>
</widget>
</item>
<item row="8" column="5">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</layout>
</widget>
</item>
</layout>
@@ -250,8 +279,6 @@
<class>Gui::AccelLineEdit</class>
<extends>QLineEdit</extends>
<header>Gui/Widgets.h</header>
<container>0</container>
<pixmap/>
</customwidget>
</customwidgets>
<tabstops>