Code: Select all
<widget class="RMathLineEdit" name="Length">
<property name="toolTip">
<string>The length</string>
</property>
<property name="text">
<string notr="true">1000</string>
</property>
</widget>
Code: Select all
<item>
<widget class="QToolButton" name="Confirm">
<property name="toolTip">
<string>Confirm dimensions</string>
</property>
<property name="icon">
<string>confirm.svg</string>
</property>
</widget>
</item>
So far I've been using the workaround of using the slotLengthChanged(length) function to change my variable in the file and executing it using a checkbox instead of a button with slotConfirmedChanged(confirmed) but this is messy and inefficient, I want to grab the text and move on to my next function when I press the button.
Thanks!