Edric Milaret | 627500d | 2015-03-27 16:41:40 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <ui version="4.0"> |
| 3 | <class>CallWidget</class> |
| 4 | <widget class="QWidget" name="CallWidget"> |
| 5 | <property name="geometry"> |
| 6 | <rect> |
| 7 | <x>0</x> |
| 8 | <y>0</y> |
| 9 | <width>700</width> |
Edric Milaret | 53f57b6 | 2015-05-11 11:02:17 -0400 | [diff] [blame^] | 10 | <height>695</height> |
Edric Milaret | 627500d | 2015-03-27 16:41:40 -0400 | [diff] [blame] | 11 | </rect> |
| 12 | </property> |
| 13 | <property name="sizePolicy"> |
| 14 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> |
| 15 | <horstretch>0</horstretch> |
| 16 | <verstretch>0</verstretch> |
| 17 | </sizepolicy> |
| 18 | </property> |
| 19 | <property name="windowTitle"> |
| 20 | <string>Form</string> |
| 21 | </property> |
| 22 | <layout class="QGridLayout" name="gridLayout"> |
| 23 | <item row="0" column="0"> |
| 24 | <layout class="QVBoxLayout" name="verticalLayout_2"> |
| 25 | <property name="spacing"> |
| 26 | <number>6</number> |
| 27 | </property> |
| 28 | <property name="sizeConstraint"> |
| 29 | <enum>QLayout::SetDefaultConstraint</enum> |
| 30 | </property> |
| 31 | <item> |
| 32 | <layout class="QVBoxLayout" name="verticalLayout_5" stretch="0,0"> |
| 33 | <property name="topMargin"> |
| 34 | <number>0</number> |
| 35 | </property> |
| 36 | <item> |
| 37 | <widget class="QListView" name="callList"> |
| 38 | <property name="sizePolicy"> |
| 39 | <sizepolicy hsizetype="Fixed" vsizetype="Expanding"> |
| 40 | <horstretch>0</horstretch> |
| 41 | <verstretch>0</verstretch> |
| 42 | </sizepolicy> |
| 43 | </property> |
| 44 | <property name="minimumSize"> |
| 45 | <size> |
| 46 | <width>0</width> |
| 47 | <height>0</height> |
| 48 | </size> |
| 49 | </property> |
| 50 | <property name="maximumSize"> |
| 51 | <size> |
Edric Milaret | 67007d1 | 2015-05-07 09:40:09 -0400 | [diff] [blame] | 52 | <width>220</width> |
Edric Milaret | 627500d | 2015-03-27 16:41:40 -0400 | [diff] [blame] | 53 | <height>16777215</height> |
| 54 | </size> |
| 55 | </property> |
| 56 | </widget> |
| 57 | </item> |
| 58 | <item> |
Edric Milaret | 67007d1 | 2015-05-07 09:40:09 -0400 | [diff] [blame] | 59 | <widget class="QTabWidget" name="tabWidget"> |
Edric Milaret | 627500d | 2015-03-27 16:41:40 -0400 | [diff] [blame] | 60 | <property name="maximumSize"> |
| 61 | <size> |
Edric Milaret | 67007d1 | 2015-05-07 09:40:09 -0400 | [diff] [blame] | 62 | <width>220</width> |
Edric Milaret | 627500d | 2015-03-27 16:41:40 -0400 | [diff] [blame] | 63 | <height>16777215</height> |
| 64 | </size> |
| 65 | </property> |
Edric Milaret | 67007d1 | 2015-05-07 09:40:09 -0400 | [diff] [blame] | 66 | <property name="currentIndex"> |
| 67 | <number>1</number> |
| 68 | </property> |
| 69 | <widget class="QWidget" name="historyTab"> |
| 70 | <attribute name="title"> |
| 71 | <string>History</string> |
| 72 | </attribute> |
| 73 | <layout class="QVBoxLayout" name="verticalLayout_6"> |
| 74 | <property name="leftMargin"> |
| 75 | <number>4</number> |
| 76 | </property> |
| 77 | <property name="topMargin"> |
| 78 | <number>4</number> |
| 79 | </property> |
| 80 | <property name="rightMargin"> |
| 81 | <number>0</number> |
| 82 | </property> |
| 83 | <property name="bottomMargin"> |
| 84 | <number>4</number> |
| 85 | </property> |
| 86 | <item> |
| 87 | <widget class="QTreeView" name="historyList"> |
| 88 | <property name="sizePolicy"> |
| 89 | <sizepolicy hsizetype="Fixed" vsizetype="Expanding"> |
| 90 | <horstretch>0</horstretch> |
| 91 | <verstretch>0</verstretch> |
| 92 | </sizepolicy> |
| 93 | </property> |
| 94 | <property name="minimumSize"> |
| 95 | <size> |
| 96 | <width>0</width> |
| 97 | <height>0</height> |
| 98 | </size> |
| 99 | </property> |
| 100 | <property name="maximumSize"> |
| 101 | <size> |
| 102 | <width>200</width> |
| 103 | <height>16777215</height> |
| 104 | </size> |
| 105 | </property> |
| 106 | </widget> |
| 107 | </item> |
| 108 | </layout> |
| 109 | </widget> |
| 110 | <widget class="QWidget" name="contactTab"> |
| 111 | <attribute name="title"> |
| 112 | <string>Contact</string> |
| 113 | </attribute> |
| 114 | <layout class="QHBoxLayout" name="horizontalLayout_3"> |
| 115 | <property name="leftMargin"> |
| 116 | <number>4</number> |
| 117 | </property> |
| 118 | <property name="topMargin"> |
| 119 | <number>4</number> |
| 120 | </property> |
| 121 | <property name="rightMargin"> |
| 122 | <number>4</number> |
| 123 | </property> |
| 124 | <property name="bottomMargin"> |
| 125 | <number>4</number> |
| 126 | </property> |
| 127 | <item> |
Edric Milaret | 53f57b6 | 2015-05-11 11:02:17 -0400 | [diff] [blame^] | 128 | <widget class="QListView" name="contactView"/> |
Edric Milaret | 67007d1 | 2015-05-07 09:40:09 -0400 | [diff] [blame] | 129 | </item> |
| 130 | </layout> |
| 131 | </widget> |
Edric Milaret | 627500d | 2015-03-27 16:41:40 -0400 | [diff] [blame] | 132 | </widget> |
| 133 | </item> |
| 134 | </layout> |
| 135 | </item> |
| 136 | <item> |
| 137 | <widget class="QPushButton" name="holdButton"> |
| 138 | <property name="text"> |
| 139 | <string>Hold/Unhold</string> |
| 140 | </property> |
| 141 | <property name="icon"> |
| 142 | <iconset resource="ressources.qrc"> |
| 143 | <normaloff>:/images/phone-paused.png</normaloff>:/images/phone-paused.png</iconset> |
| 144 | </property> |
| 145 | </widget> |
| 146 | </item> |
| 147 | <item> |
| 148 | <widget class="QPushButton" name="hangupButton"> |
| 149 | <property name="sizePolicy"> |
| 150 | <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> |
| 151 | <horstretch>0</horstretch> |
| 152 | <verstretch>0</verstretch> |
| 153 | </sizepolicy> |
| 154 | </property> |
| 155 | <property name="text"> |
| 156 | <string>Hangup</string> |
| 157 | </property> |
| 158 | <property name="icon"> |
| 159 | <iconset resource="ressources.qrc"> |
| 160 | <normaloff>:/images/phone-hangup.png</normaloff>:/images/phone-hangup.png</iconset> |
| 161 | </property> |
| 162 | </widget> |
| 163 | </item> |
| 164 | </layout> |
| 165 | </item> |
| 166 | <item row="0" column="1"> |
| 167 | <layout class="QVBoxLayout" name="verticalLayout"> |
| 168 | <property name="sizeConstraint"> |
| 169 | <enum>QLayout::SetMaximumSize</enum> |
| 170 | </property> |
| 171 | <item> |
| 172 | <widget class="QFrame" name="videoFrame"> |
| 173 | <property name="sizePolicy"> |
| 174 | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
| 175 | <horstretch>0</horstretch> |
| 176 | <verstretch>0</verstretch> |
| 177 | </sizepolicy> |
| 178 | </property> |
| 179 | <property name="minimumSize"> |
| 180 | <size> |
| 181 | <width>0</width> |
| 182 | <height>325</height> |
| 183 | </size> |
| 184 | </property> |
| 185 | <property name="frameShape"> |
| 186 | <enum>QFrame::StyledPanel</enum> |
| 187 | </property> |
| 188 | <property name="frameShadow"> |
| 189 | <enum>QFrame::Raised</enum> |
| 190 | </property> |
| 191 | <layout class="QVBoxLayout" name="verticalLayout_7"> |
| 192 | <item> |
| 193 | <widget class="VideoWidget" name="videoWidget" native="true"/> |
| 194 | </item> |
| 195 | <item> |
| 196 | <widget class="QWidget" name="callInvite" native="true"> |
| 197 | <layout class="QVBoxLayout" name="verticalLayout_4"> |
| 198 | <item> |
| 199 | <layout class="QVBoxLayout" name="verticalLayout_3"> |
| 200 | <item alignment="Qt::AlignHCenter"> |
| 201 | <widget class="QLabel" name="callLabel"> |
| 202 | <property name="text"> |
| 203 | <string>Call</string> |
| 204 | </property> |
| 205 | </widget> |
| 206 | </item> |
| 207 | </layout> |
| 208 | </item> |
| 209 | <item> |
| 210 | <layout class="QHBoxLayout" name="horizontalLayout"> |
| 211 | <item> |
| 212 | <widget class="QPushButton" name="acceptButton"> |
| 213 | <property name="text"> |
| 214 | <string>Accept</string> |
| 215 | </property> |
| 216 | <property name="icon"> |
| 217 | <iconset resource="ressources.qrc"> |
| 218 | <normaloff>:/images/phone.png</normaloff>:/images/phone.png</iconset> |
| 219 | </property> |
| 220 | </widget> |
| 221 | </item> |
| 222 | <item> |
| 223 | <widget class="QPushButton" name="refuseButton"> |
| 224 | <property name="text"> |
| 225 | <string>Refuse</string> |
| 226 | </property> |
| 227 | <property name="icon"> |
| 228 | <iconset resource="ressources.qrc"> |
| 229 | <normaloff>:/images/phone-hangup.png</normaloff>:/images/phone-hangup.png</iconset> |
| 230 | </property> |
| 231 | </widget> |
| 232 | </item> |
| 233 | </layout> |
| 234 | </item> |
| 235 | </layout> |
| 236 | </widget> |
| 237 | </item> |
| 238 | </layout> |
| 239 | </widget> |
| 240 | </item> |
Edric Milaret | 67007d1 | 2015-05-07 09:40:09 -0400 | [diff] [blame] | 241 | <item alignment="Qt::AlignHCenter"> |
| 242 | <widget class="QLabel" name="callStateLabel"> |
Edric Milaret | b5b4907 | 2015-05-08 11:56:07 -0400 | [diff] [blame] | 243 | <property name="sizePolicy"> |
| 244 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
| 245 | <horstretch>0</horstretch> |
| 246 | <verstretch>0</verstretch> |
| 247 | </sizepolicy> |
| 248 | </property> |
Edric Milaret | 67007d1 | 2015-05-07 09:40:09 -0400 | [diff] [blame] | 249 | <property name="text"> |
| 250 | <string>Call State :</string> |
| 251 | </property> |
| 252 | </widget> |
| 253 | </item> |
Edric Milaret | 627500d | 2015-03-27 16:41:40 -0400 | [diff] [blame] | 254 | <item> |
| 255 | <widget class="QWidget" name="horizontalWidget" native="true"> |
| 256 | <property name="sizePolicy"> |
| 257 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
| 258 | <horstretch>0</horstretch> |
| 259 | <verstretch>0</verstretch> |
| 260 | </sizepolicy> |
| 261 | </property> |
| 262 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
| 263 | <item> |
| 264 | <widget class="QPushButton" name="muteSpeakerButton"> |
| 265 | <property name="text"> |
| 266 | <string/> |
| 267 | </property> |
| 268 | <property name="icon"> |
| 269 | <iconset resource="ressources.qrc"> |
| 270 | <normaloff>:/images/speaker-off.png</normaloff>:/images/speaker-off.png</iconset> |
| 271 | </property> |
| 272 | <property name="iconSize"> |
| 273 | <size> |
| 274 | <width>25</width> |
| 275 | <height>25</height> |
| 276 | </size> |
| 277 | </property> |
| 278 | </widget> |
| 279 | </item> |
| 280 | <item> |
| 281 | <widget class="QSlider" name="speakerSlider"> |
| 282 | <property name="orientation"> |
| 283 | <enum>Qt::Horizontal</enum> |
| 284 | </property> |
| 285 | </widget> |
| 286 | </item> |
| 287 | <item> |
| 288 | <widget class="QPushButton" name="muteMicButton"> |
| 289 | <property name="text"> |
| 290 | <string/> |
| 291 | </property> |
| 292 | <property name="icon"> |
| 293 | <iconset resource="ressources.qrc"> |
| 294 | <normaloff>:/images/microphone-off.png</normaloff>:/images/microphone-off.png</iconset> |
| 295 | </property> |
| 296 | <property name="iconSize"> |
| 297 | <size> |
| 298 | <width>25</width> |
| 299 | <height>25</height> |
| 300 | </size> |
| 301 | </property> |
| 302 | </widget> |
| 303 | </item> |
| 304 | <item> |
| 305 | <widget class="QSlider" name="micSlider"> |
| 306 | <property name="orientation"> |
| 307 | <enum>Qt::Horizontal</enum> |
| 308 | </property> |
| 309 | </widget> |
| 310 | </item> |
| 311 | </layout> |
| 312 | <zorder>micSlider</zorder> |
| 313 | <zorder>muteMicButton</zorder> |
| 314 | <zorder>speakerSlider</zorder> |
| 315 | <zorder>muteSpeakerButton</zorder> |
| 316 | </widget> |
| 317 | </item> |
| 318 | <item> |
| 319 | <widget class="QListView" name="messageOutput"> |
| 320 | <property name="sizePolicy"> |
| 321 | <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 322 | <horstretch>0</horstretch> |
| 323 | <verstretch>0</verstretch> |
| 324 | </sizepolicy> |
| 325 | </property> |
| 326 | </widget> |
| 327 | </item> |
| 328 | <item> |
| 329 | <widget class="QLineEdit" name="messageInput"/> |
| 330 | </item> |
| 331 | </layout> |
| 332 | </item> |
| 333 | <item row="1" column="1" alignment="Qt::AlignHCenter"> |
| 334 | <widget class="QLabel" name="ringIdLabel"> |
| 335 | <property name="minimumSize"> |
| 336 | <size> |
| 337 | <width>0</width> |
| 338 | <height>0</height> |
| 339 | </size> |
| 340 | </property> |
| 341 | <property name="text"> |
| 342 | <string>Your Ring ID:</string> |
| 343 | </property> |
| 344 | <property name="margin"> |
| 345 | <number>0</number> |
| 346 | </property> |
| 347 | <property name="textInteractionFlags"> |
| 348 | <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set> |
| 349 | </property> |
| 350 | </widget> |
| 351 | </item> |
| 352 | </layout> |
| 353 | </widget> |
| 354 | <customwidgets> |
| 355 | <customwidget> |
| 356 | <class>VideoWidget</class> |
| 357 | <extends>QWidget</extends> |
| 358 | <header>videowidget.h</header> |
| 359 | <container>1</container> |
| 360 | </customwidget> |
| 361 | </customwidgets> |
| 362 | <resources> |
| 363 | <include location="ressources.qrc"/> |
| 364 | </resources> |
| 365 | <connections/> |
| 366 | </ui> |