224 lines
6.2 KiB
XML
224 lines
6.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>PIValueTreeEditEnum</class>
|
|
<widget class="QDialog" name="PIValueTreeEditEnum">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>457</width>
|
|
<height>347</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Edit Enum</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QWidget" name="widget" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonAdd">
|
|
<property name="icon">
|
|
<iconset resource="qad_piqt_widgets.qrc">
|
|
<normaloff>:/icons/list-add.png</normaloff>:/icons/list-add.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonRemove">
|
|
<property name="icon">
|
|
<iconset resource="../blockview/qad_blockview.qrc">
|
|
<normaloff>:/icons/edit-delete.png</normaloff>:/icons/edit-delete.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Preferred</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>5</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonClear">
|
|
<property name="icon">
|
|
<iconset resource="../application/qad_application.qrc">
|
|
<normaloff>:/icons/edit-clear.png</normaloff>:/icons/edit-clear.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTreeWidget" name="treeWidget">
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
|
</property>
|
|
<property name="verticalScrollMode">
|
|
<enum>QAbstractItemView::ScrollPerPixel</enum>
|
|
</property>
|
|
<property name="rootIsDecorated">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="itemsExpandable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="expandsOnDoubleClick">
|
|
<bool>false</bool>
|
|
</property>
|
|
<column>
|
|
<property name="text">
|
|
<string>Name</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Value</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
<action name="actionRemove">
|
|
<property name="icon">
|
|
<iconset resource="../blockview/qad_blockview.qrc">
|
|
<normaloff>:/icons/edit-delete.png</normaloff>:/icons/edit-delete.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Remove</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionChange">
|
|
<property name="icon">
|
|
<iconset resource="../application/qad_application.qrc">
|
|
<normaloff>:/icons/configure.png</normaloff>:/icons/configure.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Change ...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionRename">
|
|
<property name="icon">
|
|
<iconset resource="../graphic/qad_graphic.qrc">
|
|
<normaloff>:/icons/border-line.png</normaloff>:/icons/border-line.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Rename ...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionValue">
|
|
<property name="icon">
|
|
<iconset resource="qad_piqt_widgets.qrc">
|
|
<normaloff>:/icons/code-variable.png</normaloff>:/icons/code-variable.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Value</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionGroup">
|
|
<property name="icon">
|
|
<iconset resource="qad_piqt_widgets.qrc">
|
|
<normaloff>:/icons/code-struct.png</normaloff>:/icons/code-struct.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Group</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionArray">
|
|
<property name="icon">
|
|
<iconset resource="qad_piqt_widgets.qrc">
|
|
<normaloff>:/icons/code-union.png</normaloff>:/icons/code-union.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Array</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionReorder">
|
|
<property name="icon">
|
|
<iconset resource="../graphic/qad_graphic.qrc">
|
|
<normaloff>:/icons/legend.png</normaloff>:/icons/legend.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Reorder ...</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<resources>
|
|
<include location="../application/qad_application.qrc"/>
|
|
<include location="../blockview/qad_blockview.qrc"/>
|
|
<include location="../graphic/qad_graphic.qrc"/>
|
|
<include location="qad_piqt_widgets.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>PIValueTreeEditEnum</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>260</x>
|
|
<y>333</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>196</x>
|
|
<y>221</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>PIValueTreeEditEnum</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>330</x>
|
|
<y>333</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>291</x>
|
|
<y>222</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|