mirror of https://github.com/KLayout/klayout.git
213 lines
5.3 KiB
XML
213 lines
5.3 KiB
XML
<ui version="4.0" >
|
|
<class>UserPropertiesForm</class>
|
|
<widget class="QDialog" name="UserPropertiesForm" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>424</width>
|
|
<height>305</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>User Properties</string>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>0</number>
|
|
</property>
|
|
<item row="1" column="0" colspan="2" >
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeType" >
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>332</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="0" column="0" colspan="2" >
|
|
<widget class="QLabel" name="title_lbl" >
|
|
<property name="text" >
|
|
<string>User properties</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0" colspan="2" >
|
|
<widget class="QDialogButtonBox" name="buttonBox" >
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons" >
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" >
|
|
<widget class="QTreeWidget" name="prop_list" >
|
|
<property name="rootIsDecorated" >
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="allColumnsShowFocus" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<column>
|
|
<property name="text" >
|
|
<string>Key</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text" >
|
|
<string>Value</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" >
|
|
<widget class="QFrame" name="edit_frame" >
|
|
<property name="frameShape" >
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow" >
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="3" column="2" >
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>61</width>
|
|
<height>114</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item rowspan="4" row="0" column="0" >
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType" >
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>6</width>
|
|
<height>201</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="2" column="1" colspan="2" >
|
|
<widget class="QPushButton" name="edit_pb" >
|
|
<property name="text" >
|
|
<string>Edit</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" colspan="2" >
|
|
<widget class="QPushButton" name="add_pb" >
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
<property name="icon" >
|
|
<iconset resource="layResources.qrc" >:/add.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" colspan="2" >
|
|
<widget class="QPushButton" name="remove_pb" >
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
<property name="icon" >
|
|
<iconset resource="layResources.qrc" >:/del.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="2" >
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeType" >
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>332</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11" />
|
|
<tabstops>
|
|
<tabstop>prop_list</tabstop>
|
|
<tabstop>add_pb</tabstop>
|
|
<tabstop>remove_pb</tabstop>
|
|
<tabstop>edit_pb</tabstop>
|
|
<tabstop>buttonBox</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="layResources.qrc" />
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>UserPropertiesForm</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>211</x>
|
|
<y>282</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>211</x>
|
|
<y>152</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>UserPropertiesForm</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>211</x>
|
|
<y>282</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>211</x>
|
|
<y>152</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|