TechDraw: Make TaskWeldingSymbol buttons resizeable (#24395)

This commit is contained in:
Aqeel Labash
2025-10-06 05:09:26 +03:00
committed by GitHub
parent ffc6f840bd
commit 8fe4d67abe

View File

@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>400</width>
<height>244</height>
<height>262</height>
</rect>
</property>
<property name="sizePolicy">
@@ -44,7 +44,7 @@ Angle, surface finish, root</string>
</property>
</widget>
</item>
<item row="2" column="0">
<item row="2" column="0">
<widget class="QLineEdit" name="leArrowTextL">
<property name="toolTip">
<string>Text before arrow side symbol
@@ -94,7 +94,7 @@ Number of welds × length, (gap)</string>
</property>
</widget>
</item>
</layout>
</layout>
</item>
</layout>
</item>
@@ -123,13 +123,45 @@ Preparation depth, (weld size)</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="pbOtherSymbol">
<item row="1" column="0">
<widget class="QPushButton" name="pbOtherErase">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Pick other side symbol</string>
<string>Remove other side symbol</string>
</property>
<property name="text">
<string>Symbol</string>
<string>Delete</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="leOtherTextC">
<property name="toolTip">
<string>Text below arrow side symbol
Angle, surface finish, root</string>
</property>
</widget>
</item>
@@ -141,72 +173,43 @@ Number of welds × length, (gap)</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="pbOtherErase">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>60</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>30</height>
</size>
</property>
<property name="baseSize">
<size>
<width>60</width>
<height>30</height>
</size>
</property>
<item row="0" column="1">
<widget class="QPushButton" name="pbOtherSymbol">
<property name="toolTip">
<string>Remove other side symbol</string>
<string>Pick other side symbol</string>
</property>
<property name="text">
<string>Delete</string>
<string>Symbol</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="leOtherTextC">
<property name="toolTip">
<string>Text below arrow side symbol
Angle, surface finish, root</string>
</property>
</widget>
</item>
<item row="1" column="2" alignment="Qt::AlignRight">
<item row="1" column="2">
<widget class="QPushButton" name="pbFlipSides">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>60</width>
<height>30</height>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>30</height>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="baseSize">
<size>
<width>60</width>
<height>30</height>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
@@ -217,7 +220,7 @@ Angle, surface finish, root</string>
</property>
</widget>
</item>
</layout>
</layout>
</item>
</layout>
</item>
@@ -275,7 +278,7 @@ at the kink in the leader line</string>
</property>
</widget>
</item>
<item row="0" column="1">
<item row="0" column="1">
<widget class="QLineEdit" name="leTailText">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
@@ -296,20 +299,17 @@ at the kink in the leader line</string>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::FileChooser" name="fcSymbolDir">
<widget class="Gui::FileChooser" name="fcSymbolDir" native="true">
<property name="toolTip">
<string>Directory path for welding symbols.
This directory will be used for the symbol selection.</string>
</property>
<property name="mode">
<enum>Gui::FileChooser::Directory</enum>
</property>
<property name="filter">
<property name="filter" stdset="0">
<string notr="true">*.svg</string>
</property>
</widget>
</item>
</layout>
</layout>
</item>
</layout>
</widget>