|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<ui version="4.0"> |
| 3 | + <class>LibraryAddFunctionDialog</class> |
| 4 | + <widget class="QDialog" name="LibraryAddFunctionDialog"> |
| 5 | + <property name="windowModality"> |
| 6 | + <enum>Qt::WindowModal</enum> |
| 7 | + </property> |
| 8 | + <property name="geometry"> |
| 9 | + <rect> |
| 10 | + <x>0</x> |
| 11 | + <y>0</y> |
| 12 | + <width>386</width> |
| 13 | + <height>89</height> |
| 14 | + </rect> |
| 15 | + </property> |
| 16 | + <property name="sizePolicy"> |
| 17 | + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
| 18 | + <horstretch>0</horstretch> |
| 19 | + <verstretch>0</verstretch> |
| 20 | + </sizepolicy> |
| 21 | + </property> |
| 22 | + <property name="windowTitle"> |
| 23 | + <string>Add function</string> |
| 24 | + </property> |
| 25 | + <property name="modal"> |
| 26 | + <bool>true</bool> |
| 27 | + </property> |
| 28 | + <layout class="QVBoxLayout" name="verticalLayout"> |
| 29 | + <item> |
| 30 | + <layout class="QGridLayout" name="gridLayout"> |
| 31 | + <item row="0" column="0"> |
| 32 | + <widget class="QLabel" name="label"> |
| 33 | + <property name="text"> |
| 34 | + <string>Function name(s)</string> |
| 35 | + </property> |
| 36 | + </widget> |
| 37 | + </item> |
| 38 | + <item row="0" column="1"> |
| 39 | + <widget class="QLineEdit" name="functionName"/> |
| 40 | + </item> |
| 41 | + <item row="1" column="0"> |
| 42 | + <widget class="QLabel" name="label_2"> |
| 43 | + <property name="text"> |
| 44 | + <string>Number of arguments</string> |
| 45 | + </property> |
| 46 | + </widget> |
| 47 | + </item> |
| 48 | + <item row="1" column="1"> |
| 49 | + <layout class="QHBoxLayout" name="horizontalLayout"> |
| 50 | + <item> |
| 51 | + <widget class="QSpinBox" name="numberOfArguments"/> |
| 52 | + </item> |
| 53 | + <item> |
| 54 | + <spacer name="horizontalSpacer"> |
| 55 | + <property name="orientation"> |
| 56 | + <enum>Qt::Horizontal</enum> |
| 57 | + </property> |
| 58 | + <property name="sizeHint" stdset="0"> |
| 59 | + <size> |
| 60 | + <width>40</width> |
| 61 | + <height>20</height> |
| 62 | + </size> |
| 63 | + </property> |
| 64 | + </spacer> |
| 65 | + </item> |
| 66 | + </layout> |
| 67 | + </item> |
| 68 | + </layout> |
| 69 | + </item> |
| 70 | + <item> |
| 71 | + <layout class="QHBoxLayout" name="horizontalLayout_2"> |
| 72 | + <item> |
| 73 | + <spacer name="horizontalSpacer_2"> |
| 74 | + <property name="orientation"> |
| 75 | + <enum>Qt::Horizontal</enum> |
| 76 | + </property> |
| 77 | + <property name="sizeHint" stdset="0"> |
| 78 | + <size> |
| 79 | + <width>40</width> |
| 80 | + <height>20</height> |
| 81 | + </size> |
| 82 | + </property> |
| 83 | + </spacer> |
| 84 | + </item> |
| 85 | + <item> |
| 86 | + <widget class="QPushButton" name="cancelButton"> |
| 87 | + <property name="text"> |
| 88 | + <string>Cancel</string> |
| 89 | + </property> |
| 90 | + </widget> |
| 91 | + </item> |
| 92 | + <item> |
| 93 | + <widget class="QPushButton" name="addFunctionButton"> |
| 94 | + <property name="text"> |
| 95 | + <string>Add function</string> |
| 96 | + </property> |
| 97 | + </widget> |
| 98 | + </item> |
| 99 | + </layout> |
| 100 | + </item> |
| 101 | + </layout> |
| 102 | + </widget> |
| 103 | + <resources/> |
| 104 | + <connections> |
| 105 | + <connection> |
| 106 | + <sender>cancelButton</sender> |
| 107 | + <signal>clicked()</signal> |
| 108 | + <receiver>LibraryAddFunctionDialog</receiver> |
| 109 | + <slot>reject()</slot> |
| 110 | + <hints> |
| 111 | + <hint type="sourcelabel"> |
| 112 | + <x>210</x> |
| 113 | + <y>72</y> |
| 114 | + </hint> |
| 115 | + <hint type="destinationlabel"> |
| 116 | + <x>201</x> |
| 117 | + <y>85</y> |
| 118 | + </hint> |
| 119 | + </hints> |
| 120 | + </connection> |
| 121 | + <connection> |
| 122 | + <sender>addFunctionButton</sender> |
| 123 | + <signal>clicked()</signal> |
| 124 | + <receiver>LibraryAddFunctionDialog</receiver> |
| 125 | + <slot>accept()</slot> |
| 126 | + <hints> |
| 127 | + <hint type="sourcelabel"> |
| 128 | + <x>330</x> |
| 129 | + <y>77</y> |
| 130 | + </hint> |
| 131 | + <hint type="destinationlabel"> |
| 132 | + <x>342</x> |
| 133 | + <y>87</y> |
| 134 | + </hint> |
| 135 | + </hints> |
| 136 | + </connection> |
| 137 | + </connections> |
| 138 | + <slots> |
| 139 | + <slot>validateName(QString)</slot> |
| 140 | + </slots> |
| 141 | +</ui> |
0 commit comments