mainwindow.ui 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>716</width>
  10. <height>541</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>FSComm - A FreeSWITCH Communicator</string>
  15. </property>
  16. <widget class="QWidget" name="centralWidget">
  17. <layout class="QHBoxLayout" name="horizontalLayout_5">
  18. <item>
  19. <layout class="QVBoxLayout" name="verticalLayout_3">
  20. <item>
  21. <layout class="QVBoxLayout" name="verticalLayout_2">
  22. <item>
  23. <widget class="QTextEdit" name="textEdit">
  24. <property name="enabled">
  25. <bool>false</bool>
  26. </property>
  27. <property name="readOnly">
  28. <bool>true</bool>
  29. </property>
  30. </widget>
  31. </item>
  32. <item>
  33. <layout class="QHBoxLayout" name="horizontalLayout">
  34. <item>
  35. <widget class="QPushButton" name="newCallBtn">
  36. <property name="enabled">
  37. <bool>false</bool>
  38. </property>
  39. <property name="text">
  40. <string>New Call</string>
  41. </property>
  42. </widget>
  43. </item>
  44. <item>
  45. <widget class="QPushButton" name="btnHold">
  46. <property name="enabled">
  47. <bool>false</bool>
  48. </property>
  49. <property name="text">
  50. <string>Hold</string>
  51. </property>
  52. <property name="checkable">
  53. <bool>true</bool>
  54. </property>
  55. <property name="checked">
  56. <bool>false</bool>
  57. </property>
  58. </widget>
  59. </item>
  60. </layout>
  61. </item>
  62. <item>
  63. <layout class="QGridLayout" name="gridLayout_2">
  64. <item row="0" column="0">
  65. <widget class="QPushButton" name="answerBtn">
  66. <property name="enabled">
  67. <bool>false</bool>
  68. </property>
  69. <property name="text">
  70. <string>Answer</string>
  71. </property>
  72. </widget>
  73. </item>
  74. <item row="0" column="1">
  75. <widget class="QPushButton" name="hangupBtn">
  76. <property name="enabled">
  77. <bool>false</bool>
  78. </property>
  79. <property name="text">
  80. <string>Hangup</string>
  81. </property>
  82. </widget>
  83. </item>
  84. </layout>
  85. </item>
  86. <item>
  87. <layout class="QGridLayout" name="gridLayout">
  88. <item row="0" column="0">
  89. <widget class="QPushButton" name="dtmf1Btn">
  90. <property name="enabled">
  91. <bool>false</bool>
  92. </property>
  93. <property name="text">
  94. <string>1</string>
  95. </property>
  96. </widget>
  97. </item>
  98. <item row="0" column="1">
  99. <widget class="QPushButton" name="dtmf2Btn">
  100. <property name="enabled">
  101. <bool>false</bool>
  102. </property>
  103. <property name="text">
  104. <string>2</string>
  105. </property>
  106. </widget>
  107. </item>
  108. <item row="0" column="2">
  109. <widget class="QPushButton" name="dtmf3Btn">
  110. <property name="enabled">
  111. <bool>false</bool>
  112. </property>
  113. <property name="text">
  114. <string>3</string>
  115. </property>
  116. </widget>
  117. </item>
  118. <item row="1" column="0">
  119. <widget class="QPushButton" name="dtmf4Btn">
  120. <property name="enabled">
  121. <bool>false</bool>
  122. </property>
  123. <property name="text">
  124. <string>4</string>
  125. </property>
  126. </widget>
  127. </item>
  128. <item row="1" column="1">
  129. <widget class="QPushButton" name="dtmf5Btn">
  130. <property name="enabled">
  131. <bool>false</bool>
  132. </property>
  133. <property name="text">
  134. <string>5</string>
  135. </property>
  136. </widget>
  137. </item>
  138. <item row="1" column="2">
  139. <widget class="QPushButton" name="dtmf6Btn">
  140. <property name="enabled">
  141. <bool>false</bool>
  142. </property>
  143. <property name="text">
  144. <string>6</string>
  145. </property>
  146. </widget>
  147. </item>
  148. <item row="2" column="0">
  149. <widget class="QPushButton" name="dtmf7Btn">
  150. <property name="enabled">
  151. <bool>false</bool>
  152. </property>
  153. <property name="text">
  154. <string>7</string>
  155. </property>
  156. </widget>
  157. </item>
  158. <item row="2" column="1">
  159. <widget class="QPushButton" name="dtmf8Btn">
  160. <property name="enabled">
  161. <bool>false</bool>
  162. </property>
  163. <property name="text">
  164. <string>8</string>
  165. </property>
  166. </widget>
  167. </item>
  168. <item row="2" column="2">
  169. <widget class="QPushButton" name="dtmf9Btn">
  170. <property name="enabled">
  171. <bool>false</bool>
  172. </property>
  173. <property name="text">
  174. <string>9</string>
  175. </property>
  176. </widget>
  177. </item>
  178. <item row="3" column="0">
  179. <widget class="QPushButton" name="dtmfAstBtn">
  180. <property name="enabled">
  181. <bool>false</bool>
  182. </property>
  183. <property name="text">
  184. <string>*</string>
  185. </property>
  186. </widget>
  187. </item>
  188. <item row="3" column="1">
  189. <widget class="QPushButton" name="dtmf0Btn">
  190. <property name="enabled">
  191. <bool>false</bool>
  192. </property>
  193. <property name="text">
  194. <string>0</string>
  195. </property>
  196. </widget>
  197. </item>
  198. <item row="3" column="2">
  199. <widget class="QPushButton" name="dtmfPoundBtn">
  200. <property name="enabled">
  201. <bool>false</bool>
  202. </property>
  203. <property name="text">
  204. <string>#</string>
  205. </property>
  206. </widget>
  207. </item>
  208. <item row="0" column="3">
  209. <widget class="QPushButton" name="dtmfABtn">
  210. <property name="enabled">
  211. <bool>false</bool>
  212. </property>
  213. <property name="text">
  214. <string>A</string>
  215. </property>
  216. </widget>
  217. </item>
  218. <item row="1" column="3">
  219. <widget class="QPushButton" name="dtmfBBtn">
  220. <property name="enabled">
  221. <bool>false</bool>
  222. </property>
  223. <property name="text">
  224. <string>B</string>
  225. </property>
  226. </widget>
  227. </item>
  228. <item row="3" column="3">
  229. <widget class="QPushButton" name="dtmfDBtn">
  230. <property name="enabled">
  231. <bool>false</bool>
  232. </property>
  233. <property name="text">
  234. <string>D</string>
  235. </property>
  236. </widget>
  237. </item>
  238. <item row="2" column="3">
  239. <widget class="QPushButton" name="dtmfCBtn">
  240. <property name="enabled">
  241. <bool>false</bool>
  242. </property>
  243. <property name="text">
  244. <string>C</string>
  245. </property>
  246. </widget>
  247. </item>
  248. </layout>
  249. </item>
  250. </layout>
  251. </item>
  252. <item>
  253. <layout class="QHBoxLayout" name="horizontalLayout_4">
  254. <item>
  255. <widget class="QPushButton" name="btnTransfer">
  256. <property name="enabled">
  257. <bool>false</bool>
  258. </property>
  259. <property name="text">
  260. <string>Transfer</string>
  261. </property>
  262. </widget>
  263. </item>
  264. <item>
  265. <widget class="QPushButton" name="recoredCallBtn">
  266. <property name="enabled">
  267. <bool>false</bool>
  268. </property>
  269. <property name="text">
  270. <string>Record</string>
  271. </property>
  272. </widget>
  273. </item>
  274. </layout>
  275. </item>
  276. </layout>
  277. </item>
  278. <item>
  279. <layout class="QVBoxLayout" name="verticalLayout">
  280. <item>
  281. <widget class="QGroupBox" name="groupBox">
  282. <property name="title">
  283. <string>Active Calls</string>
  284. </property>
  285. <layout class="QHBoxLayout" name="horizontalLayout_3">
  286. <item>
  287. <widget class="QTableWidget" name="tableCalls">
  288. <property name="editTriggers">
  289. <set>QAbstractItemView::NoEditTriggers</set>
  290. </property>
  291. <property name="selectionMode">
  292. <enum>QAbstractItemView::SingleSelection</enum>
  293. </property>
  294. <property name="selectionBehavior">
  295. <enum>QAbstractItemView::SelectRows</enum>
  296. </property>
  297. <property name="showGrid">
  298. <bool>false</bool>
  299. </property>
  300. <column>
  301. <property name="text">
  302. <string>To/From</string>
  303. </property>
  304. </column>
  305. <column>
  306. <property name="text">
  307. <string>Status</string>
  308. </property>
  309. </column>
  310. <column>
  311. <property name="text">
  312. <string>Time</string>
  313. </property>
  314. </column>
  315. </widget>
  316. </item>
  317. </layout>
  318. </widget>
  319. </item>
  320. <item>
  321. <widget class="QGroupBox" name="groupBox_2">
  322. <property name="title">
  323. <string>Active Accounts</string>
  324. </property>
  325. <layout class="QHBoxLayout" name="horizontalLayout_2">
  326. <item>
  327. <widget class="QTableWidget" name="tableAccounts">
  328. <property name="contextMenuPolicy">
  329. <enum>Qt::ActionsContextMenu</enum>
  330. </property>
  331. <property name="editTriggers">
  332. <set>QAbstractItemView::NoEditTriggers</set>
  333. </property>
  334. <property name="alternatingRowColors">
  335. <bool>false</bool>
  336. </property>
  337. <property name="selectionMode">
  338. <enum>QAbstractItemView::SingleSelection</enum>
  339. </property>
  340. <property name="selectionBehavior">
  341. <enum>QAbstractItemView::SelectRows</enum>
  342. </property>
  343. <property name="showGrid">
  344. <bool>false</bool>
  345. </property>
  346. <property name="cornerButtonEnabled">
  347. <bool>true</bool>
  348. </property>
  349. <property name="rowCount">
  350. <number>0</number>
  351. </property>
  352. <attribute name="horizontalHeaderVisible">
  353. <bool>true</bool>
  354. </attribute>
  355. <attribute name="horizontalHeaderCascadingSectionResizes">
  356. <bool>false</bool>
  357. </attribute>
  358. <attribute name="verticalHeaderVisible">
  359. <bool>false</bool>
  360. </attribute>
  361. <attribute name="verticalHeaderHighlightSections">
  362. <bool>false</bool>
  363. </attribute>
  364. <column>
  365. <property name="text">
  366. <string>Account</string>
  367. </property>
  368. </column>
  369. <column>
  370. <property name="text">
  371. <string>Status</string>
  372. </property>
  373. </column>
  374. </widget>
  375. </item>
  376. </layout>
  377. </widget>
  378. </item>
  379. </layout>
  380. </item>
  381. </layout>
  382. </widget>
  383. <widget class="QMenuBar" name="menuBar">
  384. <property name="geometry">
  385. <rect>
  386. <x>0</x>
  387. <y>0</y>
  388. <width>716</width>
  389. <height>24</height>
  390. </rect>
  391. </property>
  392. <widget class="QMenu" name="menu_File">
  393. <property name="title">
  394. <string>&amp;File</string>
  395. </property>
  396. <addaction name="action_Preferences"/>
  397. <addaction name="separator"/>
  398. <addaction name="action_Exit"/>
  399. </widget>
  400. <widget class="QMenu" name="menuHelp">
  401. <property name="title">
  402. <string>Help</string>
  403. </property>
  404. <addaction name="actionAbout"/>
  405. </widget>
  406. <widget class="QMenu" name="menuTools">
  407. <property name="title">
  408. <string>&amp;Tools</string>
  409. </property>
  410. <widget class="QMenu" name="menuDebug">
  411. <property name="title">
  412. <string>&amp;Debug</string>
  413. </property>
  414. <addaction name="actionConsole"/>
  415. <addaction name="actionEvents"/>
  416. </widget>
  417. <addaction name="menuDebug"/>
  418. </widget>
  419. <addaction name="menu_File"/>
  420. <addaction name="menuTools"/>
  421. <addaction name="menuHelp"/>
  422. </widget>
  423. <widget class="QToolBar" name="mainToolBar">
  424. <attribute name="toolBarArea">
  425. <enum>TopToolBarArea</enum>
  426. </attribute>
  427. <attribute name="toolBarBreak">
  428. <bool>false</bool>
  429. </attribute>
  430. </widget>
  431. <widget class="QStatusBar" name="statusBar"/>
  432. <action name="action_Preferences">
  433. <property name="text">
  434. <string>&amp;Preferences</string>
  435. </property>
  436. </action>
  437. <action name="action_Exit">
  438. <property name="text">
  439. <string>&amp;Exit</string>
  440. </property>
  441. </action>
  442. <action name="actionAbout">
  443. <property name="text">
  444. <string>About</string>
  445. </property>
  446. </action>
  447. <action name="actionSetDefaultAccount">
  448. <property name="text">
  449. <string>Set Default Account</string>
  450. </property>
  451. <property name="toolTip">
  452. <string>Set the default account for dialing out.</string>
  453. </property>
  454. </action>
  455. <action name="actionConsole">
  456. <property name="text">
  457. <string>Console</string>
  458. </property>
  459. </action>
  460. <action name="actionEvents">
  461. <property name="text">
  462. <string>Events</string>
  463. </property>
  464. </action>
  465. </widget>
  466. <layoutdefault spacing="6" margin="11"/>
  467. <resources/>
  468. <connections/>
  469. </ui>