0
+ − 1
<?xml version="1.0" encoding="UTF-8"?>
+ − 2
<ui version="4.0" stdsetdef="1">
+ − 3
<author></author>
+ − 4
<comment></comment>
+ − 5
<exportmacro></exportmacro>
+ − 6
<class>QUuidBase</class>
+ − 7
<widget class="QDialog" name="QUuidBase">
+ − 8
<property name="geometry">
+ − 9
<rect>
+ − 10
<x>0</x>
+ − 11
<y>0</y>
+ − 12
<width>671</width>
+ − 13
<height>246</height>
+ − 14
</rect>
+ − 15
</property>
+ − 16
<property name="windowTitle">
+ − 17
<string>Create UUID</string>
+ − 18
</property>
+ − 19
<property name="sizeGripEnabled">
+ − 20
<bool>true</bool>
+ − 21
</property>
+ − 22
<layout class="QGridLayout">
+ − 23
<property name="margin">
+ − 24
<number>11</number>
+ − 25
</property>
+ − 26
<property name="spacing">
+ − 27
<number>6</number>
+ − 28
</property>
+ − 29
<item row="1" column="0">
+ − 30
<spacer name="Spacer1_2">
+ − 31
<property name="sizeHint">
+ − 32
<size>
+ − 33
<width>20</width>
+ − 34
<height>20</height>
+ − 35
</size>
+ − 36
</property>
+ − 37
<property name="sizeType">
+ − 38
<enum>QSizePolicy::Expanding</enum>
+ − 39
</property>
+ − 40
<property name="orientation">
+ − 41
<enum>Qt::Vertical</enum>
+ − 42
</property>
+ − 43
</spacer>
+ − 44
</item>
+ − 45
<item row="0" column="0">
+ − 46
<widget class="QLabel" name="TextLabel1">
+ − 47
<property name="text">
+ − 48
<string>Choose the desired format below, then select "Copy" to copy the results to the clipboard (the results can then be pasted into your source code). Choose "Exit" when done.</string>
+ − 49
</property>
+ − 50
<property name="alignment">
+ − 51
<set>Qt::AlignVCenter</set>
+ − 52
</property>
+ − 53
<property name="wordWrap">
+ − 54
<bool>true</bool>
+ − 55
</property>
+ − 56
</widget>
+ − 57
</item>
+ − 58
<item row="0" column="1" rowspan="2" colspan="1">
+ − 59
<widget class="Q3ButtonGroup" name="formats">
+ − 60
<property name="title">
+ − 61
<string>UUID Format</string>
+ − 62
</property>
+ − 63
<layout class="QVBoxLayout">
+ − 64
<property name="margin">
+ − 65
<number>11</number>
+ − 66
</property>
+ − 67
<property name="spacing">
+ − 68
<number>6</number>
+ − 69
</property>
+ − 70
<item>
+ − 71
<widget class="QRadioButton" name="formatMacro">
+ − 72
<property name="text">
+ − 73
<string>&1. #define <<name>>( ... )</string>
+ − 74
</property>
+ − 75
</widget>
+ − 76
</item>
+ − 77
<item>
+ − 78
<widget class="QRadioButton" name="formatStatic">
+ − 79
<property name="text">
+ − 80
<string>&2. static const struct QUuid <<name>> = { ... }</string>
+ − 81
</property>
+ − 82
</widget>
+ − 83
</item>
+ − 84
<item>
+ − 85
<widget class="QRadioButton" name="formatRegistry">
+ − 86
<property name="text">
+ − 87
<string>&3. Registry Format, ie. {xxxxxxxx-xxxx ... xxxx }</string>
+ − 88
</property>
+ − 89
</widget>
+ − 90
</item>
+ − 91
</layout>
+ − 92
</widget>
+ − 93
</item>
+ − 94
<item row="2" column="0" rowspan="1" colspan="2">
+ − 95
<widget class="Q3GroupBox" name="GroupBox1">
+ − 96
<property name="sizePolicy">
+ − 97
<sizepolicy>
+ − 98
<hsizetype>7</hsizetype>
+ − 99
<vsizetype>3</vsizetype>
+ − 100
</sizepolicy>
+ − 101
</property>
+ − 102
<property name="title">
+ − 103
<string>Result</string>
+ − 104
</property>
+ − 105
<layout class="QVBoxLayout">
+ − 106
<property name="margin">
+ − 107
<number>11</number>
+ − 108
</property>
+ − 109
<property name="spacing">
+ − 110
<number>6</number>
+ − 111
</property>
+ − 112
<item>
+ − 113
<layout class="QHBoxLayout">
+ − 114
<property name="margin">
+ − 115
<number>0</number>
+ − 116
</property>
+ − 117
<property name="spacing">
+ − 118
<number>6</number>
+ − 119
</property>
+ − 120
<item>
+ − 121
<widget class="QLabel" name="TextLabel1_2">
+ − 122
<property name="sizePolicy">
+ − 123
<sizepolicy>
+ − 124
<hsizetype>5</hsizetype>
+ − 125
<vsizetype>1</vsizetype>
+ − 126
</sizepolicy>
+ − 127
</property>
+ − 128
<property name="text">
+ − 129
<string>N&ame:</string>
+ − 130
</property>
+ − 131
<property name="buddy" stdset="0">
+ − 132
<cstring>nameEdit</cstring>
+ − 133
</property>
+ − 134
<property name="wordWrap">
+ − 135
<bool>false</bool>
+ − 136
</property>
+ − 137
</widget>
+ − 138
</item>
+ − 139
<item>
+ − 140
<widget class="QLineEdit" name="nameEdit"/>
+ − 141
</item>
+ − 142
</layout>
+ − 143
</item>
+ − 144
<item>
+ − 145
<widget class="QLabel" name="resultLabel">
+ − 146
<property name="text">
+ − 147
<string>RESULT
+ − 148
A
+ − 149
B
+ − 150
C</string>
+ − 151
</property>
+ − 152
<property name="textFormat">
+ − 153
<enum>Qt::PlainText</enum>
+ − 154
</property>
+ − 155
<property name="alignment">
+ − 156
<set>Qt::AlignVCenter</set>
+ − 157
</property>
+ − 158
<property name="wordWrap">
+ − 159
<bool>true</bool>
+ − 160
</property>
+ − 161
</widget>
+ − 162
</item>
+ − 163
</layout>
+ − 164
</widget>
+ − 165
</item>
+ − 166
<item row="0" column="2" rowspan="3" colspan="1">
+ − 167
<layout class="QVBoxLayout">
+ − 168
<property name="margin">
+ − 169
<number>0</number>
+ − 170
</property>
+ − 171
<property name="spacing">
+ − 172
<number>6</number>
+ − 173
</property>
+ − 174
<item>
+ − 175
<widget class="QPushButton" name="PushButton5">
+ − 176
<property name="sizePolicy">
+ − 177
<sizepolicy>
+ − 178
<hsizetype>0</hsizetype>
+ − 179
<vsizetype>0</vsizetype>
+ − 180
</sizepolicy>
+ − 181
</property>
+ − 182
<property name="text">
+ − 183
<string>&Copy</string>
+ − 184
</property>
+ − 185
</widget>
+ − 186
</item>
+ − 187
<item>
+ − 188
<widget class="QPushButton" name="newButton">
+ − 189
<property name="sizePolicy">
+ − 190
<sizepolicy>
+ − 191
<hsizetype>0</hsizetype>
+ − 192
<vsizetype>0</vsizetype>
+ − 193
</sizepolicy>
+ − 194
</property>
+ − 195
<property name="text">
+ − 196
<string>&New UUID</string>
+ − 197
</property>
+ − 198
</widget>
+ − 199
</item>
+ − 200
<item>
+ − 201
<widget class="QPushButton" name="PushButton7">
+ − 202
<property name="sizePolicy">
+ − 203
<sizepolicy>
+ − 204
<hsizetype>0</hsizetype>
+ − 205
<vsizetype>0</vsizetype>
+ − 206
</sizepolicy>
+ − 207
</property>
+ − 208
<property name="text">
+ − 209
<string>E&xit</string>
+ − 210
</property>
+ − 211
</widget>
+ − 212
</item>
+ − 213
<item>
+ − 214
<spacer name="Spacer1">
+ − 215
<property name="sizeHint">
+ − 216
<size>
+ − 217
<width>20</width>
+ − 218
<height>20</height>
+ − 219
</size>
+ − 220
</property>
+ − 221
<property name="sizeType">
+ − 222
<enum>QSizePolicy::Expanding</enum>
+ − 223
</property>
+ − 224
<property name="orientation">
+ − 225
<enum>Qt::Vertical</enum>
+ − 226
</property>
+ − 227
</spacer>
+ − 228
</item>
+ − 229
</layout>
+ − 230
</item>
+ − 231
</layout>
+ − 232
</widget>
+ − 233
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ − 234
<connections>
+ − 235
<connection>
+ − 236
<sender>PushButton5</sender>
+ − 237
<signal>clicked()</signal>
+ − 238
<receiver>QUuidBase</receiver>
+ − 239
<slot>copyUuid()</slot>
+ − 240
</connection>
+ − 241
<connection>
+ − 242
<sender>PushButton7</sender>
+ − 243
<signal>clicked()</signal>
+ − 244
<receiver>QUuidBase</receiver>
+ − 245
<slot>accept()</slot>
+ − 246
</connection>
+ − 247
<connection>
+ − 248
<sender>nameEdit</sender>
+ − 249
<signal>textChanged(QString)</signal>
+ − 250
<receiver>QUuidBase</receiver>
+ − 251
<slot>formatChanged()</slot>
+ − 252
</connection>
+ − 253
<connection>
+ − 254
<sender>newButton</sender>
+ − 255
<signal>clicked()</signal>
+ − 256
<receiver>QUuidBase</receiver>
+ − 257
<slot>newUuid()</slot>
+ − 258
</connection>
+ − 259
<connection>
+ − 260
<sender>formats</sender>
+ − 261
<signal>clicked(int)</signal>
+ − 262
<receiver>QUuidBase</receiver>
+ − 263
<slot>formatChanged()</slot>
+ − 264
</connection>
+ − 265
</connections>
+ − 266
</ui>