accountdialog.ui 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>AccountDialog</class>
  4. <widget class="QDialog" name="AccountDialog">
  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>389</width>
  13. <height>427</height>
  14. </rect>
  15. </property>
  16. <property name="windowTitle">
  17. <string>Account</string>
  18. </property>
  19. <layout class="QVBoxLayout" name="verticalLayout">
  20. <item>
  21. <widget class="QTabWidget" name="tabWidget">
  22. <property name="currentIndex">
  23. <number>0</number>
  24. </property>
  25. <widget class="QWidget" name="tab">
  26. <attribute name="title">
  27. <string>Basic</string>
  28. </attribute>
  29. <layout class="QFormLayout" name="formLayout">
  30. <property name="fieldGrowthPolicy">
  31. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  32. </property>
  33. <item row="0" column="0">
  34. <widget class="QLabel" name="label">
  35. <property name="text">
  36. <string>Account Name</string>
  37. </property>
  38. </widget>
  39. </item>
  40. <item row="0" column="1">
  41. <widget class="QLineEdit" name="sofiaGwNameEdit"/>
  42. </item>
  43. <item row="1" column="0">
  44. <widget class="QLabel" name="label_2">
  45. <property name="text">
  46. <string>Usernane</string>
  47. </property>
  48. </widget>
  49. </item>
  50. <item row="1" column="1">
  51. <widget class="QLineEdit" name="sofiaGwUsernameEdit"/>
  52. </item>
  53. <item row="2" column="0">
  54. <widget class="QLabel" name="label_3">
  55. <property name="text">
  56. <string>Domain</string>
  57. </property>
  58. </widget>
  59. </item>
  60. <item row="2" column="1">
  61. <widget class="QLineEdit" name="sofiaGwRealmEdit"/>
  62. </item>
  63. <item row="3" column="0">
  64. <widget class="QLabel" name="label_6">
  65. <property name="text">
  66. <string>Password</string>
  67. </property>
  68. </widget>
  69. </item>
  70. <item row="3" column="1">
  71. <widget class="QLineEdit" name="sofiaGwPasswordEdit">
  72. <property name="toolTip">
  73. <string>Account password </string>
  74. </property>
  75. <property name="echoMode">
  76. <enum>QLineEdit::Password</enum>
  77. </property>
  78. </widget>
  79. </item>
  80. <item row="4" column="0">
  81. <widget class="QLabel" name="label_10">
  82. <property name="text">
  83. <string>Expire</string>
  84. </property>
  85. </widget>
  86. </item>
  87. <item row="4" column="1">
  88. <widget class="QSpinBox" name="sofiaGwExpireSecondsSpin">
  89. <property name="toolTip">
  90. <string>Seconds before account expires</string>
  91. </property>
  92. <property name="value">
  93. <number>60</number>
  94. </property>
  95. </widget>
  96. </item>
  97. <item row="5" column="0">
  98. <widget class="QLabel" name="label_11">
  99. <property name="text">
  100. <string>Register</string>
  101. </property>
  102. </widget>
  103. </item>
  104. <item row="5" column="1">
  105. <widget class="QComboBox" name="sofiaGwRegisterCombo">
  106. <property name="toolTip">
  107. <string>Account must register or must not register</string>
  108. </property>
  109. <item>
  110. <property name="text">
  111. <string>true</string>
  112. </property>
  113. </item>
  114. <item>
  115. <property name="text">
  116. <string>false</string>
  117. </property>
  118. </item>
  119. </widget>
  120. </item>
  121. <item row="6" column="0">
  122. <widget class="QLabel" name="label_12">
  123. <property name="text">
  124. <string>Transport</string>
  125. </property>
  126. </widget>
  127. </item>
  128. <item row="6" column="1">
  129. <widget class="QComboBox" name="sofiaGwRegisterTransportCombo">
  130. <property name="toolTip">
  131. <string>What transport to use for this account</string>
  132. </property>
  133. <item>
  134. <property name="text">
  135. <string>udp</string>
  136. </property>
  137. </item>
  138. <item>
  139. <property name="text">
  140. <string>tcp</string>
  141. </property>
  142. </item>
  143. </widget>
  144. </item>
  145. <item row="7" column="0">
  146. <widget class="QLabel" name="label_13">
  147. <property name="text">
  148. <string>Retry</string>
  149. </property>
  150. </widget>
  151. </item>
  152. <item row="7" column="1">
  153. <widget class="QSpinBox" name="sofiaGwRetrySecondsSpin">
  154. <property name="toolTip">
  155. <string>How many seconds to retry registration</string>
  156. </property>
  157. <property name="value">
  158. <number>30</number>
  159. </property>
  160. </widget>
  161. </item>
  162. <item row="8" column="0">
  163. <widget class="QLabel" name="label_4">
  164. <property name="text">
  165. <string>Codec Settings</string>
  166. </property>
  167. </widget>
  168. </item>
  169. <item row="9" column="0">
  170. <widget class="QLabel" name="label_5">
  171. <property name="text">
  172. <string>CallerID Settings</string>
  173. </property>
  174. </widget>
  175. </item>
  176. <item row="8" column="1">
  177. <widget class="QComboBox" name="codecSettingsCombo">
  178. <property name="enabled">
  179. <bool>false</bool>
  180. </property>
  181. <item>
  182. <property name="text">
  183. <string>Global</string>
  184. </property>
  185. </item>
  186. <item>
  187. <property name="text">
  188. <string>Custom</string>
  189. </property>
  190. </item>
  191. </widget>
  192. </item>
  193. <item row="9" column="1">
  194. <widget class="QComboBox" name="clidSettingsCombo">
  195. <property name="enabled">
  196. <bool>true</bool>
  197. </property>
  198. <item>
  199. <property name="text">
  200. <string>Global</string>
  201. </property>
  202. </item>
  203. <item>
  204. <property name="text">
  205. <string>Custom</string>
  206. </property>
  207. </item>
  208. </widget>
  209. </item>
  210. </layout>
  211. </widget>
  212. <widget class="QWidget" name="codecPage">
  213. <attribute name="title">
  214. <string>Codecs</string>
  215. </attribute>
  216. </widget>
  217. <widget class="QWidget" name="clidPage">
  218. <attribute name="title">
  219. <string>CallerID</string>
  220. </attribute>
  221. <layout class="QFormLayout" name="formLayout_2">
  222. <item row="0" column="0">
  223. <widget class="QLabel" name="label_15">
  224. <property name="text">
  225. <string>CallerID Name:</string>
  226. </property>
  227. </widget>
  228. </item>
  229. <item row="0" column="1">
  230. <widget class="QLineEdit" name="sofiaCallerIDName"/>
  231. </item>
  232. <item row="1" column="0">
  233. <widget class="QLabel" name="label_14">
  234. <property name="text">
  235. <string>CallerID Number:</string>
  236. </property>
  237. </widget>
  238. </item>
  239. <item row="1" column="1">
  240. <widget class="QLineEdit" name="sofiaCallerIDNum"/>
  241. </item>
  242. </layout>
  243. </widget>
  244. <widget class="QWidget" name="tab_2">
  245. <attribute name="title">
  246. <string>Advanced</string>
  247. </attribute>
  248. <layout class="QHBoxLayout" name="horizontalLayout">
  249. <item>
  250. <widget class="QTableWidget" name="sofiaExtraParamTable">
  251. <property name="selectionBehavior">
  252. <enum>QAbstractItemView::SelectRows</enum>
  253. </property>
  254. <column>
  255. <property name="text">
  256. <string>Param Name</string>
  257. </property>
  258. </column>
  259. <column>
  260. <property name="text">
  261. <string>Param Value</string>
  262. </property>
  263. </column>
  264. </widget>
  265. </item>
  266. <item>
  267. <layout class="QVBoxLayout" name="verticalLayout_2">
  268. <item>
  269. <widget class="QPushButton" name="sofiaExtraParamAddBtn">
  270. <property name="text">
  271. <string>+</string>
  272. </property>
  273. </widget>
  274. </item>
  275. <item>
  276. <widget class="QPushButton" name="sofiaExtraParamRemBtn">
  277. <property name="text">
  278. <string>-</string>
  279. </property>
  280. </widget>
  281. </item>
  282. <item>
  283. <spacer name="verticalSpacer">
  284. <property name="orientation">
  285. <enum>Qt::Vertical</enum>
  286. </property>
  287. <property name="sizeHint" stdset="0">
  288. <size>
  289. <width>20</width>
  290. <height>40</height>
  291. </size>
  292. </property>
  293. </spacer>
  294. </item>
  295. </layout>
  296. </item>
  297. </layout>
  298. </widget>
  299. </widget>
  300. </item>
  301. <item>
  302. <widget class="QDialogButtonBox" name="buttonBox">
  303. <property name="orientation">
  304. <enum>Qt::Horizontal</enum>
  305. </property>
  306. <property name="standardButtons">
  307. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  308. </property>
  309. </widget>
  310. </item>
  311. </layout>
  312. </widget>
  313. <resources/>
  314. <connections>
  315. <connection>
  316. <sender>buttonBox</sender>
  317. <signal>accepted()</signal>
  318. <receiver>AccountDialog</receiver>
  319. <slot>accept()</slot>
  320. <hints>
  321. <hint type="sourcelabel">
  322. <x>266</x>
  323. <y>417</y>
  324. </hint>
  325. <hint type="destinationlabel">
  326. <x>157</x>
  327. <y>274</y>
  328. </hint>
  329. </hints>
  330. </connection>
  331. <connection>
  332. <sender>buttonBox</sender>
  333. <signal>rejected()</signal>
  334. <receiver>AccountDialog</receiver>
  335. <slot>reject()</slot>
  336. <hints>
  337. <hint type="sourcelabel">
  338. <x>334</x>
  339. <y>417</y>
  340. </hint>
  341. <hint type="destinationlabel">
  342. <x>286</x>
  343. <y>274</y>
  344. </hint>
  345. </hints>
  346. </connection>
  347. </connections>
  348. </ui>