7ccb138cb0671bbd2904a826a2b666741d53485d
[confmgr] / src / addprofile.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>AddProfile</class>
4  <widget class="QWidget" name="AddProfile">
5   <property name="windowModality">
6    <enum>Qt::ApplicationModal</enum>
7   </property>
8   <property name="geometry">
9    <rect>
10     <x>0</x>
11     <y>0</y>
12     <width>800</width>
13     <height>424</height>
14    </rect>
15   </property>
16   <property name="focusPolicy">
17    <enum>Qt::TabFocus</enum>
18   </property>
19   <property name="windowTitle">
20    <string>AddProfile</string>
21   </property>
22   <widget class="QWidget" name="verticalLayoutWidget">
23    <property name="geometry">
24     <rect>
25      <x>560</x>
26      <y>140</y>
27      <width>211</width>
28      <height>141</height>
29     </rect>
30    </property>
31    <layout class="QVBoxLayout" name="verticalLayout">
32     <item>
33      <widget class="QPushButton" name="addProAddStep">
34       <property name="sizePolicy">
35        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
36         <horstretch>0</horstretch>
37         <verstretch>0</verstretch>
38        </sizepolicy>
39       </property>
40       <property name="text">
41        <string>Add Step</string>
42       </property>
43      </widget>
44     </item>
45     <item>
46      <widget class="QPushButton" name="addProRemoveStep">
47       <property name="sizePolicy">
48        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
49         <horstretch>0</horstretch>
50         <verstretch>0</verstretch>
51        </sizepolicy>
52       </property>
53       <property name="text">
54        <string>Remove Step</string>
55       </property>
56      </widget>
57     </item>
58    </layout>
59   </widget>
60   <widget class="QWidget" name="horizontalLayoutWidget">
61    <property name="geometry">
62     <rect>
63      <x>30</x>
64      <y>330</y>
65      <width>741</width>
66      <height>71</height>
67     </rect>
68    </property>
69    <layout class="QHBoxLayout" name="horizontalLayout">
70     <item>
71      <widget class="QPushButton" name="addProSave">
72       <property name="sizePolicy">
73        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
74         <horstretch>0</horstretch>
75         <verstretch>0</verstretch>
76        </sizepolicy>
77       </property>
78       <property name="text">
79        <string>Save Profile</string>
80       </property>
81      </widget>
82     </item>
83     <item>
84      <widget class="QPushButton" name="addProCancel">
85       <property name="sizePolicy">
86        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
87         <horstretch>0</horstretch>
88         <verstretch>0</verstretch>
89        </sizepolicy>
90       </property>
91       <property name="text">
92        <string>Cancel Operation</string>
93       </property>
94      </widget>
95     </item>
96    </layout>
97   </widget>
98   <widget class="QWidget" name="horizontalLayoutWidget_2">
99    <property name="geometry">
100     <rect>
101      <x>30</x>
102      <y>10</y>
103      <width>741</width>
104      <height>61</height>
105     </rect>
106    </property>
107    <layout class="QHBoxLayout" name="horizontalLayout_2">
108     <item>
109      <widget class="QLabel" name="label">
110       <property name="text">
111        <string>Profile Name:</string>
112       </property>
113      </widget>
114     </item>
115     <item>
116      <widget class="QLineEdit" name="addProName"/>
117     </item>
118    </layout>
119   </widget>
120   <widget class="QWidget" name="verticalLayoutWidget_2">
121    <property name="geometry">
122     <rect>
123      <x>30</x>
124      <y>80</y>
125      <width>511</width>
126      <height>231</height>
127     </rect>
128    </property>
129    <layout class="QVBoxLayout" name="verticalLayout_2">
130     <item>
131      <widget class="QLabel" name="label_2">
132       <property name="text">
133        <string>Steps:</string>
134       </property>
135      </widget>
136     </item>
137     <item>
138      <widget class="QListWidget" name="addProStepList"/>
139     </item>
140    </layout>
141   </widget>
142  </widget>
143  <resources/>
144  <connections>
145   <connection>
146    <sender>addProCancel</sender>
147    <signal>clicked()</signal>
148    <receiver>AddProfile</receiver>
149    <slot>close()</slot>
150    <hints>
151     <hint type="sourcelabel">
152      <x>240</x>
153      <y>599</y>
154     </hint>
155     <hint type="destinationlabel">
156      <x>239</x>
157      <y>319</y>
158     </hint>
159    </hints>
160   </connection>
161   <connection>
162    <sender>addProAddStep</sender>
163    <signal>clicked()</signal>
164    <receiver>AddProfile</receiver>
165    <slot>showStepsUI()</slot>
166    <hints>
167     <hint type="sourcelabel">
168      <x>151</x>
169      <y>483</y>
170     </hint>
171     <hint type="destinationlabel">
172      <x>-2</x>
173      <y>521</y>
174     </hint>
175    </hints>
176   </connection>
177  </connections>
178  <slots>
179   <slot>showStepsUI()</slot>
180  </slots>
181 </ui>