287 lines
6.8 KiB
XML
287 lines
6.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>LibraryDialog</class>
|
|
<widget class="QDialog" name="LibraryDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>547</width>
|
|
<height>300</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Library Editor</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QPushButton" name="buttonOpen">
|
|
<property name="text">
|
|
<string>Open</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="buttonSave">
|
|
<property name="text">
|
|
<string>Save</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Functions</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QListWidget" name="functions">
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QPushButton" name="addFunction">
|
|
<property name="text">
|
|
<string>Add</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QCheckBox" name="functionreturn">
|
|
<property name="text">
|
|
<string>function always return</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="useretval">
|
|
<property name="text">
|
|
<string>return value must be used</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="leakignore">
|
|
<property name="text">
|
|
<string>ignore function in leaks checking</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Arguments</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QListWidget" name="arguments"/>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>functions</sender>
|
|
<signal>currentRowChanged(int)</signal>
|
|
<receiver>LibraryDialog</receiver>
|
|
<slot>selectFunction(int)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>155</x>
|
|
<y>218</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>327</x>
|
|
<y>299</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonOpen</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>LibraryDialog</receiver>
|
|
<slot>openCfg()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>61</x>
|
|
<y>27</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>72</x>
|
|
<y>21</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>functionreturn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>LibraryDialog</receiver>
|
|
<slot>changeFunction()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>327</x>
|
|
<y>45</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>353</x>
|
|
<y>2</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>useretval</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>LibraryDialog</receiver>
|
|
<slot>changeFunction()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>372</x>
|
|
<y>69</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>475</x>
|
|
<y>5</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>leakignore</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>LibraryDialog</receiver>
|
|
<slot>changeFunction()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>419</x>
|
|
<y>99</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>319</x>
|
|
<y>3</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonSave</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>LibraryDialog</receiver>
|
|
<slot>saveCfg()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>102</x>
|
|
<y>9</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>115</x>
|
|
<y>1</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>arguments</sender>
|
|
<signal>itemChanged(QListWidgetItem*)</signal>
|
|
<receiver>LibraryDialog</receiver>
|
|
<slot>argumentChanged(QListWidgetItem*)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>517</x>
|
|
<y>140</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>542</x>
|
|
<y>117</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>addFunction</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>LibraryDialog</receiver>
|
|
<slot>addFunction()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>48</x>
|
|
<y>282</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>65</x>
|
|
<y>298</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>selectFunction(int)</slot>
|
|
<slot>openCfg()</slot>
|
|
<slot>changeFunction()</slot>
|
|
<slot>saveCfg()</slot>
|
|
<slot>argumentChanged(QListWidgetItem*)</slot>
|
|
<slot>addFunction()</slot>
|
|
</slots>
|
|
</ui>
|