Yingdi Yu | 348f5ea | 2014-03-01 14:47:25 -0800 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <ui version="4.0"> |
| 3 | <class>ContactPanel</class> |
| 4 | <widget class="QDialog" name="ContactPanel"> |
| 5 | <property name="enabled"> |
| 6 | <bool>true</bool> |
| 7 | </property> |
| 8 | <property name="geometry"> |
| 9 | <rect> |
| 10 | <x>0</x> |
| 11 | <y>0</y> |
| 12 | <width>600</width> |
| 13 | <height>480</height> |
| 14 | </rect> |
| 15 | </property> |
| 16 | <property name="sizePolicy"> |
| 17 | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
| 18 | <horstretch>0</horstretch> |
| 19 | <verstretch>0</verstretch> |
| 20 | </sizepolicy> |
| 21 | </property> |
| 22 | <property name="windowTitle"> |
| 23 | <string>ChronoChat Contacts</string> |
| 24 | </property> |
| 25 | <layout class="QHBoxLayout" name="horizontalLayout_5"> |
| 26 | <item> |
| 27 | <layout class="QHBoxLayout" name="ContactPanelLayout" stretch="3,7"> |
| 28 | <property name="spacing"> |
| 29 | <number>10</number> |
| 30 | </property> |
| 31 | <property name="sizeConstraint"> |
| 32 | <enum>QLayout::SetDefaultConstraint</enum> |
| 33 | </property> |
| 34 | <item> |
| 35 | <widget class="QListView" name="ContactList"> |
| 36 | <property name="contextMenuPolicy"> |
| 37 | <enum>Qt::CustomContextMenu</enum> |
| 38 | </property> |
| 39 | <property name="acceptDrops"> |
| 40 | <bool>false</bool> |
| 41 | </property> |
| 42 | <property name="editTriggers"> |
| 43 | <set>QAbstractItemView::NoEditTriggers</set> |
| 44 | </property> |
| 45 | </widget> |
| 46 | </item> |
| 47 | <item> |
| 48 | <widget class="QTabWidget" name="ContactInfo"> |
| 49 | <property name="currentIndex"> |
| 50 | <number>0</number> |
| 51 | </property> |
| 52 | <widget class="QWidget" name="General"> |
| 53 | <attribute name="title"> |
| 54 | <string>General</string> |
| 55 | </attribute> |
| 56 | <layout class="QVBoxLayout" name="verticalLayout_7"> |
| 57 | <item> |
| 58 | <layout class="QVBoxLayout" name="verticalLayout_6" stretch="2,2,1"> |
| 59 | <item> |
| 60 | <layout class="QHBoxLayout" name="horizontalLayout_7" stretch="2,3,2"> |
| 61 | <item> |
| 62 | <spacer name="horizontalSpacer_2"> |
| 63 | <property name="orientation"> |
| 64 | <enum>Qt::Horizontal</enum> |
| 65 | </property> |
| 66 | <property name="sizeHint" stdset="0"> |
| 67 | <size> |
| 68 | <width>40</width> |
| 69 | <height>20</height> |
| 70 | </size> |
| 71 | </property> |
| 72 | </spacer> |
| 73 | </item> |
| 74 | <item> |
| 75 | <widget class="QGraphicsView" name="Avatar"/> |
| 76 | </item> |
| 77 | <item> |
| 78 | <spacer name="horizontalSpacer_3"> |
| 79 | <property name="orientation"> |
| 80 | <enum>Qt::Horizontal</enum> |
| 81 | </property> |
| 82 | <property name="sizeHint" stdset="0"> |
| 83 | <size> |
| 84 | <width>40</width> |
| 85 | <height>20</height> |
| 86 | </size> |
| 87 | </property> |
| 88 | </spacer> |
| 89 | </item> |
| 90 | </layout> |
| 91 | </item> |
| 92 | <item> |
| 93 | <layout class="QVBoxLayout" name="verticalLayout"> |
| 94 | <item> |
| 95 | <layout class="QHBoxLayout" name="horizontalLayout" stretch="35,100"> |
| 96 | <property name="spacing"> |
| 97 | <number>-1</number> |
| 98 | </property> |
| 99 | <item> |
| 100 | <widget class="QLabel" name="NameSpaceLabel"> |
| 101 | <property name="font"> |
| 102 | <font> |
| 103 | <weight>75</weight> |
| 104 | <bold>true</bold> |
| 105 | </font> |
| 106 | </property> |
| 107 | <property name="text"> |
| 108 | <string>Name space</string> |
| 109 | </property> |
| 110 | </widget> |
| 111 | </item> |
| 112 | <item> |
| 113 | <widget class="QLineEdit" name="NameSpaceData"> |
| 114 | <property name="font"> |
| 115 | <font> |
| 116 | <family>Lucida Grande</family> |
| 117 | </font> |
| 118 | </property> |
| 119 | <property name="readOnly"> |
| 120 | <bool>true</bool> |
| 121 | </property> |
| 122 | </widget> |
| 123 | </item> |
| 124 | </layout> |
| 125 | </item> |
| 126 | <item> |
| 127 | <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="35,100"> |
| 128 | <item> |
| 129 | <widget class="QLabel" name="NameLabel"> |
| 130 | <property name="font"> |
| 131 | <font> |
| 132 | <weight>75</weight> |
| 133 | <bold>true</bold> |
| 134 | </font> |
| 135 | </property> |
| 136 | <property name="text"> |
| 137 | <string>Name</string> |
| 138 | </property> |
| 139 | </widget> |
| 140 | </item> |
| 141 | <item> |
| 142 | <widget class="QLineEdit" name="NameData"> |
| 143 | <property name="font"> |
| 144 | <font> |
| 145 | <family>Lucida Grande</family> |
| 146 | </font> |
| 147 | </property> |
| 148 | <property name="readOnly"> |
| 149 | <bool>true</bool> |
| 150 | </property> |
| 151 | </widget> |
| 152 | </item> |
| 153 | </layout> |
| 154 | </item> |
| 155 | <item> |
| 156 | <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="35,100"> |
| 157 | <item> |
| 158 | <widget class="QLabel" name="InstitutionLabel"> |
| 159 | <property name="font"> |
| 160 | <font> |
| 161 | <weight>75</weight> |
| 162 | <bold>true</bold> |
| 163 | </font> |
| 164 | </property> |
| 165 | <property name="text"> |
| 166 | <string>Institution </string> |
| 167 | </property> |
| 168 | </widget> |
| 169 | </item> |
| 170 | <item> |
| 171 | <widget class="QLineEdit" name="InstitutionData"> |
| 172 | <property name="font"> |
| 173 | <font> |
| 174 | <family>Lucida Grande</family> |
| 175 | </font> |
| 176 | </property> |
| 177 | <property name="readOnly"> |
| 178 | <bool>true</bool> |
| 179 | </property> |
| 180 | </widget> |
| 181 | </item> |
| 182 | </layout> |
| 183 | </item> |
| 184 | </layout> |
| 185 | </item> |
| 186 | <item> |
| 187 | <spacer name="verticalSpacer"> |
| 188 | <property name="orientation"> |
| 189 | <enum>Qt::Vertical</enum> |
| 190 | </property> |
| 191 | <property name="sizeHint" stdset="0"> |
| 192 | <size> |
| 193 | <width>20</width> |
| 194 | <height>40</height> |
| 195 | </size> |
| 196 | </property> |
| 197 | </spacer> |
| 198 | </item> |
| 199 | </layout> |
| 200 | </item> |
| 201 | </layout> |
| 202 | </widget> |
| 203 | <widget class="QWidget" name="TrustScope"> |
| 204 | <attribute name="title"> |
| 205 | <string>Trust Scope</string> |
| 206 | </attribute> |
| 207 | <layout class="QVBoxLayout" name="verticalLayout_2"> |
| 208 | <item> |
| 209 | <layout class="QVBoxLayout" name="verticalLayout_3"> |
| 210 | <item> |
| 211 | <widget class="QCheckBox" name="isIntroducer"> |
| 212 | <property name="text"> |
| 213 | <string>Set as introducer</string> |
| 214 | </property> |
| 215 | </widget> |
| 216 | </item> |
| 217 | <item> |
| 218 | <widget class="QTableView" name="trustScopeList"> |
| 219 | <attribute name="horizontalHeaderStretchLastSection"> |
| 220 | <bool>true</bool> |
| 221 | </attribute> |
| 222 | </widget> |
| 223 | </item> |
| 224 | <item> |
| 225 | <layout class="QHBoxLayout" name="horizontalLayout_4"> |
| 226 | <item> |
| 227 | <widget class="QPushButton" name="addScope"> |
| 228 | <property name="text"> |
| 229 | <string>Add Scope</string> |
| 230 | </property> |
| 231 | <property name="autoDefault"> |
| 232 | <bool>false</bool> |
| 233 | </property> |
| 234 | </widget> |
| 235 | </item> |
| 236 | <item> |
| 237 | <widget class="QPushButton" name="deleteScope"> |
| 238 | <property name="text"> |
| 239 | <string>Delete Scope</string> |
| 240 | </property> |
| 241 | <property name="autoDefault"> |
| 242 | <bool>false</bool> |
| 243 | </property> |
| 244 | </widget> |
| 245 | </item> |
| 246 | <item> |
| 247 | <widget class="QPushButton" name="saveButton"> |
| 248 | <property name="text"> |
| 249 | <string>Save</string> |
| 250 | </property> |
| 251 | <property name="autoDefault"> |
| 252 | <bool>false</bool> |
| 253 | </property> |
| 254 | </widget> |
| 255 | </item> |
| 256 | </layout> |
| 257 | </item> |
| 258 | </layout> |
| 259 | </item> |
| 260 | </layout> |
| 261 | </widget> |
| 262 | <widget class="QWidget" name="Endorse"> |
| 263 | <attribute name="title"> |
| 264 | <string>Endorse</string> |
| 265 | </attribute> |
| 266 | <layout class="QVBoxLayout" name="verticalLayout_5"> |
| 267 | <item> |
| 268 | <layout class="QVBoxLayout" name="verticalLayout_4"> |
| 269 | <item> |
| 270 | <widget class="QTableView" name="endorseList"> |
| 271 | <attribute name="horizontalHeaderStretchLastSection"> |
| 272 | <bool>true</bool> |
| 273 | </attribute> |
| 274 | </widget> |
| 275 | </item> |
| 276 | <item> |
| 277 | <layout class="QHBoxLayout" name="horizontalLayout_6" stretch="3,1"> |
| 278 | <item> |
| 279 | <spacer name="horizontalSpacer"> |
| 280 | <property name="orientation"> |
| 281 | <enum>Qt::Horizontal</enum> |
| 282 | </property> |
| 283 | <property name="sizeHint" stdset="0"> |
| 284 | <size> |
| 285 | <width>40</width> |
| 286 | <height>20</height> |
| 287 | </size> |
| 288 | </property> |
| 289 | </spacer> |
| 290 | </item> |
| 291 | <item> |
| 292 | <widget class="QPushButton" name="endorseButton"> |
| 293 | <property name="text"> |
| 294 | <string>Endorse</string> |
| 295 | </property> |
| 296 | <property name="autoDefault"> |
| 297 | <bool>false</bool> |
| 298 | </property> |
| 299 | </widget> |
| 300 | </item> |
| 301 | </layout> |
| 302 | </item> |
| 303 | </layout> |
| 304 | </item> |
| 305 | </layout> |
| 306 | </widget> |
| 307 | </widget> |
| 308 | </item> |
| 309 | </layout> |
| 310 | </item> |
| 311 | </layout> |
| 312 | </widget> |
| 313 | <resources/> |
| 314 | <connections/> |
| 315 | </ui> |