prefdialog.ui 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>PrefDialog</class>
  4. <widget class="QDialog" name="PrefDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>803</width>
  10. <height>667</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Preferences</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_8">
  17. <item>
  18. <layout class="QHBoxLayout" name="horizontalLayout_7">
  19. <item>
  20. <widget class="QListWidget" name="listSections">
  21. <property name="minimumSize">
  22. <size>
  23. <width>120</width>
  24. <height>0</height>
  25. </size>
  26. </property>
  27. <property name="maximumSize">
  28. <size>
  29. <width>120</width>
  30. <height>16777215</height>
  31. </size>
  32. </property>
  33. <property name="showDropIndicator" stdset="0">
  34. <bool>false</bool>
  35. </property>
  36. <property name="dragDropMode">
  37. <enum>QAbstractItemView::NoDragDrop</enum>
  38. </property>
  39. <property name="iconSize">
  40. <size>
  41. <width>96</width>
  42. <height>84</height>
  43. </size>
  44. </property>
  45. <property name="movement">
  46. <enum>QListView::Static</enum>
  47. </property>
  48. <property name="flow">
  49. <enum>QListView::LeftToRight</enum>
  50. </property>
  51. <property name="isWrapping" stdset="0">
  52. <bool>true</bool>
  53. </property>
  54. <property name="spacing">
  55. <number>12</number>
  56. </property>
  57. <property name="viewMode">
  58. <enum>QListView::IconMode</enum>
  59. </property>
  60. <item>
  61. <property name="text">
  62. <string>General</string>
  63. </property>
  64. <property name="icon">
  65. <iconset resource="../resources.qrc">
  66. <normaloff>:/images/pref_general.jpg</normaloff>:/images/pref_general.jpg</iconset>
  67. </property>
  68. </item>
  69. <item>
  70. <property name="text">
  71. <string>Accounts</string>
  72. </property>
  73. <property name="icon">
  74. <iconset resource="../resources.qrc">
  75. <normaloff>:/images/pref_accounts.jpg</normaloff>:/images/pref_accounts.jpg</iconset>
  76. </property>
  77. </item>
  78. <item>
  79. <property name="text">
  80. <string>Sofia</string>
  81. </property>
  82. <property name="icon">
  83. <iconset resource="../resources.qrc">
  84. <normaloff>:/images/pref_sip.png</normaloff>:/images/pref_sip.png</iconset>
  85. </property>
  86. </item>
  87. <item>
  88. <property name="text">
  89. <string>Audio</string>
  90. </property>
  91. <property name="icon">
  92. <iconset resource="../resources.qrc">
  93. <normaloff>:/images/pref_audio.gif</normaloff>:/images/pref_audio.gif</iconset>
  94. </property>
  95. </item>
  96. </widget>
  97. </item>
  98. <item>
  99. <widget class="QStackedWidget" name="stackedWidget">
  100. <property name="currentIndex">
  101. <number>0</number>
  102. </property>
  103. <widget class="QWidget" name="generalPage">
  104. <layout class="QVBoxLayout" name="verticalLayout_3">
  105. <item>
  106. <widget class="QGroupBox" name="groupBox_5">
  107. <property name="title">
  108. <string>User Information</string>
  109. </property>
  110. <layout class="QFormLayout" name="formLayout_4">
  111. <item row="0" column="0">
  112. <widget class="QLabel" name="label_13">
  113. <property name="text">
  114. <string>CallerID Name:</string>
  115. </property>
  116. </widget>
  117. </item>
  118. <item row="0" column="1">
  119. <widget class="QLineEdit" name="PaCallerIdNameEdit"/>
  120. </item>
  121. <item row="1" column="0">
  122. <widget class="QLabel" name="label_14">
  123. <property name="text">
  124. <string>CallerID Number:</string>
  125. </property>
  126. </widget>
  127. </item>
  128. <item row="1" column="1">
  129. <widget class="QLineEdit" name="PaCallerIdNumEdit"/>
  130. </item>
  131. </layout>
  132. </widget>
  133. </item>
  134. </layout>
  135. </widget>
  136. <widget class="QWidget" name="accountsPage">
  137. <layout class="QHBoxLayout" name="horizontalLayout_5">
  138. <item>
  139. <widget class="QTableWidget" name="accountsTable">
  140. <property name="editTriggers">
  141. <set>QAbstractItemView::NoEditTriggers</set>
  142. </property>
  143. <property name="selectionBehavior">
  144. <enum>QAbstractItemView::SelectRows</enum>
  145. </property>
  146. <column>
  147. <property name="text">
  148. <string>Name</string>
  149. </property>
  150. </column>
  151. <column>
  152. <property name="text">
  153. <string>Username</string>
  154. </property>
  155. </column>
  156. </widget>
  157. </item>
  158. <item>
  159. <layout class="QVBoxLayout" name="verticalLayout_7">
  160. <item>
  161. <widget class="QPushButton" name="sofiaGwAddBtn">
  162. <property name="text">
  163. <string>Add</string>
  164. </property>
  165. </widget>
  166. </item>
  167. <item>
  168. <widget class="QPushButton" name="sofiaGwRemBtn">
  169. <property name="text">
  170. <string>Remove</string>
  171. </property>
  172. </widget>
  173. </item>
  174. <item>
  175. <widget class="QPushButton" name="sofiaGwEditBtn">
  176. <property name="enabled">
  177. <bool>true</bool>
  178. </property>
  179. <property name="text">
  180. <string>Edit</string>
  181. </property>
  182. </widget>
  183. </item>
  184. <item>
  185. <spacer name="verticalSpacer">
  186. <property name="orientation">
  187. <enum>Qt::Vertical</enum>
  188. </property>
  189. <property name="sizeHint" stdset="0">
  190. <size>
  191. <width>20</width>
  192. <height>40</height>
  193. </size>
  194. </property>
  195. </spacer>
  196. </item>
  197. </layout>
  198. </item>
  199. </layout>
  200. </widget>
  201. <widget class="QWidget" name="sofiaPage">
  202. <layout class="QVBoxLayout" name="verticalLayout_2">
  203. <item>
  204. <widget class="QTabWidget" name="tabWidget">
  205. <property name="currentIndex">
  206. <number>0</number>
  207. </property>
  208. <widget class="QWidget" name="tab">
  209. <attribute name="title">
  210. <string>General</string>
  211. </attribute>
  212. <layout class="QVBoxLayout" name="verticalLayout_5">
  213. <item>
  214. <widget class="QGroupBox" name="groupBox">
  215. <property name="title">
  216. <string>Global</string>
  217. </property>
  218. <layout class="QFormLayout" name="formLayout">
  219. <property name="fieldGrowthPolicy">
  220. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  221. </property>
  222. <item row="0" column="0">
  223. <widget class="QLabel" name="label">
  224. <property name="text">
  225. <string>log-level</string>
  226. </property>
  227. </widget>
  228. </item>
  229. <item row="0" column="1">
  230. <widget class="QSpinBox" name="sofiaLogLevelSpin"/>
  231. </item>
  232. <item row="1" column="0">
  233. <widget class="QLabel" name="label_2">
  234. <property name="text">
  235. <string>auto-restart</string>
  236. </property>
  237. </widget>
  238. </item>
  239. <item row="1" column="1">
  240. <widget class="QComboBox" name="sofiaAutoRestartCombo">
  241. <item>
  242. <property name="text">
  243. <string>true</string>
  244. </property>
  245. </item>
  246. <item>
  247. <property name="text">
  248. <string>false</string>
  249. </property>
  250. </item>
  251. </widget>
  252. </item>
  253. <item row="2" column="0">
  254. <widget class="QLabel" name="label_3">
  255. <property name="text">
  256. <string>debug-presence</string>
  257. </property>
  258. </widget>
  259. </item>
  260. <item row="2" column="1">
  261. <widget class="QSpinBox" name="sofiaDebugPresenceSpin"/>
  262. </item>
  263. <item row="3" column="0">
  264. <widget class="QLabel" name="label_15">
  265. <property name="text">
  266. <string>rewrite-multicasted-fs-path</string>
  267. </property>
  268. </widget>
  269. </item>
  270. <item row="3" column="1">
  271. <widget class="QComboBox" name="sofiaRewriteMulticastedFsPathCombo">
  272. <item>
  273. <property name="text">
  274. <string>false</string>
  275. </property>
  276. </item>
  277. <item>
  278. <property name="text">
  279. <string>true</string>
  280. </property>
  281. </item>
  282. </widget>
  283. </item>
  284. </layout>
  285. </widget>
  286. </item>
  287. <item>
  288. <widget class="QGroupBox" name="groupBox_6">
  289. <property name="sizePolicy">
  290. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  291. <horstretch>0</horstretch>
  292. <verstretch>0</verstretch>
  293. </sizepolicy>
  294. </property>
  295. <property name="title">
  296. <string>Profile</string>
  297. </property>
  298. <layout class="QFormLayout" name="formLayout_6">
  299. <item row="0" column="0">
  300. <widget class="QLabel" name="label_4">
  301. <property name="text">
  302. <string>user-agent-string</string>
  303. </property>
  304. </widget>
  305. </item>
  306. <item row="0" column="1">
  307. <widget class="QLineEdit" name="sofiaUserAgentStringEdit">
  308. <property name="text">
  309. <string>FreeSWITCH/FSComm</string>
  310. </property>
  311. </widget>
  312. </item>
  313. <item row="1" column="0">
  314. <widget class="QLabel" name="label_26">
  315. <property name="text">
  316. <string>hold-music</string>
  317. </property>
  318. </widget>
  319. </item>
  320. <item row="1" column="1">
  321. <widget class="QLineEdit" name="sofiaHoldMusicEdit">
  322. <property name="text">
  323. <string>localstream://moh</string>
  324. </property>
  325. </widget>
  326. </item>
  327. <item row="2" column="0">
  328. <widget class="QLabel" name="label_16">
  329. <property name="text">
  330. <string>context</string>
  331. </property>
  332. </widget>
  333. </item>
  334. <item row="2" column="1">
  335. <widget class="QLineEdit" name="sofiaContextEdit">
  336. <property name="text">
  337. <string>public</string>
  338. </property>
  339. </widget>
  340. </item>
  341. <item row="3" column="0">
  342. <widget class="QLabel" name="label_19">
  343. <property name="text">
  344. <string>dialplan</string>
  345. </property>
  346. </widget>
  347. </item>
  348. <item row="3" column="1">
  349. <widget class="QLineEdit" name="sofiaDialplanEdit">
  350. <property name="text">
  351. <string>XML</string>
  352. </property>
  353. </widget>
  354. </item>
  355. </layout>
  356. </widget>
  357. </item>
  358. </layout>
  359. </widget>
  360. <widget class="QWidget" name="tab_2">
  361. <attribute name="title">
  362. <string>Network</string>
  363. </attribute>
  364. <layout class="QVBoxLayout" name="verticalLayout_4">
  365. <item>
  366. <widget class="QGroupBox" name="groupBox_2">
  367. <property name="title">
  368. <string>Softphone Profile</string>
  369. </property>
  370. <layout class="QFormLayout" name="formLayout_2">
  371. <property name="fieldGrowthPolicy">
  372. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  373. </property>
  374. <item row="0" column="0">
  375. <widget class="QLabel" name="label_18">
  376. <property name="text">
  377. <string>sip-port</string>
  378. </property>
  379. </widget>
  380. </item>
  381. <item row="0" column="1">
  382. <widget class="QSpinBox" name="sofiaSipPortSpin">
  383. <property name="minimum">
  384. <number>1</number>
  385. </property>
  386. <property name="maximum">
  387. <number>65535</number>
  388. </property>
  389. <property name="value">
  390. <number>12345</number>
  391. </property>
  392. </widget>
  393. </item>
  394. <item row="1" column="0">
  395. <widget class="QLabel" name="label_22">
  396. <property name="text">
  397. <string>use-rtp-timer</string>
  398. </property>
  399. </widget>
  400. </item>
  401. <item row="1" column="1">
  402. <widget class="QComboBox" name="sofiaUseRtpTimerCombo">
  403. <item>
  404. <property name="text">
  405. <string>true</string>
  406. </property>
  407. </item>
  408. <item>
  409. <property name="text">
  410. <string>false</string>
  411. </property>
  412. </item>
  413. </widget>
  414. </item>
  415. <item row="2" column="0">
  416. <widget class="QLabel" name="label_24">
  417. <property name="text">
  418. <string>rtp-ip</string>
  419. </property>
  420. </widget>
  421. </item>
  422. <item row="2" column="1">
  423. <widget class="QLineEdit" name="sofiaRtpIpEdit">
  424. <property name="text">
  425. <string>auto</string>
  426. </property>
  427. </widget>
  428. </item>
  429. <item row="3" column="0">
  430. <widget class="QLabel" name="label_25">
  431. <property name="text">
  432. <string>sip-ip</string>
  433. </property>
  434. </widget>
  435. </item>
  436. <item row="3" column="1">
  437. <widget class="QLineEdit" name="sofiaSipIpEdit">
  438. <property name="text">
  439. <string>auto</string>
  440. </property>
  441. </widget>
  442. </item>
  443. <item row="4" column="0">
  444. <widget class="QLabel" name="label_27">
  445. <property name="text">
  446. <string>apply-nat-acl</string>
  447. </property>
  448. </widget>
  449. </item>
  450. <item row="4" column="1">
  451. <widget class="QLineEdit" name="sofiaApplyNatAclEdit">
  452. <property name="text">
  453. <string>rfc1918</string>
  454. </property>
  455. </widget>
  456. </item>
  457. <item row="5" column="0">
  458. <widget class="QLabel" name="label_34">
  459. <property name="text">
  460. <string>ext-rtp-ip</string>
  461. </property>
  462. </widget>
  463. </item>
  464. <item row="5" column="1">
  465. <widget class="QLineEdit" name="sofiaExtRtpIpEdit">
  466. <property name="text">
  467. <string>stun:stun.freeswitch.org</string>
  468. </property>
  469. </widget>
  470. </item>
  471. <item row="6" column="0">
  472. <widget class="QLabel" name="label_35">
  473. <property name="text">
  474. <string>ext-sip-ip</string>
  475. </property>
  476. </widget>
  477. </item>
  478. <item row="6" column="1">
  479. <widget class="QLineEdit" name="sofiaExtSipIpEdit">
  480. <property name="text">
  481. <string>stun:stun.freeswitch.org</string>
  482. </property>
  483. </widget>
  484. </item>
  485. </layout>
  486. </widget>
  487. </item>
  488. </layout>
  489. </widget>
  490. <widget class="QWidget" name="tab_4">
  491. <attribute name="title">
  492. <string>Codecs</string>
  493. </attribute>
  494. <layout class="QFormLayout" name="formLayout_7">
  495. <property name="fieldGrowthPolicy">
  496. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  497. </property>
  498. <item row="0" column="0">
  499. <widget class="QLabel" name="label_30">
  500. <property name="text">
  501. <string>inbound-codec-negotiation</string>
  502. </property>
  503. </widget>
  504. </item>
  505. <item row="0" column="1">
  506. <widget class="QComboBox" name="sofiaInboundCodecNegotiationCombo">
  507. <item>
  508. <property name="text">
  509. <string>generous</string>
  510. </property>
  511. </item>
  512. <item>
  513. <property name="text">
  514. <string>greedy</string>
  515. </property>
  516. </item>
  517. </widget>
  518. </item>
  519. <item row="1" column="0">
  520. <widget class="QLabel" name="label_42">
  521. <property name="text">
  522. <string>Codecs</string>
  523. </property>
  524. </widget>
  525. </item>
  526. <item row="1" column="1">
  527. <widget class="CodecWidget" name="sofiaProfileCodecWidget" native="true"/>
  528. </item>
  529. </layout>
  530. </widget>
  531. <widget class="QWidget" name="tab_3">
  532. <attribute name="title">
  533. <string>Advanced</string>
  534. </attribute>
  535. <layout class="QVBoxLayout" name="verticalLayout_6">
  536. <item>
  537. <widget class="QGroupBox" name="groupBox_7">
  538. <property name="title">
  539. <string>Profile</string>
  540. </property>
  541. <layout class="QFormLayout" name="formLayout_8">
  542. <item row="0" column="0">
  543. <widget class="QLabel" name="label_17">
  544. <property name="text">
  545. <string>rfc2833-pt</string>
  546. </property>
  547. </widget>
  548. </item>
  549. <item row="0" column="1">
  550. <widget class="QLineEdit" name="sofiaRfc2833PtEdit">
  551. <property name="text">
  552. <string>101</string>
  553. </property>
  554. </widget>
  555. </item>
  556. <item row="1" column="0">
  557. <widget class="QLabel" name="label_5">
  558. <property name="text">
  559. <string>debug</string>
  560. </property>
  561. </widget>
  562. </item>
  563. <item row="1" column="1">
  564. <widget class="QSpinBox" name="sofiaDebugSpin"/>
  565. </item>
  566. <item row="2" column="0">
  567. <widget class="QLabel" name="label_6">
  568. <property name="text">
  569. <string>sip-trace</string>
  570. </property>
  571. </widget>
  572. </item>
  573. <item row="2" column="1">
  574. <widget class="QComboBox" name="sofiaSipTraceCombo">
  575. <item>
  576. <property name="text">
  577. <string>false</string>
  578. </property>
  579. </item>
  580. <item>
  581. <property name="text">
  582. <string>true</string>
  583. </property>
  584. </item>
  585. </widget>
  586. </item>
  587. <item row="3" column="0">
  588. <widget class="QLabel" name="label_20">
  589. <property name="text">
  590. <string>dtmf-duration</string>
  591. </property>
  592. </widget>
  593. </item>
  594. <item row="3" column="1">
  595. <widget class="QSpinBox" name="sofiaDtmfDurationSpin">
  596. <property name="maximum">
  597. <number>1000</number>
  598. </property>
  599. <property name="value">
  600. <number>100</number>
  601. </property>
  602. </widget>
  603. </item>
  604. <item row="4" column="0">
  605. <widget class="QLabel" name="label_23">
  606. <property name="text">
  607. <string>rtp-timer-name</string>
  608. </property>
  609. </widget>
  610. </item>
  611. <item row="4" column="1">
  612. <widget class="QLineEdit" name="sofiaRtpTimerNameEdit">
  613. <property name="text">
  614. <string>soft</string>
  615. </property>
  616. </widget>
  617. </item>
  618. <item row="5" column="0">
  619. <widget class="QLabel" name="label_28">
  620. <property name="text">
  621. <string>manage-presence</string>
  622. </property>
  623. </widget>
  624. </item>
  625. <item row="5" column="1">
  626. <widget class="QComboBox" name="sofiaManagePresenceCombo">
  627. <item>
  628. <property name="text">
  629. <string>false</string>
  630. </property>
  631. </item>
  632. <item>
  633. <property name="text">
  634. <string>true</string>
  635. </property>
  636. </item>
  637. </widget>
  638. </item>
  639. <item row="6" column="0">
  640. <widget class="QLabel" name="label_29">
  641. <property name="text">
  642. <string>max-proceeding</string>
  643. </property>
  644. </widget>
  645. </item>
  646. <item row="6" column="1">
  647. <widget class="QSpinBox" name="sofiaMaxProceedingEdit">
  648. <property name="value">
  649. <number>3</number>
  650. </property>
  651. </widget>
  652. </item>
  653. <item row="7" column="0">
  654. <widget class="QLabel" name="label_31">
  655. <property name="text">
  656. <string>nonce-ttl</string>
  657. </property>
  658. </widget>
  659. </item>
  660. <item row="7" column="1">
  661. <widget class="QSpinBox" name="sofiaNonceTtlSpin">
  662. <property name="value">
  663. <number>60</number>
  664. </property>
  665. </widget>
  666. </item>
  667. <item row="8" column="0">
  668. <widget class="QLabel" name="label_36">
  669. <property name="text">
  670. <string>rtp-timeout-sec</string>
  671. </property>
  672. </widget>
  673. </item>
  674. <item row="8" column="1">
  675. <widget class="QSpinBox" name="sofiaRtpTimeoutSecSpin">
  676. <property name="maximum">
  677. <number>1000</number>
  678. </property>
  679. <property name="value">
  680. <number>300</number>
  681. </property>
  682. </widget>
  683. </item>
  684. <item row="9" column="0">
  685. <widget class="QLabel" name="label_37">
  686. <property name="text">
  687. <string>rtp-hold-timeout-sec</string>
  688. </property>
  689. </widget>
  690. </item>
  691. <item row="9" column="1">
  692. <widget class="QSpinBox" name="sofiaRtpHoldTimeoutSecSpin">
  693. <property name="maximum">
  694. <number>5000</number>
  695. </property>
  696. <property name="value">
  697. <number>1800</number>
  698. </property>
  699. </widget>
  700. </item>
  701. <item row="10" column="0">
  702. <widget class="QLabel" name="label_32">
  703. <property name="text">
  704. <string>auth-calls</string>
  705. </property>
  706. </widget>
  707. </item>
  708. <item row="10" column="1">
  709. <widget class="QComboBox" name="sofiaAuthCallsCombo">
  710. <item>
  711. <property name="text">
  712. <string>false</string>
  713. </property>
  714. </item>
  715. <item>
  716. <property name="text">
  717. <string>true</string>
  718. </property>
  719. </item>
  720. </widget>
  721. </item>
  722. <item row="11" column="0">
  723. <widget class="QLabel" name="label_33">
  724. <property name="text">
  725. <string>auth-all-packets</string>
  726. </property>
  727. </widget>
  728. </item>
  729. <item row="11" column="1">
  730. <widget class="QComboBox" name="sofiaAuthAllPacketsCombo">
  731. <item>
  732. <property name="text">
  733. <string>false</string>
  734. </property>
  735. </item>
  736. <item>
  737. <property name="text">
  738. <string>true</string>
  739. </property>
  740. </item>
  741. </widget>
  742. </item>
  743. <item row="12" column="0">
  744. <widget class="QLabel" name="label_38">
  745. <property name="text">
  746. <string>disable-register</string>
  747. </property>
  748. </widget>
  749. </item>
  750. <item row="12" column="1">
  751. <widget class="QComboBox" name="sofiaDisableRegisterCombo">
  752. <item>
  753. <property name="text">
  754. <string>true</string>
  755. </property>
  756. </item>
  757. <item>
  758. <property name="text">
  759. <string>false</string>
  760. </property>
  761. </item>
  762. </widget>
  763. </item>
  764. <item row="13" column="0">
  765. <widget class="QLabel" name="label_39">
  766. <property name="text">
  767. <string>challenge-realm</string>
  768. </property>
  769. </widget>
  770. </item>
  771. <item row="13" column="1">
  772. <widget class="QComboBox" name="sofiaChallengeRealmCombo">
  773. <item>
  774. <property name="text">
  775. <string>auto_from</string>
  776. </property>
  777. </item>
  778. <item>
  779. <property name="text">
  780. <string>auto_to</string>
  781. </property>
  782. </item>
  783. </widget>
  784. </item>
  785. </layout>
  786. </widget>
  787. </item>
  788. </layout>
  789. </widget>
  790. </widget>
  791. </item>
  792. </layout>
  793. </widget>
  794. <widget class="QWidget" name="portaudioPage">
  795. <layout class="QVBoxLayout" name="verticalLayout">
  796. <item>
  797. <widget class="QTabWidget" name="tabWidget_2">
  798. <property name="currentIndex">
  799. <number>0</number>
  800. </property>
  801. <widget class="QWidget" name="tab_5">
  802. <attribute name="title">
  803. <string>General</string>
  804. </attribute>
  805. <layout class="QVBoxLayout" name="verticalLayout_9">
  806. <item>
  807. <widget class="QGroupBox" name="groupBox_3">
  808. <property name="sizePolicy">
  809. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  810. <horstretch>0</horstretch>
  811. <verstretch>0</verstretch>
  812. </sizepolicy>
  813. </property>
  814. <property name="title">
  815. <string>Devices</string>
  816. </property>
  817. <layout class="QFormLayout" name="formLayout_3">
  818. <item row="0" column="0">
  819. <widget class="QLabel" name="label_7">
  820. <property name="text">
  821. <string>indev</string>
  822. </property>
  823. </widget>
  824. </item>
  825. <item row="0" column="1">
  826. <widget class="QComboBox" name="PaIndevCombo"/>
  827. </item>
  828. <item row="1" column="0">
  829. <widget class="QLabel" name="label_8">
  830. <property name="text">
  831. <string>outdev</string>
  832. </property>
  833. </widget>
  834. </item>
  835. <item row="1" column="1">
  836. <layout class="QHBoxLayout" name="horizontalLayout_3">
  837. <item>
  838. <widget class="QComboBox" name="PaOutdevCombo"/>
  839. </item>
  840. <item>
  841. <widget class="QPushButton" name="PaOutdevTestBtn">
  842. <property name="enabled">
  843. <bool>false</bool>
  844. </property>
  845. <property name="maximumSize">
  846. <size>
  847. <width>86</width>
  848. <height>27</height>
  849. </size>
  850. </property>
  851. <property name="text">
  852. <string>Test</string>
  853. </property>
  854. </widget>
  855. </item>
  856. </layout>
  857. </item>
  858. <item row="2" column="0">
  859. <widget class="QLabel" name="label_9">
  860. <property name="text">
  861. <string>rindgev</string>
  862. </property>
  863. </widget>
  864. </item>
  865. <item row="2" column="1">
  866. <layout class="QHBoxLayout" name="horizontalLayout_2">
  867. <item>
  868. <widget class="QComboBox" name="PaRingdevCombo"/>
  869. </item>
  870. <item>
  871. <widget class="QPushButton" name="PaRingdevTestBtn">
  872. <property name="enabled">
  873. <bool>true</bool>
  874. </property>
  875. <property name="maximumSize">
  876. <size>
  877. <width>86</width>
  878. <height>27</height>
  879. </size>
  880. </property>
  881. <property name="text">
  882. <string>Test</string>
  883. </property>
  884. </widget>
  885. </item>
  886. </layout>
  887. </item>
  888. <item row="3" column="1">
  889. <layout class="QHBoxLayout" name="horizontalLayout_6">
  890. <item>
  891. <widget class="QPushButton" name="PaLoopTestBtn">
  892. <property name="text">
  893. <string>Loop Test</string>
  894. </property>
  895. </widget>
  896. </item>
  897. <item>
  898. <widget class="QPushButton" name="PaRefreshDevListBtn">
  899. <property name="text">
  900. <string>Refresh DevList</string>
  901. </property>
  902. </widget>
  903. </item>
  904. </layout>
  905. </item>
  906. <item row="4" column="0">
  907. <widget class="QLabel" name="label_40">
  908. <property name="text">
  909. <string>Sample Rate</string>
  910. </property>
  911. </widget>
  912. </item>
  913. <item row="4" column="1">
  914. <widget class="QLineEdit" name="PaSampleRateEdit">
  915. <property name="text">
  916. <string>16000</string>
  917. </property>
  918. </widget>
  919. </item>
  920. <item row="5" column="0">
  921. <widget class="QLabel" name="label_41">
  922. <property name="text">
  923. <string>Codec MS</string>
  924. </property>
  925. </widget>
  926. </item>
  927. <item row="5" column="1">
  928. <widget class="QLineEdit" name="PaCodecMSEdit">
  929. <property name="text">
  930. <string>10</string>
  931. </property>
  932. </widget>
  933. </item>
  934. </layout>
  935. </widget>
  936. </item>
  937. <item>
  938. <widget class="QGroupBox" name="groupBox_4">
  939. <property name="sizePolicy">
  940. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  941. <horstretch>0</horstretch>
  942. <verstretch>0</verstretch>
  943. </sizepolicy>
  944. </property>
  945. <property name="title">
  946. <string>Files</string>
  947. </property>
  948. <layout class="QFormLayout" name="formLayout_5">
  949. <item row="0" column="0">
  950. <widget class="QLabel" name="label_10">
  951. <property name="text">
  952. <string>ring-file</string>
  953. </property>
  954. </widget>
  955. </item>
  956. <item row="0" column="1">
  957. <layout class="QHBoxLayout" name="horizontalLayout_4">
  958. <item>
  959. <widget class="QLineEdit" name="PaRingFileEdit">
  960. <property name="text">
  961. <string>tone_stream://%(2000,4000,440.0,480.0);loops=20</string>
  962. </property>
  963. </widget>
  964. </item>
  965. <item>
  966. <widget class="QPushButton" name="PaRingFileBtn">
  967. <property name="text">
  968. <string>Open</string>
  969. </property>
  970. </widget>
  971. </item>
  972. </layout>
  973. </item>
  974. <item row="1" column="0">
  975. <widget class="QLabel" name="label_12">
  976. <property name="text">
  977. <string>ring-interval</string>
  978. </property>
  979. </widget>
  980. </item>
  981. <item row="1" column="1">
  982. <widget class="QSpinBox" name="PaRingIntervalSpin">
  983. <property name="value">
  984. <number>5</number>
  985. </property>
  986. </widget>
  987. </item>
  988. <item row="2" column="0">
  989. <widget class="QLabel" name="label_11">
  990. <property name="text">
  991. <string>hold-file</string>
  992. </property>
  993. </widget>
  994. </item>
  995. <item row="2" column="1">
  996. <layout class="QHBoxLayout" name="horizontalLayout">
  997. <item>
  998. <widget class="QLineEdit" name="PaHoldFileEdit">
  999. <property name="readOnly">
  1000. <bool>true</bool>
  1001. </property>
  1002. </widget>
  1003. </item>
  1004. <item>
  1005. <widget class="QPushButton" name="PaHoldFileBtn">
  1006. <property name="text">
  1007. <string>Open</string>
  1008. </property>
  1009. </widget>
  1010. </item>
  1011. </layout>
  1012. </item>
  1013. </layout>
  1014. </widget>
  1015. </item>
  1016. </layout>
  1017. </widget>
  1018. <widget class="QWidget" name="tab_6">
  1019. <attribute name="title">
  1020. <string>Preprocessor</string>
  1021. </attribute>
  1022. <layout class="QFormLayout" name="formLayout_9">
  1023. <item row="0" column="0" colspan="2">
  1024. <widget class="QLabel" name="label_21">
  1025. <property name="text">
  1026. <string>Echo canceller</string>
  1027. </property>
  1028. </widget>
  1029. </item>
  1030. <item row="1" column="1">
  1031. <widget class="QCheckBox" name="checkAECRead">
  1032. <property name="text">
  1033. <string>read</string>
  1034. </property>
  1035. </widget>
  1036. </item>
  1037. <item row="2" column="1">
  1038. <widget class="QCheckBox" name="checkAECWrite">
  1039. <property name="text">
  1040. <string>write</string>
  1041. </property>
  1042. </widget>
  1043. </item>
  1044. <item row="3" column="1">
  1045. <widget class="QLabel" name="label_45">
  1046. <property name="text">
  1047. <string>Tail</string>
  1048. </property>
  1049. </widget>
  1050. </item>
  1051. <item row="4" column="1">
  1052. <widget class="QSpinBox" name="spinAECTail"/>
  1053. </item>
  1054. <item row="5" column="0" colspan="2">
  1055. <widget class="QLabel" name="label_43">
  1056. <property name="text">
  1057. <string>Echo Suppressor</string>
  1058. </property>
  1059. </widget>
  1060. </item>
  1061. <item row="6" column="1">
  1062. <widget class="QCheckBox" name="checkESRead">
  1063. <property name="text">
  1064. <string>read</string>
  1065. </property>
  1066. </widget>
  1067. </item>
  1068. <item row="7" column="1">
  1069. <widget class="QCheckBox" name="checkESWrite">
  1070. <property name="text">
  1071. <string>write</string>
  1072. </property>
  1073. </widget>
  1074. </item>
  1075. <item row="8" column="1">
  1076. <widget class="QLabel" name="label_46">
  1077. <property name="text">
  1078. <string>Db</string>
  1079. </property>
  1080. </widget>
  1081. </item>
  1082. <item row="9" column="1">
  1083. <widget class="QSpinBox" name="spinESDb">
  1084. <property name="minimum">
  1085. <number>-99</number>
  1086. </property>
  1087. <property name="maximum">
  1088. <number>0</number>
  1089. </property>
  1090. </widget>
  1091. </item>
  1092. <item row="10" column="0" colspan="2">
  1093. <widget class="QLabel" name="label_47">
  1094. <property name="text">
  1095. <string>Noise Supressor</string>
  1096. </property>
  1097. </widget>
  1098. </item>
  1099. <item row="11" column="1">
  1100. <widget class="QCheckBox" name="checkNSRead">
  1101. <property name="text">
  1102. <string>read</string>
  1103. </property>
  1104. </widget>
  1105. </item>
  1106. <item row="12" column="1">
  1107. <widget class="QCheckBox" name="checkNSWrite">
  1108. <property name="text">
  1109. <string>write</string>
  1110. </property>
  1111. </widget>
  1112. </item>
  1113. <item row="13" column="1">
  1114. <widget class="QLabel" name="label_48">
  1115. <property name="text">
  1116. <string>Db</string>
  1117. </property>
  1118. </widget>
  1119. </item>
  1120. <item row="14" column="1">
  1121. <widget class="QSpinBox" name="spinNSDb"/>
  1122. </item>
  1123. <item row="16" column="1">
  1124. <widget class="QCheckBox" name="checkAGCRead">
  1125. <property name="text">
  1126. <string>read</string>
  1127. </property>
  1128. </widget>
  1129. </item>
  1130. <item row="17" column="1">
  1131. <widget class="QCheckBox" name="checkAGCWrite">
  1132. <property name="text">
  1133. <string>write</string>
  1134. </property>
  1135. </widget>
  1136. </item>
  1137. <item row="18" column="1">
  1138. <widget class="QSpinBox" name="spinAGC"/>
  1139. </item>
  1140. <item row="15" column="0">
  1141. <widget class="QLabel" name="label_44">
  1142. <property name="text">
  1143. <string>AGC</string>
  1144. </property>
  1145. </widget>
  1146. </item>
  1147. <item row="19" column="1">
  1148. <widget class="QPushButton" name="btnApplyPreprocessor">
  1149. <property name="text">
  1150. <string>Apply</string>
  1151. </property>
  1152. <property name="checkable">
  1153. <bool>true</bool>
  1154. </property>
  1155. </widget>
  1156. </item>
  1157. </layout>
  1158. </widget>
  1159. </widget>
  1160. </item>
  1161. </layout>
  1162. </widget>
  1163. </widget>
  1164. </item>
  1165. </layout>
  1166. </item>
  1167. <item>
  1168. <widget class="QDialogButtonBox" name="buttonBox">
  1169. <property name="orientation">
  1170. <enum>Qt::Horizontal</enum>
  1171. </property>
  1172. <property name="standardButtons">
  1173. <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  1174. </property>
  1175. </widget>
  1176. </item>
  1177. </layout>
  1178. </widget>
  1179. <customwidgets>
  1180. <customwidget>
  1181. <class>CodecWidget</class>
  1182. <extends>QWidget</extends>
  1183. <header>widgets/codecwidget.h</header>
  1184. <container>1</container>
  1185. </customwidget>
  1186. </customwidgets>
  1187. <resources>
  1188. <include location="../resources.qrc"/>
  1189. </resources>
  1190. <connections>
  1191. <connection>
  1192. <sender>buttonBox</sender>
  1193. <signal>accepted()</signal>
  1194. <receiver>PrefDialog</receiver>
  1195. <slot>accept()</slot>
  1196. <hints>
  1197. <hint type="sourcelabel">
  1198. <x>544</x>
  1199. <y>224</y>
  1200. </hint>
  1201. <hint type="destinationlabel">
  1202. <x>157</x>
  1203. <y>246</y>
  1204. </hint>
  1205. </hints>
  1206. </connection>
  1207. <connection>
  1208. <sender>buttonBox</sender>
  1209. <signal>rejected()</signal>
  1210. <receiver>PrefDialog</receiver>
  1211. <slot>reject()</slot>
  1212. <hints>
  1213. <hint type="sourcelabel">
  1214. <x>544</x>
  1215. <y>230</y>
  1216. </hint>
  1217. <hint type="destinationlabel">
  1218. <x>286</x>
  1219. <y>246</y>
  1220. </hint>
  1221. </hints>
  1222. </connection>
  1223. <connection>
  1224. <sender>listSections</sender>
  1225. <signal>currentRowChanged(int)</signal>
  1226. <receiver>stackedWidget</receiver>
  1227. <slot>setCurrentIndex(int)</slot>
  1228. <hints>
  1229. <hint type="sourcelabel">
  1230. <x>180</x>
  1231. <y>83</y>
  1232. </hint>
  1233. <hint type="destinationlabel">
  1234. <x>524</x>
  1235. <y>102</y>
  1236. </hint>
  1237. </hints>
  1238. </connection>
  1239. </connections>
  1240. </ui>