summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt5
-rw-r--r--src/CMakeLists.txt16
-rw-r--r--src/gui/CMakeLists.txt103
-rw-r--r--src/gui/addresscardform.ui423
-rw-r--r--src/gui/authenticationform.ui611
-rw-r--r--src/gui/buddyform.ui443
-rw-r--r--src/gui/diamondcardprofileform.ui344
-rw-r--r--src/gui/getaddressform.ui786
-rw-r--r--src/gui/gui.cpp8
-rw-r--r--src/gui/gui.h6
-rw-r--r--src/gui/historyform.ui776
-rw-r--r--src/gui/inviteform.ui639
-rw-r--r--src/gui/messageform.ui494
-rw-r--r--src/gui/messageformview.h4
-rw-r--r--src/gui/mphoneform.ui4632
-rw-r--r--src/gui/redirectform.ui538
-rw-r--r--src/gui/selectnicform.ui360
-rw-r--r--src/gui/selectprofileform.ui645
-rw-r--r--src/gui/selectuserform.ui342
-rw-r--r--src/gui/sendfileform.ui370
-rw-r--r--src/gui/srvredirectform.ui1402
-rw-r--r--src/gui/syssettingsform.ui3181
-rw-r--r--src/gui/termcapform.ui408
-rw-r--r--src/gui/transferform.ui453
-rw-r--r--src/gui/userprofileform.ui9778
-rw-r--r--src/gui/wizardform.ui652
26 files changed, 12401 insertions, 15018 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b134e85..82aa36e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,7 +12,7 @@ OPTION(WITH_ILBC "Enable the iLBC codec" OFF)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
include (CheckIncludeFile)
-find_package(Qt4 REQUIRED)
+find_package(Qt4 REQUIRED COMPONENTS QTGUI QT3SUPPORT)
find_package(LibXml2 REQUIRED)
find_package(ALSA REQUIRED)
find_package(LibMagic REQUIRED)
@@ -22,7 +22,8 @@ find_package(BISON REQUIRED)
find_package(FLEX REQUIRED)
find_package(Boost REQUIRED COMPONENTS regex)
-include_directories(${LIBXML2_INCLUDE_DIR})
+include_directories(${LIBXML2_INCLUDE_DIR} ${QT_QT3SUPPORT_INCLUDE_DIR}
+ ${QT_QTCORE_INCLUDE_DIR} ${QT_QTGUI_INCLUDE_DIR} ${QT_INCLUDE_DIR})
if (WITH_ZRTP)
find_package(Zrtpcpp)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9bed19e..e849385 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -17,7 +17,6 @@ add_subdirectory(threads)
add_subdirectory(utils)
set(LIBTWINKLE_SRCS
- main.cpp
abstract_dialog.cpp
address_book.cpp
auth.cpp
@@ -51,7 +50,13 @@ set(LIBTWINKLE_SRCS
user.cpp
userintf.cpp
util.cpp
-
+)
+
+add_library(libtwinkle OBJECT ${LIBTWINKLE_SRCS})
+
+add_executable(twinkle-console
+ main.cpp
+ $<TARGET_OBJECTS:libtwinkle>
$<TARGET_OBJECTS:libtwinkle-audio>
$<TARGET_OBJECTS:libtwinkle-gsm>
$<TARGET_OBJECTS:libtwinkle-audits>
@@ -67,14 +72,13 @@ set(LIBTWINKLE_SRCS
$<TARGET_OBJECTS:libtwinkle-utils>
)
-add_executable(twinkle
- ${LIBTWINKLE_SRCS})
+add_subdirectory(gui)
-target_link_libraries(twinkle -lpthread -lresolv ${LibMagic_LIBRARY} ${LIBXML2_LIBRARIES}
+target_link_libraries(twinkle-console -lpthread -lresolv ${LibMagic_LIBRARY} ${LIBXML2_LIBRARIES}
${Readline_LIBRARY} ${ILBC_LIBRARIES} ${SPEEX_LIBRARIES} ${ZRTPCPP_LIBRARIES}
${CCRTP_LIBRARIES} ${COMMONCPP_LIBRARIES} ${UCOMMON_LIBRARIES} ${LIBSNDFILE_LIBRARY}
${Boost_LIBRARIES})
-install(TARGETS twinkle DESTINATION bin)
+install(TARGETS twinkle-console DESTINATION bin)
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
new file mode 100644
index 0000000..16d1c3a
--- /dev/null
+++ b/src/gui/CMakeLists.txt
@@ -0,0 +1,103 @@
+project(twinkle-gui)
+
+add_definitions(-DQT3_SUPPORT)
+include_directories(${CMAKE_CURRENT_BINARY_DIR})
+include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+
+qt4_wrap_ui(
+ twinkle_UIS
+ addresscardform.ui
+ authenticationform.ui
+ buddyform.ui
+ deregisterform.ui
+ diamondcardprofileform.ui
+ dtmfform.ui
+ getaddressform.ui
+ getprofilenameform.ui
+ historyform.ui
+ inviteform.ui
+ logviewform.ui
+ messageform.ui
+ mphoneform.ui
+ numberconversionform.ui
+ redirectform.ui
+ selectnicform.ui
+ selectprofileform.ui
+ selectuserform.ui
+ sendfileform.ui
+ srvredirectform.ui
+ syssettingsform.ui
+ termcapform.ui
+ transferform.ui
+ userprofileform.ui
+ wizardform.ui
+)
+
+qt4_add_resources(twinkle_QRC icons.qrc)
+
+qt4_wrap_cpp(twinkle_MOC
+ gui.h
+ dtmfform.h
+ deregisterform.h
+ logviewform.h
+ numberconversionform.h
+ getprofilenameform.h
+ historylistview.h
+ freedesksystray.h
+ twinklesystray.h
+ address_finder.h
+ qt_translator.h
+ core_strings.h
+ addresslistviewitem.h
+ yesnodialog.h
+ command_args.h
+ messageformview.h
+ buddylistview.h
+ textbrowsernoautolink.h
+ twinkleapplication.h
+)
+
+set(TWINKLE_GUI-SRCS
+ address_finder.cpp
+ addresslistviewitem.cpp
+ buddylistview.cpp
+ deregisterform.cpp
+ dtmfform.cpp
+ freedesksystray.cpp
+ getprofilenameform.cpp
+ gui.cpp
+ historylistview.cpp
+ logviewform.cpp
+ main.cpp
+ messageformview.cpp
+ numberconversionform.cpp
+ twinkleapplication.cpp
+ twinklesystray.cpp
+ yesnodialog.cpp
+
+ $<TARGET_OBJECTS:libtwinkle>
+ $<TARGET_OBJECTS:libtwinkle-audio>
+ $<TARGET_OBJECTS:libtwinkle-gsm>
+ $<TARGET_OBJECTS:libtwinkle-audits>
+ $<TARGET_OBJECTS:libtwinkle-im>
+ $<TARGET_OBJECTS:libtwinkle-mwi>
+ $<TARGET_OBJECTS:libtwinkle-parser>
+ $<TARGET_OBJECTS:libtwinkle-patterns>
+ $<TARGET_OBJECTS:libtwinkle-presence>
+ $<TARGET_OBJECTS:libtwinkle-sdp>
+ $<TARGET_OBJECTS:libtwinkle-sockets>
+ $<TARGET_OBJECTS:libtwinkle-stun>
+ $<TARGET_OBJECTS:libtwinkle-threads>
+ $<TARGET_OBJECTS:libtwinkle-utils>
+ ${twinkle_UIS}
+ ${twinkle_QRC}
+ ${twinkle_MOC}
+)
+
+add_executable(twinkle ${TWINKLE_GUI-SRCS})
+target_link_libraries(twinkle -lpthread -lresolv ${LibMagic_LIBRARY} ${LIBXML2_LIBRARIES}
+ ${Readline_LIBRARY} ${ILBC_LIBRARIES} ${SPEEX_LIBRARIES} ${ZRTPCPP_LIBRARIES}
+ ${CCRTP_LIBRARIES} ${COMMONCPP_LIBRARIES} ${UCOMMON_LIBRARIES} ${LIBSNDFILE_LIBRARY}
+ ${Boost_LIBRARIES} ${QT_LIBRARIES})
+
+install(TARGETS twinkle DESTINATION bin)
diff --git a/src/gui/addresscardform.ui b/src/gui/addresscardform.ui
index 7532b11..6bddf60 100644
--- a/src/gui/addresscardform.ui
+++ b/src/gui/addresscardform.ui
@@ -1,215 +1,190 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>AddressCardForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>AddressCardForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>AddressCardForm</class>
+ <widget class="QDialog" name="AddressCardForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>604</width>
- <height>209</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>604</width>
+ <height>209</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Address Card</string>
+ <property name="windowTitle">
+ <string>Twinkle - Address Card</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout73</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="4" column="0">
- <property name="name">
- <cstring>remarkTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Remark:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>remarkLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>infixNameLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Infix name of contact.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>firstNameLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>First name of contact.</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>firstNameTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;First name:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>firstNameLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="4" column="1">
- <property name="name">
- <cstring>remarkLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>You may place any remark about the contact here.</string>
- </property>
- </widget>
- <widget class="QLabel" row="3" column="0">
- <property name="name">
- <cstring>phoneTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Phone:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>phoneLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>infixNameTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Infix name:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>infixNameLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="3" column="1">
- <property name="name">
- <cstring>phoneLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Phone number or SIP address of contact.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="2" column="1">
- <property name="name">
- <cstring>lastNameLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Last name of contact.</string>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>lastNameTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Last name:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>lastNameLineEdit</cstring>
- </property>
- </widget>
- </grid>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer100</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QGridLayout">
+ <item row="4" column="0">
+ <widget class="QLabel" name="remarkTextLabel">
+ <property name="text">
+ <string>&amp;Remark:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>remarkLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="infixNameLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Infix name of contact.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="firstNameLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>First name of contact.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="firstNameTextLabel">
+ <property name="text">
+ <string>&amp;First name:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>firstNameLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="1">
+ <widget class="QLineEdit" name="remarkLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>You may place any remark about the contact here.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="phoneTextLabel">
+ <property name="text">
+ <string>&amp;Phone:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>phoneLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="infixNameTextLabel">
+ <property name="text">
+ <string>&amp;Infix name:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>infixNameLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <widget class="QLineEdit" name="phoneLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Phone number or SIP address of contact.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QLineEdit" name="lastNameLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Last name of contact.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="lastNameTextLabel">
+ <property name="text">
+ <string>&amp;Last name:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>lastNameLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="spacer100">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer99">
+ <property name="sizeHint">
<size>
- <width>20</width>
- <height>31</height>
+ <width>261</width>
+ <height>20</height>
</size>
- </property>
- </spacer>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout72</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer99</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>261</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="accel">
- <string>Alt+O</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>cancelPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- <property name="accel">
- <string>Alt+C</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
-</widget>
-<connections>
- <connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>AddressCardForm</receiver>
- <slot>validate()</slot>
- </connection>
- <connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>AddressCardForm</receiver>
- <slot>reject()</slot>
- </connection>
-</connections>
-<tabstops>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+O</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+C</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
<tabstop>firstNameLineEdit</tabstop>
<tabstop>infixNameLineEdit</tabstop>
<tabstop>lastNameLineEdit</tabstop>
@@ -217,18 +192,22 @@
<tabstop>remarkLineEdit</tabstop>
<tabstop>okPushButton</tabstop>
<tabstop>cancelPushButton</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in declaration">address_book.h</include>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">addresscardform.ui.h</include>
-</includes>
-<slots>
- <slot>validate()</slot>
-</slots>
-<functions>
- <function returnType="int">exec( t_address_card &amp; card )</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </tabstops>
+ <includes>
+ <include location="local">address_book.h</include>
+ </includes>
+ <connections>
+ <connection>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>AddressCardForm</receiver>
+ <slot>validate()</slot>
+ </connection>
+ <connection>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>AddressCardForm</receiver>
+ <slot>reject()</slot>
+ </connection>
+ </connections>
+</ui>
diff --git a/src/gui/authenticationform.ui b/src/gui/authenticationform.ui
index acd98d1..1fdfffc 100644
--- a/src/gui/authenticationform.ui
+++ b/src/gui/authenticationform.ui
@@ -1,340 +1,291 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>AuthenticationForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>AuthenticationForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>AuthenticationForm</class>
+ <widget class="QDialog" name="AuthenticationForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>582</width>
- <height>198</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>582</width>
+ <height>198</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Authentication</string>
+ <property name="windowTitle">
+ <string>Twinkle - Authentication</string>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget" row="0" column="0" rowspan="5" colspan="1">
- <property name="name">
- <cstring>layout33</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>authIconTextLabel</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>password.png</pixmap>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer46</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>51</height>
- </size>
- </property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QLayoutWidget" row="0" column="1">
- <property name="name">
- <cstring>layout9</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="1" column="1">
- <property name="name">
- <cstring>userValueTextLabel</cstring>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>0</red>
- <green>85</green>
- <blue>255</blue>
- </color>
- </property>
- <property name="text">
- <string>user</string>
- <comment>No need to translate</comment>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The user for which authentication is requested.</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="1">
- <property name="name">
- <cstring>profileValueTextLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>0</red>
- <green>85</green>
- <blue>255</blue>
- </color>
- </property>
- <property name="text">
- <string>profile</string>
- <comment>No need to translate</comment>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The user profile of the user for which authentication is requested.</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>profileTextLabel</cstring>
- </property>
- <property name="text">
- <string>User profile:</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>userTextLabel</cstring>
- </property>
- <property name="text">
- <string>User:</string>
- </property>
- </widget>
- </grid>
- </widget>
- <widget class="QLayoutWidget" row="2" column="1">
- <property name="name">
- <cstring>layout10</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>passwordTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Password:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>passwordLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>passwordLineEdit</cstring>
- </property>
- <property name="minimumSize">
- <size>
- <width>200</width>
- <height>0</height>
- </size>
- </property>
- <property name="echoMode">
- <enum>Password</enum>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Your password for authentication.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>usernameLineEdit</cstring>
- </property>
- <property name="minimumSize">
- <size>
- <width>200</width>
- <height>0</height>
- </size>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Your SIP authentication name. Quite often this is the same as your SIP user name. It can be a different name though.</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>usernameTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;User name:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>usernameLineEdit</cstring>
- </property>
- </widget>
- </grid>
- </widget>
- <spacer row="3" column="1">
- <property name="name">
- <cstring>spacer13</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
+ <layout class="QGridLayout">
+ <item row="0" column="0" rowspan="5" colspan="1">
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="authIconTextLabel">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="pixmap">
+ <pixmap>password.png</pixmap>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer46">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>51</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item row="0" column="1">
+ <layout class="QGridLayout">
+ <item row="1" column="1">
+ <widget class="QLabel" name="userValueTextLabel">
+ <property name="text">
+ <string comment="No need to translate">user</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The user for which authentication is requested.</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLabel" name="profileValueTextLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">profile</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The user profile of the user for which authentication is requested.</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="profileTextLabel">
+ <property name="text">
+ <string>User profile:</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="userTextLabel">
+ <property name="text">
+ <string>User:</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="2" column="1">
+ <layout class="QGridLayout">
+ <item row="1" column="0">
+ <widget class="QLabel" name="passwordTextLabel">
+ <property name="text">
+ <string>&amp;Password:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>passwordLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="passwordLineEdit">
+ <property name="minimumSize">
+ <size>
+ <width>200</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="echoMode">
+ <enum>QLineEdit::Password</enum>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Your password for authentication.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="usernameLineEdit">
+ <property name="minimumSize">
<size>
- <width>20</width>
- <height>16</height>
+ <width>200</width>
+ <height>0</height>
</size>
- </property>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Your SIP authentication name. Quite often this is the same as your SIP user name. It can be a different name though.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="usernameTextLabel">
+ <property name="text">
+ <string>&amp;User name:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>usernameLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="3" column="1">
+ <spacer name="spacer13">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
</spacer>
- <widget class="QLayoutWidget" row="4" column="1">
- <property name="name">
- <cstring>layout22</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer12</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>101</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>cancelPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="QLayoutWidget" row="1" column="1">
- <property name="name">
- <cstring>layout13</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>authTextLabel</cstring>
- </property>
- <property name="maximumSize">
- <size>
- <width>32767</width>
- <height>32767</height>
- </size>
- </property>
- <property name="text">
- <string>Login required for realm:</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>realmTextLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>0</red>
- <green>85</green>
- <blue>255</blue>
- </color>
- </property>
- <property name="text">
- <string>realm</string>
- <comment>No need to translate</comment>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The realm for which you need to authenticate.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </grid>
-</widget>
-<connections>
- <connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>AuthenticationForm</receiver>
- <slot>accept()</slot>
- </connection>
- <connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>AuthenticationForm</receiver>
- <slot>reject()</slot>
- </connection>
-</connections>
-<tabstops>
+ </item>
+ <item row="4" column="1">
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer12">
+ <property name="sizeHint">
+ <size>
+ <width>101</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="1" column="1">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="authTextLabel">
+ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>Login required for realm:</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="realmTextLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">realm</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The realm for which you need to authenticate.</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
<tabstop>usernameLineEdit</tabstop>
<tabstop>passwordLineEdit</tabstop>
<tabstop>okPushButton</tabstop>
<tabstop>cancelPushButton</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in declaration">user.h</include>
- <include location="local" impldecl="in implementation">authenticationform.ui.h</include>
-</includes>
-<functions>
- <function returnType="int">exec( t_user * user_config, const QString &amp; realm, QString &amp; username, QString &amp; password )</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </tabstops>
+ <includes>
+ <include location="local">user.h</include>
+ </includes>
+ <connections>
+ <connection>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>AuthenticationForm</receiver>
+ <slot>accept()</slot>
+ </connection>
+ <connection>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>AuthenticationForm</receiver>
+ <slot>reject()</slot>
+ </connection>
+ </connections>
+</ui>
diff --git a/src/gui/buddyform.ui b/src/gui/buddyform.ui
index 16369d2..27e596d 100644
--- a/src/gui/buddyform.ui
+++ b/src/gui/buddyform.ui
@@ -1,255 +1,212 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>BuddyForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>BuddyForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>BuddyForm</class>
+ <widget class="QDialog" name="BuddyForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>484</width>
- <height>154</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>484</width>
+ <height>154</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Buddy</string>
+ <property name="windowTitle">
+ <string>Twinkle - Buddy</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout12</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer row="1" column="2" rowspan="2" colspan="1">
- <property name="name">
- <cstring>spacer25</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>47</height>
- </size>
- </property>
- </spacer>
- <widget class="QToolButton" row="0" column="2">
- <property name="name">
- <cstring>addressToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>phoneTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Phone:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>phoneLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>nameLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Name of your buddy.</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>subscribeCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Show availability</string>
- </property>
- <property name="accel">
- <string>Alt+S</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Check this option if you want to see the availability of your buddy. This will only work if your provider offers a presence agent.</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>nameTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Name:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>nameLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>phoneLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>SIP address your buddy.</string>
- </property>
- </widget>
- </grid>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer14</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QGridLayout">
+ <item row="1" column="2" rowspan="2" colspan="1">
+ <spacer name="spacer25">
+ <property name="sizeHint">
<size>
- <width>20</width>
- <height>16</height>
+ <width>20</width>
+ <height>47</height>
</size>
- </property>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ <item row="0" column="2">
+ <widget class="QToolButton" name="addressToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="phoneTextLabel">
+ <property name="text">
+ <string>&amp;Phone:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>phoneLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="nameLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Name of your buddy.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" rowspan="1" colspan="2">
+ <widget class="QCheckBox" name="subscribeCheckBox">
+ <property name="text">
+ <string>&amp;Show availability</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+S</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Check this option if you want to see the availability of your buddy. This will only work if your provider offers a presence agent.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="nameTextLabel">
+ <property name="text">
+ <string>&amp;Name:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>nameLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="phoneLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>SIP address your buddy.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="spacer14">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
</spacer>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout54</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer13</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>131</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="accel">
- <string>Alt+O</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>cancelPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- <property name="accel">
- <string>Alt+C</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
-</widget>
-<connections>
- <connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>BuddyForm</receiver>
- <slot>validate()</slot>
- </connection>
- <connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>BuddyForm</receiver>
- <slot>reject()</slot>
- </connection>
- <connection>
- <sender>addressToolButton</sender>
- <signal>clicked()</signal>
- <receiver>BuddyForm</receiver>
- <slot>showAddressBook()</slot>
- </connection>
-</connections>
-<tabstops>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer13">
+ <property name="sizeHint">
+ <size>
+ <width>131</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+O</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+C</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
<tabstop>nameLineEdit</tabstop>
<tabstop>phoneLineEdit</tabstop>
<tabstop>subscribeCheckBox</tabstop>
<tabstop>addressToolButton</tabstop>
<tabstop>okPushButton</tabstop>
<tabstop>cancelPushButton</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in declaration">presence/buddy.h</include>
- <include location="local" impldecl="in declaration">user.h</include>
- <include location="local" impldecl="in declaration">qlistview.h</include>
- <include location="local" impldecl="in declaration">getaddressform.h</include>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">sockets/url.h</include>
- <include location="local" impldecl="in implementation">buddylistview.h</include>
- <include location="local" impldecl="in implementation">audits/memman.h</include>
- <include location="local" impldecl="in implementation">buddyform.ui.h</include>
-</includes>
-<variables>
- <variable access="private">GetAddressForm *getAddressForm;</variable>
- <variable access="private">t_user *user_config;</variable>
- <variable access="private">bool edit_mode;</variable>
- <variable access="private">t_buddy_list *buddy_list;</variable>
- <variable access="private">t_buddy *edit_buddy;</variable>
- <variable access="private">QListViewItem *profileItem;</variable>
-</variables>
-<slots>
- <slot>showNew( t_buddy_list &amp; _buddy_list, QListViewItem * _profileItem )</slot>
- <slot>showEdit( t_buddy &amp; buddy )</slot>
- <slot>validate()</slot>
- <slot>showAddressBook()</slot>
- <slot>selectedAddress( const QString &amp; name, const QString &amp; phone )</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function access="private" specifier="non virtual">destroy()</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </tabstops>
+ <includes>
+ <include location="local">presence/buddy.h</include>
+ <include location="local">user.h</include>
+ <include location="local">q3listview.h</include>
+ <include location="local">getaddressform.h</include>
+ </includes>
+ <connections>
+ <connection>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>BuddyForm</receiver>
+ <slot>validate()</slot>
+ </connection>
+ <connection>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>BuddyForm</receiver>
+ <slot>reject()</slot>
+ </connection>
+ <connection>
+ <sender>addressToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>BuddyForm</receiver>
+ <slot>showAddressBook()</slot>
+ </connection>
+ </connections>
+</ui>
diff --git a/src/gui/diamondcardprofileform.ui b/src/gui/diamondcardprofileform.ui
index b8ba859..50c2ba6 100644
--- a/src/gui/diamondcardprofileform.ui
+++ b/src/gui/diamondcardprofileform.ui
@@ -1,313 +1,45 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>DiamondcardProfileForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>DiamondcardProfileForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>DiamondcardProfileForm</class>
+ <widget class="QDialog" name="DiamondcardProfileForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>541</width>
- <height>433</height>
- </rect>
- </property>
- <!--<property name="cursor">
- <cursor>0</cursor>
- </property>-->
- <property name="caption">
- <string>Twinkle - Diamondcard User Profile</string>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>541</width>
+ <height>433</height>
+ </rect>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>explainTextLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>&lt;p&gt;With a Diamondcard account you can make worldwide calls to regular and cell phones and send SMS messages. To sign up for a Diamondcard account click on the "sign up" link below. Once you have signed up you receive an account ID and PIN code. Enter the account ID and PIN code below to create a Twinkle user profile for your Diamondcard account.&lt;/p&gt;
-&lt;p&gt;For call rates see the sign up web page that will be shown to you when you click on the "sign up" link.&lt;/p&gt;</string>
- </property>
- <property name="textFormat">
- <enum>RichText</enum>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer35</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>16</height>
- </size>
- </property>
- </spacer>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout193</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>accountIdLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Your Diamondcard account ID.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>nameLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>This is just your full name, e.g. John Doe. It is used as a display name. When you make a call, this display name might be shown to the called party.</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>accountIdTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Account ID:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>accountIdLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>pinCodeTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;PIN code:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>pinCodeLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>nameTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Your name:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>nameLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="2" column="1">
- <property name="name">
- <cstring>pinCodeLineEdit</cstring>
- </property>
- <property name="echoMode">
- <enum>Password</enum>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Your Diamondcard PIN code.</string>
- </property>
- </widget>
- </grid>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer27</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout63</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>signUpTextLabel</cstring>
- </property>
- <property name="backgroundMode">
- <enum>PaletteBackground</enum>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>0</red>
- <green>0</green>
- <blue>205</blue>
- </color>
- </property>
- <!--<property name="cursor">
- <cursor>13</cursor>
- </property>-->
- <property name="text">
- <string>&lt;p align="center"&gt;&lt;u&gt;Sign up for a Diamondcard account&lt;/u&gt;&lt;/p&gt;</string>
- </property>
- <property name="alignment">
- <set>AlignVCenter</set>
- </property>
- </widget>
- </hbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer28</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>21</height>
- </size>
- </property>
- </spacer>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout64</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer21</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>61</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="accel">
- <string>Alt+O</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>cancelPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- <property name="accel">
- <string>Alt+C</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
-</widget>
-<connections>
- <connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>DiamondcardProfileForm</receiver>
- <slot>validate()</slot>
- </connection>
- <connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>DiamondcardProfileForm</receiver>
- <slot>reject()</slot>
- </connection>
-</connections>
-<tabstops>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
<tabstop>nameLineEdit</tabstop>
<tabstop>accountIdLineEdit</tabstop>
<tabstop>pinCodeLineEdit</tabstop>
<tabstop>okPushButton</tabstop>
<tabstop>cancelPushButton</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in declaration">user.h</include>
- <include location="local" impldecl="in declaration">QLabel</include>
- <include location="local" impldecl="in declaration">QLineEdit</include>
- <include location="local" impldecl="in implementation">qregexp.h</include>
- <include location="local" impldecl="in implementation">qvalidator.h</include>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">diamondcard.h</include>
- <include location="local" impldecl="in implementation">getprofilenameform.h</include>
- <include location="local" impldecl="in implementation">audits/memman.h</include>
- <include location="local" impldecl="in implementation">diamondcardprofileform.ui.h</include>
-</includes>
-<variables>
- <variable access="private">t_user *user_config;</variable>
- <variable access="private">bool destroy_user_config;</variable>
- <variable access="private">QLineEdit *accountIdLineEdit;</variable>
- <variable access="private">QLineEdit *pinCodeLineEdit;</variable>
- <variable access="private">QLineEdit *nameLineEdit;</variable>
- <variable access="private">QLabel *signUpTextLabel;</variable>
-</variables>
-<signals>
- <signal>success()</signal>
- <signal>newDiamondcardProfile(const QString&amp;)</signal>
-</signals>
-<slots>
- <slot>destroyOldUserConfig()</slot>
- <slot>show( t_user * user )</slot>
- <slot>validate()</slot>
- <slot>mouseReleaseEvent( QMouseEvent * e )</slot>
- <slot>processLeftMouseButtonRelease( QMouseEvent * e )</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function access="private" specifier="non virtual">destroy()</function>
- <function returnType="int">exec( t_user * user )</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </tabstops>
+ <includes>
+ <include location="local">user.h</include>
+ <include location="local">QLabel</include>
+ <include location="local">QLineEdit</include>
+ </includes>
+ <connections>
+ <connection>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>DiamondcardProfileForm</receiver>
+ <slot>validate()</slot>
+ </connection>
+ <connection>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>DiamondcardProfileForm</receiver>
+ <slot>reject()</slot>
+ </connection>
+ </connections>
+</ui>
diff --git a/src/gui/getaddressform.ui b/src/gui/getaddressform.ui
index 153fdd1..74a8d12 100644
--- a/src/gui/getaddressform.ui
+++ b/src/gui/getaddressform.ui
@@ -1,476 +1,388 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>GetAddressForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>GetAddressForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>GetAddressForm</class>
+ <widget class="QDialog" name="GetAddressForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>655</width>
- <height>474</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>655</width>
+ <height>474</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Select address</string>
+ <property name="windowTitle">
+ <string>Twinkle - Select address</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QTabWidget">
- <property name="name">
- <cstring>addressTabWidget</cstring>
- </property>
- <property name="tabShape">
- <enum>Rounded</enum>
- </property>
- <widget class="QWidget">
- <property name="name">
- <cstring>tabKABC</cstring>
- </property>
- <attribute name="title">
- <string>&amp;KAddressBook</string>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QTabWidget" name="addressTabWidget">
+ <property name="tabShape">
+ <enum>QTabWidget::Rounded</enum>
+ </property>
+ <widget class="QWidget" name="tabKABC">
+ <attribute name="title">
+ <string>&amp;KAddressBook</string>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="Q3ListView" name="addressListView">
+ <property name="resizePolicy">
+ <enum>Q3ScrollView::Manual</enum>
+ </property>
+ <property name="allColumnsShowFocus">
+ <bool>true</bool>
+ </property>
+ <property name="showSortIndicator">
+ <bool>true</bool>
+ </property>
+ <property name="itemMargin">
+ <number>1</number>
+ </property>
+ <property name="resizeMode">
+ <enum>Q3ListView::LastColumn</enum>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>This list of addresses is taken from &lt;b&gt;KAddressBook&lt;/b&gt;. Contacts for which you did not provide a phone number are not shown here. To add, delete or modify address information you have to use KAddressBook.</string>
+ </property>
+ <column>
+ <property name="text">
+ <string>Name</string>
</property>
- <widget class="QListView">
- <column>
- <property name="text">
- <string>Name</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Type</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Phone</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <property name="name">
- <cstring>addressListView</cstring>
- </property>
- <property name="resizePolicy">
- <enum>Manual</enum>
- </property>
- <property name="allColumnsShowFocus">
- <bool>true</bool>
- </property>
- <property name="showSortIndicator">
- <bool>true</bool>
- </property>
- <property name="itemMargin">
- <number>1</number>
- </property>
- <property name="resizeMode">
- <enum>LastColumn</enum>
- </property>
- <property name="whatsThis" stdset="0">
- <string>This list of addresses is taken from &lt;b&gt;KAddressBook&lt;/b&gt;. Contacts for which you did not provide a phone number are not shown here. To add, delete or modify address information you have to use KAddressBook.</string>
- </property>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout17</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>sipOnlyCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Show only SIP addresses</string>
- </property>
- <property name="accel">
- <string>Alt+S</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Check this option when you only want to see contacts with SIP addresses, i.e. starting with "&lt;b&gt;sip:&lt;/b&gt;".</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer16</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>201</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout69</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QPushButton">
- <property name="name">
- <cstring>reloadPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Reload</string>
- </property>
- <property name="accel">
- <string>Alt+R</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Reload the list of addresses from KAddressbook.</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer59</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>491</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>tabLocal</cstring>
- </property>
- <attribute name="title">
- <string>&amp;Local address book</string>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ <property name="clickable">
+ <bool>true</bool>
</property>
- <widget class="QListView">
- <column>
- <property name="text">
- <string>Name</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Phone</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Remark</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <property name="name">
- <cstring>localListView</cstring>
- </property>
- <property name="allColumnsShowFocus">
- <bool>true</bool>
- </property>
- <property name="showSortIndicator">
- <bool>true</bool>
- </property>
- <property name="resizeMode">
- <enum>LastColumn</enum>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Contacts in the local address book of Twinkle.</string>
- </property>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout67</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QPushButton">
- <property name="name">
- <cstring>addPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Add</string>
- </property>
- <property name="accel">
- <string>Alt+A</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Add a new contact to the local address book.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>deletePushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Delete</string>
- </property>
- <property name="accel">
- <string>Alt+D</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Delete a contact from the local address book.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>editPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Edit</string>
- </property>
- <property name="accel">
- <string>Alt+E</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Edit a contact from the local address book.</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer97</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>161</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- </vbox>
- </widget>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout68</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer5</cstring>
+ <property name="resizable">
+ <bool>true</bool>
</property>
- <property name="orientation">
- <enum>Horizontal</enum>
+ </column>
+ <column>
+ <property name="text">
+ <string>Type</string>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>Phone</string>
</property>
- <property name="sizeHint">
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QCheckBox" name="sipOnlyCheckBox">
+ <property name="text">
+ <string>&amp;Show only SIP addresses</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+S</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Check this option when you only want to see contacts with SIP addresses, i.e. starting with &quot;&lt;b&gt;sip:&lt;/b&gt;&quot;.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer16">
+ <property name="sizeHint">
+ <size>
+ <width>201</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QPushButton" name="reloadPushButton">
+ <property name="text">
+ <string>&amp;Reload</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+R</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Reload the list of addresses from KAddressbook.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer59">
+ <property name="sizeHint">
<size>
- <width>378</width>
- <height>20</height>
+ <width>491</width>
+ <height>20</height>
</size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="tabLocal">
+ <attribute name="title">
+ <string>&amp;Local address book</string>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="Q3ListView" name="localListView">
+ <property name="allColumnsShowFocus">
+ <bool>true</bool>
+ </property>
+ <property name="showSortIndicator">
+ <bool>true</bool>
+ </property>
+ <property name="resizeMode">
+ <enum>Q3ListView::LastColumn</enum>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Contacts in the local address book of Twinkle.</string>
+ </property>
+ <column>
+ <property name="text">
+ <string>Name</string>
</property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
+ <property name="clickable">
+ <bool>true</bool>
</property>
- <property name="text">
- <string>&amp;OK</string>
+ <property name="resizable">
+ <bool>true</bool>
</property>
- <property name="accel">
- <string>Alt+O</string>
+ </column>
+ <column>
+ <property name="text">
+ <string>Phone</string>
</property>
- <property name="default">
- <bool>true</bool>
+ <property name="clickable">
+ <bool>true</bool>
</property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>cancelPushButton</cstring>
+ <property name="resizable">
+ <bool>true</bool>
</property>
+ </column>
+ <column>
<property name="text">
- <string>&amp;Cancel</string>
+ <string>Remark</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
</property>
- <property name="accel">
- <string>Alt+C</string>
+ <property name="resizable">
+ <bool>true</bool>
</property>
+ </column>
</widget>
- </hbox>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QPushButton" name="addPushButton">
+ <property name="text">
+ <string>&amp;Add</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+A</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Add a new contact to the local address book.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="deletePushButton">
+ <property name="text">
+ <string>&amp;Delete</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+D</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Delete a contact from the local address book.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="editPushButton">
+ <property name="text">
+ <string>&amp;Edit</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+E</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Edit a contact from the local address book.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer97">
+ <property name="sizeHint">
+ <size>
+ <width>161</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
</widget>
- </vbox>
-</widget>
-<connections>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer5">
+ <property name="sizeHint">
+ <size>
+ <width>378</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+O</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+C</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
+ <tabstop>addressListView</tabstop>
+ <tabstop>sipOnlyCheckBox</tabstop>
+ <tabstop>reloadPushButton</tabstop>
+ <tabstop>addressTabWidget</tabstop>
+ <tabstop>localListView</tabstop>
+ <tabstop>addPushButton</tabstop>
+ <tabstop>deletePushButton</tabstop>
+ <tabstop>editPushButton</tabstop>
+ <tabstop>okPushButton</tabstop>
+ <tabstop>cancelPushButton</tabstop>
+ </tabstops>
+ <includes>
+ <include location="local">user.h</include>
+ </includes>
+ <connections>
<connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>GetAddressForm</receiver>
- <slot>selectAddress()</slot>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>GetAddressForm</receiver>
+ <slot>selectAddress()</slot>
</connection>
<connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>GetAddressForm</receiver>
- <slot>reject()</slot>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>GetAddressForm</receiver>
+ <slot>reject()</slot>
</connection>
<connection>
- <sender>addressListView</sender>
- <signal>doubleClicked(QListViewItem*)</signal>
- <receiver>GetAddressForm</receiver>
- <slot>selectKABCAddress()</slot>
+ <sender>addressListView</sender>
+ <signal>doubleClicked(Q3ListViewItem*)</signal>
+ <receiver>GetAddressForm</receiver>
+ <slot>selectKABCAddress()</slot>
</connection>
<connection>
- <sender>sipOnlyCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>GetAddressForm</receiver>
- <slot>toggleSipOnly(bool)</slot>
+ <sender>sipOnlyCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>GetAddressForm</receiver>
+ <slot>toggleSipOnly(bool)</slot>
</connection>
<connection>
- <sender>reloadPushButton</sender>
- <signal>clicked()</signal>
- <receiver>GetAddressForm</receiver>
- <slot>reload()</slot>
+ <sender>reloadPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>GetAddressForm</receiver>
+ <slot>reload()</slot>
</connection>
<connection>
- <sender>localListView</sender>
- <signal>doubleClicked(QListViewItem*)</signal>
- <receiver>GetAddressForm</receiver>
- <slot>selectLocalAddress()</slot>
+ <sender>localListView</sender>
+ <signal>doubleClicked(Q3ListViewItem*)</signal>
+ <receiver>GetAddressForm</receiver>
+ <slot>selectLocalAddress()</slot>
</connection>
<connection>
- <sender>addPushButton</sender>
- <signal>clicked()</signal>
- <receiver>GetAddressForm</receiver>
- <slot>addLocalAddress()</slot>
+ <sender>addPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>GetAddressForm</receiver>
+ <slot>addLocalAddress()</slot>
</connection>
<connection>
- <sender>deletePushButton</sender>
- <signal>clicked()</signal>
- <receiver>GetAddressForm</receiver>
- <slot>deleteLocalAddress()</slot>
+ <sender>deletePushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>GetAddressForm</receiver>
+ <slot>deleteLocalAddress()</slot>
</connection>
<connection>
- <sender>editPushButton</sender>
- <signal>clicked()</signal>
- <receiver>GetAddressForm</receiver>
- <slot>editLocalAddress()</slot>
+ <sender>editPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>GetAddressForm</receiver>
+ <slot>editLocalAddress()</slot>
</connection>
-</connections>
-<tabstops>
- <tabstop>addressListView</tabstop>
- <tabstop>sipOnlyCheckBox</tabstop>
- <tabstop>reloadPushButton</tabstop>
- <tabstop>addressTabWidget</tabstop>
- <tabstop>localListView</tabstop>
- <tabstop>addPushButton</tabstop>
- <tabstop>deletePushButton</tabstop>
- <tabstop>editPushButton</tabstop>
- <tabstop>okPushButton</tabstop>
- <tabstop>cancelPushButton</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in declaration">user.h</include>
- <include location="local" impldecl="in implementation">qlistview.h</include>
- <include location="local" impldecl="in implementation">qstring.h</include>
- <include location="local" impldecl="in implementation">qmessagebox.h</include>
- <include location="local" impldecl="in implementation">protocol.h</include>
- <include location="local" impldecl="in implementation">sys_settings.h</include>
- <include location="local" impldecl="in implementation">util.h</include>
- <include location="local" impldecl="in implementation">qregexp.h</include>
- <include location="local" impldecl="in implementation">sockets/url.h</include>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">address_book.h</include>
- <include location="local" impldecl="in implementation">addresslistviewitem.h</include>
- <include location="local" impldecl="in implementation">addresscardform.h</include>
- <include location="local" impldecl="in implementation">getaddressform.ui.h</include>
-</includes>
-<variables>
- <variable access="private">void *addrBook;</variable>
-</variables>
-<signals>
- <signal>address(const QString &amp;, const QString &amp;)</signal>
- <signal>address(const QString &amp;)</signal>
-</signals>
-<slots>
- <slot>reload()</slot>
- <slot>show()</slot>
- <slot>loadAddresses()</slot>
- <slot>loadLocalAddresses()</slot>
- <slot>selectAddress()</slot>
- <slot>selectKABCAddress()</slot>
- <slot>selectLocalAddress()</slot>
- <slot>toggleSipOnly( bool on )</slot>
- <slot>addLocalAddress()</slot>
- <slot>deleteLocalAddress()</slot>
- <slot>editLocalAddress()</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </connections>
+</ui>
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 6a50bf3..eda1293 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -49,10 +49,10 @@
#include "sockets/interfaces.h"
#include "threads/thread.h"
#include "audits/memman.h"
-#include "authenticationform.h"
-#include "mphoneform.h"
-#include "selectnicform.h"
-#include "selectprofileform.h"
+#include "ui_authenticationform.h"
+#include "ui_mphoneform.h"
+#include "ui_selectnicform.h"
+#include "ui_selectprofileform.h"
#include "messageformview.h"
#include "twinklesystray.h"
#include "util.h"
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 9c0cb3b..955a875 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -25,7 +25,7 @@
#include "userintf.h"
#include "im/msg_session.h"
-#include "messageform.h"
+#include "ui_messageform.h"
#include "qaction.h"
#include "qcombobox.h"
@@ -43,7 +43,9 @@
using namespace std;
// Forward declaration
+namespace Ui {
class MphoneForm;
+}
// Length of redial list in combo boxes
#define SIZE_REDIAL_LIST 10
@@ -65,7 +67,7 @@ void setDisabledIcon(QToolButton *toolButton, const QString &icon);
class t_gui : public QObject, public t_userintf {
Q_OBJECT
private:
- MphoneForm *mainWindow;
+ Ui::MphoneForm *mainWindow;
// List of active instant messaging session.
list<im::t_msg_session *> messageSessions;
diff --git a/src/gui/historyform.ui b/src/gui/historyform.ui
index 66f16af..4a7d5c6 100644
--- a/src/gui/historyform.ui
+++ b/src/gui/historyform.ui
@@ -1,476 +1,408 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>HistoryForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>HistoryForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>HistoryForm</class>
+ <widget class="QDialog" name="HistoryForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>872</width>
- <height>647</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>872</width>
+ <height>647</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Call History</string>
+ <property name="windowTitle">
+ <string>Twinkle - Call History</string>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QListView" row="0" column="0">
- <column>
- <property name="text">
- <string>Time</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <column>
- <property name="text">
- <string>In/Out</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <column>
- <property name="text">
- <string>From/To</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Subject</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Status</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <property name="name">
- <cstring>historyListView</cstring>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="Q3ListView" name="historyListView">
+ <property name="allColumnsShowFocus">
+ <bool>true</bool>
+ </property>
+ <property name="showSortIndicator">
+ <bool>true</bool>
+ </property>
+ <property name="resizeMode">
+ <enum>Q3ListView::LastColumn</enum>
+ </property>
+ <column>
+ <property name="text">
+ <string>Time</string>
</property>
- <property name="allColumnsShowFocus">
- <bool>true</bool>
+ <property name="clickable">
+ <bool>true</bool>
</property>
- <property name="showSortIndicator">
- <bool>true</bool>
+ <property name="resizable">
+ <bool>true</bool>
</property>
- <property name="resizeMode">
- <enum>LastColumn</enum>
+ </column>
+ <column>
+ <property name="text">
+ <string>In/Out</string>
</property>
- </widget>
- <widget class="QLayoutWidget" row="1" column="0">
- <property name="name">
- <cstring>layout37</cstring>
+ <property name="clickable">
+ <bool>true</bool>
</property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>cdrGroupBox</cstring>
- </property>
- <property name="title">
- <string>Call details</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QTextEdit" row="0" column="0">
- <property name="name">
- <cstring>cdrTextEdit</cstring>
- </property>
- <property name="textFormat">
- <enum>RichText</enum>
- </property>
- <property name="wordWrap">
- <enum>NoWrap</enum>
- </property>
- <property name="readOnly">
- <bool>true</bool>
- </property>
- <property name="autoFormatting">
- <set>AutoAll</set>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Details of the selected call record.</string>
- </property>
- </widget>
- </grid>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>viewGroupBox</cstring>
- </property>
- <property name="title">
- <string>View</string>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>inCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Incoming calls</string>
- </property>
- <property name="accel">
- <string>Alt+I</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Check this option to show incoming calls.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>outCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Outgoing calls</string>
- </property>
- <property name="accel">
- <string>Alt+O</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Check this option to show outgoing calls.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>successCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Answered calls</string>
- </property>
- <property name="accel">
- <string>Alt+A</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Check this option to show answered calls.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>missedCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Missed calls</string>
- </property>
- <property name="accel">
- <string>Alt+M</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Check this option to show missed calls.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>profileCheckBox</cstring>
- </property>
- <property name="text">
- <string>Current &amp;user profiles only</string>
- </property>
- <property name="accel">
- <string>Alt+U</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Check this option to show only calls associated with this user profile.</string>
- </property>
- </widget>
- </vbox>
- </widget>
- </hbox>
- </widget>
- <widget class="QLayoutWidget" row="3" column="0">
- <property name="name">
- <cstring>layout39</cstring>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>From/To</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>Subject</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>Status</string>
</property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QPushButton">
- <property name="name">
- <cstring>clearPushButton</cstring>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="Q3GroupBox" name="cdrGroupBox">
+ <property name="title">
+ <string>Call details</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="Q3TextEdit" name="cdrTextEdit">
+ <property name="textFormat">
+ <enum>Qt::RichText</enum>
+ </property>
+ <property name="wordWrap">
+ <enum>Q3TextEdit::NoWrap</enum>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ <property name="autoFormatting">
+ <set>Q3TextEdit::AutoAll</set>
</property>
+ <property name="whatsThis" stdset="0">
+ <string>Details of the selected call record.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="viewGroupBox">
+ <property name="title">
+ <string>View</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QCheckBox" name="inCheckBox">
<property name="text">
- <string>C&amp;lear</string>
+ <string>&amp;Incoming calls</string>
</property>
- <property name="accel">
- <string>Alt+L</string>
+ <property name="shortcut">
+ <string>Alt+I</string>
</property>
<property name="whatsThis" stdset="0">
- <string>&lt;p&gt;Clear the complete call history.&lt;/p&gt;
-&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; this will clear &lt;b&gt;all&lt;/b&gt; records, also records not shown depending on the checked view options.&lt;/p&gt;</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer28</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>540</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>closePushButton</cstring>
+ <string>Check this option to show incoming calls.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="outCheckBox">
<property name="text">
- <string>Clo&amp;se</string>
+ <string>&amp;Outgoing calls</string>
</property>
- <property name="accel">
- <string>Alt+S</string>
- </property>
- <property name="default">
- <bool>false</bool>
+ <property name="shortcut">
+ <string>Alt+O</string>
</property>
<property name="whatsThis" stdset="0">
- <string>Close this window.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>callPushButton</cstring>
+ <string>Check this option to show outgoing calls.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="successCheckBox">
<property name="text">
- <string>&amp;Call</string>
+ <string>&amp;Answered calls</string>
</property>
- <property name="accel">
- <string>Alt+C</string>
- </property>
- <property name="default">
- <bool>true</bool>
+ <property name="shortcut">
+ <string>Alt+A</string>
</property>
<property name="whatsThis" stdset="0">
- <string>Call selected address.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="QLayoutWidget" row="2" column="0">
- <property name="name">
- <cstring>layout6</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>numberlCallsTtextLabel</cstring>
+ <string>Check this option to show answered calls.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="missedCheckBox">
<property name="text">
- <string>Number of calls:</string>
+ <string>&amp;Missed calls</string>
</property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>numberCallsValueTextLabel</cstring>
+ <property name="shortcut">
+ <string>Alt+M</string>
</property>
- <property name="text">
- <string>###</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>totalDurationTextLabel</cstring>
- </property>
- <property name="text">
- <string>Total call duration:</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>totalDurationValueTextLabel</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>Check this option to show missed calls.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="profileCheckBox">
<property name="text">
- <string>###</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer11</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
+ <string>Current &amp;user profiles only</string>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ <property name="shortcut">
+ <string>Alt+U</string>
</property>
- <property name="sizeHint">
- <size>
- <width>460</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- </grid>
-</widget>
-<connections>
+ <property name="whatsThis" stdset="0">
+ <string>Check this option to show only calls associated with this user profile.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="3" column="0">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QPushButton" name="clearPushButton">
+ <property name="text">
+ <string>C&amp;lear</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+L</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;Clear the complete call history.&lt;/p&gt;
+&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; this will clear &lt;b&gt;all&lt;/b&gt; records, also records not shown depending on the checked view options.&lt;/p&gt;</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer28">
+ <property name="sizeHint">
+ <size>
+ <width>540</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="closePushButton">
+ <property name="text">
+ <string>Clo&amp;se</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+S</string>
+ </property>
+ <property name="default">
+ <bool>false</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Close this window.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="callPushButton">
+ <property name="text">
+ <string>&amp;Call</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+C</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Call selected address.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="2" column="0">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="numberlCallsTtextLabel">
+ <property name="text">
+ <string>Number of calls:</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="numberCallsValueTextLabel">
+ <property name="text">
+ <string>###</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="totalDurationTextLabel">
+ <property name="text">
+ <string>Total call duration:</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="totalDurationValueTextLabel">
+ <property name="text">
+ <string>###</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer11">
+ <property name="sizeHint">
+ <size>
+ <width>460</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
+ <tabstop>historyListView</tabstop>
+ <tabstop>cdrTextEdit</tabstop>
+ <tabstop>inCheckBox</tabstop>
+ <tabstop>outCheckBox</tabstop>
+ <tabstop>successCheckBox</tabstop>
+ <tabstop>missedCheckBox</tabstop>
+ <tabstop>profileCheckBox</tabstop>
+ <tabstop>clearPushButton</tabstop>
+ <tabstop>closePushButton</tabstop>
+ </tabstops>
+ <includes>
+ <include location="local">user.h</include>
+ <include location="local">phone.h</include>
+ <include location="local">q3popupmenu.h</include>
+ </includes>
+ <connections>
<connection>
- <sender>closePushButton</sender>
- <signal>clicked()</signal>
- <receiver>HistoryForm</receiver>
- <slot>close()</slot>
+ <sender>closePushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>close()</slot>
</connection>
<connection>
- <sender>historyListView</sender>
- <signal>currentChanged(QListViewItem*)</signal>
- <receiver>HistoryForm</receiver>
- <slot>showCallDetails(QListViewItem*)</slot>
+ <sender>historyListView</sender>
+ <signal>currentChanged(Q3ListViewItem*)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>showCallDetails(Q3ListViewItem*)</slot>
</connection>
<connection>
- <sender>inCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>HistoryForm</receiver>
- <slot>loadHistory()</slot>
+ <sender>inCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>loadHistory()</slot>
</connection>
<connection>
- <sender>missedCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>HistoryForm</receiver>
- <slot>loadHistory()</slot>
+ <sender>missedCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>loadHistory()</slot>
</connection>
<connection>
- <sender>outCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>HistoryForm</receiver>
- <slot>loadHistory()</slot>
+ <sender>outCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>loadHistory()</slot>
</connection>
<connection>
- <sender>profileCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>HistoryForm</receiver>
- <slot>loadHistory()</slot>
+ <sender>profileCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>loadHistory()</slot>
</connection>
<connection>
- <sender>successCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>HistoryForm</receiver>
- <slot>loadHistory()</slot>
+ <sender>successCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>loadHistory()</slot>
</connection>
<connection>
- <sender>historyListView</sender>
- <signal>rightButtonPressed(QListViewItem*,const QPoint&amp;,int)</signal>
- <receiver>HistoryForm</receiver>
- <slot>popupMenu(QListViewItem*,const QPoint&amp;)</slot>
+ <sender>historyListView</sender>
+ <signal>rightButtonPressed(Q3ListViewItem*,QPoint,int)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>popupMenu(Q3ListViewItem*,QPoint)</slot>
</connection>
<connection>
- <sender>historyListView</sender>
- <signal>doubleClicked(QListViewItem*,const QPoint&amp;,int)</signal>
- <receiver>HistoryForm</receiver>
- <slot>call(QListViewItem*)</slot>
+ <sender>historyListView</sender>
+ <signal>doubleClicked(Q3ListViewItem*,QPoint,int)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>call(Q3ListViewItem*)</slot>
</connection>
<connection>
- <sender>clearPushButton</sender>
- <signal>clicked()</signal>
- <receiver>HistoryForm</receiver>
- <slot>clearHistory()</slot>
+ <sender>clearPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>clearHistory()</slot>
</connection>
<connection>
- <sender>callPushButton</sender>
- <signal>clicked()</signal>
- <receiver>HistoryForm</receiver>
- <slot>call()</slot>
+ <sender>callPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>call()</slot>
</connection>
-</connections>
-<tabstops>
- <tabstop>historyListView</tabstop>
- <tabstop>cdrTextEdit</tabstop>
- <tabstop>inCheckBox</tabstop>
- <tabstop>outCheckBox</tabstop>
- <tabstop>successCheckBox</tabstop>
- <tabstop>missedCheckBox</tabstop>
- <tabstop>profileCheckBox</tabstop>
- <tabstop>clearPushButton</tabstop>
- <tabstop>closePushButton</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in declaration">user.h</include>
- <include location="local" impldecl="in declaration">phone.h</include>
- <include location="local" impldecl="in declaration">qpopupmenu.h</include>
- <include location="local" impldecl="in implementation">call_history.h</include>
- <include location="local" impldecl="in implementation">util.h</include>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">qlistview.h</include>
- <include location="local" impldecl="in implementation">historylistview.h</include>
- <include location="local" impldecl="in implementation">qiconset.h</include>
- <include location="local" impldecl="in implementation">audits/memman.h</include>
- <include location="local" impldecl="in implementation">historyform.ui.h</include>
-</includes>
-<forwards>
- <forward>class t_phone;</forward>
- <forward>extern t_phone *phone;</forward>
-</forwards>
-<variables>
- <variable access="private">time_t timeLastViewed;</variable>
- <variable access="private">QPopupMenu *histPopupMenu;</variable>
- <variable access="private">int itemCall;</variable>
-</variables>
-<signals>
- <signal>call(t_user *, const QString &amp;, const QString &amp;, bool)</signal>
-</signals>
-<slots>
- <slot>loadHistory()</slot>
- <slot>update()</slot>
- <slot>show()</slot>
- <slot>closeEvent( QCloseEvent * e )</slot>
- <slot>showCallDetails( QListViewItem * item )</slot>
- <slot>popupMenu( QListViewItem * item, const QPoint &amp; pos )</slot>
- <slot>call( QListViewItem * item )</slot>
- <slot>call( void )</slot>
- <slot>deleteEntry( void )</slot>
- <slot>clearHistory()</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function access="private" specifier="non virtual">destroy()</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </connections>
+</ui>
diff --git a/src/gui/inviteform.ui b/src/gui/inviteform.ui
index 2904129..cc4705d 100644
--- a/src/gui/inviteform.ui
+++ b/src/gui/inviteform.ui
@@ -1,370 +1,311 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>InviteForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>InviteForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>InviteForm</class>
+ <widget class="QDialog" name="InviteForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>592</width>
- <height>203</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>592</width>
+ <height>203</height>
+ </rect>
</property>
<property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="caption">
- <string>Twinkle - Call</string>
+ <property name="windowTitle">
+ <string>Twinkle - Call</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout40</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>inviteTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;To:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>inviteComboBox</cstring>
- </property>
- </widget>
- <spacer row="2" column="2">
- <property name="name">
- <cstring>spacer3</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>23</height>
- </size>
- </property>
- </spacer>
- <widget class="QLineEdit" row="2" column="1">
- <property name="name">
- <cstring>subjectLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Optionally you can provide a subject here. This might be shown to the callee.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="1" column="2">
- <property name="name">
- <cstring>addressToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="accel">
- <string>F10</string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- <spacer row="0" column="2">
- <property name="name">
- <cstring>spacer24</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QComboBox" row="1" column="1">
- <property name="name">
- <cstring>inviteComboBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="editable">
- <bool>true</bool>
- </property>
- <property name="maxCount">
- <number>10</number>
- </property>
- <property name="insertionPolicy">
- <enum>NoInsertion</enum>
- </property>
- <property name="autoCompletion">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The address that you want to call. This can be a full SIP address like &lt;b&gt;sip:example@example.com&lt;/b&gt; or just the user part or telephone number of the full address. When you do not specify a full address, then Twinkle will complete the address by using the domain value of your user profile.</string>
- </property>
- </widget>
- <widget class="QComboBox" row="0" column="1">
- <property name="name">
- <cstring>fromComboBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The user that will make the call.</string>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>subjectTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Subject:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>subjectLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>fromTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;From:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>fromComboBox</cstring>
- </property>
- </widget>
- </grid>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout13</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>hideUserCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Hide identity</string>
- </property>
- <property name="accel">
- <string>Alt+H</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QGridLayout">
+ <item row="1" column="0">
+ <widget class="QLabel" name="inviteTextLabel">
+ <property name="text">
+ <string>&amp;To:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>inviteComboBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <spacer name="spacer3">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>23</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ <item row="2" column="1">
+ <widget class="QLineEdit" name="subjectLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Optionally you can provide a subject here. This might be shown to the callee.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QToolButton" name="addressToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="shortcut">
+ <string>F10</string>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <spacer name="spacer24">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ <item row="1" column="1">
+ <widget class="QComboBox" name="inviteComboBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="editable">
+ <bool>true</bool>
+ </property>
+ <property name="maxCount">
+ <number>10</number>
+ </property>
+ <property name="insertPolicy">
+ <enum>QComboBox::NoInsert</enum>
+ </property>
+ <property name="autoCompletion">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The address that you want to call. This can be a full SIP address like &lt;b&gt;sip:example@example.com&lt;/b&gt; or just the user part or telephone number of the full address. When you do not specify a full address, then Twinkle will complete the address by using the domain value of your user profile.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QComboBox" name="fromComboBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The user that will make the call.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="subjectTextLabel">
+ <property name="text">
+ <string>&amp;Subject:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>subjectLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="fromTextLabel">
+ <property name="text">
+ <string>&amp;From:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>fromComboBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QCheckBox" name="hideUserCheckBox">
+ <property name="text">
+ <string>&amp;Hide identity</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+H</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
With this option you request your SIP provider to hide your identity from the called party. This will only hide your identity, e.g. your SIP address, telephone number. It does &lt;b&gt;not&lt;/b&gt; hide your IP address.
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Warning:&lt;/b&gt; not all providers support identity hiding.
&lt;/p&gt;</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer5</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>181</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer12</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer5">
+ <property name="sizeHint">
<size>
- <width>20</width>
- <height>20</height>
+ <width>181</width>
+ <height>20</height>
</size>
- </property>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="spacer12">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
</spacer>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout20</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer11</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>91</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>cancelPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
-</widget>
-<connections>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer11">
+ <property name="sizeHint">
+ <size>
+ <width>91</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
+ <tabstop>inviteComboBox</tabstop>
+ <tabstop>subjectLineEdit</tabstop>
+ <tabstop>hideUserCheckBox</tabstop>
+ <tabstop>addressToolButton</tabstop>
+ <tabstop>okPushButton</tabstop>
+ <tabstop>cancelPushButton</tabstop>
+ <tabstop>fromComboBox</tabstop>
+ </tabstops>
+ <includes>
+ <include location="local">qstring.h</include>
+ <include location="local">sockets/url.h</include>
+ <include location="local">ui_getaddressform.h</include>
+ <include location="local">user.h</include>
+ <include location="local">phone.h</include>
+ </includes>
+ <connections>
<connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>InviteForm</receiver>
- <slot>reject()</slot>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>InviteForm</receiver>
+ <slot>reject()</slot>
</connection>
<connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>InviteForm</receiver>
- <slot>validate()</slot>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>InviteForm</receiver>
+ <slot>validate()</slot>
</connection>
<connection>
- <sender>addressToolButton</sender>
- <signal>clicked()</signal>
- <receiver>InviteForm</receiver>
- <slot>showAddressBook()</slot>
+ <sender>addressToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>InviteForm</receiver>
+ <slot>showAddressBook()</slot>
</connection>
<connection>
- <sender>hideUserCheckBox</sender>
- <signal>clicked()</signal>
- <receiver>InviteForm</receiver>
- <slot>warnHideUser()</slot>
+ <sender>hideUserCheckBox</sender>
+ <signal>clicked()</signal>
+ <receiver>InviteForm</receiver>
+ <slot>warnHideUser()</slot>
</connection>
-</connections>
-<tabstops>
- <tabstop>inviteComboBox</tabstop>
- <tabstop>subjectLineEdit</tabstop>
- <tabstop>hideUserCheckBox</tabstop>
- <tabstop>addressToolButton</tabstop>
- <tabstop>okPushButton</tabstop>
- <tabstop>cancelPushButton</tabstop>
- <tabstop>fromComboBox</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in declaration">qstring.h</include>
- <include location="local" impldecl="in declaration">sockets/url.h</include>
- <include location="local" impldecl="in declaration">getaddressform.h</include>
- <include location="local" impldecl="in declaration">user.h</include>
- <include location="local" impldecl="in declaration">phone.h</include>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">util.h</include>
- <include location="local" impldecl="in implementation">audits/memman.h</include>
- <include location="local" impldecl="in implementation">sys_settings.h</include>
- <include location="local" impldecl="in implementation">qregexp.h</include>
- <include location="local" impldecl="in implementation">qvalidator.h</include>
- <include location="local" impldecl="in implementation">inviteform.ui.h</include>
-</includes>
-<forwards>
- <forward>class t_phone;</forward>
- <forward>extern t_phone *phone;</forward>
-</forwards>
-<variables>
- <variable access="private">GetAddressForm *getAddressForm;</variable>
-</variables>
-<signals>
- <signal>destination(t_user *, const QString &amp;, const t_url &amp;, const QString &amp;, bool)</signal>
- <signal>raw_destination(const QString &amp;)</signal>
-</signals>
-<slots>
- <slot>clear()</slot>
- <slot>show( t_user * user_config, const QString &amp; dest, const QString &amp; subject, bool anonymous )</slot>
- <slot>validate()</slot>
- <slot>addToInviteComboBox( const QString &amp; destination )</slot>
- <slot>reject()</slot>
- <slot>closeEvent( QCloseEvent * )</slot>
- <slot>showAddressBook()</slot>
- <slot>selectedAddress( const QString &amp; address )</slot>
- <slot>warnHideUser( void )</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function access="private" specifier="non virtual">destroy()</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </connections>
+</ui>
diff --git a/src/gui/messageform.ui b/src/gui/messageform.ui
index f9a611f..bddcb03 100644
--- a/src/gui/messageform.ui
+++ b/src/gui/messageform.ui
@@ -1,326 +1,230 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>MessageForm</class>
-<widget class="QMainWindow">
- <property name="name">
- <cstring>MessageForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>MessageForm</class>
+ <widget class="Q3MainWindow" name="MessageForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>578</width>
- <height>356</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>578</width>
+ <height>356</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Instant message</string>
+ <property name="windowTitle">
+ <string>Twinkle - Instant message</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout154</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
+ <widget class="QWidget">
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QGridLayout">
+ <item row="1" column="0">
+ <widget class="QLabel" name="toTextLabel">
+ <property name="text">
+ <string>&amp;To:</string>
</property>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>toTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;To:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>toLineEdit</cstring>
- </property>
- </widget>
- <widget class="QComboBox" row="0" column="1">
- <property name="name">
- <cstring>fromComboBox</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The user that will send the message.</string>
- </property>
- </widget>
- <widget class="QLayoutWidget" row="1" column="1">
- <property name="name">
- <cstring>layout152</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>toLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The address of the user that you want to send a message. This can be a full SIP address like &lt;b&gt;sip:example@example.com&lt;/b&gt; or just the user part or telephone number of the full address. When you do not specify a full address, then Twinkle will complete the address by using the domain value of your user profile.</string>
- </property>
- </widget>
- <widget class="QToolButton">
- <property name="name">
- <cstring>addressToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="accel">
- <string>F10</string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>profileTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;User profile:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>fromComboBox</cstring>
- </property>
- </widget>
- </grid>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>conversationGroupBox</cstring>
- </property>
- <property name="title">
- <string>Conversation</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
+ <property name="buddy" stdset="0">
+ <cstring>toLineEdit</cstring>
</property>
- <widget class="TextBrowserNoAutoLink" row="0" column="0">
- <property name="name">
- <cstring>conversationBrowser</cstring>
- </property>
- </widget>
- </grid>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout158</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>msgLineEdit</cstring>
- </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QComboBox" name="fromComboBox">
+ <property name="whatsThis" stdset="0">
+ <string>The user that will send the message.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLineEdit" name="toLineEdit">
<property name="whatsThis" stdset="0">
- <string>Type your message here and then press "send" to send it.</string>
+ <string>The address of the user that you want to send a message. This can be a full SIP address like &lt;b&gt;sip:example@example.com&lt;/b&gt; or just the user part or telephone number of the full address. When you do not specify a full address, then Twinkle will complete the address by using the domain value of your user profile.</string>
</property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>sendPushButton</cstring>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="addressToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
</property>
<property name="text">
- <string>&amp;Send</string>
+ <string/>
</property>
- <property name="accel">
- <string>Alt+S</string>
+ <property name="shortcut">
+ <string>F10</string>
</property>
- <property name="autoDefault">
- <bool>false</bool>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
</property>
- <property name="default">
- <bool>true</bool>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
</property>
<property name="whatsThis" stdset="0">
- <string>Send the message.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
-</widget>
-<toolbars>
- <toolbar dock="2">
- <property name="name">
- <cstring>Toolbar</cstring>
- </property>
- <property name="horizontallyStretchable">
- <bool>false</bool>
- </property>
- <property name="label">
- <string>Instant message toolbar</string>
- </property>
- <action name="sendFileAction"/>
- </toolbar>
-</toolbars>
-<customwidgets>
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="profileTextLabel">
+ <property name="text">
+ <string>&amp;User profile:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>fromComboBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="conversationGroupBox">
+ <property name="title">
+ <string>Conversation</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="TextBrowserNoAutoLink" name="conversationBrowser"/>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLineEdit" name="msgLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Type your message here and then press &quot;send&quot; to send it.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="sendPushButton">
+ <property name="text">
+ <string>&amp;Send</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+S</string>
+ </property>
+ <property name="autoDefault">
+ <bool>false</bool>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Send the message.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <widget class="Q3ToolBar" name="Toolbar">
+ <property name="horizontallyStretchable">
+ <bool>false</bool>
+ </property>
+ <property name="label">
+ <string>Instant message toolbar</string>
+ </property>
+ <addaction name="sendFileAction"/>
+ </widget>
+ <action name="sendFileAction">
+ <property name="name">
+ <cstring>sendFileAction</cstring>
+ </property>
+ <property name="icon">
+ <iconset>attach.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Send file...</string>
+ </property>
+ <property name="toolTip">
+ <string>Send file</string>
+ </property>
+ </action>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <customwidgets>
<customwidget>
- <class>TextBrowserNoAutoLink</class>
- <header location="global">textbrowsernoautolink.h</header>
- <sizehint>
- <width>-1</width>
- <height>-1</height>
- </sizehint>
- <container>0</container>
- <sizepolicy>
- <hordata>7</hordata>
- <verdata>7</verdata>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- <pixmap>image0</pixmap>
- <signal>linkClicked( const QString &amp; link )</signal>
+ <class>TextBrowserNoAutoLink</class>
+ <extends>QWidget</extends>
+ <header location="global">textbrowsernoautolink.h</header>
+ <sizehint>
+ <width>-1</width>
+ <height>-1</height>
+ </sizehint>
+ <container>0</container>
+ <sizepolicy>
+ <hordata>7</hordata>
+ <verdata>7</verdata>
+ </sizepolicy>
+ <pixmap>image0</pixmap>
</customwidget>
-</customwidgets>
-<actions>
- <action>
- <property name="name">
- <cstring>sendFileAction</cstring>
- </property>
- <property name="iconSet">
- <iconset>attach.png</iconset>
- </property>
- <property name="text">
- <string>Send file...</string>
- </property>
- <property name="toolTip">
- <string>Send file</string>
- </property>
- </action>
-</actions>
-<images>
+ </customwidgets>
+ <images>
<image name="image0">
- <data format="PNG" length="1002">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000003b149444154388dad945f4c5b551cc73fe7dc4b7b4bcba0762d45c43114323599ee6192609c51d883892ce083f1718b3ebb185f8dc91e972cf39d2d2a2f1af664b6f1e0fe3863a0718969700eb0c52142da0242a1bd6d696f7bcff101585203ceb8fd9ece39f99dcff9fe7edf939f88c562ec465f5f9fe609442c161362173c3e3eae7b7a7ac8e7f36432196cdbfe4f907c3e4f2291201e8fe338cec3737357e9e8e828aded1e229d650e1f2d51754b082110124c13a4dc5ea341eb9dc284c0558a853f3ce8cb0677ef500fde7d39d2596679e326597b8e9abb85d7a770ab16ab6983ec5a05b487a70e36f0f4e10afe408d6a558310980108478dba4a1e8233990c5d474b64ed39aa3a8fe5f3317fbf81dbd70bccfeb205947632fd74f6589c1c6ea2f70d03a58ba0c1f2c9bdc1b66de3b8256a6e11cbe7e3ee1d181b590124fe2693aeee08d223c82c3a2c24b7b874bec8f26288774f7bd054504aef0dde6e99c0eb83f9fb266323cb80a27fb0958141836044605a2ee5523393371cc646fee2da37195aa35d0c0c5b4859ac03d7e91712dcaac5adab3650a3ff9d08ef7dd8404bb48869e5d958b5b87dadc4c9a1464e9f0d0326df7ebd86bd2e310cb1bf62d384d59441f2d70a070e1c60e09489929b988681bdd9cc97170bcc4c65595f71f8e0e3301337fc24a7732467831875a47f289652b0be5e4151e6d07316c1b0c0340d8ab92023e76d66a6b2840e36d2fb7a13fee632475e6edc367ea98a90fb98b7dd6310ca0328a44761582e1bab41befabcc0ec940d28bc5e93b68e064cab84e1d9beaeb48934eac1f53b01c1b000fca496aa54b61a99fcde61662a4b4b4b23d1680be9d426173e4df3602a48ea411989a4fd590f52a8fd156b05ed9d350e3defe3cfdf4b4c7ce770ea7d3fb9f520afbe1620daeee5c26735d20b9b9cfb6811a754a439e4e5c5639a4caa1e5caf586bfc0197b78702005cb9b4cae4cd3267ce8638fe964bd72b393e39d74928d242617303a756a37f284447770dcdbffc6384a05a85de1306e9a52057c7527c7131c3c42d3f475eb2303c82d4fc3276d6811db37efeb148723082d9b08f79f97c1e5729109a9a28307cc622d2d6cdf52b2b24efe548dedb00142009862cfa879ee1a71f6cec928353511472fbf4389148b0b0e0c108081412458dfe21c9f11351e67e7358595468246d1d1e5e38a6e9e851bc39d84ab502a669331dafec0d8ec7e3e8cb06e1a881d727d1ae40180a434a8c9db129a54126ad48a7358c2b4c5352c8c374bcccdab2bb37d8719cba79fab8211f9df218e0582c261e95f8bfc04f1a1e8bc5c4dfe0a190172af6a9690000000049454e44ae426082</data>
+ <data format="PNG" length="1002">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000003b149444154388dad945f4c5b551cc73fe7dc4b7b4bcba0762d45c43114323599ee6192609c51d883892ce083f1718b3ebb185f8dc91e972cf39d2d2a2f1af664b6f1e0fe3863a0718969700eb0c52142da0242a1bd6d696f7bcff101585203ceb8fd9ece39f99dcff9fe7edf939f88c562ec465f5f9fe609442c161362173c3e3eae7b7a7ac8e7f36432196cdbfe4f907c3e4f2291201e8fe338cec3737357e9e8e828aded1e229d650e1f2d51754b082110124c13a4dc5ea341eb9dc284c0558a853f3ce8cb0677ef500fde7d39d2596679e326597b8e9abb85d7a770ab16ab6983ec5a05b487a70e36f0f4e10afe408d6a558310980108478dba4a1e8233990c5d474b64ed39aa3a8fe5f3317fbf81dbd70bccfeb205947632fd74f6589c1c6ea2f70d03a58ba0c1f2c9bdc1b66de3b8256a6e11cbe7e3ee1d181b590124fe2693aeee08d223c82c3a2c24b7b874bec8f26288774f7bd054504aef0dde6e99c0eb83f9fb266323cb80a27fb0958141836044605a2ee5523393371cc646fee2da37195aa35d0c0c5b4859ac03d7e91712dcaac5adab3650a3ff9d08ef7dd8404bb48869e5d958b5b87dadc4c9a1464e9f0d0326df7ebd86bd2e310cb1bf62d384d59441f2d70a070e1c60e09489929b988681bdd9cc97170bcc4c65595f71f8e0e3301337fc24a7732467831875a47f289652b0be5e4151e6d07316c1b0c0340d8ab92023e76d66a6b2840e36d2fb7a13fee632475e6edc367ea98a90fb98b7dd6310ca0328a44761582e1bab41befabcc0ec940d28bc5e93b68e064cab84e1d9beaeb48934eac1f53b01c1b000fca496aa54b61a99fcde61662a4b4b4b23d1680be9d426173e4df3602a48ea411989a4fd590f52a8fd156b05ed9d350e3defe3cfdf4b4c7ce770ea7d3fb9f520afbe1620daeee5c26735d20b9b9cfb6811a754a439e4e5c5639a4caa1e5caf586bfc0197b78702005cb9b4cae4cd3267ce8638fe964bd72b393e39d74928d242617303a756a37f284447770dcdbffc6384a05a85de1306e9a52057c7527c7131c3c42d3f475eb2303c82d4fc3276d6811db37efeb148723082d9b08f79f97c1e5729109a9a28307cc622d2d6cdf52b2b24efe548dedb00142009862cfa879ee1a71f6cec928353511472fbf4389148b0b0e0c108081412458dfe21c9f11351e67e7358595468246d1d1e5e38a6e9e851bc39d84ab502a669331dafec0d8ec7e3e8cb06e1a881d727d1ae40180a434a8c9db129a54126ad48a7358c2b4c5352c8c374bcccdab2bb37d8719cba79fab8211f9df218e0582c261e95f8bfc04f1a1e8bc5c4dfe0a190172af6a9690000000049454e44ae426082</data>
</image>
-</images>
-<connections>
+ </images>
+ <includes>
+ <include location="local">ui_getaddressform.h</include>
+ <include location="local">qstring.h</include>
+ <include location="local">user.h</include>
+ <include location="local">im/msg_session.h</include>
+ <include location="local">phone.h</include>
+ <include location="local">q3popupmenu.h</include>
+ <include location="local">qlabel.h</include>
+ <include location="local">textbrowsernoautolink.h</include>
+ </includes>
+ <connections>
<connection>
- <sender>sendPushButton</sender>
- <signal>clicked()</signal>
- <receiver>MessageForm</receiver>
- <slot>sendMessage()</slot>
+ <sender>sendPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>MessageForm</receiver>
+ <slot>sendMessage()</slot>
</connection>
<connection>
- <sender>addressToolButton</sender>
- <signal>clicked()</signal>
- <receiver>MessageForm</receiver>
- <slot>showAddressBook()</slot>
+ <sender>addressToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>MessageForm</receiver>
+ <slot>showAddressBook()</slot>
</connection>
<connection>
- <sender>conversationBrowser</sender>
- <signal>linkClicked(const QString&amp;)</signal>
- <receiver>MessageForm</receiver>
- <slot>showAttachmentPopupMenu(const QString&amp;)</slot>
+ <sender>conversationBrowser</sender>
+ <signal>linkClicked(QString)</signal>
+ <receiver>MessageForm</receiver>
+ <slot>showAttachmentPopupMenu(QString)</slot>
</connection>
<connection>
- <sender>sendFileAction</sender>
- <signal>activated()</signal>
- <receiver>MessageForm</receiver>
- <slot>chooseFileToSend()</slot>
+ <sender>sendFileAction</sender>
+ <signal>activated()</signal>
+ <receiver>MessageForm</receiver>
+ <slot>chooseFileToSend()</slot>
</connection>
<connection>
- <sender>toLineEdit</sender>
- <signal>textChanged(const QString&amp;)</signal>
- <receiver>MessageForm</receiver>
- <slot>toAddressChanged(const QString&amp;)</slot>
+ <sender>toLineEdit</sender>
+ <signal>textChanged(QString)</signal>
+ <receiver>MessageForm</receiver>
+ <slot>toAddressChanged(QString)</slot>
</connection>
<connection>
- <sender>msgLineEdit</sender>
- <signal>textChanged(const QString&amp;)</signal>
- <receiver>MessageForm</receiver>
- <slot>showMessageSize()</slot>
+ <sender>msgLineEdit</sender>
+ <signal>textChanged(QString)</signal>
+ <receiver>MessageForm</receiver>
+ <slot>showMessageSize()</slot>
</connection>
-</connections>
-<includes>
- <include location="local" impldecl="in declaration">getaddressform.h</include>
- <include location="local" impldecl="in declaration">qstring.h</include>
- <include location="local" impldecl="in declaration">user.h</include>
- <include location="local" impldecl="in declaration">im/msg_session.h</include>
- <include location="local" impldecl="in declaration">phone.h</include>
- <include location="local" impldecl="in declaration">qpopupmenu.h</include>
- <include location="local" impldecl="in declaration">qlabel.h</include>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">sockets/url.h</include>
- <include location="local" impldecl="in implementation">qstylesheet.h</include>
- <include location="local" impldecl="in implementation">audits/memman.h</include>
- <include location="local" impldecl="in implementation">util.h</include>
- <include location="local" impldecl="in implementation">qpixmap.h</include>
- <include location="local" impldecl="in implementation">qcursor.h</include>
- <include location="local" impldecl="in implementation">qfiledialog.h</include>
- <include location="local" impldecl="in implementation">utils/file_utils.h</include>
- <include location="local" impldecl="in implementation">qfile.h</include>
- <include location="local" impldecl="in implementation">sendfileform.h</include>
- <include location="local" impldecl="in implementation">qstatusbar.h</include>
- <include location="local" impldecl="in implementation">qframe.h</include>
- <include location="local" impldecl="in implementation">messageform.ui.h</include>
-</includes>
-<forwards>
- <forward>class t_phone;</forward>
- <forward>extern t_phone *phone;</forward>
-</forwards>
-<variables>
- <variable access="private">QDialog *_saveAsDialog;</variable>
- <variable access="private">map&lt;string, string&gt; _filenameMap;</variable>
- <variable>im::t_msg_session *_msgSession;</variable>
- <variable access="private">bool _remotePartyComplete;</variable>
- <variable access="private">GetAddressForm *_getAddressForm;</variable>
- <variable access="private">QPopupMenu *attachmentPopupMenu;</variable>
- <variable access="private">QString clickedAttachment;</variable>
- <variable access="private">void *_serviceMap;</variable>
- <variable access="private">QLabel *_isComposingLabel;</variable>
- <variable access="private">QLabel *_msgSizeLabel;</variable>
-</variables>
-<slots>
- <slot>closeEvent( QCloseEvent * e )</slot>
- <slot>show()</slot>
- <slot>selectUserConfig( t_user * user_config )</slot>
- <slot>showAddressBook()</slot>
- <slot>selectedAddress( const QString &amp; address )</slot>
- <slot>sendMessage()</slot>
- <slot>sendFile( const QString &amp; filename, const QString &amp; subject )</slot>
- <slot>addMessage( const im::t_msg &amp; msg, const QString &amp; name )</slot>
- <slot>displayError( const QString &amp; errorMsg )</slot>
- <slot>displayDeliveryNotification( const QString &amp; notification )</slot>
- <slot>setRemotePartyCaption( void )</slot>
- <slot>showAttachmentPopupMenu( const QString &amp; attachment )</slot>
- <slot>attachmentPopupActivated( int id )</slot>
- <slot>saveAttachment()</slot>
- <slot>chooseFileToSend()</slot>
- <slot>setComposingIndication( const QString &amp; name )</slot>
- <slot>clearComposingIndication()</slot>
- <slot>setLocalComposingIndicationActive()</slot>
- <slot>keyPressEvent( QKeyEvent * e )</slot>
- <slot>toAddressChanged( const QString &amp; address )</slot>
- <slot>showMessageSize()</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function access="private" specifier="non virtual">destroy()</function>
- <function returnType="bool">updateMessageSession()</function>
- <function returnType="bool">prepareSendMessage()</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>textbrowsernoautolink.h</includehint>
-</includehints>
-</UI>
+ </connections>
+</ui>
diff --git a/src/gui/messageformview.h b/src/gui/messageformview.h
index 64c62c3..a5c547e 100644
--- a/src/gui/messageformview.h
+++ b/src/gui/messageformview.h
@@ -19,12 +19,12 @@
#ifndef _MESSAGEFORMVIEW_H
#define _MESSAGEFORMVIEW_H
-#include "messageform.h"
+#include "ui_messageform.h"
#include "im/msg_session.h"
#include "patterns/observer.h"
-class MessageFormView : public MessageForm, patterns::t_observer
+class MessageFormView : public Ui::MessageForm, patterns::t_observer
{
Q_OBJECT
private:
diff --git a/src/gui/mphoneform.ui b/src/gui/mphoneform.ui
index 4a07346..00b3290 100644
--- a/src/gui/mphoneform.ui
+++ b/src/gui/mphoneform.ui
@@ -1,2851 +1,2129 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>MphoneForm</class>
-<widget class="QMainWindow">
- <property name="name">
- <cstring>MphoneForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>MphoneForm</class>
+ <widget class="Q3MainWindow" name="MphoneForm">
<property name="enabled">
- <bool>true</bool>
+ <bool>true</bool>
</property>
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>739</width>
- <height>693</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>739</width>
+ <height>693</height>
+ </rect>
</property>
<property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
<property name="minimumSize">
- <size>
- <width>714</width>
- <height>693</height>
- </size>
+ <size>
+ <width>714</width>
+ <height>693</height>
+ </size>
</property>
- <property name="caption">
- <string>Twinkle</string>
+ <property name="windowTitle">
+ <string>Twinkle</string>
</property>
- <property name="icon">
- <pixmap>twinkle16.png</pixmap>
+ <property name="windowIcon">
+ <pixmap>twinkle16.png</pixmap>
</property>
<property name="rightJustification">
- <bool>false</bool>
+ <bool>false</bool>
</property>
<property name="usesBigPixmaps">
- <bool>false</bool>
+ <bool>false</bool>
</property>
<property name="usesTextLabel">
- <bool>true</bool>
+ <bool>true</bool>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QSplitter" row="0" column="0">
- <property name="name">
- <cstring>splitter2</cstring>
- </property>
+ <widget class="QWidget">
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QSplitter" name="splitter2">
<property name="orientation">
- <enum>Horizontal</enum>
+ <enum>Qt::Horizontal</enum>
</property>
- <widget class="QListView">
- <column>
- <property name="text">
- <string>Buddy list</string>
- </property>
- <property name="clickable">
- <bool>false</bool>
- </property>
- <property name="resizable">
- <bool>false</bool>
- </property>
- </column>
- <property name="name">
- <cstring>buddyListView</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>7</vsizetype>
- <horstretch>150</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- <property name="rootIsDecorated">
- <bool>true</bool>
+ <widget class="Q3ListView" name="buddyListView">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>7</vsizetype>
+ <horstretch>150</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="rootIsDecorated">
+ <bool>true</bool>
+ </property>
+ <property name="resizeMode">
+ <enum>Q3ListView::LastColumn</enum>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>You can create a separate buddy list for each user profile. You can only see availability of your buddies and publish your own availability if your provider offers a presence server.</string>
+ </property>
+ <column>
+ <property name="text">
+ <string>Buddy list</string>
</property>
- <property name="resizeMode">
- <enum>LastColumn</enum>
+ <property name="clickable">
+ <bool>false</bool>
</property>
- <property name="whatsThis" stdset="0">
- <string>You can create a separate buddy list for each user profile. You can only see availability of your buddies and publish your own availability if your provider offers a presence server.</string>
+ <property name="resizable">
+ <bool>false</bool>
</property>
+ </column>
</widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout13</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout76</cstring>
+ <widget class="QWidget" name="layout13">
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QGridLayout">
+ <item row="1" column="0">
+ <widget class="QLabel" name="callTextLabel">
+ <property name="text">
+ <string comment="Label in front of combobox to enter address">&amp;Call:</string>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>callTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Call:</string>
- <comment>Label in front of combobox to enter address</comment>
- </property>
- <property name="buddy" stdset="0">
- <cstring>callComboBox</cstring>
- </property>
- </widget>
- <widget class="QLayoutWidget" row="1" column="1">
- <property name="name">
- <cstring>layout71</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QComboBox">
- <property name="name">
- <cstring>callComboBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>3</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="editable">
- <bool>true</bool>
- </property>
- <property name="maxCount">
- <number>10</number>
- </property>
- <property name="insertionPolicy">
- <enum>NoInsertion</enum>
- </property>
- <property name="autoCompletion">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The address that you want to call. This can be a full SIP address like &lt;b&gt;sip:example@example.com&lt;/b&gt; or just the user part or telephone number of the full address. When you do not specify a full address, then Twinkle will complete the address by using the domain value of your user profile.</string>
- </property>
- </widget>
- <widget class="QToolButton">
- <property name="name">
- <cstring>addressToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="accel">
- <string>F10</string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>callPushButton</cstring>
- </property>
- <property name="text">
- <string>Dial</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Dial the address.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>userLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;User:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>userComboBox</cstring>
- </property>
- </widget>
- <widget class="QLayoutWidget" row="0" column="1">
- <property name="name">
- <cstring>layout75</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QComboBox">
- <property name="name">
- <cstring>userComboBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>3</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The user that will make the call.</string>
- </property>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout74</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>statAaLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>13</cursor>
- </property>-->
- <property name="frameShadow">
- <enum>Plain</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>auto_answer.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Auto answer indication.</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>statCfLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>13</cursor>
- </property>-->
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>cf.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Call redirect indication.</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>statDndLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>13</cursor>
- </property>-->
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>cancel.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Do not disturb indication.</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>statMWILabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>13</cursor>
- </property>-->
- <property name="frameShadow">
- <enum>Plain</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>mwi_none16.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Message waiting indication.</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>statMissedLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>13</cursor>
- </property>-->
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>missed.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Missed call indication.</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>statRegLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>13</cursor>
- </property>-->
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>twinkle16.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Registration status.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </hbox>
- </widget>
- </grid>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>displayGroupBox</cstring>
+ <property name="buddy" stdset="0">
+ <cstring>callComboBox</cstring>
</property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>5</vsizetype>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QComboBox" name="callComboBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
- </sizepolicy>
+ </sizepolicy>
+ </property>
+ <property name="editable">
+ <bool>true</bool>
+ </property>
+ <property name="maxCount">
+ <number>10</number>
+ </property>
+ <property name="insertPolicy">
+ <enum>QComboBox::NoInsert</enum>
+ </property>
+ <property name="autoCompletion">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The address that you want to call. This can be a full SIP address like &lt;b&gt;sip:example@example.com&lt;/b&gt; or just the user part or telephone number of the full address. When you do not specify a full address, then Twinkle will complete the address by using the domain value of your user profile.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="addressToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="shortcut">
+ <string>F10</string>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="callPushButton">
+ <property name="text">
+ <string>Dial</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Dial the address.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="userLabel">
+ <property name="text">
+ <string>&amp;User:</string>
</property>
- <property name="title">
- <string>Display</string>
+ <property name="buddy" stdset="0">
+ <cstring>userComboBox</cstring>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QComboBox" name="userComboBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The user that will make the call.</string>
</property>
- <widget class="QTextEdit">
- <property name="name">
- <cstring>displayTextEdit</cstring>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="statAaLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="statCfLabel">
<property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>3</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
- <property name="vScrollBarMode">
- <enum>AlwaysOn</enum>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="statDndLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="textFormat">
- <enum>PlainText</enum>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
- <property name="text">
- <string></string>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="statMWILabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
<property name="wordWrap">
- <enum>NoWrap</enum>
+ <bool>false</bool>
</property>
- <property name="readOnly">
- <bool>true</bool>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="statMissedLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="autoFormatting">
- <set>AutoAll</set>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
- </widget>
- </vbox>
- </widget>
- <widget class="QButtonGroup">
- <property name="name">
- <cstring>lineButtonGroup</cstring>
- </property>
- <property name="sizePolicy">
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="statRegLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="displayGroupBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="title">
+ <string>Display</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="Q3TextEdit" name="displayTextEdit">
+ <property name="sizePolicy">
<sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
+ <hsizetype>7</hsizetype>
+ <vsizetype>3</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
</sizepolicy>
- </property>
- <property name="title">
- <string>Line status</string>
- </property>
- <property name="exclusive">
+ </property>
+ <property name="vScrollBarMode">
+ <enum>Q3ScrollView::AlwaysOn</enum>
+ </property>
+ <property name="textFormat">
+ <enum>Qt::PlainText</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="wordWrap">
+ <enum>Q3TextEdit::NoWrap</enum>
+ </property>
+ <property name="readOnly">
<bool>true</bool>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout20</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout27</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QRadioButton">
- <property name="name">
- <cstring>line1RadioButton</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Line &amp;1:</string>
- </property>
- <property name="accel">
- <string>Alt+1</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Click to switch to line 1.</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>fromhead1Label</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>From:</string>
- </property>
- <property name="indent">
- <number>21</number>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>tohead1Label</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>To:</string>
- </property>
- <property name="indent">
- <number>21</number>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>subjecthead1Label</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Subject:</string>
- </property>
- <property name="indent">
- <number>21</number>
- </property>
- </widget>
- </vbox>
+ </property>
+ <property name="autoFormatting">
+ <set>Q3TextEdit::AutoAll</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3ButtonGroup" name="lineButtonGroup">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="title">
+ <string>Line status</string>
+ </property>
+ <property name="exclusive">
+ <bool>true</bool>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QRadioButton" name="line1RadioButton">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Line &amp;1:</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+1</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Click to switch to line 1.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="fromhead1Label">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>From:</string>
+ </property>
+ <property name="indent">
+ <number>21</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="tohead1Label">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>To:</string>
+ </property>
+ <property name="indent">
+ <number>21</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="subjecthead1Label">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Subject:</string>
+ </property>
+ <property name="indent">
+ <number>21</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="line1StatLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="status1TextLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">idle</string>
+ </property>
+ <property name="textFormat">
+ <enum>Qt::RichText</enum>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="line1HoldLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="line1MuteLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout19</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout17</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>line1StatLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>0</cursor>
- </property>-->
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>stat_ringing.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Visual indication of line state.</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>status1TextLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>85</red>
- <green>0</green>
- <blue>255</blue>
- </color>
- </property>
- <property name="text">
- <string>idle</string>
- <comment>No need to translate</comment>
- </property>
- <property name="textFormat">
- <enum>RichText</enum>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>line1HoldLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>0</cursor>
- </property>-->
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>hold.png</pixmap>
- </property>
- <property name="toolTip" stdset="0">
- <string>Call is on hold</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>line1MuteLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>0</cursor>
- </property>-->
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>stat_mute.png</pixmap>
- </property>
- <property name="toolTip" stdset="0">
- <string>Voice is muted</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>line1ConfLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>0</cursor>
- </property>-->
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>stat_conference.png</pixmap>
- </property>
- <property name="toolTip" stdset="0">
- <string>Conference call</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>line1ReferLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>0</cursor>
- </property>-->
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>cf.png</pixmap>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transferring call</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>crypt1Label</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>13</cursor>
- </property>-->
- <property name="frameShape">
- <enum>Panel</enum>
- </property>
- <property name="frameShadow">
- <enum>Raised</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>encrypted.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
-The padlock indicates that your voice is encrypted during transport over the network.
-&lt;/p&gt;
-&lt;h3&gt;SAS - Short Authentication String&lt;/h3&gt;
-&lt;p&gt;
-Both ends of an encrypted voice channel receive the same SAS on the first call. If the SAS is different at each end, your voice channel may be compromised by a man-in-the-middle attack (MitM).
-&lt;/p&gt;
-&lt;p&gt;
-If the SAS is equal at both ends, then you should confirm it by clicking this padlock for stronger security of future calls to the same destination. For subsequent calls to the same destination, you don't have to confirm the SAS again. The padlock will show a check symbol when the SAS has been confirmed.
-&lt;/p&gt;</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>line1SasLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>sas</string>
- <comment>No need to translate</comment>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Short authentication string</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>codec1TextLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>0</red>
- <green>170</green>
- <blue>127</blue>
- </color>
- </property>
- <property name="text">
- <string>g711a/g711a</string>
- <comment>No need to translate</comment>
- </property>
- <property name="alignment">
- <set>AlignVCenter|AlignRight</set>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Audio codec</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>timer1TextLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="font">
- <font>
- <family>Courier New</family>
- </font>
- </property>
- <property name="text">
- <string>0:00:00</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Call duration</string>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>from1Label</cstring>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>85</red>
- <green>0</green>
- <blue>255</blue>
- </color>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>238</red>
- <green>234</green>
- <blue>238</blue>
- </color>
- </property>
- <property name="focusPolicy">
- <enum>NoFocus</enum>
- </property>
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="text">
- <string>sip:from</string>
- <comment>No need to translate</comment>
- </property>
- <property name="alignment">
- <set>AlignAuto</set>
- </property>
- <property name="readOnly">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>to1Label</cstring>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>85</red>
- <green>0</green>
- <blue>255</blue>
- </color>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>238</red>
- <green>234</green>
- <blue>238</blue>
- </color>
- </property>
- <property name="focusPolicy">
- <enum>NoFocus</enum>
- </property>
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="text">
- <string>sip:to</string>
- <comment>No need to translate</comment>
- </property>
- <property name="readOnly">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>subject1Label</cstring>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>85</red>
- <green>0</green>
- <blue>255</blue>
- </color>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>238</red>
- <green>234</green>
- <blue>238</blue>
- </color>
- </property>
- <property name="focusPolicy">
- <enum>NoFocus</enum>
- </property>
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="text">
- <string>subject</string>
- <comment>No need to translate</comment>
- </property>
- <property name="readOnly">
- <bool>true</bool>
- </property>
- </widget>
- </vbox>
+ </item>
+ <item>
+ <widget class="QLabel" name="line1ConfLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>photo1Label</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>70</width>
- <height>98</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>70</width>
- <height>98</height>
- </size>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
- </property>
- <property name="text">
- <string>photo</string>
- <comment>No need to translate</comment>
- </property>
+ </item>
+ <item>
+ <widget class="QLabel" name="line1ReferLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- </hbox>
+ </item>
+ <item>
+ <widget class="QLabel" name="crypt1Label">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="line1SasLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">sas</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Short authentication string</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="codec1TextLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">g711a/g711a</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignVCenter|Qt::AlignRight</set>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Audio codec</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="timer1TextLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="font">
+ <font>
+ <family>Courier New</family>
+ </font>
+ </property>
+ <property name="text">
+ <string>0:00:00</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Call duration</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="from1Label">
+ <property name="focusPolicy">
+ <enum>Qt::NoFocus</enum>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">sip:from</string>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="to1Label">
+ <property name="focusPolicy">
+ <enum>Qt::NoFocus</enum>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">sip:to</string>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="subject1Label">
+ <property name="focusPolicy">
+ <enum>Qt::NoFocus</enum>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">subject</string>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="QLabel" name="photo1Label">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>70</width>
+ <height>98</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>70</width>
+ <height>98</height>
+ </size>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">photo</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout22</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout31</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QRadioButton">
- <property name="name">
- <cstring>line2RadioButton</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Line &amp;2:</string>
- </property>
- <property name="accel">
- <string>Alt+2</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Click to switch to line 2.</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>fromhead2Label</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>From:</string>
- </property>
- <property name="indent">
- <number>21</number>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>tohead2Label</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>To:</string>
- </property>
- <property name="indent">
- <number>21</number>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>subjecthead2Label</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Subject:</string>
- </property>
- <property name="indent">
- <number>21</number>
- </property>
- </widget>
- </vbox>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QRadioButton" name="line2RadioButton">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Line &amp;2:</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+2</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Click to switch to line 2.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="fromhead2Label">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>From:</string>
+ </property>
+ <property name="indent">
+ <number>21</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="tohead2Label">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>To:</string>
+ </property>
+ <property name="indent">
+ <number>21</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="subjecthead2Label">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Subject:</string>
+ </property>
+ <property name="indent">
+ <number>21</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="line2StatLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="status2TextLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">idle</string>
+ </property>
+ <property name="textFormat">
+ <enum>Qt::RichText</enum>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="line2HoldLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="line2MuteLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="line2ConfLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout21</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout18</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>line2StatLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>0</cursor>
- </property>-->
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>stat_ringing.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Visual indication of line state.</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>status2TextLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>85</red>
- <green>0</green>
- <blue>255</blue>
- </color>
- </property>
- <property name="text">
- <string>idle</string>
- <comment>No need to translate</comment>
- </property>
- <property name="textFormat">
- <enum>RichText</enum>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>line2HoldLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>0</cursor>
- </property>-->
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>hold.png</pixmap>
- </property>
- <property name="toolTip" stdset="0">
- <string>Call is on hold</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>line2MuteLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>0</cursor>
- </property>-->
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>stat_mute.png</pixmap>
- </property>
- <property name="toolTip" stdset="0">
- <string>Voice is muted</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>line2ConfLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>0</cursor>
- </property>-->
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>stat_conference.png</pixmap>
- </property>
- <property name="toolTip" stdset="0">
- <string>Conference call</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>line2ReferLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>0</cursor>
- </property>-->
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>cf.png</pixmap>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transferring call</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>crypt2Label</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <!--<property name="cursor">
- <cursor>13</cursor>
- </property>-->
- <property name="frameShape">
- <enum>Panel</enum>
- </property>
- <property name="frameShadow">
- <enum>Raised</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>encrypted.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
-The padlock indicates that your voice is encrypted during transport over the network.
-&lt;/p&gt;
-&lt;h3&gt;SAS - Short Authentication String&lt;/h3&gt;
-&lt;p&gt;
-Both ends of an encrypted voice channel receive the same SAS on the first call. If the SAS is different at each end, your voice channel may be compromised by a man-in-the-middle attack (MitM).
-&lt;/p&gt;
-&lt;p&gt;
-If the SAS is equal at both ends, then you should confirm it by clicking this padlock for stronger security of future calls to the same destination. For subsequent calls to the same destination, you don't have to confirm the SAS again. The padlock will show a check symbol when the SAS has been confirmed.
-&lt;/p&gt;</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>line2SasLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>sas</string>
- <comment>No need to translate</comment>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Short authentication string</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>codec2TextLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>0</red>
- <green>170</green>
- <blue>127</blue>
- </color>
- </property>
- <property name="text">
- <string>g711a/g711a</string>
- <comment>No need to translate</comment>
- </property>
- <property name="alignment">
- <set>AlignVCenter|AlignRight</set>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Audio codec</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>timer2TextLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="font">
- <font>
- <family>Courier New</family>
- </font>
- </property>
- <property name="text">
- <string>0:00:00</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Call duration</string>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>from2Label</cstring>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>85</red>
- <green>0</green>
- <blue>255</blue>
- </color>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>238</red>
- <green>234</green>
- <blue>238</blue>
- </color>
- </property>
- <property name="focusPolicy">
- <enum>NoFocus</enum>
- </property>
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="text">
- <string>sip:from</string>
- <comment>No need to translate</comment>
- </property>
- <property name="readOnly">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>to2Label</cstring>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>85</red>
- <green>0</green>
- <blue>255</blue>
- </color>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>238</red>
- <green>234</green>
- <blue>238</blue>
- </color>
- </property>
- <property name="focusPolicy">
- <enum>NoFocus</enum>
- </property>
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="text">
- <string>sip:to</string>
- <comment>No need to translate</comment>
- </property>
- <property name="readOnly">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>subject2Label</cstring>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>85</red>
- <green>0</green>
- <blue>255</blue>
- </color>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>238</red>
- <green>234</green>
- <blue>238</blue>
- </color>
- </property>
- <property name="focusPolicy">
- <enum>NoFocus</enum>
- </property>
- <property name="frameShape">
- <enum>NoFrame</enum>
- </property>
- <property name="text">
- <string>subject</string>
- <comment>No need to translate</comment>
- </property>
- <property name="readOnly">
- <bool>true</bool>
- </property>
- </widget>
- </vbox>
+ </item>
+ <item>
+ <widget class="QLabel" name="line2ReferLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>photo2Label</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>70</width>
- <height>98</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>70</width>
- <height>98</height>
- </size>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
- </property>
- <property name="text">
- <string>photo</string>
- <comment>No need to translate</comment>
- </property>
+ </item>
+ <item>
+ <widget class="QLabel" name="crypt2Label">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- </hbox>
+ </item>
+ <item>
+ <widget class="QLabel" name="line2SasLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">sas</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Short authentication string</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="codec2TextLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">g711a/g711a</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignVCenter|Qt::AlignRight</set>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Audio codec</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="timer2TextLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="font">
+ <font>
+ <family>Courier New</family>
+ </font>
+ </property>
+ <property name="text">
+ <string>0:00:00</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Call duration</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="from2Label">
+ <property name="focusPolicy">
+ <enum>Qt::NoFocus</enum>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">sip:from</string>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="to2Label">
+ <property name="focusPolicy">
+ <enum>Qt::NoFocus</enum>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">sip:to</string>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="subject2Label">
+ <property name="focusPolicy">
+ <enum>Qt::NoFocus</enum>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">subject</string>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="QLabel" name="photo2Label">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>70</width>
+ <height>98</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>70</width>
+ <height>98</height>
+ </size>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">photo</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- </vbox>
- </widget>
- </vbox>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
</widget>
- </widget>
- </grid>
-</widget>
-<menubar>
- <property name="name">
- <cstring>menubar</cstring>
- </property>
- <item text="&amp;File" name="fileMenu">
- <action name="fileChangeUserAction"/>
- <separator/>
- <action name="fileExitAction"/>
- </item>
- <item text="&amp;Edit" name="Edit">
- <action name="editUserProfileAction"/>
- <action name="editSysSettingsAction"/>
- </item>
- <item text="C&amp;all" name="Call">
- <action name="callInvite"/>
- <action name="callAnswer"/>
- <action name="callBye"/>
- <action name="callReject"/>
- <action name="callRedirect"/>
- <action name="callTransfer"/>
- <action name="callHold"/>
- <action name="callConference"/>
- <action name="callMute"/>
- <action name="callDTMF"/>
- <action name="callRedial"/>
- <separator/>
- <action name="callTermCap"/>
- <action name="callActivate_LineAction"/>
- <item text="Activate line" name="popupMenu_19" accel="">
- <action name="actionLine1"/>
- <action name="actionLine2"/>
+ </widget>
</item>
- </item>
- <item text="&amp;Message" name="Message">
- <action name="actionSendMsg"/>
- </item>
- <item text="&amp;Registration" name="PopupMenu_2">
- <action name="regRegister"/>
- <action name="regDeregister"/>
- <action name="regDeregisterAll"/>
- <action name="regShow"/>
- </item>
- <item text="&amp;Services" name="PopupMenu_3">
- <action name="serviceDnd"/>
- <action name="serviceRedirection"/>
- <action name="serviceAutoAnswer"/>
- <action name="servicesVoice_mailAction"/>
- </item>
- <item text="&amp;View" name="View">
- <action name="viewCall_HistoryAction"/>
- <action name="viewLogAction"/>
- <action name="viewDisplayAction"/>
- <action name="viewBuddyListAction"/>
- </item>
- <item text="Diamondcard" name="Diamondcard">
- <action name="diamondcardSign_upAction"/>
- </item>
- <item text="&amp;Help" name="helpMenu">
- <action name="helpWhats_ThisAction"/>
- <separator/>
- <action name="helpManualAction"/>
- <action name="helpAboutAction"/>
- <action name="helpAboutQtAction"/>
- </item>
- <separator/>
-</menubar>
-<toolbars>
- <toolbar dock="2">
- <property name="name">
- <cstring>callToolbar</cstring>
- </property>
- <property name="resizeEnabled">
- <bool>false</bool>
- </property>
- <property name="movingEnabled">
- <bool>true</bool>
- </property>
- <property name="horizontallyStretchable">
- <bool>true</bool>
- </property>
- <property name="verticallyStretchable">
- <bool>true</bool>
- </property>
- <property name="label">
- <string>Call Toolbar</string>
- </property>
- <action name="callInvite"/>
- <action name="callAnswer"/>
- <action name="callBye"/>
- <action name="callReject"/>
- <action name="callRedirect"/>
- <action name="callTransfer"/>
- <action name="callHold"/>
- <action name="callConference"/>
- <action name="callMute"/>
- <action name="callDTMF"/>
- <action name="callRedial"/>
- <action name="actionSendMsg"/>
- </toolbar>
-</toolbars>
-<actions>
- <action>
- <property name="name">
- <cstring>fileExitAction</cstring>
- </property>
- <property name="iconSet">
- <iconset>exit.png</iconset>
- </property>
- <property name="text">
- <string>Quit</string>
- </property>
- <property name="menuText">
- <string>&amp;Quit</string>
- </property>
- <property name="accel">
- <string>Ctrl+Q</string>
- </property>
+ </layout>
+ </widget>
+ <widget class="Q3ToolBar" name="callToolbar">
+ <property name="resizeEnabled">
+ <bool>false</bool>
+ </property>
+ <property name="movingEnabled">
+ <bool>true</bool>
+ </property>
+ <property name="horizontallyStretchable">
+ <bool>true</bool>
+ </property>
+ <property name="verticallyStretchable">
+ <bool>true</bool>
+ </property>
+ <property name="label">
+ <string>Call Toolbar</string>
+ </property>
+ <addaction name="callInvite"/>
+ <addaction name="callAnswer"/>
+ <addaction name="callBye"/>
+ <addaction name="callReject"/>
+ <addaction name="callRedirect"/>
+ <addaction name="callTransfer"/>
+ <addaction name="callHold"/>
+ <addaction name="callConference"/>
+ <addaction name="callMute"/>
+ <addaction name="callDTMF"/>
+ <addaction name="callRedial"/>
+ <addaction name="actionSendMsg"/>
+ </widget>
+ <widget class="QMenuBar" name="menubar">
+ <widget class="QMenu" name="fileMenu">
+ <property name="title">
+ <string>&amp;File</string>
+ </property>
+ <addaction name="fileChangeUserAction"/>
+ <addaction name="separator"/>
+ <addaction name="fileExitAction"/>
+ </widget>
+ <widget class="QMenu" name="Edit">
+ <property name="title">
+ <string>&amp;Edit</string>
+ </property>
+ <addaction name="editUserProfileAction"/>
+ <addaction name="editSysSettingsAction"/>
+ </widget>
+ <widget class="QMenu" name="Call">
+ <property name="title">
+ <string>C&amp;all</string>
+ </property>
+ <widget class="QMenu" name="popupMenu_19">
+ <property name="title">
+ <string>Activate line</string>
+ </property>
+ <addaction name="actionLine1"/>
+ <addaction name="actionLine2"/>
+ </widget>
+ <addaction name="callInvite"/>
+ <addaction name="callAnswer"/>
+ <addaction name="callBye"/>
+ <addaction name="callReject"/>
+ <addaction name="callRedirect"/>
+ <addaction name="callTransfer"/>
+ <addaction name="callHold"/>
+ <addaction name="callConference"/>
+ <addaction name="callMute"/>
+ <addaction name="callDTMF"/>
+ <addaction name="callRedial"/>
+ <addaction name="separator"/>
+ <addaction name="callTermCap"/>
+ <addaction name="callActivate_LineAction"/>
+ <addaction name="popupMenu_19"/>
+ </widget>
+ <widget class="QMenu" name="Message">
+ <property name="title">
+ <string>&amp;Message</string>
+ </property>
+ <addaction name="actionSendMsg"/>
+ </widget>
+ <widget class="QMenu" name="PopupMenu_2">
+ <property name="title">
+ <string>&amp;Registration</string>
+ </property>
+ <addaction name="regRegister"/>
+ <addaction name="regDeregister"/>
+ <addaction name="regDeregisterAll"/>
+ <addaction name="regShow"/>
+ </widget>
+ <widget class="QMenu" name="PopupMenu_3">
+ <property name="title">
+ <string>&amp;Services</string>
+ </property>
+ <addaction name="serviceDnd"/>
+ <addaction name="serviceRedirection"/>
+ <addaction name="serviceAutoAnswer"/>
+ <addaction name="servicesVoice_mailAction"/>
+ </widget>
+ <widget class="QMenu" name="View">
+ <property name="title">
+ <string>&amp;View</string>
+ </property>
+ <addaction name="viewCall_HistoryAction"/>
+ <addaction name="viewLogAction"/>
+ <addaction name="viewDisplayAction"/>
+ <addaction name="viewBuddyListAction"/>
+ </widget>
+ <widget class="QMenu" name="Diamondcard">
+ <property name="title">
+ <string>Diamondcard</string>
+ </property>
+ <addaction name="diamondcardSign_upAction"/>
+ </widget>
+ <widget class="QMenu" name="helpMenu">
+ <property name="title">
+ <string>&amp;Help</string>
+ </property>
+ <addaction name="helpWhats_ThisAction"/>
+ <addaction name="separator"/>
+ <addaction name="helpManualAction"/>
+ <addaction name="helpAboutAction"/>
+ <addaction name="helpAboutQtAction"/>
+ </widget>
+ <addaction name="fileMenu"/>
+ <addaction name="Edit"/>
+ <addaction name="Call"/>
+ <addaction name="Message"/>
+ <addaction name="PopupMenu_2"/>
+ <addaction name="PopupMenu_3"/>
+ <addaction name="View"/>
+ <addaction name="Diamondcard"/>
+ <addaction name="helpMenu"/>
+ <addaction name="separator"/>
+ </widget>
+ <action name="fileExitAction">
+ <property name="name">
+ <cstring>fileExitAction</cstring>
+ </property>
+ <property name="icon">
+ <iconset>exit.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Quit</string>
+ </property>
+ <property name="text">
+ <string>&amp;Quit</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+Q</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>helpAboutAction</cstring>
- </property>
- <property name="iconSet">
- <iconset>twinkle16.png</iconset>
- </property>
- <property name="text">
- <string>About Twinkle</string>
- </property>
- <property name="menuText">
- <string>&amp;About Twinkle</string>
- </property>
- <property name="accel">
- <string></string>
- </property>
+ <action name="helpAboutAction">
+ <property name="name">
+ <cstring>helpAboutAction</cstring>
+ </property>
+ <property name="icon">
+ <iconset>twinkle16.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>About Twinkle</string>
+ </property>
+ <property name="text">
+ <string>&amp;About Twinkle</string>
+ </property>
+ <property name="shortcut">
+ <string/>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>callInvite</cstring>
- </property>
- <property name="iconSet">
- <iconset>invite.png</iconset>
- </property>
- <property name="text">
- <string>Call</string>
- <comment>toolbar text</comment>
- </property>
- <property name="menuText">
- <string>&amp;Call...</string>
- <comment>call menu text</comment>
- </property>
- <property name="toolTip">
- <string>Call someone</string>
- </property>
- <property name="accel">
- <string>F5</string>
- </property>
+ <action name="callInvite">
+ <property name="name">
+ <cstring>callInvite</cstring>
+ </property>
+ <property name="icon">
+ <iconset>invite.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Call</string>
+ </property>
+ <property name="text">
+ <string>&amp;Call...</string>
+ </property>
+ <property name="toolTip">
+ <string>Call someone</string>
+ </property>
+ <property name="shortcut">
+ <string>F5</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>callAnswer</cstring>
- </property>
- <property name="iconSet">
- <iconset>answer.png</iconset>
- </property>
- <property name="text">
- <string>Answer</string>
- <comment>toolbar text</comment>
- </property>
- <property name="menuText">
- <string>&amp;Answer</string>
- <comment>menu text</comment>
- </property>
- <property name="toolTip">
- <string>Answer incoming call</string>
- </property>
- <property name="accel">
- <string>F6</string>
- </property>
+ <action name="callAnswer">
+ <property name="name">
+ <cstring>callAnswer</cstring>
+ </property>
+ <property name="icon">
+ <iconset>answer.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Answer</string>
+ </property>
+ <property name="text">
+ <string>&amp;Answer</string>
+ </property>
+ <property name="toolTip">
+ <string>Answer incoming call</string>
+ </property>
+ <property name="shortcut">
+ <string>F6</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>callBye</cstring>
- </property>
- <property name="iconSet">
- <iconset>bye.png</iconset>
- </property>
- <property name="text">
- <string>Bye</string>
- <comment>toolbar text</comment>
- </property>
- <property name="menuText">
- <string>&amp;Bye</string>
- <comment>menu text</comment>
- </property>
- <property name="toolTip">
- <string>Release call</string>
- </property>
- <property name="accel">
- <string>Esc</string>
- </property>
+ <action name="callBye">
+ <property name="name">
+ <cstring>callBye</cstring>
+ </property>
+ <property name="icon">
+ <iconset>bye.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Bye</string>
+ </property>
+ <property name="text">
+ <string>&amp;Bye</string>
+ </property>
+ <property name="toolTip">
+ <string>Release call</string>
+ </property>
+ <property name="shortcut">
+ <string>Esc</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>callReject</cstring>
- </property>
- <property name="iconSet">
- <iconset>reject.png</iconset>
- </property>
- <property name="text">
- <string>Reject</string>
- <comment>toolbar text</comment>
- </property>
- <property name="menuText">
- <string>&amp;Reject</string>
- <comment>menu text</comment>
- </property>
- <property name="toolTip">
- <string>Reject incoming call</string>
- </property>
- <property name="accel">
- <string>F8</string>
- </property>
+ <action name="callReject">
+ <property name="name">
+ <cstring>callReject</cstring>
+ </property>
+ <property name="icon">
+ <iconset>reject.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Reject</string>
+ </property>
+ <property name="text">
+ <string>&amp;Reject</string>
+ </property>
+ <property name="toolTip">
+ <string>Reject incoming call</string>
+ </property>
+ <property name="shortcut">
+ <string>F8</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>callHold</cstring>
- </property>
- <property name="toggleAction">
- <bool>true</bool>
- </property>
- <property name="iconSet">
- <iconset>hold.png</iconset>
- </property>
- <property name="text">
- <string>Hold</string>
- <comment>toolbar text</comment>
- </property>
- <property name="menuText">
- <string>&amp;Hold</string>
- <comment>menu text</comment>
- </property>
- <property name="toolTip">
- <string>Put a call on hold, or retrieve a held call</string>
- </property>
+ <action name="callHold">
+ <property name="name">
+ <cstring>callHold</cstring>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset>hold.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Hold</string>
+ </property>
+ <property name="text">
+ <string>&amp;Hold</string>
+ </property>
+ <property name="toolTip">
+ <string>Put a call on hold, or retrieve a held call</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>callRedirect</cstring>
- </property>
- <property name="iconSet">
- <iconset>redirect.png</iconset>
- </property>
- <property name="text">
- <string>Redirect</string>
- <comment>toolbar text</comment>
- </property>
- <property name="menuText">
- <string>R&amp;edirect...</string>
- <comment>menu text</comment>
- </property>
- <property name="toolTip">
- <string>Redirect incoming call without answering</string>
- </property>
+ <action name="callRedirect">
+ <property name="name">
+ <cstring>callRedirect</cstring>
+ </property>
+ <property name="icon">
+ <iconset>redirect.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Redirect</string>
+ </property>
+ <property name="text">
+ <string>R&amp;edirect...</string>
+ </property>
+ <property name="toolTip">
+ <string>Redirect incoming call without answering</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>callDTMF</cstring>
- </property>
- <property name="iconSet">
- <iconset>dtmf.png</iconset>
- </property>
- <property name="text">
- <string>Dtmf</string>
- <comment>toolbar text</comment>
- </property>
- <property name="menuText">
- <string>&amp;Dtmf...</string>
- <comment>menu text</comment>
- </property>
- <property name="toolTip">
- <string>Open keypad to enter digits for voice menu's</string>
- </property>
+ <action name="callDTMF">
+ <property name="name">
+ <cstring>callDTMF</cstring>
+ </property>
+ <property name="icon">
+ <iconset>dtmf.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Dtmf</string>
+ </property>
+ <property name="text">
+ <string>&amp;Dtmf...</string>
+ </property>
+ <property name="toolTip">
+ <string>Open keypad to enter digits for voice menu's</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>regRegister</cstring>
- </property>
- <property name="iconSet">
- <iconset>twinkle16.png</iconset>
- </property>
- <property name="text">
- <string>Register</string>
- </property>
- <property name="menuText">
- <string>&amp;Register</string>
- </property>
+ <action name="regRegister">
+ <property name="name">
+ <cstring>regRegister</cstring>
+ </property>
+ <property name="icon">
+ <iconset>twinkle16.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Register</string>
+ </property>
+ <property name="text">
+ <string>&amp;Register</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>regDeregister</cstring>
- </property>
- <property name="iconSet">
- <iconset>twinkle16-disabled.png</iconset>
- </property>
- <property name="text">
- <string>Deregister</string>
- </property>
- <property name="menuText">
- <string>&amp;Deregister</string>
- </property>
- <property name="toolTip">
- <string>Deregister this device</string>
- </property>
+ <action name="regDeregister">
+ <property name="name">
+ <cstring>regDeregister</cstring>
+ </property>
+ <property name="icon">
+ <iconset>twinkle16-disabled.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Deregister</string>
+ </property>
+ <property name="text">
+ <string>&amp;Deregister</string>
+ </property>
+ <property name="toolTip">
+ <string>Deregister this device</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>regShow</cstring>
- </property>
- <property name="iconSet">
- <iconset>reg-query.png</iconset>
- </property>
- <property name="text">
- <string>Show registrations</string>
- </property>
- <property name="menuText">
- <string>&amp;Show registrations</string>
- </property>
+ <action name="regShow">
+ <property name="name">
+ <cstring>regShow</cstring>
+ </property>
+ <property name="icon">
+ <iconset>reg-query.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Show registrations</string>
+ </property>
+ <property name="text">
+ <string>&amp;Show registrations</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>callTermCap</cstring>
- </property>
- <property name="text">
- <string>Terminal capabilities</string>
- </property>
- <property name="menuText">
- <string>&amp;Terminal capabilities...</string>
- <comment>menu text</comment>
- </property>
- <property name="toolTip">
- <string>Request terminal capabilities from someone</string>
- </property>
+ <action name="callTermCap">
+ <property name="name">
+ <cstring>callTermCap</cstring>
+ </property>
+ <property name="iconText">
+ <string>Terminal capabilities</string>
+ </property>
+ <property name="text">
+ <string>&amp;Terminal capabilities...</string>
+ </property>
+ <property name="toolTip">
+ <string>Request terminal capabilities from someone</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>serviceDnd</cstring>
- </property>
- <property name="toggleAction">
- <bool>true</bool>
- </property>
- <property name="iconSet">
- <iconset>cancel.png</iconset>
- </property>
- <property name="text">
- <string>Do not disturb</string>
- </property>
- <property name="menuText">
- <string>&amp;Do not disturb</string>
- </property>
+ <action name="serviceDnd">
+ <property name="name">
+ <cstring>serviceDnd</cstring>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset>cancel.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Do not disturb</string>
+ </property>
+ <property name="text">
+ <string>&amp;Do not disturb</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>serviceRedirection</cstring>
- </property>
- <property name="iconSet">
- <iconset>cf.png</iconset>
- </property>
- <property name="text">
- <string>Call redirection</string>
- </property>
- <property name="menuText">
- <string>Call &amp;redirection...</string>
- </property>
+ <action name="serviceRedirection">
+ <property name="name">
+ <cstring>serviceRedirection</cstring>
+ </property>
+ <property name="icon">
+ <iconset>cf.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Call redirection</string>
+ </property>
+ <property name="text">
+ <string>Call &amp;redirection...</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>callRedial</cstring>
- </property>
- <property name="iconSet">
- <iconset>redial.png</iconset>
- </property>
- <property name="text">
- <string>Redial</string>
- <comment>toolbar text</comment>
- </property>
- <property name="menuText">
- <string>&amp;Redial</string>
- <comment>menu text</comment>
- </property>
- <property name="toolTip">
- <string>Repeat last call</string>
- </property>
- <property name="accel">
- <string>F12</string>
- </property>
+ <action name="callRedial">
+ <property name="name">
+ <cstring>callRedial</cstring>
+ </property>
+ <property name="icon">
+ <iconset>redial.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Redial</string>
+ </property>
+ <property name="text">
+ <string>&amp;Redial</string>
+ </property>
+ <property name="toolTip">
+ <string>Repeat last call</string>
+ </property>
+ <property name="shortcut">
+ <string>F12</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>helpAboutQtAction</cstring>
- </property>
- <property name="iconSet">
- <iconset>qt-logo.png</iconset>
- </property>
- <property name="text">
- <string>About Qt</string>
- </property>
- <property name="menuText">
- <string>About &amp;Qt</string>
- </property>
+ <action name="helpAboutQtAction">
+ <property name="name">
+ <cstring>helpAboutQtAction</cstring>
+ </property>
+ <property name="icon">
+ <iconset>qt-logo.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>About Qt</string>
+ </property>
+ <property name="text">
+ <string>About &amp;Qt</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>editUserProfileAction</cstring>
- </property>
- <property name="iconSet">
- <iconset>penguin-small.png</iconset>
- </property>
- <property name="text">
- <string>User profile</string>
- </property>
- <property name="menuText">
- <string>&amp;User profile...</string>
- </property>
+ <action name="editUserProfileAction">
+ <property name="name">
+ <cstring>editUserProfileAction</cstring>
+ </property>
+ <property name="icon">
+ <iconset>penguin-small.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>User profile</string>
+ </property>
+ <property name="text">
+ <string>&amp;User profile...</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>callConference</cstring>
- </property>
- <property name="iconSet">
- <iconset>conf.png</iconset>
- </property>
- <property name="text">
- <string>Conf</string>
- <comment>toolbar text</comment>
- </property>
- <property name="menuText">
- <string>&amp;Conference</string>
- <comment>menu text</comment>
- </property>
- <property name="toolTip">
- <string>Join two calls in a 3-way conference</string>
- </property>
+ <action name="callConference">
+ <property name="name">
+ <cstring>callConference</cstring>
+ </property>
+ <property name="icon">
+ <iconset>conf.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Conf</string>
+ </property>
+ <property name="text">
+ <string>&amp;Conference</string>
+ </property>
+ <property name="toolTip">
+ <string>Join two calls in a 3-way conference</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>callMute</cstring>
- </property>
- <property name="toggleAction">
- <bool>true</bool>
- </property>
- <property name="iconSet">
- <iconset>mute.png</iconset>
- </property>
- <property name="text">
- <string>Mute</string>
- <comment>toolbar text</comment>
- </property>
- <property name="menuText">
- <string>&amp;Mute</string>
- <comment>menu text</comment>
- </property>
- <property name="toolTip">
- <string>Mute a call</string>
- </property>
+ <action name="callMute">
+ <property name="name">
+ <cstring>callMute</cstring>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset>mute.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Mute</string>
+ </property>
+ <property name="text">
+ <string>&amp;Mute</string>
+ </property>
+ <property name="toolTip">
+ <string>Mute a call</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>callTransfer</cstring>
- </property>
- <property name="toggleAction">
- <bool>true</bool>
- </property>
- <property name="iconSet">
- <iconset>transfer.png</iconset>
- </property>
- <property name="text">
- <string>Xfer</string>
- <comment>toolbar text</comment>
- </property>
- <property name="menuText">
- <string>Trans&amp;fer...</string>
- <comment>menu text</comment>
- </property>
- <property name="toolTip">
- <string>Transfer call</string>
- </property>
+ <action name="callTransfer">
+ <property name="name">
+ <cstring>callTransfer</cstring>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset>transfer.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Xfer</string>
+ </property>
+ <property name="text">
+ <string>Trans&amp;fer...</string>
+ </property>
+ <property name="toolTip">
+ <string>Transfer call</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>editSysSettingsAction</cstring>
- </property>
- <property name="iconSet">
- <iconset>settings.png</iconset>
- </property>
- <property name="text">
- <string>System settings</string>
- </property>
- <property name="menuText">
- <string>&amp;System settings...</string>
- </property>
+ <action name="editSysSettingsAction">
+ <property name="name">
+ <cstring>editSysSettingsAction</cstring>
+ </property>
+ <property name="icon">
+ <iconset>settings.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>System settings</string>
+ </property>
+ <property name="text">
+ <string>&amp;System settings...</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>registrationAction</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="menuText">
- <string></string>
- </property>
+ <action name="registrationAction">
+ <property name="name">
+ <cstring>registrationAction</cstring>
+ </property>
+ <property name="iconText">
+ <string/>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>regDeregisterAll</cstring>
- </property>
- <property name="iconSet">
- <iconset>twinkle16-disabled.png</iconset>
- </property>
- <property name="text">
- <string>Deregister all</string>
- </property>
- <property name="menuText">
- <string>Deregister &amp;all</string>
- </property>
- <property name="toolTip">
- <string>Deregister all your registered devices</string>
- </property>
+ <action name="regDeregisterAll">
+ <property name="name">
+ <cstring>regDeregisterAll</cstring>
+ </property>
+ <property name="icon">
+ <iconset>twinkle16-disabled.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Deregister all</string>
+ </property>
+ <property name="text">
+ <string>Deregister &amp;all</string>
+ </property>
+ <property name="toolTip">
+ <string>Deregister all your registered devices</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>serviceAutoAnswer</cstring>
- </property>
- <property name="toggleAction">
- <bool>true</bool>
- </property>
- <property name="iconSet">
- <iconset>auto_answer.png</iconset>
- </property>
- <property name="text">
- <string>Auto answer</string>
- </property>
- <property name="menuText">
- <string>&amp;Auto answer</string>
- </property>
+ <action name="serviceAutoAnswer">
+ <property name="name">
+ <cstring>serviceAutoAnswer</cstring>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset>auto_answer.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Auto answer</string>
+ </property>
+ <property name="text">
+ <string>&amp;Auto answer</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>viewLogAction</cstring>
- </property>
- <property name="iconSet">
- <iconset>log_small.png</iconset>
- </property>
- <property name="text">
- <string>Log</string>
- </property>
- <property name="menuText">
- <string>&amp;Log...</string>
- </property>
+ <action name="viewLogAction">
+ <property name="name">
+ <cstring>viewLogAction</cstring>
+ </property>
+ <property name="icon">
+ <iconset>log_small.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Log</string>
+ </property>
+ <property name="text">
+ <string>&amp;Log...</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>viewCall_HistoryAction</cstring>
- </property>
- <property name="iconSet">
- <iconset>missed.png</iconset>
- </property>
- <property name="text">
- <string>Call history</string>
- </property>
- <property name="menuText">
- <string>Call &amp;history...</string>
- </property>
- <property name="accel">
- <string>F9</string>
- </property>
+ <action name="viewCall_HistoryAction">
+ <property name="name">
+ <cstring>viewCall_HistoryAction</cstring>
+ </property>
+ <property name="icon">
+ <iconset>missed.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Call history</string>
+ </property>
+ <property name="text">
+ <string>Call &amp;history...</string>
+ </property>
+ <property name="shortcut">
+ <string>F9</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>fileChangeUserAction</cstring>
- </property>
- <property name="iconSet">
- <iconset>penguin-small.png</iconset>
- </property>
- <property name="text">
- <string>Change user ...</string>
- </property>
- <property name="menuText">
- <string>&amp;Change user ...</string>
- </property>
- <property name="toolTip">
- <string>Activate or de-activate users</string>
- </property>
+ <action name="fileChangeUserAction">
+ <property name="name">
+ <cstring>fileChangeUserAction</cstring>
+ </property>
+ <property name="icon">
+ <iconset>penguin-small.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Change user ...</string>
+ </property>
+ <property name="text">
+ <string>&amp;Change user ...</string>
+ </property>
+ <property name="toolTip">
+ <string>Activate or de-activate users</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>helpWhats_ThisAction</cstring>
- </property>
- <property name="iconSet">
- <iconset>contexthelp.png</iconset>
- </property>
- <property name="text">
- <string>What's This?</string>
- </property>
- <property name="menuText">
- <string>What's &amp;This?</string>
- </property>
- <property name="accel">
- <string>Shift+F1</string>
- </property>
+ <action name="helpWhats_ThisAction">
+ <property name="name">
+ <cstring>helpWhats_ThisAction</cstring>
+ </property>
+ <property name="icon">
+ <iconset>contexthelp.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>What's This?</string>
+ </property>
+ <property name="text">
+ <string>What's &amp;This?</string>
+ </property>
+ <property name="shortcut">
+ <string>Shift+F1</string>
+ </property>
</action>
- <actiongroup>
- <property name="name">
- <cstring>actgrActivateLine</cstring>
- </property>
- <property name="on">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Activate line</string>
- </property>
- <property name="usesDropDown">
- <bool>false</bool>
- </property>
- <action>
- <property name="name">
- <cstring>actionLine1</cstring>
- </property>
- <property name="toggleAction">
- <bool>true</bool>
- </property>
- <property name="on">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Line 1</string>
- </property>
- </action>
- <action>
- <property name="name">
- <cstring>actionLine2</cstring>
- </property>
- <property name="toggleAction">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Line 2</string>
- </property>
- </action>
- </actiongroup>
- <action>
- <property name="name">
- <cstring>callActivate_LineAction</cstring>
- </property>
- <property name="on">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Activate line</string>
- </property>
- <property name="menuText">
- <string>Activate line</string>
- </property>
+ <action name="callActivate_LineAction">
+ <property name="name">
+ <cstring>callActivate_LineAction</cstring>
+ </property>
+ <property name="checked">
+ <bool>false</bool>
+ </property>
+ <property name="iconText">
+ <string>Activate line</string>
+ </property>
+ <property name="text">
+ <string>Activate line</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>viewDisplayAction</cstring>
- </property>
- <property name="toggleAction">
- <bool>true</bool>
- </property>
- <property name="on">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Display</string>
- </property>
- <property name="menuText">
- <string>&amp;Display</string>
- </property>
+ <action name="viewDisplayAction">
+ <property name="name">
+ <cstring>viewDisplayAction</cstring>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ <property name="iconText">
+ <string>Display</string>
+ </property>
+ <property name="text">
+ <string>&amp;Display</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>servicesVoice_mailAction</cstring>
- </property>
- <property name="iconSet">
- <iconset>mwi_none16.png</iconset>
- </property>
- <property name="text">
- <string>Voice mail</string>
- </property>
- <property name="menuText">
- <string>&amp;Voice mail</string>
- </property>
- <property name="toolTip">
- <string>Access voice mail</string>
- </property>
- <property name="accel">
- <string>F11</string>
- </property>
+ <action name="servicesVoice_mailAction">
+ <property name="name">
+ <cstring>servicesVoice_mailAction</cstring>
+ </property>
+ <property name="icon">
+ <iconset>mwi_none16.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Voice mail</string>
+ </property>
+ <property name="text">
+ <string>&amp;Voice mail</string>
+ </property>
+ <property name="toolTip">
+ <string>Access voice mail</string>
+ </property>
+ <property name="shortcut">
+ <string>F11</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>actionSendMsg</cstring>
- </property>
- <property name="iconSet">
- <iconset>message.png</iconset>
- </property>
- <property name="text">
- <string>Msg</string>
- </property>
- <property name="menuText">
- <string>Instant &amp;message...</string>
- </property>
- <property name="toolTip">
- <string>Instant message</string>
- </property>
+ <action name="actionSendMsg">
+ <property name="name">
+ <cstring>actionSendMsg</cstring>
+ </property>
+ <property name="icon">
+ <iconset>message.png</iconset>
+ </property>
+ <property name="iconText">
+ <string>Msg</string>
+ </property>
+ <property name="text">
+ <string>Instant &amp;message...</string>
+ </property>
+ <property name="toolTip">
+ <string>Instant message</string>
+ </property>
</action>
- <action>
- <property name="name">
- <cstring>viewBuddyListAction</cstring>
- </property>
- <property name="toggleAction">
- <bool>true</bool>
- </property>
- <property name="on">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Buddy list</string>
- </property>
- <property name="menuText">
- <string>&amp;Buddy list</string>
- </property>
- <property name="toolTip">
- <string>Buddy list</string>
- </property>
+ <action name="viewBuddyListAction">
+ <property name="name">
+ <cstring>viewBuddyListAction</cstring>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ <property name="iconText">
+ <string>Buddy list</string>
+ </property>
+ <property name="text">
+ <string>&amp;Buddy list</string>
+ </property>
+ <property name="toolTip">
+ <string>Buddy list</string>
+ </property>
+ </action>
+ <action name="helpManualAction">
+ <property name="name">
+ <cstring>helpManualAction</cstring>
+ </property>
+ <property name="iconText">
+ <string>Manual</string>
+ </property>
+ <property name="text">
+ <string>&amp;Manual</string>
+ </property>
+ </action>
+ <action name="diamondcardSign_upAction">
+ <property name="name">
+ <cstring>diamondcardSign_upAction</cstring>
+ </property>
+ <property name="iconText">
+ <string>Sign up</string>
+ </property>
+ <property name="text">
+ <string>&amp;Sign up...</string>
+ </property>
+ <property name="toolTip">
+ <string>Sign up</string>
+ </property>
</action>
- <action>
+ <actiongroup name="actgrActivateLine">
+ <action name="actionLine1">
<property name="name">
- <cstring>helpManualAction</cstring>
+ <cstring>actionLine1</cstring>
</property>
- <property name="text">
- <string>Manual</string>
+ <property name="checkable">
+ <bool>true</bool>
</property>
- <property name="menuText">
- <string>&amp;Manual</string>
+ <property name="checked">
+ <bool>true</bool>
</property>
- </action>
- <action>
- <property name="name">
- <cstring>diamondcardSign_upAction</cstring>
+ <property name="iconText">
+ <string>Line 1</string>
</property>
- <property name="text">
- <string>Sign up</string>
+ </action>
+ <action name="actionLine2">
+ <property name="name">
+ <cstring>actionLine2</cstring>
</property>
- <property name="menuText">
- <string>&amp;Sign up...</string>
+ <property name="checkable">
+ <bool>true</bool>
</property>
- <property name="toolTip">
- <string>Sign up</string>
+ <property name="iconText">
+ <string>Line 2</string>
</property>
- </action>
-</actions>
-<connections>
+ </action>
+ <property name="name">
+ <cstring>actgrActivateLine</cstring>
+ </property>
+ </actiongroup>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
+ <tabstop>callComboBox</tabstop>
+ <tabstop>addressToolButton</tabstop>
+ <tabstop>callPushButton</tabstop>
+ <tabstop>displayTextEdit</tabstop>
+ <tabstop>line1RadioButton</tabstop>
+ <tabstop>line2RadioButton</tabstop>
+ <tabstop>userComboBox</tabstop>
+ <tabstop>from1Label</tabstop>
+ <tabstop>subject1Label</tabstop>
+ <tabstop>to1Label</tabstop>
+ <tabstop>subject2Label</tabstop>
+ <tabstop>from2Label</tabstop>
+ <tabstop>to2Label</tabstop>
+ </tabstops>
+ <includes>
+ <include location="local">phone.h</include>
+ <include location="local">ui_dtmfform.h</include>
+ <include location="local">ui_inviteform.h</include>
+ <include location="local">ui_redirectform.h</include>
+ <include location="local">ui_termcapform.h</include>
+ <include location="local">ui_srvredirectform.h</include>
+ <include location="local">ui_userprofileform.h</include>
+ <include location="local">ui_transferform.h</include>
+ <include location="local">ui_syssettingsform.h</include>
+ <include location="local">ui_logviewform.h</include>
+ <include location="local">ui_historyform.h</include>
+ <include location="local">ui_selectuserform.h</include>
+ <include location="local">ui_selectprofileform.h</include>
+ <include location="local">qevent.h</include>
+ <include location="local">twinklesystray.h</include>
+ <include location="local">im/msg_session.h</include>
+ <include location="local">messageformview.h</include>
+ <include location="local">buddylistview.h</include>
+ <include location="local">diamondcard.h</include>
+ </includes>
+ <connections>
<connection>
- <sender>helpWhats_ThisAction</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>whatsThis()</slot>
+ <sender>helpWhats_ThisAction</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>whatsThis()</slot>
</connection>
<connection>
- <sender>addressToolButton</sender>
- <signal>clicked()</signal>
- <receiver>MphoneForm</receiver>
- <slot>showAddressBook()</slot>
+ <sender>addressToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>showAddressBook()</slot>
</connection>
<connection>
- <sender>callPushButton</sender>
- <signal>clicked()</signal>
- <receiver>MphoneForm</receiver>
- <slot>quickCall()</slot>
+ <sender>callPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>quickCall()</slot>
</connection>
<connection>
- <sender>fileChangeUserAction</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>selectProfile()</slot>
+ <sender>fileChangeUserAction</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>selectProfile()</slot>
</connection>
<connection>
- <sender>viewCall_HistoryAction</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>viewHistory()</slot>
+ <sender>viewCall_HistoryAction</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>viewHistory()</slot>
</connection>
<connection>
- <sender>viewLogAction</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>viewLog()</slot>
+ <sender>viewLogAction</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>viewLog()</slot>
</connection>
<connection>
- <sender>regDeregisterAll</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneDeregisterAll()</slot>
+ <sender>regDeregisterAll</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneDeregisterAll()</slot>
</connection>
<connection>
- <sender>editSysSettingsAction</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>editSysSettings()</slot>
+ <sender>editSysSettingsAction</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>editSysSettings()</slot>
</connection>
<connection>
- <sender>callMute</sender>
- <signal>toggled(bool)</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneMute(bool)</slot>
+ <sender>callMute</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneMute(bool)</slot>
</connection>
<connection>
- <sender>callConference</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneConference()</slot>
+ <sender>callConference</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneConference()</slot>
</connection>
<connection>
- <sender>editUserProfileAction</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>editUserProfile()</slot>
+ <sender>editUserProfileAction</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>editUserProfile()</slot>
</connection>
<connection>
- <sender>helpAboutQtAction</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>aboutQt()</slot>
+ <sender>helpAboutQtAction</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>aboutQt()</slot>
</connection>
<connection>
- <sender>helpAboutAction</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>about()</slot>
+ <sender>helpAboutAction</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>about()</slot>
</connection>
<connection>
- <sender>callRedial</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneRedial()</slot>
+ <sender>callRedial</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneRedial()</slot>
</connection>
<connection>
- <sender>serviceRedirection</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>srvRedirect()</slot>
+ <sender>serviceRedirection</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>srvRedirect()</slot>
</connection>
<connection>
- <sender>regShow</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneShowRegistrations()</slot>
+ <sender>regShow</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneShowRegistrations()</slot>
</connection>
<connection>
- <sender>regDeregister</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneDeregister()</slot>
+ <sender>regDeregister</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneDeregister()</slot>
</connection>
<connection>
- <sender>regRegister</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneRegister()</slot>
+ <sender>regRegister</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneRegister()</slot>
</connection>
<connection>
- <sender>callHold</sender>
- <signal>toggled(bool)</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneHold(bool)</slot>
+ <sender>callHold</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneHold(bool)</slot>
</connection>
<connection>
- <sender>callReject</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneReject()</slot>
+ <sender>callReject</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneReject()</slot>
</connection>
<connection>
- <sender>callRedirect</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneRedirect()</slot>
+ <sender>callRedirect</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneRedirect()</slot>
</connection>
<connection>
- <sender>callInvite</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneInvite()</slot>
+ <sender>callInvite</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneInvite()</slot>
</connection>
<connection>
- <sender>callDTMF</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneDTMF()</slot>
+ <sender>callDTMF</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneDTMF()</slot>
</connection>
<connection>
- <sender>callBye</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneBye()</slot>
+ <sender>callBye</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneBye()</slot>
</connection>
<connection>
- <sender>callAnswer</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneAnswer()</slot>
+ <sender>callAnswer</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneAnswer()</slot>
</connection>
<connection>
- <sender>callTermCap</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneTermCap()</slot>
+ <sender>callTermCap</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneTermCap()</slot>
</connection>
<connection>
- <sender>line2RadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>MphoneForm</receiver>
- <slot>line2rbChangedState(bool)</slot>
+ <sender>line2RadioButton</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>line2rbChangedState(bool)</slot>
</connection>
<connection>
- <sender>line1RadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>MphoneForm</receiver>
- <slot>line1rbChangedState(bool)</slot>
+ <sender>line1RadioButton</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>line1rbChangedState(bool)</slot>
</connection>
<connection>
- <sender>fileExitAction</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>fileExit()</slot>
+ <sender>fileExitAction</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>fileExit()</slot>
</connection>
<connection>
- <sender>actionLine1</sender>
- <signal>toggled(bool)</signal>
- <receiver>MphoneForm</receiver>
- <slot>actionLine1Toggled(bool)</slot>
+ <sender>actionLine1</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>actionLine1Toggled(bool)</slot>
</connection>
<connection>
- <sender>actionLine2</sender>
- <signal>toggled(bool)</signal>
- <receiver>MphoneForm</receiver>
- <slot>actionLine2Toggled(bool)</slot>
+ <sender>actionLine2</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>actionLine2Toggled(bool)</slot>
</connection>
<connection>
- <sender>viewDisplayAction</sender>
- <signal>toggled(bool)</signal>
- <receiver>MphoneForm</receiver>
- <slot>showDisplay(bool)</slot>
+ <sender>viewDisplayAction</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>showDisplay(bool)</slot>
</connection>
<connection>
- <sender>callTransfer</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>phoneTransfer()</slot>
+ <sender>callTransfer</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>phoneTransfer()</slot>
</connection>
<connection>
- <sender>servicesVoice_mailAction</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>popupMenuVoiceMail()</slot>
+ <sender>servicesVoice_mailAction</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>popupMenuVoiceMail()</slot>
</connection>
<connection>
- <sender>actionSendMsg</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>startMessageSession()</slot>
+ <sender>actionSendMsg</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>startMessageSession()</slot>
</connection>
<connection>
- <sender>buddyListView</sender>
- <signal>rightButtonPressed(QListViewItem*,const QPoint&amp;,int)</signal>
- <receiver>MphoneForm</receiver>
- <slot>showBuddyListPopupMenu(QListViewItem*,const QPoint&amp;)</slot>
+ <sender>buddyListView</sender>
+ <signal>rightButtonPressed(Q3ListViewItem*,QPoint,int)</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>showBuddyListPopupMenu(Q3ListViewItem*,QPoint)</slot>
</connection>
<connection>
- <sender>buddyListView</sender>
- <signal>doubleClicked(QListViewItem*)</signal>
- <receiver>MphoneForm</receiver>
- <slot>doMessageBuddy(QListViewItem*)</slot>
+ <sender>buddyListView</sender>
+ <signal>doubleClicked(Q3ListViewItem*)</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>doMessageBuddy(Q3ListViewItem*)</slot>
</connection>
<connection>
- <sender>viewBuddyListAction</sender>
- <signal>toggled(bool)</signal>
- <receiver>MphoneForm</receiver>
- <slot>showBuddyList(bool)</slot>
+ <sender>viewBuddyListAction</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>showBuddyList(bool)</slot>
</connection>
<connection>
- <sender>helpManualAction</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>manual()</slot>
+ <sender>helpManualAction</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>manual()</slot>
</connection>
<connection>
- <sender>diamondcardSign_upAction</sender>
- <signal>activated()</signal>
- <receiver>MphoneForm</receiver>
- <slot>DiamondcardSignUp()</slot>
+ <sender>diamondcardSign_upAction</sender>
+ <signal>activated()</signal>
+ <receiver>MphoneForm</receiver>
+ <slot>DiamondcardSignUp()</slot>
</connection>
-</connections>
-<tabstops>
- <tabstop>callComboBox</tabstop>
- <tabstop>addressToolButton</tabstop>
- <tabstop>callPushButton</tabstop>
- <tabstop>displayTextEdit</tabstop>
- <tabstop>line1RadioButton</tabstop>
- <tabstop>line2RadioButton</tabstop>
- <tabstop>userComboBox</tabstop>
- <tabstop>from1Label</tabstop>
- <tabstop>subject1Label</tabstop>
- <tabstop>to1Label</tabstop>
- <tabstop>subject2Label</tabstop>
- <tabstop>from2Label</tabstop>
- <tabstop>to2Label</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in declaration">phone.h</include>
- <include location="local" impldecl="in declaration">dtmfform.h</include>
- <include location="local" impldecl="in declaration">inviteform.h</include>
- <include location="local" impldecl="in declaration">redirectform.h</include>
- <include location="local" impldecl="in declaration">termcapform.h</include>
- <include location="local" impldecl="in declaration">srvredirectform.h</include>
- <include location="local" impldecl="in declaration">userprofileform.h</include>
- <include location="local" impldecl="in declaration">transferform.h</include>
- <include location="local" impldecl="in declaration">syssettingsform.h</include>
- <include location="local" impldecl="in declaration">logviewform.h</include>
- <include location="local" impldecl="in declaration">historyform.h</include>
- <include location="local" impldecl="in declaration">selectuserform.h</include>
- <include location="local" impldecl="in declaration">selectprofileform.h</include>
- <include location="local" impldecl="in declaration">qevent.h</include>
- <include location="local" impldecl="in declaration">twinklesystray.h</include>
- <include location="local" impldecl="in declaration">im/msg_session.h</include>
- <include location="local" impldecl="in declaration">messageformview.h</include>
- <include location="local" impldecl="in declaration">buddylistview.h</include>
- <include location="local" impldecl="in declaration">diamondcard.h</include>
- <include location="local" impldecl="in implementation">user.h</include>
- <include location="local" impldecl="in implementation">qtextedit.h</include>
- <include location="local" impldecl="in implementation">qcheckbox.h</include>
- <include location="local" impldecl="in implementation">qapplication.h</include>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">qpixmap.h</include>
- <include location="local" impldecl="in implementation">qiconset.h</include>
- <include location="local" impldecl="in implementation">qmessagebox.h</include>
- <include location="local" impldecl="in implementation">audits/memman.h</include>
- <include location="local" impldecl="in implementation">line.h</include>
- <include location="local" impldecl="in implementation">stun/stun_transaction.h</include>
- <include location="local" impldecl="in implementation">log.h</include>
- <include location="local" impldecl="in implementation">qprogressdialog.h</include>
- <include location="local" impldecl="in implementation">util.h</include>
- <include location="local" impldecl="in implementation">qtimer.h</include>
- <include location="global" impldecl="in implementation">sys/time.h</include>
- <include location="local" impldecl="in implementation">qframe.h</include>
- <include location="local" impldecl="in implementation">qcursor.h</include>
- <include location="local" impldecl="in implementation">qregexp.h</include>
- <include location="local" impldecl="in implementation">qvalidator.h</include>
- <include location="local" impldecl="in implementation">buddyform.h</include>
- <include location="local" impldecl="in implementation">diamondcardprofileform.h</include>
- <include location="local" impldecl="in implementation">mphoneform.ui.h</include>
-</includes>
-<forwards>
- <forward>class t_phone;</forward>
- <forward>extern t_phone *phone;</forward>
-</forwards>
-<variables>
- <variable access="private">QTimer tmrFlashMWI;</variable>
- <variable access="private">GetAddressForm *getAddressForm;</variable>
- <variable access="private">SelectProfileForm *selectProfileForm;</variable>
- <variable access="private">SelectUserForm *selectUserForm;</variable>
- <variable access="private">HistoryForm *historyForm;</variable>
- <variable access="private">TransferForm *transferForm;</variable>
- <variable access="private">UserProfileForm *userProfileForm;</variable>
- <variable access="private">SrvRedirectForm *srvRedirectForm;</variable>
- <variable access="private">TermCapForm *termCapForm;</variable>
- <variable access="private">RedirectForm *redirectForm;</variable>
- <variable access="private">InviteForm *inviteForm;</variable>
- <variable access="private">DtmfForm *dtmfForm;</variable>
- <variable access="private">SysSettingsForm *sysSettingsForm;</variable>
- <variable access="private">QStringList displayContents;</variable>
- <variable access="private">LogViewForm *logViewForm;</variable>
- <variable access="private">t_twinkle_sys_tray *sysTray;</variable>
- <variable access="private">QTimer *lineTimer1;</variable>
- <variable access="private">QTimer *lineTimer2;</variable>
- <variable access="private">QTimer *hideLineTimer1;</variable>
- <variable access="private">QTimer *hideLineTimer2;</variable>
- <variable access="private">bool viewDisplay;</variable>
- <variable access="private">bool viewCompactLineStatus;</variable>
- <variable access="private">bool mwiFlashStatus;</variable>
- <variable access="private">QPopupMenu *buddyPopupMenu;</variable>
- <variable access="private">QPopupMenu *buddyListPopupMenu;</variable>
- <variable access="private">QPopupMenu *changeAvailabilityPopupMenu;</variable>
- <variable access="private">bool viewBuddyList;</variable>
-</variables>
-<slots>
- <slot>closeEvent( QCloseEvent * e )</slot>
- <slot>fileExit()</slot>
- <slot>display( const QString &amp; s )</slot>
- <slot>displayHeader()</slot>
- <slot>showLineTimer( int line )</slot>
- <slot>showLineTimer1()</slot>
- <slot>showLineTimer2()</slot>
- <slot>updateLineTimer( int line )</slot>
- <slot>updateLineEncryptionState( int line )</slot>
- <slot>updateLineStatus( int line )</slot>
- <slot>updateState()</slot>
- <slot>updateRegStatus()</slot>
- <slot>flashMWI()</slot>
- <slot>updateMwi()</slot>
- <slot>updateServicesStatus()</slot>
- <slot>updateMissedCallStatus( int num_missed_calls )</slot>
- <slot>updateSysTrayStatus()</slot>
- <slot>updateMenuStatus()</slot>
- <slot>updateDiamondcardMenu()</slot>
- <slot>removeDiamondcardAction( int &amp; id )</slot>
- <slot>removeDiamondcardMenu( QPopupMenu * &amp; menu )</slot>
- <slot>phoneRegister()</slot>
- <slot>do_phoneRegister( list&lt;t_user *&gt; user_list )</slot>
- <slot>phoneDeregister()</slot>
- <slot>do_phoneDeregister( list&lt;t_user *&gt; user_list )</slot>
- <slot>phoneDeregisterAll()</slot>
- <slot>do_phoneDeregisterAll( list&lt;t_user *&gt; user_list )</slot>
- <slot>phoneShowRegistrations()</slot>
- <slot>phoneInvite( t_user * user_config, const QString &amp; dest, const QString &amp; subject, bool anonymous )</slot>
- <slot>phoneInvite( const QString &amp; dest, const QString &amp; subject, bool anonymous )</slot>
- <slot>phoneInvite()</slot>
- <slot>do_phoneInvite( t_user * user_config, const QString &amp; display, const t_url &amp; destination, const QString &amp; subject, bool anonymous )</slot>
- <slot>phoneRedial( void )</slot>
- <slot>phoneAnswer()</slot>
- <slot>phoneAnswerFromSystrayPopup()</slot>
- <slot>phoneBye()</slot>
- <slot>phoneReject()</slot>
- <slot>phoneRejectFromSystrayPopup()</slot>
- <slot>phoneRedirect( const list&lt;string&gt; &amp; contacts )</slot>
- <slot>phoneRedirect()</slot>
- <slot>do_phoneRedirect( const list&lt;t_display_url&gt; &amp; destinations )</slot>
- <slot>phoneTransfer( const string &amp; dest, t_transfer_type transfer_type )</slot>
- <slot>phoneTransfer()</slot>
- <slot>do_phoneTransfer( const t_display_url &amp; destination, t_transfer_type transfer_type )</slot>
- <slot>do_phoneTransferLine()</slot>
- <slot>phoneHold( bool on )</slot>
- <slot>phoneConference()</slot>
- <slot>phoneMute( bool on )</slot>
- <slot>phoneTermCap( const QString &amp; dest )</slot>
- <slot>phoneTermCap()</slot>
- <slot>do_phoneTermCap( t_user * user_config, const t_url &amp; destination )</slot>
- <slot>phoneDTMF()</slot>
- <slot>sendDTMF( const QString &amp; digits )</slot>
- <slot>startMessageSession( void )</slot>
- <slot>startMessageSession( t_buddy * buddy )</slot>
- <slot>phoneConfirmZrtpSas( int line )</slot>
- <slot>phoneConfirmZrtpSas()</slot>
- <slot>phoneResetZrtpSasConfirmation( int line )</slot>
- <slot>phoneResetZrtpSasConfirmation()</slot>
- <slot>phoneEnableZrtp( bool on )</slot>
- <slot>phoneZrtpGoClearOk( unsigned short line )</slot>
- <slot>line1rbChangedState( bool on )</slot>
- <slot>line2rbChangedState( bool on )</slot>
- <slot>actionLine1Toggled( bool on )</slot>
- <slot>actionLine2Toggled( bool on )</slot>
- <slot>srvDnd( bool on )</slot>
- <slot>srvDnd()</slot>
- <slot>do_srvDnd_enable( list&lt;t_user *&gt; user_list )</slot>
- <slot>do_srvDnd_disable( list&lt;t_user *&gt; user_list )</slot>
- <slot>srvAutoAnswer( bool on )</slot>
- <slot>srvAutoAnswer()</slot>
- <slot>do_srvAutoAnswer_enable( list&lt;t_user *&gt; user_list )</slot>
- <slot>do_srvAutoAnswer_disable( list&lt;t_user *&gt; user_list )</slot>
- <slot>srvRedirect()</slot>
- <slot>do_srvRedirect( t_user * user_config, const list&lt;t_display_url&gt; &amp; always, const list&lt;t_display_url&gt; &amp; busy, const list&lt;t_display_url&gt; &amp; noanswer )</slot>
- <slot>about()</slot>
- <slot>aboutQt()</slot>
- <slot>manual()</slot>
- <slot>editUserProfile()</slot>
- <slot>editSysSettings()</slot>
- <slot>selectProfile()</slot>
- <slot>newUsers( const list&lt;string&gt; &amp; profiles )</slot>
- <slot>updateUserComboBox()</slot>
- <slot>updateSipUdpPort()</slot>
- <slot>updateRtpPorts()</slot>
- <slot>updateStunSettings( t_user * user_config )</slot>
- <slot>updateAuthCache( t_user * user_config, const string &amp; realm )</slot>
- <slot>unsubscribeMWI( t_user * user_config )</slot>
- <slot>subscribeMWI( t_user * user_config )</slot>
- <slot>viewLog()</slot>
- <slot>updateLog( bool log_zapped )</slot>
- <slot>viewHistory()</slot>
- <slot>updateCallHistory()</slot>
- <slot>quickCall()</slot>
- <slot>addToCallComboBox( const QString &amp; destination )</slot>
- <slot>showAddressBook()</slot>
- <slot>selectedAddress( const QString &amp; address )</slot>
- <slot>enableCallOptions( bool enable )</slot>
- <slot>keyPressEvent( QKeyEvent * e )</slot>
- <slot>mouseReleaseEvent( QMouseEvent * e )</slot>
- <slot>processLeftMouseButtonRelease( QMouseEvent * e )</slot>
- <slot>processRightMouseButtonRelease( QMouseEvent * e )</slot>
- <slot>processCryptLabelClick( int line )</slot>
- <slot>popupMenuVoiceMail( const QPoint &amp; pos )</slot>
- <slot>popupMenuVoiceMail( void )</slot>
- <slot>showDisplay( bool on )</slot>
- <slot>showBuddyList( bool on )</slot>
- <slot>showCompactLineStatus( bool on )</slot>
- <slot>populateBuddyList()</slot>
- <slot>showBuddyListPopupMenu( QListViewItem * item, const QPoint &amp; pos )</slot>
- <slot>doCallBuddy()</slot>
- <slot>doMessageBuddy( QListViewItem * qitem )</slot>
- <slot>doMessageBuddy()</slot>
- <slot>doEditBuddy()</slot>
- <slot>doDeleteBuddy()</slot>
- <slot>doAddBuddy()</slot>
- <slot>doAvailabilityOffline()</slot>
- <slot>doAvailabilityOnline()</slot>
- <slot>DiamondcardSignUp()</slot>
- <slot>newDiamondcardUser( const QString &amp; filename )</slot>
- <slot>DiamondcardAction( t_dc_action action, int userIdx )</slot>
- <slot>DiamondcardRecharge( int userIdx )</slot>
- <slot>DiamondcardBalanceHistory( int userIdx )</slot>
- <slot>DiamondcardCallHistory( int userIdx )</slot>
- <slot>DiamondcardAdminCenter( int userIdx )</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function access="private" specifier="non virtual">destroy()</function>
- <function access="private" returnType="QString">lineSubstate2str( int line )</function>
- <function returnType="QString">getMWIStatus( const t_mwi &amp; mwi, bool &amp; msg_waiting ) const</function>
- <function returnType="t_twinkle_sys_tray *">getSysTray()</function>
- <function returnType="bool">getViewDisplay()</function>
- <function returnType="bool">getViewBuddyList()</function>
- <function returnType="bool">getViewCompactLineStatus()</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </connections>
+</ui>
diff --git a/src/gui/redirectform.ui b/src/gui/redirectform.ui
index e3f1e53..b0c5311 100644
--- a/src/gui/redirectform.ui
+++ b/src/gui/redirectform.ui
@@ -1,308 +1,268 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>RedirectForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>RedirectForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>RedirectForm</class>
+ <widget class="QDialog" name="RedirectForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>588</width>
- <height>190</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>588</width>
+ <height>190</height>
+ </rect>
</property>
<property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="caption">
- <string>Twinkle - Redirect</string>
+ <property name="windowTitle">
+ <string>Twinkle - Redirect</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>redirectGroupBox</cstring>
- </property>
- <property name="title">
- <string>Redirect incoming call to</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="Q3GroupBox" name="redirectGroupBox">
+ <property name="title">
+ <string>Redirect incoming call to</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="2" column="1">
+ <widget class="QLineEdit" name="contact3LineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="contact3TextLabel">
+ <property name="text">
+ <string>&amp;3rd choice destination:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>contact3LineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="contact2TextLabel">
+ <property name="text">
+ <string>&amp;2nd choice destination:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>contact2LineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="contact2LineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="contact1LineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="contact1TextLabel">
+ <property name="text">
+ <string>&amp;1st choice destination:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>contact1LineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <widget class="QToolButton" name="address1ToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="shortcut">
+ <string>F10</string>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <widget class="QToolButton" name="address3ToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="shortcut">
+ <string>F12</string>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QToolButton" name="address2ToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
</property>
- <widget class="QLineEdit" row="2" column="1">
- <property name="name">
- <cstring>contact3LineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>contact3TextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;3rd choice destination:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>contact3LineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>contact2TextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;2nd choice destination:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>contact2LineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>contact2LineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>contact1LineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>contact1TextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;1st choice destination:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>contact1LineEdit</cstring>
- </property>
- </widget>
- <widget class="QToolButton" row="0" column="2">
- <property name="name">
- <cstring>address1ToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="accel">
- <string>F10</string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="2" column="2">
- <property name="name">
- <cstring>address3ToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="accel">
- <string>F12</string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="1" column="2">
- <property name="name">
- <cstring>address2ToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="accel">
- <string>F11</string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- </grid>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="shortcut">
+ <string>F11</string>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</widget>
- <spacer>
- <property name="name">
- <cstring>spacer14</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
+ </item>
+ <item>
+ <spacer name="spacer14">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer11">
+ <property name="sizeHint">
<size>
- <width>20</width>
- <height>16</height>
+ <width>361</width>
+ <height>20</height>
</size>
- </property>
- </spacer>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout15</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer11</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>361</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>cancelPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
-</widget>
-<connections>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
+ <tabstop>contact1LineEdit</tabstop>
+ <tabstop>contact2LineEdit</tabstop>
+ <tabstop>contact3LineEdit</tabstop>
+ <tabstop>address1ToolButton</tabstop>
+ <tabstop>address2ToolButton</tabstop>
+ <tabstop>address3ToolButton</tabstop>
+ <tabstop>okPushButton</tabstop>
+ <tabstop>cancelPushButton</tabstop>
+ </tabstops>
+ <includes>
+ <include location="global">list</include>
+ <include location="local">sockets/url.h</include>
+ <include location="local">ui_getaddressform.h</include>
+ <include location="local">user.h</include>
+ </includes>
+ <connections>
<connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>RedirectForm</receiver>
- <slot>reject()</slot>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>RedirectForm</receiver>
+ <slot>reject()</slot>
</connection>
<connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>RedirectForm</receiver>
- <slot>validate()</slot>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>RedirectForm</receiver>
+ <slot>validate()</slot>
</connection>
<connection>
- <sender>address1ToolButton</sender>
- <signal>clicked()</signal>
- <receiver>RedirectForm</receiver>
- <slot>showAddressBook1()</slot>
+ <sender>address1ToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>RedirectForm</receiver>
+ <slot>showAddressBook1()</slot>
</connection>
<connection>
- <sender>address2ToolButton</sender>
- <signal>clicked()</signal>
- <receiver>RedirectForm</receiver>
- <slot>showAddressBook2()</slot>
+ <sender>address2ToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>RedirectForm</receiver>
+ <slot>showAddressBook2()</slot>
</connection>
<connection>
- <sender>address3ToolButton</sender>
- <signal>clicked()</signal>
- <receiver>RedirectForm</receiver>
- <slot>showAddressBook3()</slot>
+ <sender>address3ToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>RedirectForm</receiver>
+ <slot>showAddressBook3()</slot>
</connection>
-</connections>
-<tabstops>
- <tabstop>contact1LineEdit</tabstop>
- <tabstop>contact2LineEdit</tabstop>
- <tabstop>contact3LineEdit</tabstop>
- <tabstop>address1ToolButton</tabstop>
- <tabstop>address2ToolButton</tabstop>
- <tabstop>address3ToolButton</tabstop>
- <tabstop>okPushButton</tabstop>
- <tabstop>cancelPushButton</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">audits/memman.h</include>
- <include location="global" impldecl="in declaration">list</include>
- <include location="local" impldecl="in declaration">sockets/url.h</include>
- <include location="local" impldecl="in declaration">getaddressform.h</include>
- <include location="local" impldecl="in declaration">user.h</include>
- <include location="local" impldecl="in implementation">redirectform.ui.h</include>
-</includes>
-<variables>
- <variable access="private">GetAddressForm *getAddressForm;</variable>
- <variable access="private">int nrAddressBook;</variable>
- <variable access="private">t_user *user_config;</variable>
-</variables>
-<signals>
- <signal>destinations(const list&lt;t_display_url&gt; &amp;)</signal>
-</signals>
-<slots>
- <slot>show( t_user * user, const list&lt;string&gt; &amp; contacts )</slot>
- <slot>validate()</slot>
- <slot>showAddressBook()</slot>
- <slot>showAddressBook1()</slot>
- <slot>showAddressBook2()</slot>
- <slot>showAddressBook3()</slot>
- <slot>selectedAddress( const QString &amp; address )</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function access="private" specifier="non virtual">destroy()</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </connections>
+</ui>
diff --git a/src/gui/selectnicform.ui b/src/gui/selectnicform.ui
index 7f10220..c6aee9b 100644
--- a/src/gui/selectnicform.ui
+++ b/src/gui/selectnicform.ui
@@ -1,212 +1,178 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>SelectNicForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>SelectNicForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>SelectNicForm</class>
+ <widget class="QDialog" name="SelectNicForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>482</width>
- <height>144</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>482</width>
+ <height>144</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Select NIC</string>
+ <property name="windowTitle">
+ <string>Twinkle - Select NIC</string>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>nicIconTextLabel</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>kcmpci.png</pixmap>
- </property>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="nicIconTextLabel">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="pixmap">
+ <pixmap>kcmpci.png</pixmap>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- <spacer row="1" column="0" rowspan="2" colspan="1">
- <property name="name">
- <cstring>spacer53</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>41</height>
- </size>
- </property>
+ </item>
+ <item row="1" column="0" rowspan="2" colspan="1">
+ <spacer name="spacer53">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>41</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
</spacer>
- <widget class="QLayoutWidget" row="0" column="1">
- <property name="name">
- <cstring>layout42</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>selectTextLabel</cstring>
- </property>
- <property name="text">
- <string>Select the network interface/IP address that you want to use:</string>
- </property>
- <property name="alignment">
- <set>WordBreak|AlignTop</set>
- </property>
- </widget>
- <widget class="QListBox">
- <property name="name">
- <cstring>nicListBox</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>You have multiple IP addresses. Here you must select which IP address should be used. This IP address will be used inside the SIP messages.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- <spacer row="1" column="1">
- <property name="name">
- <cstring>spacer9</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
+ </item>
+ <item row="0" column="1">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="selectTextLabel">
+ <property name="text">
+ <string>Select the network interface/IP address that you want to use:</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignTop</set>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3ListBox" name="nicListBox">
+ <property name="whatsThis" stdset="0">
+ <string>You have multiple IP addresses. Here you must select which IP address should be used. This IP address will be used inside the SIP messages.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="1" column="1">
+ <spacer name="spacer9">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ <item row="2" column="1">
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer7">
+ <property name="sizeHint">
<size>
- <width>20</width>
- <height>16</height>
+ <width>40</width>
+ <height>20</height>
</size>
- </property>
- </spacer>
- <widget class="QLayoutWidget" row="2" column="1">
- <property name="name">
- <cstring>layout11</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer7</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>defaultIpPushButton</cstring>
- </property>
- <property name="text">
- <string>Set as default &amp;IP</string>
- </property>
- <property name="accel">
- <string>Alt+I</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Make the selected IP address the default IP address. The next time you start Twinkle, this IP address will be automatically selected.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>defaultNicPushButton</cstring>
- </property>
- <property name="text">
- <string>Set as default &amp;NIC</string>
- </property>
- <property name="accel">
- <string>Alt+N</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Make the selected network interface the default interface. The next time you start Twinkle, this interface will be automatically selected.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="accel">
- <string>Alt+O</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- </hbox>
- </widget>
- </grid>
-</widget>
-<connections>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="defaultIpPushButton">
+ <property name="text">
+ <string>Set as default &amp;IP</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+I</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Make the selected IP address the default IP address. The next time you start Twinkle, this IP address will be automatically selected.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="defaultNicPushButton">
+ <property name="text">
+ <string>Set as default &amp;NIC</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+N</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Make the selected network interface the default interface. The next time you start Twinkle, this interface will be automatically selected.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+O</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <connections>
<connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectNicForm</receiver>
- <slot>accept()</slot>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectNicForm</receiver>
+ <slot>accept()</slot>
</connection>
<connection>
- <sender>nicListBox</sender>
- <signal>selected(const QString&amp;)</signal>
- <receiver>SelectNicForm</receiver>
- <slot>accept()</slot>
+ <sender>nicListBox</sender>
+ <signal>selected(QString)</signal>
+ <receiver>SelectNicForm</receiver>
+ <slot>accept()</slot>
</connection>
<connection>
- <sender>defaultIpPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectNicForm</receiver>
- <slot>setAsDefaultIp()</slot>
+ <sender>defaultIpPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectNicForm</receiver>
+ <slot>setAsDefaultIp()</slot>
</connection>
<connection>
- <sender>defaultNicPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectNicForm</receiver>
- <slot>setAsDefaultNic()</slot>
+ <sender>defaultNicPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectNicForm</receiver>
+ <slot>setAsDefaultNic()</slot>
</connection>
-</connections>
-<includes>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">qmessagebox.h</include>
- <include location="local" impldecl="in implementation">sys_settings.h</include>
- <include location="local" impldecl="in implementation">selectnicform.ui.h</include>
-</includes>
-<variables>
- <variable access="private">int idxDefault;</variable>
-</variables>
-<slots>
- <slot>setAsDefault( bool setIp )</slot>
- <slot>setAsDefaultIp()</slot>
- <slot>setAsDefaultNic()</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </connections>
+</ui>
diff --git a/src/gui/selectprofileform.ui b/src/gui/selectprofileform.ui
index e2a9dbf..71c0da6 100644
--- a/src/gui/selectprofileform.ui
+++ b/src/gui/selectprofileform.ui
@@ -1,415 +1,330 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>SelectProfileForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>SelectProfileForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>SelectProfileForm</class>
+ <widget class="QDialog" name="SelectProfileForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>501</width>
- <height>513</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>501</width>
+ <height>513</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Select user profile</string>
+ <property name="windowTitle">
+ <string>Twinkle - Select user profile</string>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>selectTextLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Select user profile(s) to run:</string>
- </property>
- <property name="alignment">
- <set>WordBreak|AlignVCenter</set>
- </property>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="selectTextLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Select user profile(s) to run:</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignVCenter</set>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
+ </property>
</widget>
- <widget class="QListView" row="1" column="0">
- <column>
- <property name="text">
- <string>User profile</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <property name="name">
- <cstring>profileListView</cstring>
+ </item>
+ <item row="1" column="0">
+ <widget class="Q3ListView" name="profileListView">
+ <property name="resizeMode">
+ <enum>Q3ListView::LastColumn</enum>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Tick the check boxes of the user profiles that you want to run and press run.</string>
+ </property>
+ <column>
+ <property name="text">
+ <string>User profile</string>
</property>
- <property name="resizeMode">
- <enum>LastColumn</enum>
+ <property name="clickable">
+ <bool>true</bool>
</property>
- <property name="whatsThis" stdset="0">
- <string>Tick the check boxes of the user profiles that you want to run and press run.</string>
+ <property name="resizable">
+ <bool>true</bool>
</property>
+ </column>
</widget>
- <widget class="QLayoutWidget" row="0" column="1" rowspan="2" colspan="1">
- <property name="name">
- <cstring>layout78</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer17</cstring>
+ </item>
+ <item row="0" column="1" rowspan="2" colspan="1">
+ <layout class="QVBoxLayout">
+ <item>
+ <spacer name="spacer17">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="newProfileGroupBox">
+ <property name="title">
+ <string>Create profile</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QPushButton" name="newPushButton">
+ <property name="text">
+ <string>Ed&amp;itor</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+I</string>
</property>
- <property name="orientation">
- <enum>Vertical</enum>
+ <property name="whatsThis" stdset="0">
+ <string>Create a new profile with the profile editor.</string>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="wizardPushButton">
+ <property name="text">
+ <string>&amp;Wizard</string>
</property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
+ <property name="shortcut">
+ <string>Alt+W</string>
</property>
- </spacer>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>newProfileGroupBox</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>Create a new profile with the wizard.</string>
</property>
- <property name="title">
- <string>Create profile</string>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="diamondcardPushButton">
+ <property name="text">
+ <string>Dia&amp;mondcard</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QPushButton">
- <property name="name">
- <cstring>newPushButton</cstring>
- </property>
- <property name="text">
- <string>Ed&amp;itor</string>
- </property>
- <property name="accel">
- <string>Alt+I</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Create a new profile with the profile editor.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>wizardPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Wizard</string>
- </property>
- <property name="accel">
- <string>Alt+W</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Create a new profile with the wizard.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>diamondcardPushButton</cstring>
- </property>
- <property name="text">
- <string>Dia&amp;mondcard</string>
- </property>
- <property name="accel">
- <string>Alt+M</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Create a profile for a Diamondcard account. With a Diamondcard account you can make worldwide calls to regular and cell phones and send SMS messages.</string>
- </property>
- </widget>
- </vbox>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>modifyProfileGroupBox</cstring>
+ <property name="shortcut">
+ <string>Alt+M</string>
</property>
- <property name="title">
- <string>Modify profile</string>
+ <property name="whatsThis" stdset="0">
+ <string>Create a profile for a Diamondcard account. With a Diamondcard account you can make worldwide calls to regular and cell phones and send SMS messages.</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QPushButton">
- <property name="name">
- <cstring>editPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Edit</string>
- </property>
- <property name="accel">
- <string>Alt+E</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Edit the highlighted profile.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>deletePushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Delete</string>
- </property>
- <property name="accel">
- <string>Alt+D</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Delete the highlighted profile.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>renamePushButton</cstring>
- </property>
- <property name="text">
- <string>Ren&amp;ame</string>
- </property>
- <property name="accel">
- <string>Alt+A</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Rename the highlighted profile.</string>
- </property>
- </widget>
- </vbox>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>startupProfileGroupBox</cstring>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="modifyProfileGroupBox">
+ <property name="title">
+ <string>Modify profile</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QPushButton" name="editPushButton">
+ <property name="text">
+ <string>&amp;Edit</string>
</property>
- <property name="title">
- <string>Startup profile</string>
+ <property name="shortcut">
+ <string>Alt+E</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QPushButton">
- <property name="name">
- <cstring>defaultPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Set as default</string>
- </property>
- <property name="accel">
- <string>Alt+S</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Make the selected profiles the default profiles. The next time you start Twinkle, these profiles will be automatically run.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>runPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Run</string>
- </property>
- <property name="accel">
- <string>Alt+R</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Run Twinkle with the selected profiles.</string>
- </property>
- </widget>
- </vbox>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>sysPushButton</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>Edit the highlighted profile.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="deletePushButton">
<property name="text">
- <string>S&amp;ystem settings</string>
+ <string>&amp;Delete</string>
</property>
- <property name="accel">
- <string>Alt+Y</string>
+ <property name="shortcut">
+ <string>Alt+D</string>
</property>
<property name="whatsThis" stdset="0">
- <string>Edit the system settings.</string>
+ <string>Delete the highlighted profile.</string>
</property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>cancelPushButton</cstring>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="renamePushButton">
+ <property name="text">
+ <string>Ren&amp;ame</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+A</string>
</property>
+ <property name="whatsThis" stdset="0">
+ <string>Rename the highlighted profile.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="startupProfileGroupBox">
+ <property name="title">
+ <string>Startup profile</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QPushButton" name="defaultPushButton">
<property name="text">
- <string>&amp;Cancel</string>
+ <string>&amp;Set as default</string>
</property>
- <property name="accel">
- <string>Alt+C</string>
+ <property name="shortcut">
+ <string>Alt+S</string>
</property>
- </widget>
- </vbox>
- </widget>
- </grid>
-</widget>
-<connections>
+ <property name="whatsThis" stdset="0">
+ <string>Make the selected profiles the default profiles. The next time you start Twinkle, these profiles will be automatically run.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="runPushButton">
+ <property name="text">
+ <string>&amp;Run</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+R</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Run Twinkle with the selected profiles.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="sysPushButton">
+ <property name="text">
+ <string>S&amp;ystem settings</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+Y</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Edit the system settings.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+C</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
+ <tabstop>profileListView</tabstop>
+ <tabstop>newPushButton</tabstop>
+ <tabstop>wizardPushButton</tabstop>
+ <tabstop>diamondcardPushButton</tabstop>
+ <tabstop>editPushButton</tabstop>
+ <tabstop>deletePushButton</tabstop>
+ <tabstop>renamePushButton</tabstop>
+ <tabstop>defaultPushButton</tabstop>
+ <tabstop>runPushButton</tabstop>
+ <tabstop>sysPushButton</tabstop>
+ <tabstop>cancelPushButton</tabstop>
+ </tabstops>
+ <includes>
+ <include location="global">list</include>
+ <include location="global">string</include>
+ <include location="local">phone.h</include>
+ <include location="local">q3mainwindow.h</include>
+ </includes>
+ <connections>
<connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectProfileForm</receiver>
- <slot>reject()</slot>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectProfileForm</receiver>
+ <slot>reject()</slot>
</connection>
<connection>
- <sender>runPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectProfileForm</receiver>
- <slot>runProfile()</slot>
+ <sender>runPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectProfileForm</receiver>
+ <slot>runProfile()</slot>
</connection>
<connection>
- <sender>editPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectProfileForm</receiver>
- <slot>editProfile()</slot>
+ <sender>editPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectProfileForm</receiver>
+ <slot>editProfile()</slot>
</connection>
<connection>
- <sender>newPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectProfileForm</receiver>
- <slot>newProfile()</slot>
+ <sender>newPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectProfileForm</receiver>
+ <slot>newProfile()</slot>
</connection>
<connection>
- <sender>deletePushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectProfileForm</receiver>
- <slot>deleteProfile()</slot>
+ <sender>deletePushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectProfileForm</receiver>
+ <slot>deleteProfile()</slot>
</connection>
<connection>
- <sender>renamePushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectProfileForm</receiver>
- <slot>renameProfile()</slot>
+ <sender>renamePushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectProfileForm</receiver>
+ <slot>renameProfile()</slot>
</connection>
<connection>
- <sender>wizardPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectProfileForm</receiver>
- <slot>wizardProfile()</slot>
+ <sender>wizardPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectProfileForm</receiver>
+ <slot>wizardProfile()</slot>
</connection>
<connection>
- <sender>defaultPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectProfileForm</receiver>
- <slot>setAsDefault()</slot>
+ <sender>defaultPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectProfileForm</receiver>
+ <slot>setAsDefault()</slot>
</connection>
<connection>
- <sender>sysPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectProfileForm</receiver>
- <slot>sysSettings()</slot>
+ <sender>sysPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectProfileForm</receiver>
+ <slot>sysSettings()</slot>
</connection>
<connection>
- <sender>profileListView</sender>
- <signal>doubleClicked(QListViewItem*)</signal>
- <receiver>SelectProfileForm</receiver>
- <slot>toggleItem(QListViewItem*)</slot>
+ <sender>profileListView</sender>
+ <signal>doubleClicked(Q3ListViewItem*)</signal>
+ <receiver>SelectProfileForm</receiver>
+ <slot>toggleItem(Q3ListViewItem*)</slot>
</connection>
<connection>
- <sender>diamondcardPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectProfileForm</receiver>
- <slot>diamondcardProfile()</slot>
+ <sender>diamondcardPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectProfileForm</receiver>
+ <slot>diamondcardProfile()</slot>
</connection>
-</connections>
-<tabstops>
- <tabstop>profileListView</tabstop>
- <tabstop>newPushButton</tabstop>
- <tabstop>wizardPushButton</tabstop>
- <tabstop>diamondcardPushButton</tabstop>
- <tabstop>editPushButton</tabstop>
- <tabstop>deletePushButton</tabstop>
- <tabstop>renamePushButton</tabstop>
- <tabstop>defaultPushButton</tabstop>
- <tabstop>runPushButton</tabstop>
- <tabstop>sysPushButton</tabstop>
- <tabstop>cancelPushButton</tabstop>
-</tabstops>
-<includes>
- <include location="global" impldecl="in declaration">list</include>
- <include location="global" impldecl="in declaration">string</include>
- <include location="local" impldecl="in declaration">phone.h</include>
- <include location="local" impldecl="in declaration">qmainwindow.h</include>
- <include location="local" impldecl="in implementation">qdir.h</include>
- <include location="local" impldecl="in implementation">user.h</include>
- <include location="local" impldecl="in implementation">qstringlist.h</include>
- <include location="local" impldecl="in implementation">qmessagebox.h</include>
- <include location="local" impldecl="in implementation">protocol.h</include>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">userprofileform.h</include>
- <include location="local" impldecl="in implementation">getprofilenameform.h</include>
- <include location="local" impldecl="in implementation">audits/memman.h</include>
- <include location="local" impldecl="in implementation">wizardform.h</include>
- <include location="local" impldecl="in implementation">syssettingsform.h</include>
- <include location="local" impldecl="in implementation">qlistview.h</include>
- <include location="global" impldecl="in implementation">cstring</include>
- <include location="local" impldecl="in implementation">service.h</include>
- <include location="local" impldecl="in implementation">presence/buddy.h</include>
- <include location="local" impldecl="in implementation">diamondcardprofileform.h</include>
- <include location="local" impldecl="in implementation">selectprofileform.ui.h</include>
-</includes>
-<forwards>
- <forward>class t_phone;</forward>
- <forward>extern t_phone *phone;</forward>
-</forwards>
-<variables>
- <variable access="public">std::list&lt;std::string&gt; selectedProfiles;</variable>
- <variable access="private">bool defaultSet;</variable>
- <variable access="private">t_user *user_config;</variable>
- <variable access="private">QMainWindow *mainWindow;</variable>
-</variables>
-<signals>
- <signal>selection(const list&lt;string&gt; &amp;)</signal>
- <signal>profileRenamed()</signal>
-</signals>
-<slots>
- <slot>showForm( QMainWindow * _mainWindow )</slot>
- <slot>runProfile()</slot>
- <slot>editProfile()</slot>
- <slot>newProfile()</slot>
- <slot>newProfile( bool exec_mode )</slot>
- <slot>newProfileCreated()</slot>
- <slot>deleteProfile()</slot>
- <slot>renameProfile()</slot>
- <slot>setAsDefault()</slot>
- <slot>wizardProfile()</slot>
- <slot>wizardProfile( bool exec_mode )</slot>
- <slot>diamondcardProfile()</slot>
- <slot>diamondcardProfile( bool exec_mode )</slot>
- <slot>sysSettings()</slot>
- <slot>fillProfileListView( const QStringList &amp; profiles )</slot>
- <slot>toggleItem( QListViewItem * item )</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function access="private" specifier="non virtual">destroy()</function>
- <function returnType="int">execForm()</function>
- <function specifier="static" returnType="bool">getUserProfiles( QStringList &amp; profiles, QString &amp; error )</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </connections>
+</ui>
diff --git a/src/gui/selectuserform.ui b/src/gui/selectuserform.ui
index 5b6cbbf..21a76e7 100644
--- a/src/gui/selectuserform.ui
+++ b/src/gui/selectuserform.ui
@@ -1,207 +1,173 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>SelectUserForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>SelectUserForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>SelectUserForm</class>
+ <widget class="QDialog" name="SelectUserForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>584</width>
- <height>228</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>584</width>
+ <height>228</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Select user</string>
+ <property name="windowTitle">
+ <string>Twinkle - Select user</string>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QPushButton" row="1" column="4">
- <property name="name">
- <cstring>cancelPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- <property name="accel">
- <string>Alt+C</string>
- </property>
+ <layout class="QGridLayout">
+ <item row="1" column="4">
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+C</string>
+ </property>
</widget>
- <widget class="QPushButton" row="1" column="0">
- <property name="name">
- <cstring>selectPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Select all</string>
- </property>
- <property name="accel">
- <string>Alt+S</string>
- </property>
+ </item>
+ <item row="1" column="0">
+ <widget class="QPushButton" name="selectPushButton">
+ <property name="text">
+ <string>&amp;Select all</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+S</string>
+ </property>
</widget>
- <spacer row="1" column="2">
- <property name="name">
- <cstring>spacer47</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>41</width>
- <height>20</height>
- </size>
- </property>
+ </item>
+ <item row="1" column="2">
+ <spacer name="spacer47">
+ <property name="sizeHint">
+ <size>
+ <width>41</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
</spacer>
- <widget class="QPushButton" row="1" column="3">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="accel">
- <string>Alt+O</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
+ </item>
+ <item row="1" column="3">
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+O</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
</widget>
- <widget class="QPushButton" row="1" column="1">
- <property name="name">
- <cstring>clearPushButton</cstring>
- </property>
- <property name="text">
- <string>C&amp;lear all</string>
- </property>
- <property name="accel">
- <string>Alt+L</string>
- </property>
+ </item>
+ <item row="1" column="1">
+ <widget class="QPushButton" name="clearPushButton">
+ <property name="text">
+ <string>C&amp;lear all</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+L</string>
+ </property>
</widget>
- <widget class="QLayoutWidget" row="0" column="0" rowspan="1" colspan="5">
- <property name="name">
- <cstring>layout100</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ </item>
+ <item row="0" column="0" rowspan="1" colspan="5">
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="purposeTextLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">purpose</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3ListView" name="userListView">
+ <property name="resizePolicy">
+ <enum>Q3ScrollView::Manual</enum>
+ </property>
+ <property name="selectionMode">
+ <enum>Q3ListView::NoSelection</enum>
+ </property>
+ <property name="resizeMode">
+ <enum>Q3ListView::LastColumn</enum>
+ </property>
+ <column>
+ <property name="text">
+ <string>User</string>
</property>
- <widget class="QLabel">
- <property name="name">
- <cstring>purposeTextLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>purpose</string>
- <comment>No need to translate</comment>
- </property>
- </widget>
- <widget class="QListView">
- <column>
- <property name="text">
- <string>User</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <property name="name">
- <cstring>userListView</cstring>
- </property>
- <property name="resizePolicy">
- <enum>Manual</enum>
- </property>
- <property name="selectionMode">
- <enum>NoSelection</enum>
- </property>
- <property name="resizeMode">
- <enum>LastColumn</enum>
- </property>
- </widget>
- </vbox>
- </widget>
- </grid>
-</widget>
-<connections>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
+ <tabstop>userListView</tabstop>
+ <tabstop>selectPushButton</tabstop>
+ <tabstop>clearPushButton</tabstop>
+ <tabstop>okPushButton</tabstop>
+ <tabstop>cancelPushButton</tabstop>
+ </tabstops>
+ <includes>
+ <include location="local">user.h</include>
+ <include location="local">phone.h</include>
+ <include location="local">gui.h</include>
+ </includes>
+ <connections>
<connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectUserForm</receiver>
- <slot>validate()</slot>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectUserForm</receiver>
+ <slot>validate()</slot>
</connection>
<connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectUserForm</receiver>
- <slot>reject()</slot>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectUserForm</receiver>
+ <slot>reject()</slot>
</connection>
<connection>
- <sender>selectPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectUserForm</receiver>
- <slot>selectAll()</slot>
+ <sender>selectPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectUserForm</receiver>
+ <slot>selectAll()</slot>
</connection>
<connection>
- <sender>clearPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectUserForm</receiver>
- <slot>clearAll()</slot>
+ <sender>clearPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectUserForm</receiver>
+ <slot>clearAll()</slot>
</connection>
<connection>
- <sender>userListView</sender>
- <signal>doubleClicked(QListViewItem*)</signal>
- <receiver>SelectUserForm</receiver>
- <slot>toggle(QListViewItem*)</slot>
+ <sender>userListView</sender>
+ <signal>doubleClicked(Q3ListViewItem*)</signal>
+ <receiver>SelectUserForm</receiver>
+ <slot>toggle(Q3ListViewItem*)</slot>
</connection>
-</connections>
-<tabstops>
- <tabstop>userListView</tabstop>
- <tabstop>selectPushButton</tabstop>
- <tabstop>clearPushButton</tabstop>
- <tabstop>okPushButton</tabstop>
- <tabstop>cancelPushButton</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in declaration">user.h</include>
- <include location="local" impldecl="in declaration">phone.h</include>
- <include location="local" impldecl="in declaration">gui.h</include>
- <include location="global" impldecl="in implementation">cassert</include>
- <include location="local" impldecl="in implementation">qlistview.h</include>
- <include location="local" impldecl="in implementation">selectuserform.ui.h</include>
-</includes>
-<forwards>
- <forward>class t_phone;</forward>
- <forward>extern t_phone *phone;</forward>
-</forwards>
-<signals>
- <signal>selection(list&lt;t_user *&gt;)</signal>
- <signal>not_selected(list&lt;t_user*&gt;)</signal>
-</signals>
-<slots>
- <slot>show( t_select_purpose purpose )</slot>
- <slot>validate()</slot>
- <slot>selectAll()</slot>
- <slot>clearAll()</slot>
- <slot>toggle( QListViewItem * item )</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </connections>
+</ui>
diff --git a/src/gui/sendfileform.ui b/src/gui/sendfileform.ui
index 748459b..6224c89 100644
--- a/src/gui/sendfileform.ui
+++ b/src/gui/sendfileform.ui
@@ -1,217 +1,177 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>SendFileForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>SendFileForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>SendFileForm</class>
+ <widget class="QDialog" name="SendFileForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>461</width>
- <height>127</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>461</width>
+ <height>127</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Send File</string>
+ <property name="windowTitle">
+ <string>Twinkle - Send File</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout166</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QToolButton" row="1" column="2">
- <property name="name">
- <cstring>fileToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>fileopen.png</iconset>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select file to send.</string>
- </property>
- </widget>
- <spacer row="0" column="2">
- <property name="name">
- <cstring>spacer62</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Minimum</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>28</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>fileTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;File:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>fileLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>subjectTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Subject:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>subjectLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>fileLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>subjectLineEdit</cstring>
- </property>
- </widget>
- </grid>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer66</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QGridLayout">
+ <item row="1" column="2">
+ <widget class="QToolButton" name="fileToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>fileopen.png</iconset>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select file to send.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <spacer name="spacer62">
+ <property name="sizeHint">
<size>
- <width>20</width>
- <height>16</height>
+ <width>28</width>
+ <height>20</height>
</size>
- </property>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Minimum</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="fileTextLabel">
+ <property name="text">
+ <string>&amp;File:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>fileLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="subjectTextLabel">
+ <property name="text">
+ <string>&amp;Subject:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>subjectLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="fileLineEdit"/>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="subjectLineEdit"/>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="spacer66">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
</spacer>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout59</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer65</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>141</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="accel">
- <string>Alt+O</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>cancelPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- <property name="accel">
- <string>Alt+C</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
-</widget>
-<connections>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer65">
+ <property name="sizeHint">
+ <size>
+ <width>141</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+O</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+C</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
+ <tabstop>subjectLineEdit</tabstop>
+ <tabstop>fileLineEdit</tabstop>
+ <tabstop>okPushButton</tabstop>
+ <tabstop>cancelPushButton</tabstop>
+ </tabstops>
+ <includes>
+ <include location="local">qstring.h</include>
+ </includes>
+ <connections>
<connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SendFileForm</receiver>
- <slot>reject()</slot>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SendFileForm</receiver>
+ <slot>reject()</slot>
</connection>
<connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SendFileForm</receiver>
- <slot>signalSelectedInfo()</slot>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SendFileForm</receiver>
+ <slot>signalSelectedInfo()</slot>
</connection>
<connection>
- <sender>fileToolButton</sender>
- <signal>clicked()</signal>
- <receiver>SendFileForm</receiver>
- <slot>chooseFile()</slot>
+ <sender>fileToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SendFileForm</receiver>
+ <slot>chooseFile()</slot>
</connection>
-</connections>
-<tabstops>
- <tabstop>subjectLineEdit</tabstop>
- <tabstop>fileLineEdit</tabstop>
- <tabstop>okPushButton</tabstop>
- <tabstop>cancelPushButton</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in declaration">qstring.h</include>
- <include location="local" impldecl="in implementation">audits/memman.h</include>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">qfile.h</include>
- <include location="local" impldecl="in implementation">qfiledialog.h</include>
- <include location="local" impldecl="in implementation">sendfileform.ui.h</include>
-</includes>
-<variables>
- <variable access="private">QDialog *_chooseFileDialog;</variable>
-</variables>
-<signals>
- <signal>selected(const QString &amp;filename, const QString &amp;subject)</signal>
-</signals>
-<slots>
- <slot>signalSelectedInfo()</slot>
- <slot>chooseFile()</slot>
- <slot>setFilename()</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function access="private" specifier="non virtual">destroy()</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </connections>
+</ui>
diff --git a/src/gui/srvredirectform.ui b/src/gui/srvredirectform.ui
index 0bc9ce5..1af6ccd 100644
--- a/src/gui/srvredirectform.ui
+++ b/src/gui/srvredirectform.ui
@@ -1,67 +1,58 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>SrvRedirectForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>SrvRedirectForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>SrvRedirectForm</class>
+ <widget class="QDialog" name="SrvRedirectForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>648</width>
- <height>315</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>648</width>
+ <height>315</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Call Redirection</string>
+ <property name="windowTitle">
+ <string>Twinkle - Call Redirection</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout114</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>userTextLabel</cstring>
- </property>
- <property name="text">
- <string>User:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>userComboBox</cstring>
- </property>
- </widget>
- <widget class="QComboBox">
- <property name="name">
- <cstring>userComboBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="QTabWidget">
- <property name="name">
- <cstring>cfTabWidget</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>There are 3 redirect services:&lt;p&gt;
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="userTextLabel">
+ <property name="text">
+ <string>User:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>userComboBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QComboBox" name="userComboBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="QTabWidget" name="cfTabWidget">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>There are 3 redirect services:&lt;p&gt;
&lt;b&gt;Unconditional:&lt;/b&gt; redirect all calls
&lt;/p&gt;
&lt;p&gt;
@@ -70,751 +61,658 @@
&lt;p&gt;
&lt;b&gt;No answer:&lt;/b&gt; redirect a call when the no-answer timer expires
&lt;/p&gt;</string>
- </property>
- <widget class="QWidget">
- <property name="name">
- <cstring>tab</cstring>
- </property>
- <attribute name="title">
- <string>&amp;Unconditional</string>
- </attribute>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QCheckBox" row="0" column="0">
- <property name="name">
- <cstring>cfAlwaysCheckBox</cstring>
+ </property>
+ <widget class="QWidget" name="tab">
+ <attribute name="title">
+ <string>&amp;Unconditional</string>
+ </attribute>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QCheckBox" name="cfAlwaysCheckBox">
+ <property name="text">
+ <string>&amp;Redirect all calls</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+R</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Activate the unconditional redirection service.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="Q3GroupBox" name="cfAlwaysGroupBox">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="title">
+ <string>Redirect to</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="cfAlwaysDst1LineEdit">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="cfAlwaysDst2LineEdit">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="cfAlwaysDst3TextLabel">
+ <property name="enabled">
+ <bool>true</bool>
</property>
<property name="text">
- <string>&amp;Redirect all calls</string>
+ <string>&amp;3rd choice destination:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>cfAlwaysDst3LineEdit</cstring>
</property>
- <property name="accel">
- <string>Alt+R</string>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QLineEdit" name="cfAlwaysDst3LineEdit">
+ <property name="enabled">
+ <bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
- <string>Activate the unconditional redirection service.</string>
+ <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
</property>
- </widget>
- <widget class="QGroupBox" row="1" column="0">
- <property name="name">
- <cstring>cfAlwaysGroupBox</cstring>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="cfAlwaysDst2TextLabel">
+ <property name="text">
+ <string>&amp;2nd choice destination:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>cfAlwaysDst2LineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="cfAlwaysDst1TextLabel">
+ <property name="text">
+ <string>&amp;1st choice destination:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>cfAlwaysDst1LineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <widget class="QToolButton" name="addrAlways1ToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="shortcut">
+ <string>F10</string>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QToolButton" name="addrAlways2ToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="shortcut">
+ <string>F11</string>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
</property>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <widget class="QToolButton" name="addrAlways3ToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="shortcut">
+ <string>F12</string>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="tab">
+ <attribute name="title">
+ <string>&amp;Busy</string>
+ </attribute>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QCheckBox" name="cfBusyCheckBox">
+ <property name="text">
+ <string>&amp;Redirect calls when I am busy</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+R</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Activate the redirection when busy service.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="Q3GroupBox" name="cfBusyGroupBox">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="title">
+ <string>Redirect to</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="cfBusyDst2LineEdit">
<property name="enabled">
- <bool>true</bool>
- </property>
- <property name="title">
- <string>Redirect to</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>cfAlwaysDst1LineEdit</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="frameShape">
- <enum>LineEditPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>Sunken</enum>
- </property>
- <property name="whatsThis" stdset="0">
- <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>cfAlwaysDst2LineEdit</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>cfAlwaysDst3TextLabel</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>&amp;3rd choice destination:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>cfAlwaysDst3LineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="2" column="1">
- <property name="name">
- <cstring>cfAlwaysDst3LineEdit</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>cfAlwaysDst2TextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;2nd choice destination:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>cfAlwaysDst2LineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>cfAlwaysDst1TextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;1st choice destination:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>cfAlwaysDst1LineEdit</cstring>
- </property>
- </widget>
- <widget class="QToolButton" row="0" column="2">
- <property name="name">
- <cstring>addrAlways1ToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="accel">
- <string>F10</string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- </widget>
- <widget class="QToolButton" row="1" column="2">
- <property name="name">
- <cstring>addrAlways2ToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="accel">
- <string>F11</string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="2" column="2">
- <property name="name">
- <cstring>addrAlways3ToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="accel">
- <string>F12</string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- </grid>
- </widget>
- </grid>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>tab</cstring>
- </property>
- <attribute name="title">
- <string>&amp;Busy</string>
- </attribute>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QCheckBox" row="0" column="0">
- <property name="name">
- <cstring>cfBusyCheckBox</cstring>
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
</property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="cfBusyDst3TextLabel">
<property name="text">
- <string>&amp;Redirect calls when I am busy</string>
+ <string>&amp;3rd choice destination:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>cfAlwaysDst3LineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
- <property name="accel">
- <string>Alt+R</string>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QLineEdit" name="cfBusyDst3LineEdit">
+ <property name="enabled">
+ <bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
- <string>Activate the redirection when busy service.</string>
+ <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="cfBusyDst2TextLabel">
+ <property name="text">
+ <string>&amp;2nd choice destination:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>cfAlwaysDst2LineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
- </widget>
- <widget class="QGroupBox" row="1" column="0">
- <property name="name">
- <cstring>cfBusyGroupBox</cstring>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="cfBusyDst1TextLabel">
+ <property name="text">
+ <string>&amp;1st choice destination:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>cfAlwaysDst1LineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="cfBusyDst1LineEdit">
<property name="enabled">
- <bool>true</bool>
- </property>
- <property name="title">
- <string>Redirect to</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>cfBusyDst2LineEdit</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>cfBusyDst3TextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;3rd choice destination:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>cfAlwaysDst3LineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="2" column="1">
- <property name="name">
- <cstring>cfBusyDst3LineEdit</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>cfBusyDst2TextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;2nd choice destination:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>cfAlwaysDst2LineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>cfBusyDst1TextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;1st choice destination:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>cfAlwaysDst1LineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>cfBusyDst1LineEdit</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="0" column="2">
- <property name="name">
- <cstring>addrBusy1ToolButton</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="1" column="2">
- <property name="name">
- <cstring>addrBusy2ToolButton</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="2" column="2">
- <property name="name">
- <cstring>addrBusy3ToolButton</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- </grid>
- </widget>
- </grid>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>tab</cstring>
- </property>
- <attribute name="title">
- <string>&amp;No answer</string>
- </attribute>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QCheckBox" row="0" column="0">
- <property name="name">
- <cstring>cfNoanswerCheckBox</cstring>
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <widget class="QToolButton" name="addrBusy1ToolButton">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
</property>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QToolButton" name="addrBusy2ToolButton">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <widget class="QToolButton" name="addrBusy3ToolButton">
<property name="text">
- <string>&amp;Redirect calls when I do not answer</string>
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
</property>
- <property name="accel">
- <string>Alt+R</string>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="tab">
+ <attribute name="title">
+ <string>&amp;No answer</string>
+ </attribute>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QCheckBox" name="cfNoanswerCheckBox">
+ <property name="text">
+ <string>&amp;Redirect calls when I do not answer</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+R</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Activate the redirection on no answer service.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="Q3GroupBox" name="cfNoanswerGroupBox">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="title">
+ <string>Redirect to</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="cfNoanswerDst2LineEdit">
+ <property name="enabled">
+ <bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
- <string>Activate the redirection on no answer service.</string>
+ <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="cfNoanswerDst3TextLabel">
+ <property name="text">
+ <string>&amp;3rd choice destination:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>cfAlwaysDst3LineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="cfNoanswerDst2TextLabel">
+ <property name="text">
+ <string>&amp;2nd choice destination:</string>
</property>
- </widget>
- <widget class="QGroupBox" row="1" column="0">
- <property name="name">
- <cstring>cfNoanswerGroupBox</cstring>
+ <property name="buddy" stdset="0">
+ <cstring>cfAlwaysDst2LineEdit</cstring>
</property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="cfNoanswerDst1TextLabel">
+ <property name="text">
+ <string>&amp;1st choice destination:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>cfAlwaysDst1LineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="cfNoanswerDst1LineEdit">
<property name="enabled">
- <bool>true</bool>
- </property>
- <property name="title">
- <string>Redirect to</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>cfNoanswerDst2LineEdit</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>cfNoanswerDst3TextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;3rd choice destination:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>cfAlwaysDst3LineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>cfNoanswerDst2TextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;2nd choice destination:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>cfAlwaysDst2LineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>cfNoanswerDst1TextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;1st choice destination:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>cfAlwaysDst1LineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>cfNoanswerDst1LineEdit</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="2" column="1">
- <property name="name">
- <cstring>cfNoanswerDst3LineEdit</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="0" column="2">
- <property name="name">
- <cstring>addrNoanswer1ToolButton</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="1" column="2">
- <property name="name">
- <cstring>addrNoanswer2ToolButton</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="2" column="2">
- <property name="name">
- <cstring>addrNoanswer3ToolButton</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- </grid>
- </widget>
- </grid>
- </widget>
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QLineEdit" name="cfNoanswerDst3LineEdit">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <widget class="QToolButton" name="addrNoanswer1ToolButton">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QToolButton" name="addrNoanswer2ToolButton">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <widget class="QToolButton" name="addrNoanswer3ToolButton">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </widget>
</widget>
- <spacer>
- <property name="name">
- <cstring>spacer14</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
+ </item>
+ <item>
+ <spacer name="spacer14">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer13">
+ <property name="sizeHint">
<size>
- <width>20</width>
- <height>16</height>
+ <width>261</width>
+ <height>20</height>
</size>
- </property>
- </spacer>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout23</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer13</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>261</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="accel">
- <string>Alt+O</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Accept and save all changes.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>cancelPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- <property name="accel">
- <string>Alt+C</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Undo your changes and close the window.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
-</widget>
-<connections>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+O</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Accept and save all changes.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+C</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Undo your changes and close the window.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
+ <tabstop>cfTabWidget</tabstop>
+ <tabstop>cfAlwaysCheckBox</tabstop>
+ <tabstop>cfAlwaysDst1LineEdit</tabstop>
+ <tabstop>cfAlwaysDst2LineEdit</tabstop>
+ <tabstop>cfAlwaysDst3LineEdit</tabstop>
+ <tabstop>cfBusyCheckBox</tabstop>
+ <tabstop>cfBusyDst1LineEdit</tabstop>
+ <tabstop>cfBusyDst2LineEdit</tabstop>
+ <tabstop>cfBusyDst3LineEdit</tabstop>
+ <tabstop>cfNoanswerCheckBox</tabstop>
+ <tabstop>cfNoanswerDst1LineEdit</tabstop>
+ <tabstop>cfNoanswerDst2LineEdit</tabstop>
+ <tabstop>cfNoanswerDst3LineEdit</tabstop>
+ <tabstop>okPushButton</tabstop>
+ <tabstop>cancelPushButton</tabstop>
+ </tabstops>
+ <includes>
+ <include location="local">sockets/url.h</include>
+ <include location="global">list</include>
+ <include location="local">qlineedit.h</include>
+ <include location="local">ui_getaddressform.h</include>
+ <include location="local">user.h</include>
+ <include location="local">phone.h</include>
+ </includes>
+ <connections>
<connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SrvRedirectForm</receiver>
- <slot>reject()</slot>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SrvRedirectForm</receiver>
+ <slot>reject()</slot>
</connection>
<connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SrvRedirectForm</receiver>
- <slot>validate()</slot>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SrvRedirectForm</receiver>
+ <slot>validate()</slot>
</connection>
<connection>
- <sender>cfAlwaysCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>SrvRedirectForm</receiver>
- <slot>toggleAlways(bool)</slot>
+ <sender>cfAlwaysCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>SrvRedirectForm</receiver>
+ <slot>toggleAlways(bool)</slot>
</connection>
<connection>
- <sender>cfBusyCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>SrvRedirectForm</receiver>
- <slot>toggleBusy(bool)</slot>
+ <sender>cfBusyCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>SrvRedirectForm</receiver>
+ <slot>toggleBusy(bool)</slot>
</connection>
<connection>
- <sender>cfNoanswerCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>SrvRedirectForm</receiver>
- <slot>toggleNoanswer(bool)</slot>
+ <sender>cfNoanswerCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>SrvRedirectForm</receiver>
+ <slot>toggleNoanswer(bool)</slot>
</connection>
<connection>
- <sender>addrAlways1ToolButton</sender>
- <signal>clicked()</signal>
- <receiver>SrvRedirectForm</receiver>
- <slot>showAddressBook1()</slot>
+ <sender>addrAlways1ToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SrvRedirectForm</receiver>
+ <slot>showAddressBook1()</slot>
</connection>
<connection>
- <sender>addrAlways2ToolButton</sender>
- <signal>clicked()</signal>
- <receiver>SrvRedirectForm</receiver>
- <slot>showAddressBook2()</slot>
+ <sender>addrAlways2ToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SrvRedirectForm</receiver>
+ <slot>showAddressBook2()</slot>
</connection>
<connection>
- <sender>addrAlways3ToolButton</sender>
- <signal>clicked()</signal>
- <receiver>SrvRedirectForm</receiver>
- <slot>showAddressBook3()</slot>
+ <sender>addrAlways3ToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SrvRedirectForm</receiver>
+ <slot>showAddressBook3()</slot>
</connection>
<connection>
- <sender>addrBusy1ToolButton</sender>
- <signal>clicked()</signal>
- <receiver>SrvRedirectForm</receiver>
- <slot>showAddressBook4()</slot>
+ <sender>addrBusy1ToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SrvRedirectForm</receiver>
+ <slot>showAddressBook4()</slot>
</connection>
<connection>
- <sender>addrBusy2ToolButton</sender>
- <signal>clicked()</signal>
- <receiver>SrvRedirectForm</receiver>
- <slot>showAddressBook5()</slot>
+ <sender>addrBusy2ToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SrvRedirectForm</receiver>
+ <slot>showAddressBook5()</slot>
</connection>
<connection>
- <sender>addrBusy3ToolButton</sender>
- <signal>clicked()</signal>
- <receiver>SrvRedirectForm</receiver>
- <slot>showAddressBook6()</slot>
+ <sender>addrBusy3ToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SrvRedirectForm</receiver>
+ <slot>showAddressBook6()</slot>
</connection>
<connection>
- <sender>addrNoanswer1ToolButton</sender>
- <signal>clicked()</signal>
- <receiver>SrvRedirectForm</receiver>
- <slot>showAddressBook7()</slot>
+ <sender>addrNoanswer1ToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SrvRedirectForm</receiver>
+ <slot>showAddressBook7()</slot>
</connection>
<connection>
- <sender>addrNoanswer2ToolButton</sender>
- <signal>clicked()</signal>
- <receiver>SrvRedirectForm</receiver>
- <slot>showAddressBook8()</slot>
+ <sender>addrNoanswer2ToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SrvRedirectForm</receiver>
+ <slot>showAddressBook8()</slot>
</connection>
<connection>
- <sender>addrNoanswer3ToolButton</sender>
- <signal>clicked()</signal>
- <receiver>SrvRedirectForm</receiver>
- <slot>showAddressBook9()</slot>
+ <sender>addrNoanswer3ToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SrvRedirectForm</receiver>
+ <slot>showAddressBook9()</slot>
</connection>
<connection>
- <sender>userComboBox</sender>
- <signal>activated(const QString&amp;)</signal>
- <receiver>SrvRedirectForm</receiver>
- <slot>changedUser(const QString&amp;)</slot>
+ <sender>userComboBox</sender>
+ <signal>activated(QString)</signal>
+ <receiver>SrvRedirectForm</receiver>
+ <slot>changedUser(QString)</slot>
</connection>
-</connections>
-<tabstops>
- <tabstop>cfTabWidget</tabstop>
- <tabstop>cfAlwaysCheckBox</tabstop>
- <tabstop>cfAlwaysDst1LineEdit</tabstop>
- <tabstop>cfAlwaysDst2LineEdit</tabstop>
- <tabstop>cfAlwaysDst3LineEdit</tabstop>
- <tabstop>cfBusyCheckBox</tabstop>
- <tabstop>cfBusyDst1LineEdit</tabstop>
- <tabstop>cfBusyDst2LineEdit</tabstop>
- <tabstop>cfBusyDst3LineEdit</tabstop>
- <tabstop>cfNoanswerCheckBox</tabstop>
- <tabstop>cfNoanswerDst1LineEdit</tabstop>
- <tabstop>cfNoanswerDst2LineEdit</tabstop>
- <tabstop>cfNoanswerDst3LineEdit</tabstop>
- <tabstop>okPushButton</tabstop>
- <tabstop>cancelPushButton</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in implementation">phone.h</include>
- <include location="local" impldecl="in implementation">qgroupbox.h</include>
- <include location="local" impldecl="in implementation">qcheckbox.h</include>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">audits/memman.h</include>
- <include location="local" impldecl="in declaration">sockets/url.h</include>
- <include location="global" impldecl="in declaration">list</include>
- <include location="local" impldecl="in declaration">qlineedit.h</include>
- <include location="local" impldecl="in declaration">getaddressform.h</include>
- <include location="local" impldecl="in declaration">user.h</include>
- <include location="local" impldecl="in declaration">phone.h</include>
- <include location="local" impldecl="in implementation">srvredirectform.ui.h</include>
-</includes>
-<forwards>
- <forward>class t_phone;</forward>
- <forward>extern t_phone *phone;</forward>
-</forwards>
-<variables>
- <variable access="private">int nrAddressBook;</variable>
- <variable access="private">GetAddressForm *getAddressForm;</variable>
- <variable access="private">t_user *current_user;</variable>
- <variable access="private">int current_user_idx;</variable>
-</variables>
-<signals>
- <signal>destinations(t_user *, const list&lt;t_display_url&gt; &amp;always, const list&lt;t_display_url&gt; &amp;busy, const list&lt;t_display_url&gt; &amp;noanswer)</signal>
-</signals>
-<slots>
- <slot>show()</slot>
- <slot>populate()</slot>
- <slot>validate()</slot>
- <slot>toggleAlways( bool on )</slot>
- <slot>toggleBusy( bool on )</slot>
- <slot>toggleNoanswer( bool on )</slot>
- <slot>changedUser( const QString &amp; user_display_uri )</slot>
- <slot>showAddressBook()</slot>
- <slot>showAddressBook1()</slot>
- <slot>showAddressBook2()</slot>
- <slot>showAddressBook3()</slot>
- <slot>showAddressBook4()</slot>
- <slot>showAddressBook5()</slot>
- <slot>showAddressBook6()</slot>
- <slot>showAddressBook7()</slot>
- <slot>showAddressBook8()</slot>
- <slot>showAddressBook9()</slot>
- <slot>selectedAddress( const QString &amp; address )</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function access="private" specifier="non virtual">destroy()</function>
- <function returnType="bool">validateValues()</function>
- <function returnType="bool">validate( bool cf_active, QLineEdit * dst1, QLineEdit * dst2, QLineEdit * dst3, list&lt;t_display_url&gt; &amp; dest_list )</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </connections>
+</ui>
diff --git a/src/gui/syssettingsform.ui b/src/gui/syssettingsform.ui
index 300bf89..bfe8807 100644
--- a/src/gui/syssettingsform.ui
+++ b/src/gui/syssettingsform.ui
@@ -1,1854 +1,1637 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>SysSettingsForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>SysSettingsForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>SysSettingsForm</class>
+ <widget class="QDialog" name="SysSettingsForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>765</width>
- <height>624</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>765</width>
+ <height>624</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - System Settings</string>
+ <property name="windowTitle">
+ <string>Twinkle - System Settings</string>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QListBox" row="0" column="0">
- <item>
- <property name="text">
- <string>General</string>
- </property>
- <property name="pixmap">
- <pixmap>twinkle32.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Audio</string>
- </property>
- <property name="pixmap">
- <pixmap>kmix.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Ring tones</string>
- </property>
- <property name="pixmap">
- <pixmap>knotify.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Address book</string>
- </property>
- <property name="pixmap">
- <pixmap>kontact_contacts32.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Network</string>
- </property>
- <property name="pixmap">
- <pixmap>network.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Log</string>
- </property>
- <property name="pixmap">
- <pixmap>log.png</pixmap>
- </property>
- </item>
- <property name="name">
- <cstring>categoryListBox</cstring>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="Q3ListBox" name="categoryListBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>7</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select a category for which you want to see or modify the settings.</string>
+ </property>
+ <item>
+ <property name="text">
+ <string>General</string>
</property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>7</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <property name="pixmap">
+ <pixmap>twinkle32.png</pixmap>
</property>
- <property name="whatsThis" stdset="0">
- <string>Select a category for which you want to see or modify the settings.</string>
+ </item>
+ <item>
+ <property name="text">
+ <string>Audio</string>
</property>
- </widget>
- <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>layout38</cstring>
+ <property name="pixmap">
+ <pixmap>kmix.png</pixmap>
</property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer98</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>321</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="accel">
- <string>Alt+O</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Accept and save your changes.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>cancelPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- <property name="accel">
- <string>Alt+C</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Undo all your changes and close the window.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="QWidgetStack" row="0" column="1">
- <property name="name">
- <cstring>settingsWidgetStack</cstring>
+ </item>
+ <item>
+ <property name="text">
+ <string>Ring tones</string>
</property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <property name="pixmap">
+ <pixmap>knotify.png</pixmap>
</property>
- <property name="frameShape">
- <enum>Box</enum>
+ </item>
+ <item>
+ <property name="text">
+ <string>Address book</string>
</property>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageAudio</cstring>
- </property>
- <attribute name="id">
- <number>0</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>audioTitleTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
- </property>
- <property name="text">
- <string>Audio</string>
- </property>
- <property name="indent">
- <number>10</number>
- </property>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>soundcardGroupBox</cstring>
- </property>
- <property name="title">
- <string>Sound Card</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QComboBox" row="0" column="1">
- <property name="name">
- <cstring>ringtoneComboBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select the sound card for playing the ring tone for incoming calls.</string>
- </property>
- </widget>
- <widget class="QComboBox" row="4" column="1">
- <property name="name">
- <cstring>micComboBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select the sound card to which your microphone is connected.</string>
- </property>
- </widget>
- <widget class="QComboBox" row="2" column="1">
- <property name="name">
- <cstring>speakerComboBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select the sound card for the speaker function during a call.</string>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>speakerTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Speaker:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>speakerComboBox</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>ringtoneTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Ring tone:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>ringtoneComboBox</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>otherRingtoneTextLabel</cstring>
- </property>
- <property name="text">
- <string>Other device:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>otherRingtoneLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="3" column="0">
- <property name="name">
- <cstring>otherSpeakerTextLabel</cstring>
- </property>
- <property name="text">
- <string>Other device:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>otherSpeakerLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="5" column="0">
- <property name="name">
- <cstring>otherMicTextLabel</cstring>
- </property>
- <property name="text">
- <string>Other device:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>otherMicLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="4" column="0">
- <property name="name">
- <cstring>micTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Microphone:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>micComboBox</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>otherRingtoneLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="5" column="1">
- <property name="name">
- <cstring>otherMicLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="3" column="1">
- <property name="name">
- <cstring>otherSpeakerLineEdit</cstring>
- </property>
- </widget>
- <widget class="QCheckBox" row="7" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>validateAudioCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Validate devices before usage</string>
- </property>
- <property name="accel">
- <string>Alt+V</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
-Twinkle validates the audio devices before usage to avoid an established call without an audio channel.
-&lt;p&gt;
-On startup of Twinkle a warning is given if an audio device is inaccessible.
-&lt;p&gt;
-If before making a call, the microphone or speaker appears to be invalid, a warning is given and no call can be made.
-&lt;p&gt;
-If before answering a call, the microphone or speaker appears to be invalid, a warning is given and the call will not be answered.</string>
- </property>
- </widget>
- </grid>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>advancedSoundGroupBox</cstring>
- </property>
- <property name="title">
- <string>Advanced</string>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout31</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>ossFragmnetTextLabel</cstring>
- </property>
- <property name="text">
- <string>OSS &amp;fragment size:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>ossFragmentComboBox</cstring>
- </property>
- </widget>
- <widget class="QComboBox" row="1" column="1">
- <item>
- <property name="text">
- <string>16</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>32</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>64</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>128</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>256</string>
- </property>
- </item>
- <property name="name">
- <cstring>alsaPlayPeriodComboBox</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The ALSA play period size influences the real time behaviour of your soundcard for playing sound. If your sound frequently drops while using ALSA, you might try a different value here.</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>alsaPlayPeriodTextLabel</cstring>
- </property>
- <property name="text">
- <string>ALSA &amp;play period size:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>alsaPlayPeriodComboBox</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>alsaCapturePeriosTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;ALSA capture period size:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>alsaCapturePeriodComboBox</cstring>
- </property>
- </widget>
- <widget class="QComboBox" row="0" column="1">
- <item>
- <property name="text">
- <string>16</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>32</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>64</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>128</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>256</string>
- </property>
- </item>
- <property name="name">
- <cstring>ossFragmentComboBox</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The OSS fragment size influences the real time behaviour of your soundcard. If your sound frequently drops while using OSS, you might try a different value here.</string>
- </property>
- </widget>
- <widget class="QComboBox" row="2" column="1">
- <item>
- <property name="text">
- <string>16</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>32</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>64</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>128</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>256</string>
- </property>
- </item>
- <property name="name">
- <cstring>alsaCapturePeriodComboBox</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The ALSA capture period size influences the real time behaviour of your soundcard for capturing sound. If the other side of your call complains about frequently dropping sound, you might try a different value here.</string>
- </property>
- </widget>
- </grid>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer27</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>121</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer97</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </vbox>
+ <property name="pixmap">
+ <pixmap>kontact_contacts32.png</pixmap>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Network</string>
+ </property>
+ <property name="pixmap">
+ <pixmap>network.png</pixmap>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Log</string>
+ </property>
+ <property name="pixmap">
+ <pixmap>log.png</pixmap>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="1" column="0" rowspan="1" colspan="2">
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer98">
+ <property name="sizeHint">
+ <size>
+ <width>321</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+O</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Accept and save your changes.</string>
+ </property>
</widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageLog</cstring>
- </property>
- <attribute name="id">
- <number>1</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>logTitleTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
- </property>
- <property name="text">
- <string>Log</string>
+ </item>
+ <item>
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+C</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Undo all your changes and close the window.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="0" column="1">
+ <widget class="Q3WidgetStack" name="settingsWidgetStack">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="frameShape">
+ <enum>Box</enum>
+ </property>
+ <widget class="QWidget" name="pageAudio">
+ <attribute name="id">
+ <number>0</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="audioTitleTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>Audio</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="soundcardGroupBox">
+ <property name="title">
+ <string>Sound Card</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="0" column="1">
+ <widget class="QComboBox" name="ringtoneComboBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="indent">
- <number>10</number>
+ <property name="whatsThis" stdset="0">
+ <string>Select the sound card for playing the ring tone for incoming calls.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="1">
+ <widget class="QComboBox" name="micComboBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout8</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>Select the sound card to which your microphone is connected.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QComboBox" name="speakerComboBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>logMaxSizeTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Max log size:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>logMaxSizeSpinBox</cstring>
- </property>
- </widget>
- <widget class="QSpinBox">
- <property name="name">
- <cstring>logMaxSizeSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>100</number>
- </property>
- <property name="minValue">
- <number>1</number>
- </property>
- <property name="lineStep">
- <number>5</number>
- </property>
- <property name="value">
- <number>5</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The maximum size of a log file in MB. When the log file exceeds this size, a backup of the log file is created and the current log file is zapped. Only one backup log file will be kept.</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>logSizeMbTextLabel</cstring>
- </property>
- <property name="text">
- <string>MB</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer7</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>211</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>logDebugCheckBox</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>Select the sound card for the speaker function during a call.</string>
</property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="speakerTextLabel">
<property name="text">
- <string>Log &amp;debug reports</string>
- </property>
- <property name="accel">
- <string>Alt+D</string>
+ <string>&amp;Speaker:</string>
</property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if reports marked as "debug" will be logged.</string>
+ <property name="buddy" stdset="0">
+ <cstring>speakerComboBox</cstring>
</property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>logSipCheckBox</cstring>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="ringtoneTextLabel">
<property name="text">
- <string>Log &amp;SIP reports</string>
+ <string>&amp;Ring tone:</string>
</property>
- <property name="accel">
- <string>Alt+S</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if SIP messages will be logged.</string>
+ <property name="buddy" stdset="0">
+ <cstring>ringtoneComboBox</cstring>
</property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>logStunCheckBox</cstring>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="otherRingtoneTextLabel">
<property name="text">
- <string>Log S&amp;TUN reports</string>
- </property>
- <property name="accel">
- <string>Alt+T</string>
+ <string>Other device:</string>
</property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if STUN messages will be logged.</string>
+ <property name="buddy" stdset="0">
+ <cstring>otherRingtoneLineEdit</cstring>
</property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>logMemoryCheckBox</cstring>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="otherSpeakerTextLabel">
<property name="text">
- <string>Log m&amp;emory reports</string>
- </property>
- <property name="accel">
- <string>Alt+E</string>
+ <string>Other device:</string>
</property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if reports concerning memory management will be logged.</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer6</cstring>
+ <property name="buddy" stdset="0">
+ <cstring>otherSpeakerLineEdit</cstring>
</property>
- <property name="orientation">
- <enum>Vertical</enum>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ </widget>
+ </item>
+ <item row="5" column="0">
+ <widget class="QLabel" name="otherMicTextLabel">
+ <property name="text">
+ <string>Other device:</string>
</property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>61</height>
- </size>
+ <property name="buddy" stdset="0">
+ <cstring>otherMicLineEdit</cstring>
</property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageGeneral</cstring>
- </property>
- <attribute name="id">
- <number>2</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>generalTitleTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
+ </widget>
+ </item>
+ <item row="4" column="0">
+ <widget class="QLabel" name="micTextLabel">
<property name="text">
- <string>General</string>
+ <string>&amp;Microphone:</string>
</property>
- <property name="indent">
- <number>10</number>
+ <property name="buddy" stdset="0">
+ <cstring>micComboBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="otherRingtoneLineEdit"/>
+ </item>
+ <item row="5" column="1">
+ <widget class="QLineEdit" name="otherMicLineEdit"/>
+ </item>
+ <item row="3" column="1">
+ <widget class="QLineEdit" name="otherSpeakerLineEdit"/>
+ </item>
+ <item row="7" column="0" rowspan="1" colspan="2">
+ <widget class="QCheckBox" name="validateAudioCheckBox">
+ <property name="text">
+ <string>&amp;Validate devices before usage</string>
</property>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>systrayGroupBox</cstring>
+ <property name="shortcut">
+ <string>Alt+V</string>
</property>
- <property name="title">
- <string>System tray</string>
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
+Twinkle validates the audio devices before usage to avoid an established call without an audio channel.
+&lt;p&gt;
+On startup of Twinkle a warning is given if an audio device is inaccessible.
+&lt;p&gt;
+If before making a call, the microphone or speaker appears to be invalid, a warning is given and no call can be made.
+&lt;p&gt;
+If before answering a call, the microphone or speaker appears to be invalid, a warning is given and the call will not be answered.</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="advancedSoundGroupBox">
+ <property name="title">
+ <string>Advanced</string>
+ </property>
+ <layout class="QHBoxLayout">
+ <item>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="ossFragmnetTextLabel">
+ <property name="text">
+ <string>OSS &amp;fragment size:</string>
</property>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>guiUseSystrayCheckBox</cstring>
- </property>
- <property name="text">
- <string>Create &amp;system tray icon on startup</string>
- </property>
- <property name="accel">
- <string>Alt+S</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Enable this option if you want a system tray icon for Twinkle. The system tray icon is created when you start Twinkle.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>guiHideCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Hide in system tray when closing main window</string>
- </property>
- <property name="accel">
- <string>Alt+H</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Enable this option if you want Twinkle to hide in the system tray when you close the main window.</string>
- </property>
- </widget>
- </vbox>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>startupGroupBox</cstring>
- </property>
- <property name="title">
- <string>Startup</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
+ <property name="buddy" stdset="0">
+ <cstring>ossFragmentComboBox</cstring>
</property>
- <widget class="QCheckBox" row="0" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>startHiddenCheckBox</cstring>
- </property>
- <property name="text">
- <string>S&amp;tartup hidden in system tray</string>
- </property>
- <property name="accel">
- <string>Alt+T</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Next time you start Twinkle it will immediately hide in the system tray. This works best when you also select a default user profile.</string>
- </property>
- </widget>
- <widget class="QListView" row="1" column="0" rowspan="1" colspan="2">
- <column>
- <property name="text">
- <string>Default user profiles</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <property name="name">
- <cstring>profileListView</cstring>
- </property>
- <property name="selectionMode">
- <enum>NoSelection</enum>
- </property>
- <property name="resizeMode">
- <enum>LastColumn</enum>
- </property>
- <property name="whatsThis" stdset="0">
- <string>If you always use the same profile(s), then you can mark these profiles as default here. The next time you start Twinkle, you will not be asked to select which profiles to run. The default profiles will automatically run.</string>
- </property>
- </widget>
- </grid>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>srvGroupBox</cstring>
- </property>
- <property name="title">
- <string>Services</string>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>callWaitingCheckBox</cstring>
- </property>
- <property name="text">
- <string>Call &amp;waiting</string>
- </property>
- <property name="accel">
- <string>Alt+W</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>With call waiting an incoming call is accepted when only one line is busy. When you disable call waiting an incoming call will be rejected when one line is busy.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>hangupBothCheckBox</cstring>
- </property>
- <property name="text">
- <string>Hang up &amp;both lines when ending a 3-way conference call.</string>
- </property>
- <property name="accel">
- <string>Alt+B</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Hang up both lines when you press bye to end a 3-way conference call. When this option is disabled, only the active line will be hung up and you can continue talking with the party on the other line.</string>
- </property>
- </widget>
- </vbox>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout23</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QComboBox" name="alsaPlayPeriodComboBox">
+ <property name="whatsThis" stdset="0">
+ <string>The ALSA play period size influences the real time behaviour of your soundcard for playing sound. If your sound frequently drops while using ALSA, you might try a different value here.</string>
</property>
- <widget class="QLabel">
- <property name="name">
- <cstring>histSizeTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Maximum calls in call history:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>histSizeSpinBox</cstring>
- </property>
- </widget>
- <widget class="QSpinBox">
- <property name="name">
- <cstring>histSizeSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>1000</number>
- </property>
- <property name="lineStep">
- <number>10</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The maximum number of calls that will be kept in the call history.</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer73</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>191</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout21</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ <item>
+ <property name="text">
+ <string>16</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>32</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>64</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>128</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>256</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="alsaPlayPeriodTextLabel">
+ <property name="text">
+ <string>ALSA &amp;play period size:</string>
</property>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>autoShowCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Auto show main window on incoming call after</string>
- </property>
- <property name="accel">
- <string>Alt+A</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>When the main window is hidden, it will be automatically shown on an incoming call after the number of specified seconds.</string>
- </property>
- </widget>
- <widget class="QSpinBox">
- <property name="name">
- <cstring>autoShowTimeoutSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>60</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Number of seconds after which the main window should be shown.</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>secAutoShowTextLabel</cstring>
- </property>
- <property name="text">
- <string>secs</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer14</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>29</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout34</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ <property name="buddy" stdset="0">
+ <cstring>alsaPlayPeriodComboBox</cstring>
</property>
- <widget class="QLabel">
- <property name="name">
- <cstring>browserTextLabel</cstring>
- </property>
- <property name="text">
- <string>W&amp;eb browser command:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>browserLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>browserLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Command to start your web browser. If you leave this field empty Twinkle will try to figure out your default web browser.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageNetwork</cstring>
- </property>
- <attribute name="id">
- <number>3</number>
- </attribute>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="0" column="0" rowspan="1" colspan="4">
- <property name="name">
- <cstring>networkTitleTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
- </property>
- <property name="text">
- <string>Network</string>
- </property>
- <property name="indent">
- <number>10</number>
- </property>
- </widget>
- <spacer row="5" column="3">
- <property name="name">
- <cstring>spacer9</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="alsaCapturePeriosTextLabel">
+ <property name="text">
+ <string>&amp;ALSA capture period size:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>alsaCapturePeriodComboBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QComboBox" name="ossFragmentComboBox">
+ <property name="whatsThis" stdset="0">
+ <string>The OSS fragment size influences the real time behaviour of your soundcard. If your sound frequently drops while using OSS, you might try a different value here.</string>
+ </property>
+ <item>
+ <property name="text">
+ <string>16</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>32</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>64</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>128</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>256</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QComboBox" name="alsaCapturePeriodComboBox">
+ <property name="whatsThis" stdset="0">
+ <string>The ALSA capture period size influences the real time behaviour of your soundcard for capturing sound. If the other side of your call complains about frequently dropping sound, you might try a different value here.</string>
+ </property>
+ <item>
+ <property name="text">
+ <string>16</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>32</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>64</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>128</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>256</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="spacer27">
<property name="sizeHint">
- <size>
- <width>20</width>
- <height>230</height>
- </size>
- </property>
- </spacer>
- <spacer row="2" column="2" rowspan="1" colspan="2">
- <property name="name">
- <cstring>spacer8</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
+ <size>
+ <width>121</width>
+ <height>20</height>
+ </size>
</property>
<property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>314</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QLineEdit" row="3" column="3">
- <property name="name">
- <cstring>maxUdpSizeLineEdit</cstring>
+ <enum>QSizePolicy::Expanding</enum>
</property>
- <property name="whatsThis" stdset="0">
- <string>Maximum allowed size (0-65535) in bytes of an incoming SIP message over UDP.</string>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
</property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer97">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageLog">
+ <attribute name="id">
+ <number>1</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="logTitleTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>Log</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="logMaxSizeTextLabel">
+ <property name="text">
+ <string>&amp;Max log size:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>logMaxSizeSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>sipUdpPortTextLabel</cstring>
- </property>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="logMaxSizeSpinBox">
+ <property name="maximum">
+ <number>100</number>
+ </property>
+ <property name="minimum">
+ <number>1</number>
+ </property>
+ <property name="singleStep">
+ <number>5</number>
+ </property>
+ <property name="value">
+ <number>5</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The maximum size of a log file in MB. When the log file exceeds this size, a backup of the log file is created and the current log file is zapped. Only one backup log file will be kept.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="logSizeMbTextLabel">
+ <property name="text">
+ <string>MB</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer7">
+ <property name="sizeHint">
+ <size>
+ <width>211</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="logDebugCheckBox">
+ <property name="text">
+ <string>Log &amp;debug reports</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+D</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Indicates if reports marked as &quot;debug&quot; will be logged.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="logSipCheckBox">
+ <property name="text">
+ <string>Log &amp;SIP reports</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+S</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Indicates if SIP messages will be logged.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="logStunCheckBox">
+ <property name="text">
+ <string>Log S&amp;TUN reports</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+T</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Indicates if STUN messages will be logged.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="logMemoryCheckBox">
+ <property name="text">
+ <string>Log m&amp;emory reports</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+E</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Indicates if reports concerning memory management will be logged.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer6">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>61</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageGeneral">
+ <attribute name="id">
+ <number>2</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="generalTitleTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>General</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="systrayGroupBox">
+ <property name="title">
+ <string>System tray</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QCheckBox" name="guiUseSystrayCheckBox">
<property name="text">
- <string>&amp;SIP port:</string>
+ <string>Create &amp;system tray icon on startup</string>
</property>
- <property name="buddy" stdset="0">
- <cstring>sipUdpPortSpinBox</cstring>
+ <property name="shortcut">
+ <string>Alt+S</string>
</property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>rtpPortTextLabel</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>Enable this option if you want a system tray icon for Twinkle. The system tray icon is created when you start Twinkle.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="guiHideCheckBox">
<property name="text">
- <string>&amp;RTP port:</string>
+ <string>&amp;Hide in system tray when closing main window</string>
</property>
- <property name="buddy" stdset="0">
- <cstring>rtpPortSpinBox</cstring>
+ <property name="shortcut">
+ <string>Alt+H</string>
</property>
- </widget>
- <widget class="QLabel" row="4" column="0" rowspan="1" colspan="3">
- <property name="name">
- <cstring>maxTcpSizeTextLabel</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>Enable this option if you want Twinkle to hide in the system tray when you close the main window.</string>
</property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="startupGroupBox">
+ <property name="title">
+ <string>Startup</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="0" column="0" rowspan="1" colspan="2">
+ <widget class="QCheckBox" name="startHiddenCheckBox">
<property name="text">
- <string>Max. SIP message size (&amp;TCP):</string>
+ <string>S&amp;tartup hidden in system tray</string>
</property>
- <property name="buddy" stdset="0">
- <cstring>maxTcpSizeLineEdit</cstring>
+ <property name="shortcut">
+ <string>Alt+T</string>
</property>
- </widget>
- <spacer row="1" column="2" rowspan="1" colspan="2">
- <property name="name">
- <cstring>spacer7_2</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>Next time you start Twinkle it will immediately hide in the system tray. This works best when you also select a default user profile.</string>
</property>
- <property name="orientation">
- <enum>Horizontal</enum>
+ </widget>
+ </item>
+ <item row="1" column="0" rowspan="1" colspan="2">
+ <widget class="Q3ListView" name="profileListView">
+ <property name="selectionMode">
+ <enum>Q3ListView::NoSelection</enum>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ <property name="resizeMode">
+ <enum>Q3ListView::LastColumn</enum>
</property>
- <property name="sizeHint">
- <size>
- <width>314</width>
- <height>20</height>
- </size>
+ <property name="whatsThis" stdset="0">
+ <string>If you always use the same profile(s), then you can mark these profiles as default here. The next time you start Twinkle, you will not be asked to select which profiles to run. The default profiles will automatically run.</string>
+ </property>
+ <column>
+ <property name="text">
+ <string>Default user profiles</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="srvGroupBox">
+ <property name="title">
+ <string>Services</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QCheckBox" name="callWaitingCheckBox">
+ <property name="text">
+ <string>Call &amp;waiting</string>
</property>
- </spacer>
- <widget class="QSpinBox" row="1" column="1">
- <property name="name">
- <cstring>sipUdpPortSpinBox</cstring>
+ <property name="shortcut">
+ <string>Alt+W</string>
</property>
- <property name="maxValue">
- <number>65535</number>
+ <property name="whatsThis" stdset="0">
+ <string>With call waiting an incoming call is accepted when only one line is busy. When you disable call waiting an incoming call will be rejected when one line is busy.</string>
</property>
- <property name="minValue">
- <number>1025</number>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="hangupBothCheckBox">
+ <property name="text">
+ <string>Hang up &amp;both lines when ending a 3-way conference call.</string>
</property>
- <property name="value">
- <number>5060</number>
+ <property name="shortcut">
+ <string>Alt+B</string>
</property>
<property name="whatsThis" stdset="0">
- <string>The UDP/TCP port used for sending and receiving SIP messages.</string>
+ <string>Hang up both lines when you press bye to end a 3-way conference call. When this option is disabled, only the active line will be hung up and you can continue talking with the party on the other line.</string>
</property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="histSizeTextLabel">
+ <property name="text">
+ <string>&amp;Maximum calls in call history:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>histSizeSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- <widget class="QLabel" row="3" column="0" rowspan="1" colspan="3">
- <property name="name">
- <cstring>maxUdpSizeTextLabel</cstring>
- </property>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="histSizeSpinBox">
+ <property name="maximum">
+ <number>1000</number>
+ </property>
+ <property name="singleStep">
+ <number>10</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The maximum number of calls that will be kept in the call history.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer73">
+ <property name="sizeHint">
+ <size>
+ <width>191</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QCheckBox" name="autoShowCheckBox">
+ <property name="text">
+ <string>&amp;Auto show main window on incoming call after</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+A</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>When the main window is hidden, it will be automatically shown on an incoming call after the number of specified seconds.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="autoShowTimeoutSpinBox">
+ <property name="maximum">
+ <number>60</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Number of seconds after which the main window should be shown.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="secAutoShowTextLabel">
+ <property name="text">
+ <string>secs</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer14">
+ <property name="sizeHint">
+ <size>
+ <width>29</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="browserTextLabel">
+ <property name="text">
+ <string>W&amp;eb browser command:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>browserLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="browserLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Command to start your web browser. If you leave this field empty Twinkle will try to figure out your default web browser.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageNetwork">
+ <attribute name="id">
+ <number>3</number>
+ </attribute>
+ <layout class="QGridLayout">
+ <item row="0" column="0" rowspan="1" colspan="4">
+ <widget class="QLabel" name="networkTitleTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>Network</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="3">
+ <spacer name="spacer9">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>230</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ <item row="2" column="2" rowspan="1" colspan="2">
+ <spacer name="spacer8">
+ <property name="sizeHint">
+ <size>
+ <width>314</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item row="3" column="3">
+ <widget class="QLineEdit" name="maxUdpSizeLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Maximum allowed size (0-65535) in bytes of an incoming SIP message over UDP.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="sipUdpPortTextLabel">
+ <property name="text">
+ <string>&amp;SIP port:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>sipUdpPortSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="rtpPortTextLabel">
+ <property name="text">
+ <string>&amp;RTP port:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>rtpPortSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="0" rowspan="1" colspan="3">
+ <widget class="QLabel" name="maxTcpSizeTextLabel">
+ <property name="text">
+ <string>Max. SIP message size (&amp;TCP):</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>maxTcpSizeLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2" rowspan="1" colspan="2">
+ <spacer name="spacer7_2">
+ <property name="sizeHint">
+ <size>
+ <width>314</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item row="1" column="1">
+ <widget class="QSpinBox" name="sipUdpPortSpinBox">
+ <property name="maximum">
+ <number>65535</number>
+ </property>
+ <property name="minimum">
+ <number>1025</number>
+ </property>
+ <property name="value">
+ <number>5060</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The UDP/TCP port used for sending and receiving SIP messages.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0" rowspan="1" colspan="3">
+ <widget class="QLabel" name="maxUdpSizeTextLabel">
+ <property name="text">
+ <string>Max. SIP message size (&amp;UDP):</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>maxUdpSizeLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="3">
+ <widget class="QLineEdit" name="maxTcpSizeLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Maximum allowed size (0-4294967295) in bytes of an incoming SIP message over TCP.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QSpinBox" name="rtpPortSpinBox">
+ <property name="maximum">
+ <number>65535</number>
+ </property>
+ <property name="minimum">
+ <number>1025</number>
+ </property>
+ <property name="singleStep">
+ <number>2</number>
+ </property>
+ <property name="value">
+ <number>8000</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The UDP port used for sending and receiving RTP for the first line. The UDP port for the second line is 2 higher. E.g. if port 8000 is used for the first line, then the second line uses port 8002. When you use call transfer then the next even port (eg. 8004) is also used.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageRingtones">
+ <attribute name="id">
+ <number>4</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="ringtonesTitleTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>Ring tones</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3ButtonGroup" name="ringtoneButtonGroup">
+ <property name="title">
+ <string>Ring tone</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QCheckBox" name="playRingtoneCheckBox">
<property name="text">
- <string>Max. SIP message size (&amp;UDP):</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>maxUdpSizeLineEdit</cstring>
+ <string>&amp;Play ring tone on incoming call</string>
</property>
- </widget>
- <widget class="QLineEdit" row="4" column="3">
- <property name="name">
- <cstring>maxTcpSizeLineEdit</cstring>
+ <property name="shortcut">
+ <string>Alt+P</string>
</property>
<property name="whatsThis" stdset="0">
- <string>Maximum allowed size (0-4294967295) in bytes of an incoming SIP message over TCP.</string>
- </property>
- </widget>
- <widget class="QSpinBox" row="2" column="1">
- <property name="name">
- <cstring>rtpPortSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>65535</number>
+ <string>Indicates if a ring tone should be played when a call comes in.</string>
</property>
- <property name="minValue">
- <number>1025</number>
+ </widget>
+ </item>
+ <item>
+ <widget class="QRadioButton" name="defaultRingtoneRadioButton">
+ <property name="text">
+ <string>&amp;Default ring tone</string>
</property>
- <property name="lineStep">
- <number>2</number>
+ <property name="shortcut">
+ <string>Alt+D</string>
</property>
- <property name="value">
- <number>8000</number>
+ <property name="checked">
+ <bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
- <string>The UDP port used for sending and receiving RTP for the first line. The UDP port for the second line is 2 higher. E.g. if port 8000 is used for the first line, then the second line uses port 8002. When you use call transfer then the next even port (eg. 8004) is also used.</string>
- </property>
- </widget>
- </grid>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageRingtones</cstring>
- </property>
- <attribute name="id">
- <number>4</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>ringtonesTitleTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
+ <string>Play the default ring tone when a call comes in.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QRadioButton" name="customRingtoneRadioButton">
<property name="text">
- <string>Ring tones</string>
+ <string>C&amp;ustom ring tone</string>
</property>
- <property name="indent">
- <number>10</number>
+ <property name="shortcut">
+ <string>Alt+U</string>
</property>
- </widget>
- <widget class="QButtonGroup">
- <property name="name">
- <cstring>ringtoneButtonGroup</cstring>
- </property>
- <property name="title">
- <string>Ring tone</string>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>Play a custom ring tone when a call comes in.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer21">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
</property>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>playRingtoneCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Play ring tone on incoming call</string>
- </property>
- <property name="accel">
- <string>Alt+P</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if a ring tone should be played when a call comes in.</string>
- </property>
- </widget>
- <widget class="QRadioButton">
- <property name="name">
- <cstring>defaultRingtoneRadioButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Default ring tone</string>
- </property>
- <property name="accel">
- <string>Alt+D</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Play the default ring tone when a call comes in.</string>
- </property>
- </widget>
- <widget class="QRadioButton">
- <property name="name">
- <cstring>customRingtoneRadioButton</cstring>
- </property>
- <property name="text">
- <string>C&amp;ustom ring tone</string>
- </property>
- <property name="accel">
- <string>Alt+U</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Play a custom ring tone when a call comes in.</string>
- </property>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout16</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer21</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Fixed</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>ringtoneLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Specify the file name of a .wav file that you want to be played as ring tone.</string>
- </property>
- </widget>
- <widget class="QToolButton">
- <property name="name">
- <cstring>openRingtoneToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>fileopen.png</iconset>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select ring tone file.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
- </widget>
- <widget class="QButtonGroup">
- <property name="name">
- <cstring>ringbackButtonGroup</cstring>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="ringtoneLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Specify the file name of a .wav file that you want to be played as ring tone.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="openRingtoneToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>fileopen.png</iconset>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select ring tone file.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3ButtonGroup" name="ringbackButtonGroup">
+ <property name="title">
+ <string>Ring back tone</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QCheckBox" name="playRingbackCheckBox">
+ <property name="text">
+ <string>P&amp;lay ring back tone when network does not play ring back tone</string>
</property>
- <property name="title">
- <string>Ring back tone</string>
+ <property name="shortcut">
+ <string>Alt+L</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>playRingbackCheckBox</cstring>
- </property>
- <property name="text">
- <string>P&amp;lay ring back tone when network does not play ring back tone</string>
- </property>
- <property name="accel">
- <string>Alt+L</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
Play ring back tone while you are waiting for the far-end to answer your call.
&lt;/p&gt;
&lt;p&gt;
Depending on your SIP provider the network might provide ring back tone or an announcement.
&lt;/p&gt;</string>
- </property>
- </widget>
- <widget class="QRadioButton">
- <property name="name">
- <cstring>defaultRingbackRadioButton</cstring>
- </property>
- <property name="text">
- <string>D&amp;efault ring back tone</string>
- </property>
- <property name="accel">
- <string>Alt+E</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Play the default ring back tone.</string>
- </property>
- </widget>
- <widget class="QRadioButton">
- <property name="name">
- <cstring>customRingbackRadioButton</cstring>
- </property>
- <property name="text">
- <string>Cu&amp;stom ring back tone</string>
- </property>
- <property name="accel">
- <string>Alt+S</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Play a custom ring back tone.</string>
- </property>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout16_2</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer21_2</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Fixed</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>ringbackLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Specify the file name of a .wav file that you want to be played as ring back tone.</string>
- </property>
- </widget>
- <widget class="QToolButton">
- <property name="name">
- <cstring>openRingbackToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>fileopen.png</iconset>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select ring back tone file.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer23</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageAddressBook</cstring>
- </property>
- <attribute name="id">
- <number>5</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>ringtonesTitleTextLabel_2</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QRadioButton" name="defaultRingbackRadioButton">
<property name="text">
- <string>Address book</string>
+ <string>D&amp;efault ring back tone</string>
</property>
- <property name="indent">
- <number>10</number>
+ <property name="shortcut">
+ <string>Alt+E</string>
</property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>abLookupNameCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Lookup name for incoming call</string>
- </property>
- <property name="accel">
- <string>Alt+L</string>
+ <property name="checked">
+ <bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
- <string>On an incoming call, Twinkle will try to find the name belonging to the incoming SIP address in your address book. This name will be displayed.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>abOverrideDisplayCheckBox</cstring>
+ <string>Play the default ring back tone.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QRadioButton" name="customRingbackRadioButton">
<property name="text">
- <string>Ove&amp;rride received display name</string>
+ <string>Cu&amp;stom ring back tone</string>
</property>
- <property name="accel">
- <string>Alt+R</string>
+ <property name="shortcut">
+ <string>Alt+S</string>
</property>
<property name="whatsThis" stdset="0">
- <string>The caller may have provided a display name already. Tick this box if you want to override that name with the name you have in your address book.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>abLookupPhotoCheckBox</cstring>
- </property>
- <property name="text">
- <string>Lookup &amp;photo for incoming call</string>
- </property>
- <property name="accel">
- <string>Alt+P</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Lookup the photo of a caller in your address book and display it on an incoming call.</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer61</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
+ <string>Play a custom ring back tone.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer21_2">
+ <property name="sizeHint">
+ <size>
<width>20</width>
- <height>121</height>
- </size>
- </property>
- </spacer>
- </vbox>
- </widget>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="ringbackLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Specify the file name of a .wav file that you want to be played as ring back tone.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="openRingbackToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>fileopen.png</iconset>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select ring back tone file.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer23">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageAddressBook">
+ <attribute name="id">
+ <number>5</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="ringtonesTitleTextLabel_2">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>Address book</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="abLookupNameCheckBox">
+ <property name="text">
+ <string>&amp;Lookup name for incoming call</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+L</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>On an incoming call, Twinkle will try to find the name belonging to the incoming SIP address in your address book. This name will be displayed.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="abOverrideDisplayCheckBox">
+ <property name="text">
+ <string>Ove&amp;rride received display name</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+R</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The caller may have provided a display name already. Tick this box if you want to override that name with the name you have in your address book.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="abLookupPhotoCheckBox">
+ <property name="text">
+ <string>Lookup &amp;photo for incoming call</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+P</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Lookup the photo of a caller in your address book and display it on an incoming call.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer61">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>121</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
</widget>
- </grid>
-</widget>
-<connections>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
+ <tabstop>categoryListBox</tabstop>
+ <tabstop>guiUseSystrayCheckBox</tabstop>
+ <tabstop>guiHideCheckBox</tabstop>
+ <tabstop>startHiddenCheckBox</tabstop>
+ <tabstop>profileListView</tabstop>
+ <tabstop>callWaitingCheckBox</tabstop>
+ <tabstop>hangupBothCheckBox</tabstop>
+ <tabstop>histSizeSpinBox</tabstop>
+ <tabstop>autoShowCheckBox</tabstop>
+ <tabstop>autoShowTimeoutSpinBox</tabstop>
+ <tabstop>ringtoneComboBox</tabstop>
+ <tabstop>otherRingtoneLineEdit</tabstop>
+ <tabstop>speakerComboBox</tabstop>
+ <tabstop>otherSpeakerLineEdit</tabstop>
+ <tabstop>micComboBox</tabstop>
+ <tabstop>otherMicLineEdit</tabstop>
+ <tabstop>validateAudioCheckBox</tabstop>
+ <tabstop>ossFragmentComboBox</tabstop>
+ <tabstop>alsaPlayPeriodComboBox</tabstop>
+ <tabstop>alsaCapturePeriodComboBox</tabstop>
+ <tabstop>playRingtoneCheckBox</tabstop>
+ <tabstop>defaultRingtoneRadioButton</tabstop>
+ <tabstop>ringtoneLineEdit</tabstop>
+ <tabstop>openRingtoneToolButton</tabstop>
+ <tabstop>playRingbackCheckBox</tabstop>
+ <tabstop>defaultRingbackRadioButton</tabstop>
+ <tabstop>ringbackLineEdit</tabstop>
+ <tabstop>openRingbackToolButton</tabstop>
+ <tabstop>abLookupNameCheckBox</tabstop>
+ <tabstop>abOverrideDisplayCheckBox</tabstop>
+ <tabstop>abLookupPhotoCheckBox</tabstop>
+ <tabstop>sipUdpPortSpinBox</tabstop>
+ <tabstop>rtpPortSpinBox</tabstop>
+ <tabstop>maxUdpSizeLineEdit</tabstop>
+ <tabstop>maxTcpSizeLineEdit</tabstop>
+ <tabstop>logMaxSizeSpinBox</tabstop>
+ <tabstop>logDebugCheckBox</tabstop>
+ <tabstop>logSipCheckBox</tabstop>
+ <tabstop>logStunCheckBox</tabstop>
+ <tabstop>logMemoryCheckBox</tabstop>
+ <tabstop>okPushButton</tabstop>
+ <tabstop>cancelPushButton</tabstop>
+ <tabstop>customRingtoneRadioButton</tabstop>
+ <tabstop>customRingbackRadioButton</tabstop>
+ </tabstops>
+ <includes>
+ <include location="local">sys_settings.h</include>
+ </includes>
+ <connections>
<connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SysSettingsForm</receiver>
- <slot>validate()</slot>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SysSettingsForm</receiver>
+ <slot>validate()</slot>
</connection>
<connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SysSettingsForm</receiver>
- <slot>reject()</slot>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SysSettingsForm</receiver>
+ <slot>reject()</slot>
</connection>
<connection>
- <sender>categoryListBox</sender>
- <signal>highlighted(int)</signal>
- <receiver>SysSettingsForm</receiver>
- <slot>showCategory(int)</slot>
+ <sender>categoryListBox</sender>
+ <signal>highlighted(int)</signal>
+ <receiver>SysSettingsForm</receiver>
+ <slot>showCategory(int)</slot>
</connection>
<connection>
- <sender>guiUseSystrayCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>guiHideCheckBox</receiver>
- <slot>setEnabled(bool)</slot>
+ <sender>guiUseSystrayCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>guiHideCheckBox</receiver>
+ <slot>setEnabled(bool)</slot>
</connection>
<connection>
- <sender>guiUseSystrayCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>guiHideCheckBox</receiver>
- <slot>setChecked(bool)</slot>
+ <sender>guiUseSystrayCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>guiHideCheckBox</receiver>
+ <slot>setChecked(bool)</slot>
</connection>
<connection>
- <sender>guiUseSystrayCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>startHiddenCheckBox</receiver>
- <slot>setEnabled(bool)</slot>
+ <sender>guiUseSystrayCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>startHiddenCheckBox</receiver>
+ <slot>setEnabled(bool)</slot>
</connection>
<connection>
- <sender>playRingtoneCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>customRingtoneRadioButton</receiver>
- <slot>setEnabled(bool)</slot>
+ <sender>playRingtoneCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>customRingtoneRadioButton</receiver>
+ <slot>setEnabled(bool)</slot>
</connection>
<connection>
- <sender>playRingtoneCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>defaultRingtoneRadioButton</receiver>
- <slot>setEnabled(bool)</slot>
+ <sender>playRingtoneCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>defaultRingtoneRadioButton</receiver>
+ <slot>setEnabled(bool)</slot>
</connection>
<connection>
- <sender>playRingtoneCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>SysSettingsForm</receiver>
- <slot>playRingToneCheckBoxToggles(bool)</slot>
+ <sender>playRingtoneCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>SysSettingsForm</receiver>
+ <slot>playRingToneCheckBoxToggles(bool)</slot>
</connection>
<connection>
- <sender>playRingtoneCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>openRingtoneToolButton</receiver>
- <slot>setEnabled(bool)</slot>
+ <sender>playRingtoneCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>openRingtoneToolButton</receiver>
+ <slot>setEnabled(bool)</slot>
</connection>
<connection>
- <sender>playRingbackCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>customRingbackRadioButton</receiver>
- <slot>setEnabled(bool)</slot>
+ <sender>playRingbackCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>customRingbackRadioButton</receiver>
+ <slot>setEnabled(bool)</slot>
</connection>
<connection>
- <sender>playRingbackCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>defaultRingbackRadioButton</receiver>
- <slot>setEnabled(bool)</slot>
+ <sender>playRingbackCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>defaultRingbackRadioButton</receiver>
+ <slot>setEnabled(bool)</slot>
</connection>
<connection>
- <sender>playRingbackCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>SysSettingsForm</receiver>
- <slot>playRingBackToneCheckBoxToggles(bool)</slot>
+ <sender>playRingbackCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>SysSettingsForm</receiver>
+ <slot>playRingBackToneCheckBoxToggles(bool)</slot>
</connection>
<connection>
- <sender>playRingbackCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>openRingbackToolButton</receiver>
- <slot>setEnabled(bool)</slot>
+ <sender>playRingbackCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>openRingbackToolButton</receiver>
+ <slot>setEnabled(bool)</slot>
</connection>
<connection>
- <sender>openRingtoneToolButton</sender>
- <signal>clicked()</signal>
- <receiver>SysSettingsForm</receiver>
- <slot>chooseRingtone()</slot>
+ <sender>openRingtoneToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SysSettingsForm</receiver>
+ <slot>chooseRingtone()</slot>
</connection>
<connection>
- <sender>openRingbackToolButton</sender>
- <signal>clicked()</signal>
- <receiver>SysSettingsForm</receiver>
- <slot>chooseRingback()</slot>
+ <sender>openRingbackToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SysSettingsForm</receiver>
+ <slot>chooseRingback()</slot>
</connection>
<connection>
- <sender>customRingtoneRadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>ringtoneLineEdit</receiver>
- <slot>setEnabled(bool)</slot>
+ <sender>customRingtoneRadioButton</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>ringtoneLineEdit</receiver>
+ <slot>setEnabled(bool)</slot>
</connection>
<connection>
- <sender>customRingtoneRadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>openRingtoneToolButton</receiver>
- <slot>setEnabled(bool)</slot>
+ <sender>customRingtoneRadioButton</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>openRingtoneToolButton</receiver>
+ <slot>setEnabled(bool)</slot>
</connection>
<connection>
- <sender>customRingbackRadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>ringbackLineEdit</receiver>
- <slot>setEnabled(bool)</slot>
+ <sender>customRingbackRadioButton</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>ringbackLineEdit</receiver>
+ <slot>setEnabled(bool)</slot>
</connection>
<connection>
- <sender>customRingbackRadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>openRingbackToolButton</receiver>
- <slot>setEnabled(bool)</slot>
+ <sender>customRingbackRadioButton</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>openRingbackToolButton</receiver>
+ <slot>setEnabled(bool)</slot>
</connection>
<connection>
- <sender>abLookupNameCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>abOverrideDisplayCheckBox</receiver>
- <slot>setEnabled(bool)</slot>
+ <sender>abLookupNameCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>abOverrideDisplayCheckBox</receiver>
+ <slot>setEnabled(bool)</slot>
</connection>
<connection>
- <sender>ringtoneComboBox</sender>
- <signal>activated(int)</signal>
- <receiver>SysSettingsForm</receiver>
- <slot>devRingtoneSelected(int)</slot>
+ <sender>ringtoneComboBox</sender>
+ <signal>activated(int)</signal>
+ <receiver>SysSettingsForm</receiver>
+ <slot>devRingtoneSelected(int)</slot>
</connection>
<connection>
- <sender>speakerComboBox</sender>
- <signal>activated(int)</signal>
- <receiver>SysSettingsForm</receiver>
- <slot>devSpeakerSelected(int)</slot>
+ <sender>speakerComboBox</sender>
+ <signal>activated(int)</signal>
+ <receiver>SysSettingsForm</receiver>
+ <slot>devSpeakerSelected(int)</slot>
</connection>
<connection>
- <sender>micComboBox</sender>
- <signal>activated(int)</signal>
- <receiver>SysSettingsForm</receiver>
- <slot>devMicSelected(int)</slot>
+ <sender>micComboBox</sender>
+ <signal>activated(int)</signal>
+ <receiver>SysSettingsForm</receiver>
+ <slot>devMicSelected(int)</slot>
</connection>
-</connections>
-<tabstops>
- <tabstop>categoryListBox</tabstop>
- <tabstop>guiUseSystrayCheckBox</tabstop>
- <tabstop>guiHideCheckBox</tabstop>
- <tabstop>startHiddenCheckBox</tabstop>
- <tabstop>profileListView</tabstop>
- <tabstop>callWaitingCheckBox</tabstop>
- <tabstop>hangupBothCheckBox</tabstop>
- <tabstop>histSizeSpinBox</tabstop>
- <tabstop>autoShowCheckBox</tabstop>
- <tabstop>autoShowTimeoutSpinBox</tabstop>
- <tabstop>ringtoneComboBox</tabstop>
- <tabstop>otherRingtoneLineEdit</tabstop>
- <tabstop>speakerComboBox</tabstop>
- <tabstop>otherSpeakerLineEdit</tabstop>
- <tabstop>micComboBox</tabstop>
- <tabstop>otherMicLineEdit</tabstop>
- <tabstop>validateAudioCheckBox</tabstop>
- <tabstop>ossFragmentComboBox</tabstop>
- <tabstop>alsaPlayPeriodComboBox</tabstop>
- <tabstop>alsaCapturePeriodComboBox</tabstop>
- <tabstop>playRingtoneCheckBox</tabstop>
- <tabstop>defaultRingtoneRadioButton</tabstop>
- <tabstop>ringtoneLineEdit</tabstop>
- <tabstop>openRingtoneToolButton</tabstop>
- <tabstop>playRingbackCheckBox</tabstop>
- <tabstop>defaultRingbackRadioButton</tabstop>
- <tabstop>ringbackLineEdit</tabstop>
- <tabstop>openRingbackToolButton</tabstop>
- <tabstop>abLookupNameCheckBox</tabstop>
- <tabstop>abOverrideDisplayCheckBox</tabstop>
- <tabstop>abLookupPhotoCheckBox</tabstop>
- <tabstop>sipUdpPortSpinBox</tabstop>
- <tabstop>rtpPortSpinBox</tabstop>
- <tabstop>maxUdpSizeLineEdit</tabstop>
- <tabstop>maxTcpSizeLineEdit</tabstop>
- <tabstop>logMaxSizeSpinBox</tabstop>
- <tabstop>logDebugCheckBox</tabstop>
- <tabstop>logSipCheckBox</tabstop>
- <tabstop>logStunCheckBox</tabstop>
- <tabstop>logMemoryCheckBox</tabstop>
- <tabstop>okPushButton</tabstop>
- <tabstop>cancelPushButton</tabstop>
- <tabstop>customRingtoneRadioButton</tabstop>
- <tabstop>customRingbackRadioButton</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in declaration">sys_settings.h</include>
- <include location="local" impldecl="in implementation">qlistbox.h</include>
- <include location="local" impldecl="in implementation">qcombobox.h</include>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">sockets/interfaces.h</include>
- <include location="local" impldecl="in implementation">selectprofileform.h</include>
- <include location="local" impldecl="in implementation">qstringlist.h</include>
- <include location="local" impldecl="in implementation">audits/memman.h</include>
- <include location="local" impldecl="in implementation">qlistview.h</include>
- <include location="local" impldecl="in implementation">qspinbox.h</include>
- <include location="local" impldecl="in implementation">qfiledialog.h</include>
- <include location="local" impldecl="in implementation">qfileinfo.h</include>
- <include location="local" impldecl="in implementation">twinkle_config.h</include>
- <include location="local" impldecl="in implementation">qregexp.h</include>
- <include location="local" impldecl="in implementation">qvalidator.h</include>
- <include location="local" impldecl="in implementation">syssettingsform.ui.h</include>
-</includes>
-<variables>
- <variable access="private">int idxOtherCaptureDevOss;</variable>
- <variable access="private">int idxOtherCaptureDevAlsa;</variable>
- <variable access="private">int idxOtherPlaybackDevOss;</variable>
- <variable access="private">int idxOtherPlaybackDevAlsa;</variable>
- <variable access="private">list&lt;t_audio_device&gt; list_audio_playback_dev;</variable>
- <variable access="private">list&lt;t_audio_device&gt; list_audio_capture_dev;</variable>
-</variables>
-<signals>
- <signal>sipUdpPortChanged()</signal>
- <signal>rtpPortChanged()</signal>
-</signals>
-<slots>
- <slot>showCategory( int index )</slot>
- <slot>populateComboBox( QComboBox * cb, const QString &amp; s )</slot>
- <slot>populate()</slot>
- <slot>validate()</slot>
- <slot>show()</slot>
- <slot returnType="int">exec()</slot>
- <slot>chooseRingtone()</slot>
- <slot>chooseRingback()</slot>
- <slot>devRingtoneSelected( int idx )</slot>
- <slot>devSpeakerSelected( int idx )</slot>
- <slot>devMicSelected( int idx )</slot>
- <slot>playRingToneCheckBoxToggles( bool on )</slot>
- <slot>playRingBackToneCheckBoxToggles( bool on )</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function returnType="string">comboItem2audio_dev( QString item, QLineEdit * qleOther, bool playback )</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </connections>
+</ui>
diff --git a/src/gui/termcapform.ui b/src/gui/termcapform.ui
index bf3dfab..e0740f7 100644
--- a/src/gui/termcapform.ui
+++ b/src/gui/termcapform.ui
@@ -1,242 +1,198 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>TermCapForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>TermCapForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>TermCapForm</class>
+ <widget class="QDialog" name="TermCapForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>581</width>
- <height>168</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>581</width>
+ <height>168</height>
+ </rect>
</property>
<property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="caption">
- <string>Twinkle - Terminal Capabilities</string>
+ <property name="windowTitle">
+ <string>Twinkle - Terminal Capabilities</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout53</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="fromTextLabel">
+ <property name="text">
+ <string>&amp;From:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>fromComboBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QComboBox" name="fromComboBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="termCapGroupBox">
+ <property name="title">
+ <string>Get terminal capabilities of</string>
+ </property>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="partyTextLabel">
+ <property name="text">
+ <string>&amp;To:</string>
</property>
- <widget class="QLabel">
- <property name="name">
- <cstring>fromTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;From:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>fromComboBox</cstring>
- </property>
- </widget>
- <widget class="QComboBox">
- <property name="name">
- <cstring>fromComboBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>termCapGroupBox</cstring>
- </property>
- <property name="title">
- <string>Get terminal capabilities of</string>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ <property name="buddy" stdset="0">
+ <cstring>partyLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="partyLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>The address that you want to query for capabilities (OPTION request). This can be a full SIP address like &lt;b&gt;sip:example@example.com&lt;/b&gt; or just the user part or telephone number of the full address. When you do not specify a full address, then Twinkle will complete the address by using the domain value of your user profile.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="addressToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
</property>
- <widget class="QLabel">
- <property name="name">
- <cstring>partyTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;To:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>partyLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>partyLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The address that you want to query for capabilities (OPTION request). This can be a full SIP address like &lt;b&gt;sip:example@example.com&lt;/b&gt; or just the user part or telephone number of the full address. When you do not specify a full address, then Twinkle will complete the address by using the domain value of your user profile.</string>
- </property>
- </widget>
- <widget class="QToolButton">
- <property name="name">
- <cstring>addressToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="accel">
- <string>F10</string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- </hbox>
+ <property name="shortcut">
+ <string>F10</string>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</widget>
- <spacer>
- <property name="name">
- <cstring>spacer13</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
+ </item>
+ <item>
+ <spacer name="spacer13">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer12">
+ <property name="sizeHint">
<size>
- <width>20</width>
- <height>16</height>
+ <width>131</width>
+ <height>20</height>
</size>
- </property>
- </spacer>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout15</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer12</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>131</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>cancelPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
-</widget>
-<connections>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
+ <tabstop>partyLineEdit</tabstop>
+ <tabstop>addressToolButton</tabstop>
+ <tabstop>okPushButton</tabstop>
+ <tabstop>cancelPushButton</tabstop>
+ <tabstop>fromComboBox</tabstop>
+ </tabstops>
+ <includes>
+ <include location="local">sockets/url.h</include>
+ <include location="local">ui_getaddressform.h</include>
+ <include location="local">user.h</include>
+ <include location="local">phone.h</include>
+ </includes>
+ <connections>
<connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>TermCapForm</receiver>
- <slot>reject()</slot>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>TermCapForm</receiver>
+ <slot>reject()</slot>
</connection>
<connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>TermCapForm</receiver>
- <slot>validate()</slot>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>TermCapForm</receiver>
+ <slot>validate()</slot>
</connection>
<connection>
- <sender>addressToolButton</sender>
- <signal>clicked()</signal>
- <receiver>TermCapForm</receiver>
- <slot>showAddressBook()</slot>
+ <sender>addressToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>TermCapForm</receiver>
+ <slot>showAddressBook()</slot>
</connection>
-</connections>
-<tabstops>
- <tabstop>partyLineEdit</tabstop>
- <tabstop>addressToolButton</tabstop>
- <tabstop>okPushButton</tabstop>
- <tabstop>cancelPushButton</tabstop>
- <tabstop>fromComboBox</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">audits/memman.h</include>
- <include location="local" impldecl="in declaration">sockets/url.h</include>
- <include location="local" impldecl="in declaration">getaddressform.h</include>
- <include location="local" impldecl="in declaration">user.h</include>
- <include location="local" impldecl="in declaration">phone.h</include>
- <include location="local" impldecl="in implementation">termcapform.ui.h</include>
-</includes>
-<forwards>
- <forward>class t_phone;</forward>
- <forward>extern t_phone *phone;</forward>
-</forwards>
-<variables>
- <variable access="private">GetAddressForm *getAddressForm;</variable>
-</variables>
-<signals>
- <signal>destination(t_user *, const t_url &amp;)</signal>
-</signals>
-<slots>
- <slot>show( t_user * user_config, const QString &amp; dest )</slot>
- <slot>validate()</slot>
- <slot>showAddressBook()</slot>
- <slot>selectedAddress( const QString &amp; address )</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function access="private" specifier="non virtual">destroy()</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </connections>
+</ui>
diff --git a/src/gui/transferform.ui b/src/gui/transferform.ui
index f95c5b3..b712cc3 100644
--- a/src/gui/transferform.ui
+++ b/src/gui/transferform.ui
@@ -1,271 +1,216 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>TransferForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>TransferForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>TransferForm</class>
+ <widget class="QDialog" name="TransferForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>532</width>
- <height>251</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>532</width>
+ <height>251</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Transfer</string>
+ <property name="windowTitle">
+ <string>Twinkle - Transfer</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>transferGroupBox</cstring>
- </property>
- <property name="title">
- <string>Transfer call to</string>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="Q3GroupBox" name="transferGroupBox">
+ <property name="title">
+ <string>Transfer call to</string>
+ </property>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="toLabel">
+ <property name="text">
+ <string>&amp;To:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>toLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="toLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>The address of the person you want to transfer the call to. This can be a full SIP address like &lt;b&gt;sip:example@example.com&lt;/b&gt; or just the user part or telephone number of the full address. When you do not specify a full address, then Twinkle will complete the address by using the domain value of your user profile.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="addressToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
</property>
- <widget class="QLabel">
- <property name="name">
- <cstring>toLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;To:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>toLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>toLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The address of the person you want to transfer the call to. This can be a full SIP address like &lt;b&gt;sip:example@example.com&lt;/b&gt; or just the user part or telephone number of the full address. When you do not specify a full address, then Twinkle will complete the address by using the domain value of your user profile.</string>
- </property>
- </widget>
- <widget class="QToolButton">
- <property name="name">
- <cstring>addressToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="accel">
- <string>F10</string>
- </property>
- <property name="iconSet">
- <iconset>kontact_contacts.png</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>Address book</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select an address from the address book.</string>
- </property>
- </widget>
- </hbox>
+ <property name="shortcut">
+ <string>F10</string>
+ </property>
+ <property name="icon">
+ <iconset>kontact_contacts.png</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Address book</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select an address from the address book.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</widget>
- <widget class="QButtonGroup">
- <property name="name">
- <cstring>typeButtonGroup2</cstring>
- </property>
- <property name="title">
- <string>Type of transfer</string>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ </item>
+ <item>
+ <widget class="Q3ButtonGroup" name="typeButtonGroup2">
+ <property name="title">
+ <string>Type of transfer</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QRadioButton" name="basicRadioButton">
+ <property name="text">
+ <string>&amp;Blind transfer</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+B</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
</property>
- <widget class="QRadioButton">
- <property name="name">
- <cstring>basicRadioButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Blind transfer</string>
- </property>
- <property name="accel">
- <string>Alt+B</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Transfer the call to a third party without contacting that third party yourself.</string>
- </property>
- </widget>
- <widget class="QRadioButton">
- <property name="name">
- <cstring>consultRadioButton</cstring>
- </property>
- <property name="text">
- <string>T&amp;ransfer with consultation</string>
- </property>
- <property name="accel">
- <string>Alt+R</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Before transferring the call to a third party, first consult the party yourself.</string>
- </property>
- </widget>
- <widget class="QRadioButton">
- <property name="name">
- <cstring>otherLineRadioButton</cstring>
- </property>
- <property name="text">
- <string>Transfer to other &amp;line</string>
- </property>
- <property name="accel">
- <string>Alt+L</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Connect the remote party on the active line with the remote party on the other line.</string>
- </property>
- </widget>
- </vbox>
+ <property name="whatsThis" stdset="0">
+ <string>Transfer the call to a third party without contacting that third party yourself.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QRadioButton" name="consultRadioButton">
+ <property name="text">
+ <string>T&amp;ransfer with consultation</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+R</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Before transferring the call to a third party, first consult the party yourself.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QRadioButton" name="otherLineRadioButton">
+ <property name="text">
+ <string>Transfer to other &amp;line</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+L</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Connect the remote party on the active line with the remote party on the other line.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</widget>
- <spacer>
- <property name="name">
- <cstring>spacer24</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
+ </item>
+ <item>
+ <spacer name="spacer24">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer23">
+ <property name="sizeHint">
<size>
- <width>20</width>
- <height>20</height>
+ <width>121</width>
+ <height>20</height>
</size>
- </property>
- </spacer>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout28</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer23</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>121</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="accel">
- <string>Alt+O</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>cancelPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
-</widget>
-<connections>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+O</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <includes>
+ <include location="local">qstring.h</include>
+ <include location="local">sockets/url.h</include>
+ <include location="local">ui_getaddressform.h</include>
+ <include location="local">user.h</include>
+ <include location="local">protocol.h</include>
+ <include location="local">phone.h</include>
+ </includes>
+ <connections>
<connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>TransferForm</receiver>
- <slot>validate()</slot>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>TransferForm</receiver>
+ <slot>validate()</slot>
</connection>
<connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>TransferForm</receiver>
- <slot>reject()</slot>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>TransferForm</receiver>
+ <slot>reject()</slot>
</connection>
<connection>
- <sender>addressToolButton</sender>
- <signal>clicked()</signal>
- <receiver>TransferForm</receiver>
- <slot>showAddressBook()</slot>
+ <sender>addressToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>TransferForm</receiver>
+ <slot>showAddressBook()</slot>
</connection>
<connection>
- <sender>otherLineRadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>TransferForm</receiver>
- <slot>setOtherLineAddress(bool)</slot>
+ <sender>otherLineRadioButton</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>TransferForm</receiver>
+ <slot>setOtherLineAddress(bool)</slot>
</connection>
-</connections>
-<includes>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">audits/memman.h</include>
- <include location="local" impldecl="in declaration">qstring.h</include>
- <include location="local" impldecl="in declaration">sockets/url.h</include>
- <include location="local" impldecl="in declaration">getaddressform.h</include>
- <include location="local" impldecl="in declaration">user.h</include>
- <include location="local" impldecl="in declaration">protocol.h</include>
- <include location="local" impldecl="in declaration">phone.h</include>
- <include location="local" impldecl="in implementation">transferform.ui.h</include>
-</includes>
-<forwards>
- <forward>class t_phone;</forward>
- <forward>extern t_phone *phone</forward>
-</forwards>
-<variables>
- <variable access="private">int consult_line;</variable>
- <variable access="private">t_user *user_config;</variable>
- <variable access="private">GetAddressForm *getAddressForm;</variable>
- <variable access="private">QString previousAddress;</variable>
-</variables>
-<signals>
- <signal>destination(const t_display_url&amp;, t_transfer_type)</signal>
-</signals>
-<slots>
- <slot>initTransferOptions()</slot>
- <slot>show( t_user * user )</slot>
- <slot>show( t_user * user, const string &amp; dest, t_transfer_type transfer_type )</slot>
- <slot>hide()</slot>
- <slot>reject()</slot>
- <slot>validate()</slot>
- <slot>closeEvent( QCloseEvent * )</slot>
- <slot>showAddressBook()</slot>
- <slot>selectedAddress( const QString &amp; address )</slot>
- <slot>setOtherLineAddress( bool on )</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function access="private" specifier="non virtual">destroy()</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </connections>
+</ui>
diff --git a/src/gui/userprofileform.ui b/src/gui/userprofileform.ui
index d9f63c2..4758dcc 100644
--- a/src/gui/userprofileform.ui
+++ b/src/gui/userprofileform.ui
@@ -1,3473 +1,3098 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>UserProfileForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>UserProfileForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>UserProfileForm</class>
+ <widget class="QDialog" name="UserProfileForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>783</width>
- <height>594</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>783</width>
+ <height>594</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - User Profile</string>
+ <property name="windowTitle">
+ <string>Twinkle - User Profile</string>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>layout142</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>profileTextLabel</cstring>
- </property>
- <property name="text">
- <string>User profile:</string>
- </property>
- </widget>
- <widget class="QComboBox">
- <property name="name">
- <cstring>profileComboBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select which profile you want to edit.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="QListBox" row="1" column="0">
- <item>
- <property name="text">
- <string>User</string>
- </property>
- <property name="pixmap">
- <pixmap>penguin.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>SIP server</string>
- </property>
- <property name="pixmap">
- <pixmap>package_network.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Voice mail</string>
- </property>
- <property name="pixmap">
- <pixmap>mwi_none.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Instant message</string>
- </property>
- <property name="pixmap">
- <pixmap>message32.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Presence</string>
- </property>
- <property name="pixmap">
- <pixmap>presence.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>RTP audio</string>
- </property>
- <property name="pixmap">
- <pixmap>kmix.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>SIP protocol</string>
- </property>
- <property name="pixmap">
- <pixmap>package_system.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Transport/NAT</string>
- </property>
- <property name="pixmap">
- <pixmap>yast_babelfish.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Address format</string>
- </property>
- <property name="pixmap">
- <pixmap>yast_PhoneTTOffhook.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Timers</string>
- </property>
- <property name="pixmap">
- <pixmap>clock.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Ring tones</string>
- </property>
- <property name="pixmap">
- <pixmap>knotify.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Scripts</string>
- </property>
- <property name="pixmap">
- <pixmap>edit.png</pixmap>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Security</string>
- </property>
- <property name="pixmap">
- <pixmap>encrypted32.png</pixmap>
- </property>
- </item>
- <property name="name">
- <cstring>categoryListBox</cstring>
- </property>
- <property name="sizePolicy">
+ <layout class="QGridLayout">
+ <item row="0" column="0" rowspan="1" colspan="2">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="profileTextLabel">
+ <property name="text">
+ <string>User profile:</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QComboBox" name="profileComboBox">
+ <property name="sizePolicy">
<sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>7</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
</sizepolicy>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select which profile you want to edit.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="1" column="0">
+ <widget class="Q3ListBox" name="categoryListBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>7</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>150</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="midLineWidth">
+ <number>0</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select a category for which you want to see or modify the settings.</string>
+ </property>
+ <item>
+ <property name="text">
+ <string>User</string>
</property>
- <property name="minimumSize">
- <size>
- <width>150</width>
- <height>0</height>
- </size>
+ <property name="pixmap">
+ <pixmap>penguin.png</pixmap>
</property>
- <property name="midLineWidth">
- <number>0</number>
+ </item>
+ <item>
+ <property name="text">
+ <string>SIP server</string>
</property>
- <property name="whatsThis" stdset="0">
- <string>Select a category for which you want to see or modify the settings.</string>
+ <property name="pixmap">
+ <pixmap>package_network.png</pixmap>
</property>
- </widget>
- <widget class="QLayoutWidget" row="2" column="0">
- <property name="name">
- <cstring>layout12</cstring>
+ </item>
+ <item>
+ <property name="text">
+ <string>Voice mail</string>
</property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer8</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>441</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="accel">
- <string>Alt+O</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Accept and save your changes.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>cancelPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- <property name="accel">
- <string>Alt+C</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Undo all your changes and close the window.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="QWidgetStack" row="1" column="1" rowspan="2" colspan="1">
- <property name="name">
- <cstring>settingsWidgetStack</cstring>
+ <property name="pixmap">
+ <pixmap>mwi_none.png</pixmap>
</property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ </item>
+ <item>
+ <property name="text">
+ <string>Instant message</string>
</property>
- <property name="frameShape">
- <enum>Box</enum>
+ <property name="pixmap">
+ <pixmap>message32.png</pixmap>
</property>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageUser</cstring>
- </property>
- <attribute name="id">
- <number>0</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>userTitleTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
+ </item>
+ <item>
+ <property name="text">
+ <string>Presence</string>
+ </property>
+ <property name="pixmap">
+ <pixmap>presence.png</pixmap>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>RTP audio</string>
+ </property>
+ <property name="pixmap">
+ <pixmap>kmix.png</pixmap>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>SIP protocol</string>
+ </property>
+ <property name="pixmap">
+ <pixmap>package_system.png</pixmap>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Transport/NAT</string>
+ </property>
+ <property name="pixmap">
+ <pixmap>yast_babelfish.png</pixmap>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Address format</string>
+ </property>
+ <property name="pixmap">
+ <pixmap>yast_PhoneTTOffhook.png</pixmap>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Timers</string>
+ </property>
+ <property name="pixmap">
+ <pixmap>clock.png</pixmap>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Ring tones</string>
+ </property>
+ <property name="pixmap">
+ <pixmap>knotify.png</pixmap>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Scripts</string>
+ </property>
+ <property name="pixmap">
+ <pixmap>edit.png</pixmap>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Security</string>
+ </property>
+ <property name="pixmap">
+ <pixmap>encrypted32.png</pixmap>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer8">
+ <property name="sizeHint">
+ <size>
+ <width>441</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+O</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Accept and save your changes.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+C</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Undo all your changes and close the window.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="1" column="1" rowspan="2" colspan="1">
+ <widget class="Q3WidgetStack" name="settingsWidgetStack">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="frameShape">
+ <enum>Box</enum>
+ </property>
+ <widget class="QWidget" name="pageUser">
+ <attribute name="id">
+ <number>0</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="userTitleTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>User</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="accountGroupBox">
+ <property name="title">
+ <string>SIP account</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="1" column="0">
+ <widget class="QLabel" name="usernameTextLabel">
+ <property name="text">
+ <string>&amp;User name*:</string>
</property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
+ <property name="buddy" stdset="0">
+ <cstring>usernameLineEdit</cstring>
</property>
- <property name="frameShape">
- <enum>Box</enum>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="domainTextLabel">
<property name="text">
- <string>User</string>
+ <string>&amp;Domain*:</string>
</property>
- <property name="indent">
- <number>10</number>
+ <property name="buddy" stdset="0">
+ <cstring>domainLineEdit</cstring>
</property>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>accountGroupBox</cstring>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
- <property name="title">
- <string>SIP account</string>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="organizationTextLabel">
+ <property name="text">
+ <string>Or&amp;ganization:</string>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>usernameTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;User name*:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>usernameLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>domainTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Domain*:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>domainLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="3" column="0">
- <property name="name">
- <cstring>organizationTextLabel</cstring>
- </property>
- <property name="text">
- <string>Or&amp;ganization:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>organizationLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>usernameLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The SIP user name given to you by your provider. It is the user part in your SIP address, &lt;b&gt;username&lt;/b&gt;@domain.com This could be a telephone number.
+ <property name="buddy" stdset="0">
+ <cstring>organizationLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="usernameLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>The SIP user name given to you by your provider. It is the user part in your SIP address, &lt;b&gt;username&lt;/b&gt;@domain.com This could be a telephone number.
&lt;br&gt;&lt;br&gt;
This field is mandatory.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="2" column="1">
- <property name="name">
- <cstring>domainLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The domain part of your SIP address, username@&lt;b&gt;domain.com&lt;/b&gt;. Instead of a real domain this could also be the hostname or IP address of your &lt;b&gt;SIP proxy&lt;/b&gt;. If you want direct IP phone to IP phone communications then you fill in the hostname or IP address of your computer.
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QLineEdit" name="domainLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>The domain part of your SIP address, username@&lt;b&gt;domain.com&lt;/b&gt;. Instead of a real domain this could also be the hostname or IP address of your &lt;b&gt;SIP proxy&lt;/b&gt;. If you want direct IP phone to IP phone communications then you fill in the hostname or IP address of your computer.
&lt;br&gt;&lt;br&gt;
This field is mandatory.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="3" column="1">
- <property name="name">
- <cstring>organizationLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>You may fill in the name of your organization. When you make a call, this might be shown to the called party.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>displayLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>This is just your full name, e.g. John Doe. It is used as a display name. When you make a call, this display name might be shown to the called party.</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>dislpayTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Your name:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>displayLineEdit</cstring>
- </property>
- </widget>
- </grid>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>authenticationGroupBox</cstring>
</property>
- <property name="title">
- <string>SIP authentication</string>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <widget class="QLineEdit" name="organizationLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>You may fill in the name of your organization. When you make a call, this might be shown to the called party.</string>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>authRealmTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Realm:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>authRealmLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>authNameTextLabel</cstring>
- </property>
- <property name="text">
- <string>Authentication &amp;name:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>authNameLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>authRealmLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The realm for authentication. This value must be provided by your SIP provider. If you leave this field empty, then Twinkle will try the user name and password for any realm that it will be challenged with.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>authNameLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Your SIP authentication name. Quite often this is the same as your SIP user name. It can be a different name though.</string>
- </property>
- </widget>
- <widget class="QLabel" row="4" column="0">
- <property name="name">
- <cstring>authAkaAmfTextLabel</cstring>
- </property>
- <property name="text">
- <string>AKA AM&amp;F:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>authAkaAmfLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="3" column="0">
- <property name="name">
- <cstring>authAkaOpTextLabel</cstring>
- </property>
- <property name="text">
- <string>A&amp;KA OP:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>authAkaOpLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="2" column="1">
- <property name="name">
- <cstring>authPasswordLineEdit</cstring>
- </property>
- <property name="echoMode">
- <enum>Password</enum>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Your password for authentication.</string>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>authPasswordTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Password:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>authPasswordLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="4" column="1">
- <property name="name">
- <cstring>authAkaAmfLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Authentication management field for AKAv1-MD5 authentication.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="3" column="1">
- <property name="name">
- <cstring>authAkaOpLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Operator variant key for AKAv1-MD5 authentication.</string>
- </property>
- </widget>
- </grid>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer9</cstring>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="displayLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>This is just your full name, e.g. John Doe. It is used as a display name. When you make a call, this display name might be shown to the called party.</string>
</property>
- <property name="orientation">
- <enum>Vertical</enum>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="dislpayTextLabel">
+ <property name="text">
+ <string>&amp;Your name:</string>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ <property name="buddy" stdset="0">
+ <cstring>displayLineEdit</cstring>
</property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>110</height>
- </size>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageSipServer</cstring>
- </property>
- <attribute name="id">
- <number>1</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>sipServerTitleTextLabel</cstring>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="authenticationGroupBox">
+ <property name="title">
+ <string>SIP authentication</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="authRealmTextLabel">
+ <property name="text">
+ <string>&amp;Realm:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>authRealmLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="authNameTextLabel">
+ <property name="text">
+ <string>Authentication &amp;name:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>authNameLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="authRealmLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>The realm for authentication. This value must be provided by your SIP provider. If you leave this field empty, then Twinkle will try the user name and password for any realm that it will be challenged with.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="authNameLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Your SIP authentication name. Quite often this is the same as your SIP user name. It can be a different name though.</string>
</property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
+ </widget>
+ </item>
+ <item row="4" column="0">
+ <widget class="QLabel" name="authAkaAmfTextLabel">
+ <property name="text">
+ <string>AKA AM&amp;F:</string>
</property>
- <property name="frameShape">
- <enum>Box</enum>
+ <property name="buddy" stdset="0">
+ <cstring>authAkaAmfLineEdit</cstring>
</property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="authAkaOpTextLabel">
<property name="text">
- <string>SIP server</string>
+ <string>A&amp;KA OP:</string>
</property>
- <property name="indent">
- <number>10</number>
+ <property name="buddy" stdset="0">
+ <cstring>authAkaOpLineEdit</cstring>
</property>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>registrarGroupBox</cstring>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
- <property name="title">
- <string>Registrar</string>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QLineEdit" name="authPasswordLineEdit">
+ <property name="echoMode">
+ <enum>QLineEdit::Password</enum>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>Your password for authentication.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="authPasswordTextLabel">
+ <property name="text">
+ <string>&amp;Password:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>authPasswordLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="1">
+ <widget class="QLineEdit" name="authAkaAmfLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Authentication management field for AKAv1-MD5 authentication.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <widget class="QLineEdit" name="authAkaOpLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Operator variant key for AKAv1-MD5 authentication.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer9">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>110</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageSipServer">
+ <attribute name="id">
+ <number>1</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="sipServerTitleTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>SIP server</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="registrarGroupBox">
+ <property name="title">
+ <string>Registrar</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="registrarTextLabel">
+ <property name="text">
+ <string>&amp;Registrar:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>registrarLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="registrarLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>The hostname, domain name or IP address of your registrar. If you use an outbound proxy that is the same as your registrar, then you may leave this field empty and only fill in the address of the outbound proxy.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="expiryTextLabel">
+ <property name="text">
+ <string>&amp;Expiry:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>expirySpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QSpinBox" name="expirySpinBox">
+ <property name="minimumSize">
+ <size>
+ <width>90</width>
+ <height>0</height>
+ </size>
</property>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>registrarTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Registrar:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>registrarLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>registrarLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The hostname, domain name or IP address of your registrar. If you use an outbound proxy that is the same as your registrar, then you may leave this field empty and only fill in the address of the outbound proxy.</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>expiryTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Expiry:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>expirySpinBox</cstring>
- </property>
- </widget>
- <widget class="QLayoutWidget" row="1" column="1">
- <property name="name">
- <cstring>layout22</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QSpinBox">
- <property name="name">
- <cstring>expirySpinBox</cstring>
- </property>
- <property name="minimumSize">
- <size>
- <width>90</width>
- <height>0</height>
- </size>
- </property>
- <property name="maxValue">
- <number>999999</number>
- </property>
- <property name="lineStep">
- <number>100</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The registration expiry time that Twinkle will request.</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>secondsTextLabel</cstring>
- </property>
- <property name="text">
- <string>seconds</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer1</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>260</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>regAtStartupCheckBox</cstring>
- </property>
- <property name="text">
- <string>Re&amp;gister at startup</string>
- </property>
- <property name="accel">
- <string>Alt+G</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if Twinkle should automatically register when you run this user profile. You should disable this when you want to do direct IP phone to IP phone communication without a SIP proxy.</string>
- </property>
- </widget>
- <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>layout37</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>regAddQvalueCheckBox</cstring>
- </property>
- <property name="text">
- <string>Add q-value to registration</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The q-value indicates the priority of your registered device. If besides Twinkle you register other SIP devices for this account, then the network may use these values to determine which device to try first when delivering a call.</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>regQvalueLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The q-value is a value between 0.000 and 1.000. A higher value means a higher priority.</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer48</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>210</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- </grid>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>outboundProxyGroupBox</cstring>
+ <property name="maximum">
+ <number>999999</number>
+ </property>
+ <property name="singleStep">
+ <number>100</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The registration expiry time that Twinkle will request.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="secondsTextLabel">
+ <property name="text">
+ <string>seconds</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer1">
+ <property name="sizeHint">
+ <size>
+ <width>260</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item row="2" column="0" rowspan="1" colspan="2">
+ <widget class="QCheckBox" name="regAtStartupCheckBox">
+ <property name="text">
+ <string>Re&amp;gister at startup</string>
</property>
- <property name="title">
- <string>Outbound Proxy</string>
+ <property name="shortcut">
+ <string>Alt+G</string>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>Indicates if Twinkle should automatically register when you run this user profile. You should disable this when you want to do direct IP phone to IP phone communication without a SIP proxy.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0" rowspan="1" colspan="2">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QCheckBox" name="regAddQvalueCheckBox">
+ <property name="text">
+ <string>Add q-value to registration</string>
</property>
- <widget class="QCheckBox" row="0" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>useProxyCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Use outbound proxy</string>
- </property>
- <property name="accel">
- <string>Alt+U</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if Twinkle should use an outbound proxy. If an outbound proxy is used then all SIP requests are sent to this proxy. Without an outbound proxy, Twinkle will try to resolve the SIP address that you type for a call invitation for example to an IP address and send the SIP request there.</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>proxyTextLabel</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Outbound &amp;proxy:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>proxyLineEdit</cstring>
- </property>
- </widget>
- <widget class="QCheckBox" row="3" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>proxyNonResolvableCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Don't send a request to proxy if its destination can be resolved locally.</string>
- </property>
- <property name="accel">
- <string>Alt+D</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>When you tick this option Twinkle will first try to resolve a SIP address to an IP address itself. If it can, then the SIP request will be sent there. Only when it cannot resolve the address, it will send the SIP request to the proxy (note that an in-dialog request will only be sent to the proxy in this case when you also ticked the previous option.)</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>proxyLineEdit</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The hostname, domain name or IP address of your outbound proxy.</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>allRequestsCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Send in-dialog requests to proxy</string>
- </property>
- <property name="accel">
- <string>Alt+S</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>SIP requests within a SIP dialog are normally sent to the address in the contact-headers exchanged during call setup. If you tick this box, that address is ignored and in-dialog request are also sent to the outbound proxy.</string>
- </property>
- </widget>
- </grid>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer10</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>The q-value indicates the priority of your registered device. If besides Twinkle you register other SIP devices for this account, then the network may use these values to determine which device to try first when delivering a call.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="regQvalueLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>The q-value is a value between 0.000 and 1.000. A higher value means a higher priority.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer48">
+ <property name="sizeHint">
+ <size>
+ <width>210</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="outboundProxyGroupBox">
+ <property name="title">
+ <string>Outbound Proxy</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="0" column="0" rowspan="1" colspan="2">
+ <widget class="QCheckBox" name="useProxyCheckBox">
+ <property name="text">
+ <string>&amp;Use outbound proxy</string>
</property>
- <property name="orientation">
- <enum>Vertical</enum>
+ <property name="shortcut">
+ <string>Alt+U</string>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ <property name="whatsThis" stdset="0">
+ <string>Indicates if Twinkle should use an outbound proxy. If an outbound proxy is used then all SIP requests are sent to this proxy. Without an outbound proxy, Twinkle will try to resolve the SIP address that you type for a call invitation for example to an IP address and send the SIP request there.</string>
</property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>100</height>
- </size>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="proxyTextLabel">
+ <property name="enabled">
+ <bool>true</bool>
</property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageRtpAudio</cstring>
- </property>
- <attribute name="id">
- <number>2</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>rtpAudioTitleTextLabel</cstring>
+ <property name="text">
+ <string>Outbound &amp;proxy:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>proxyLineEdit</cstring>
</property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0" rowspan="1" colspan="2">
+ <widget class="QCheckBox" name="proxyNonResolvableCheckBox">
+ <property name="text">
+ <string>&amp;Don't send a request to proxy if its destination can be resolved locally.</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+D</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>When you tick this option Twinkle will first try to resolve a SIP address to an IP address itself. If it can, then the SIP request will be sent there. Only when it cannot resolve the address, it will send the SIP request to the proxy (note that an in-dialog request will only be sent to the proxy in this case when you also ticked the previous option.)</string>
</property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="proxyLineEdit">
+ <property name="enabled">
+ <bool>true</bool>
</property>
- <property name="frameShape">
- <enum>Box</enum>
+ <property name="whatsThis" stdset="0">
+ <string>The hostname, domain name or IP address of your outbound proxy.</string>
</property>
+ </widget>
+ </item>
+ <item row="2" column="0" rowspan="1" colspan="2">
+ <widget class="QCheckBox" name="allRequestsCheckBox">
<property name="text">
- <string>RTP audio</string>
+ <string>&amp;Send in-dialog requests to proxy</string>
</property>
- <property name="indent">
- <number>10</number>
+ <property name="shortcut">
+ <string>Alt+S</string>
</property>
- </widget>
- <widget class="QTabWidget">
- <property name="name">
- <cstring>rtpAudioTabWidget</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>SIP requests within a SIP dialog are normally sent to the address in the contact-headers exchanged during call setup. If you tick this box, that address is ignored and in-dialog request are also sent to the outbound proxy.</string>
</property>
- <widget class="QWidget">
- <property name="name">
- <cstring>tabCodecs</cstring>
- </property>
- <attribute name="title">
- <string>Co&amp;decs</string>
- </attribute>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget" row="1" column="0">
- <property name="name">
- <cstring>layout18</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>ptimeTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;G.711/G.726 payload size:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>ptimeSpinBox</cstring>
- </property>
- </widget>
- <widget class="QSpinBox">
- <property name="name">
- <cstring>ptimeSpinBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>46</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>32767</width>
- <height>32767</height>
- </size>
- </property>
- <property name="maxValue">
- <number>50</number>
- </property>
- <property name="minValue">
- <number>10</number>
- </property>
- <property name="lineStep">
- <number>10</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The preferred payload size for the G.711 and G.726 codecs.</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>payloadMsTextLabel</cstring>
- </property>
- <property name="text">
- <string>ms</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer24</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>121</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- <widget class="QCheckBox" row="2" column="0">
- <property name="name">
- <cstring>inFarEndCodecPrefCheckBox</cstring>
- </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer10">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>100</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageRtpAudio">
+ <attribute name="id">
+ <number>2</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="rtpAudioTitleTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>RTP audio</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QTabWidget" name="rtpAudioTabWidget">
+ <widget class="QWidget" name="tabCodecs">
+ <attribute name="title">
+ <string>Co&amp;decs</string>
+ </attribute>
+ <layout class="QGridLayout">
+ <item row="1" column="0">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="ptimeTextLabel">
+ <property name="text">
+ <string>&amp;G.711/G.726 payload size:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>ptimeSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="ptimeSpinBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>46</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+ </size>
+ </property>
+ <property name="maximum">
+ <number>50</number>
+ </property>
+ <property name="minimum">
+ <number>10</number>
+ </property>
+ <property name="singleStep">
+ <number>10</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The preferred payload size for the G.711 and G.726 codecs.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="payloadMsTextLabel">
+ <property name="text">
+ <string>ms</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer24">
+ <property name="sizeHint">
+ <size>
+ <width>121</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item row="2" column="0">
+ <widget class="QCheckBox" name="inFarEndCodecPrefCheckBox">
+ <property name="text">
+ <string>&amp;Follow codec preference from far end on incoming calls</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+F</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
+For incoming calls, follow the preference from the far-end (SDP offer). Pick the first codec from the SDP offer that is also in the list of active codecs.
+&lt;p&gt;
+If you disable this option, then the first codec from the active codecs that is also in the SDP offer is picked.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QCheckBox" name="outFarEndCodecPrefCheckBox">
+ <property name="text">
+ <string>Follow codec &amp;preference from far end on outgoing calls</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+P</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
+For outgoing calls, follow the preference from the far-end (SDP answer). Pick the first codec from the SDP answer that is also in the list of active codecs.
+&lt;p&gt;
+If you disable this option, then the first codec from the active codecs that is also in the SDP answer is picked.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="0">
+ <spacer name="spacer38">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ <item row="0" column="0">
+ <widget class="Q3GroupBox" name="codecsGroupBox">
+ <property name="title">
+ <string>Codecs</string>
+ </property>
+ <layout class="QHBoxLayout">
+ <item>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="availCodecTextLabel">
<property name="text">
- <string>&amp;Follow codec preference from far end on incoming calls</string>
+ <string>Available codecs:</string>
</property>
- <property name="accel">
- <string>Alt+F</string>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3ListBox" name="availCodecListBox">
+ <property name="resizePolicy">
+ <enum>Q3ScrollView::Manual</enum>
+ </property>
+ <property name="hScrollBarMode">
+ <enum>Q3ScrollView::AlwaysOff</enum>
</property>
<property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
-For incoming calls, follow the preference from the far-end (SDP offer). Pick the first codec from the SDP offer that is also in the list of active codecs.
-&lt;p&gt;
-If you disable this option, then the first codec from the active codecs that is also in the SDP offer is picked.</string>
+ <string>List of available codecs.</string>
+ </property>
+ <item>
+ <property name="text">
+ <string>G.711 A-law</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>G.711 u-law</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>GSM</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>speex-nb (8 kHz)</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>speex-wb (16 kHz)</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>speex-uwb (32 kHz)</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QVBoxLayout">
+ <item>
+ <spacer name="spacer17_2">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
</property>
- </widget>
- <widget class="QCheckBox" row="3" column="0">
- <property name="name">
- <cstring>outFarEndCodecPrefCheckBox</cstring>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
</property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="addCodecPushButton">
<property name="text">
- <string>Follow codec &amp;preference from far end on outgoing calls</string>
+ <string/>
</property>
- <property name="accel">
- <string>Alt+P</string>
+ <property name="icon">
+ <pixmap>1rightarrow.png</pixmap>
</property>
<property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
-For outgoing calls, follow the preference from the far-end (SDP answer). Pick the first codec from the SDP answer that is also in the list of active codecs.
-&lt;p&gt;
-If you disable this option, then the first codec from the active codecs that is also in the SDP answer is picked.</string>
+ <string>Move a codec from the list of available codecs to the list of active codecs.</string>
</property>
- </widget>
- <spacer row="4" column="0">
- <property name="name">
- <cstring>spacer38</cstring>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="rmvCodecPushButton">
+ <property name="text">
+ <string/>
</property>
- <property name="orientation">
- <enum>Vertical</enum>
+ <property name="icon">
+ <pixmap>1leftarrow.png</pixmap>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ <property name="whatsThis" stdset="0">
+ <string>Move a codec from the list of active codecs to the list of available codecs.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer18">
<property name="sizeHint">
- <size>
- <width>20</width>
- <height>16</height>
- </size>
- </property>
- </spacer>
- <widget class="QGroupBox" row="0" column="0">
- <property name="name">
- <cstring>codecsGroupBox</cstring>
- </property>
- <property name="title">
- <string>Codecs</string>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout19</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>availCodecTextLabel</cstring>
- </property>
- <property name="text">
- <string>Available codecs:</string>
- </property>
- </widget>
- <widget class="QListBox">
- <item>
- <property name="text">
- <string>G.711 A-law</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>G.711 u-law</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>GSM</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>speex-nb (8 kHz)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>speex-wb (16 kHz)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>speex-uwb (32 kHz)</string>
- </property>
- </item>
- <property name="name">
- <cstring>availCodecListBox</cstring>
- </property>
- <property name="resizePolicy">
- <enum>Manual</enum>
- </property>
- <property name="hScrollBarMode">
- <enum>AlwaysOff</enum>
- </property>
- <property name="whatsThis" stdset="0">
- <string>List of available codecs.</string>
- </property>
- </widget>
- </vbox>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout14</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer17_2</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>addCodecPushButton</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>1rightarrow.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Move a codec from the list of available codecs to the list of active codecs.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>rmvCodecPushButton</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>1leftarrow.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Move a codec from the list of active codecs to the list of available codecs.</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer18</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>21</height>
- </size>
- </property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout20</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>useCodecTextLabel</cstring>
- </property>
- <property name="text">
- <string>Active codecs:</string>
- </property>
- </widget>
- <widget class="QListBox">
- <property name="name">
- <cstring>activeCodecListBox</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>List of active codecs. These are the codecs that will be used for media negotiation during call setup. The order of the codecs is the order of preference of use.</string>
- </property>
- </widget>
- </vbox>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout15</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer19_2</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>21</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>upCodecPushButton</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>1uparrow.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Move a codec upwards in the list of active codecs, i.e. increase its preference of use.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>downCodecPushButton</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>1downarrow.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Move a codec downwards in the list of active codecs, i.e. decrease its preference of use.</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer20_2</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>31</height>
- </size>
- </property>
- </spacer>
- </vbox>
- </widget>
- </hbox>
- </widget>
- </grid>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>tabPreprocessing</cstring>
- </property>
- <attribute name="title">
- <string>Prepr&amp;ocessing</string>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>preprocessingGroupBox</cstring>
- </property>
- <property name="title">
- <string>Preprocessing (improves quality at remote end)</string>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout23</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QCheckBox" row="0" column="0">
- <property name="name">
- <cstring>spxDspAgcCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Automatic gain control</string>
- </property>
- <property name="accel">
- <string>Alt+A</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Automatic gain control (AGC) is a feature that deals with the fact that the recording volume may vary by a large amount between different setups. The AGC provides a way to adjust a signal to a reference volume. This is useful because it removes the need for manual adjustment of the microphone gain. A secondary advantage is that by setting the microphone gain to a conservative (low) level, it is easier to avoid clipping.</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="1">
- <property name="name">
- <cstring>spxDspAgcLevelTextLabel</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Automatic gain control &amp;level:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>spxDspAgcLevelSpinBox</cstring>
- </property>
- </widget>
- <widget class="QSpinBox" row="0" column="2">
- <property name="name">
- <cstring>spxDspAgcLevelSpinBox</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="maxValue">
- <number>100</number>
- </property>
- <property name="minValue">
- <number>1</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Automatic gain control level represents percentual value of automatic gain setting of a microphone. Recommended value is about 25%.</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="1" column="0">
- <property name="name">
- <cstring>spxDspVadCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Voice activity detection</string>
- </property>
- <property name="accel">
- <string>Alt+V</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>When enabled, voice activity detection detects whether the input signal represents a speech or a silence/background noise.</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="2" column="0">
- <property name="name">
- <cstring>spxDspNrdCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Noise reduction</string>
- </property>
- <property name="accel">
- <string>Alt+N</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The noise reduction can be used to reduce the amount of background noise present in the input signal. This provides higher quality speech.</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="3" column="0">
- <property name="name">
- <cstring>spxDspAecCheckBox</cstring>
- </property>
- <property name="text">
- <string>Acoustic &amp;Echo Cancellation</string>
- </property>
- <property name="accel">
- <string>Alt+E</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>In any VoIP communication, if a speech from the remote end is played in the local loudspeaker, then it propagates in the room and is captured by the microphone. If the audio captured from the microphone is sent directly to the remote end, then the remote user hears an echo of his voice. An acoustic echo cancellation is designed to remove the acoustic echo before it is sent to the remote end. It is important to understand that the echo canceller is meant to improve the quality on the remote end.</string>
- </property>
- </widget>
- </grid>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer24</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>31</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer25</cstring>
+ <size>
+ <width>20</width>
+ <height>21</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
</property>
<property name="orientation">
- <enum>Vertical</enum>
+ <enum>Qt::Vertical</enum>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="useCodecTextLabel">
+ <property name="text">
+ <string>Active codecs:</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3ListBox" name="activeCodecListBox">
+ <property name="whatsThis" stdset="0">
+ <string>List of active codecs. These are the codecs that will be used for media negotiation during call setup. The order of the codecs is the order of preference of use.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QVBoxLayout">
+ <item>
+ <spacer name="spacer19_2">
<property name="sizeHint">
- <size>
- <width>20</width>
- <height>121</height>
- </size>
+ <size>
+ <width>20</width>
+ <height>21</height>
+ </size>
</property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>tabIlbc</cstring>
- </property>
- <attribute name="title">
- <string>&amp;iLBC</string>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>ilbcGroupBox</cstring>
- </property>
- <property name="title">
- <string>iLBC</string>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout16</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>ilbcPayloadTextLabel</cstring>
- </property>
- <property name="text">
- <string>i&amp;LBC payload type:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>ilbcPayloadSpinBox</cstring>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>ilbcPayloadSizeTextLabel</cstring>
- </property>
- <property name="text">
- <string>iLBC &amp;payload size (ms):</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>ilbcPayloadSizeComboBox</cstring>
- </property>
- </widget>
- </vbox>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout17_2</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QSpinBox">
- <property name="name">
- <cstring>ilbcPayloadSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>127</number>
- </property>
- <property name="minValue">
- <number>96</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The dynamic type value (96 or higher) to be used for iLBC.</string>
- </property>
- </widget>
- <widget class="QComboBox">
- <item>
- <property name="text">
- <string>20</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>30</string>
- </property>
- </item>
- <property name="name">
- <cstring>ilbcPayloadSizeComboBox</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The preferred payload size for iLBC.</string>
- </property>
- </widget>
- </vbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer26</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>71</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer29_2</cstring>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
</property>
<property name="orientation">
- <enum>Vertical</enum>
+ <enum>Qt::Vertical</enum>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="upCodecPushButton">
+ <property name="text">
+ <string/>
</property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>81</height>
- </size>
+ <property name="icon">
+ <pixmap>1uparrow.png</pixmap>
</property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>tabSpeex</cstring>
- </property>
- <attribute name="title">
- <string>&amp;Speex</string>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>speexGroupBox</cstring>
- </property>
- <property name="title">
- <string>Speex</string>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout17_3</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QCheckBox" row="2" column="0">
- <property name="name">
- <cstring>spxPenhCheckBox</cstring>
- </property>
- <property name="text">
- <string>Perceptual &amp;enhancement</string>
- </property>
- <property name="accel">
- <string>Alt+E</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Perceptual enhancement is a part of the decoder which, when turned on, tries to reduce (the perception of) the noise produced by the coding/decoding process. In most cases, perceptual enhancement make the sound further from the original objectively (if you use SNR), but in the end it still sounds better (subjective improvement).</string>
- </property>
- </widget>
- <widget class="QLabel" row="4" column="1">
- <property name="name">
- <cstring>spxUwbPayloadTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Ultra wide band payload type:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>spxUwbPayloadSpinBox</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="3" column="1">
- <property name="name">
- <cstring>spxWbPayloadTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Wide band payload type:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>spxWbPayloadSpinBox</cstring>
- </property>
- </widget>
- <widget class="QCheckBox" row="0" column="0">
- <property name="name">
- <cstring>spxVbrCheckBox</cstring>
- </property>
- <property name="text">
- <string>Variable &amp;bit-rate</string>
- </property>
- <property name="accel">
- <string>Alt+B</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Variable bit-rate (VBR) allows a codec to change its bit-rate dynamically to adapt to the "difficulty" of the audio being encoded. In the example of Speex, sounds like vowels and high-energy transients require a higher bit-rate to achieve good quality, while fricatives (e.g. s,f sounds) can be coded adequately with less bits. For this reason, VBR can achieve a lower bit-rate for the same quality, or a better quality for a certain bit-rate. Despite its advantages, VBR has two main drawbacks: first, by only specifying quality, there's no guarantee about the final average bit-rate. Second, for some real-time applications like voice over IP (VoIP), what counts is the maximum bit-rate, which must be low enough for the communication channel.</string>
- </property>
- </widget>
- <widget class="QSpinBox" row="4" column="2">
- <property name="name">
- <cstring>spxUwbPayloadSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>127</number>
- </property>
- <property name="minValue">
- <number>96</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The dynamic type value (96 or higher) to be used for speex wide band.</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="1" column="0">
- <property name="name">
- <cstring>spxDtxCheckBox</cstring>
- </property>
- <property name="text">
- <string>Discontinuous &amp;Transmission</string>
- </property>
- <property name="accel">
- <string>Alt+T</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Discontinuous transmission is an addition to VAD/VBR operation, that allows to stop transmitting completely when the background noise is stationary.</string>
- </property>
- </widget>
- <widget class="QSpinBox" row="3" column="2">
- <property name="name">
- <cstring>spxWbPayloadSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>127</number>
- </property>
- <property name="minValue">
- <number>96</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The dynamic type value (96 or higher) to be used for speex wide band.</string>
- </property>
- </widget>
- <widget class="QSpinBox" row="2" column="2">
- <property name="name">
- <cstring>spxNbPayloadSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>127</number>
- </property>
- <property name="minValue">
- <number>96</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The dynamic type value (96 or higher) to be used for speex narrow band.</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="1">
- <property name="name">
- <cstring>spxQualityTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Quality:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>spxQualitySpinBox</cstring>
- </property>
- </widget>
- <widget class="QSpinBox" row="0" column="2">
- <property name="name">
- <cstring>spxQualitySpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>10</number>
- </property>
- <property name="minValue">
- <number>0</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Speex is a lossy codec, which means that it achives compression at the expense of fidelity of the input speech signal. Unlike some other speech codecs, it is possible to control the tradeoff made between quality and bit-rate. The Speex encoding process is controlled most of the time by a quality parameter that ranges from 0 to 10.</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="1">
- <property name="name">
- <cstring>spxComplexityTextLabel</cstring>
- </property>
- <property name="text">
- <string>Co&amp;mplexity:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>spxComplexitySpinBox</cstring>
- </property>
- </widget>
- <widget class="QSpinBox" row="1" column="2">
- <property name="name">
- <cstring>spxComplexitySpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>10</number>
- </property>
- <property name="minValue">
- <number>1</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>With Speex, it is possible to vary the complexity allowed for the encoder. This is done by controlling how the search is performed with an integer ranging from 1 to 10 in a way that's similar to the -1 to -9 options to gzip and bzip2 compression utilities. For normal use, the noise level at complexity 1 is between 1 and 2 dB higher than at complexity 10, but the CPU requirements for complexity 10 is about 5 times higher than for complexity 1. In practice, the best trade-off is between complexity 2 and 4, though higher settings are often useful when encoding non-speech sounds like DTMF tones.</string>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="1">
- <property name="name">
- <cstring>spxNbPayloadTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Narrow band payload type:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>spxNbPayloadSpinBox</cstring>
- </property>
- </widget>
- </grid>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer23_2</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>31</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer30_2</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>Move a codec upwards in the list of active codecs, i.e. increase its preference of use.</string>
</property>
- <property name="orientation">
- <enum>Vertical</enum>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="downCodecPushButton">
+ <property name="text">
+ <string/>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ <property name="icon">
+ <pixmap>1downarrow.png</pixmap>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Move a codec downwards in the list of active codecs, i.e. decrease its preference of use.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer20_2">
<property name="sizeHint">
- <size>
- <width>20</width>
- <height>121</height>
- </size>
+ <size>
+ <width>20</width>
+ <height>31</height>
+ </size>
</property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>tabG726</cstring>
- </property>
- <attribute name="title">
- <string>G.726</string>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>g726GroupBox</cstring>
- </property>
- <property name="title">
- <string>G.726</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget" row="0" column="0">
- <property name="name">
- <cstring>layout22</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="3" column="0">
- <property name="name">
- <cstring>g72640PayloadTypeTextLabel</cstring>
- </property>
- <property name="text">
- <string>G.726 &amp;40 kbps payload type:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>g72640PayloadSpinBox</cstring>
- </property>
- </widget>
- <widget class="QSpinBox" row="3" column="1">
- <property name="name">
- <cstring>g72640PayloadSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>127</number>
- </property>
- <property name="minValue">
- <number>96</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The dynamic type value (96 or higher) to be used for G.726 40 kbps.</string>
- </property>
- </widget>
- <widget class="QSpinBox" row="2" column="1">
- <property name="name">
- <cstring>g72632PayloadSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>127</number>
- </property>
- <property name="minValue">
- <number>0</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The dynamic type value (96 or higher) to be used for G.726 32 kbps.</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>g72624PayloadTypeTextLabel</cstring>
- </property>
- <property name="text">
- <string>G.726 &amp;24 kbps payload type:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>g72624PayloadSpinBox</cstring>
- </property>
- </widget>
- <widget class="QSpinBox" row="1" column="1">
- <property name="name">
- <cstring>g72624PayloadSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>127</number>
- </property>
- <property name="minValue">
- <number>96</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The dynamic type value (96 or higher) to be used for G.726 24 kbps.</string>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>g72632PayloadTypeTextLabel</cstring>
- </property>
- <property name="text">
- <string>G.726 &amp;32 kbps payload type:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>g72632PayloadSpinBox</cstring>
- </property>
- </widget>
- <widget class="QSpinBox" row="0" column="1">
- <property name="name">
- <cstring>g72616PayloadSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>127</number>
- </property>
- <property name="minValue">
- <number>96</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The dynamic type value (96 or higher) to be used for G.726 16 kbps.</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>g72616PayloadTypeTextLabel</cstring>
- </property>
- <property name="text">
- <string>G.726 &amp;16 kbps payload type:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>g72616PayloadSpinBox</cstring>
- </property>
- </widget>
- </grid>
- </widget>
- <spacer row="0" column="1">
- <property name="name">
- <cstring>spacer31</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>231</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>layout41</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>g726PackingTextLabel</cstring>
- </property>
- <property name="text">
- <string>Codeword &amp;packing order:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>g726PackComboBox</cstring>
- </property>
- </widget>
- <widget class="QComboBox">
- <item>
- <property name="text">
- <string>RFC 3551</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>ATM AAL2</string>
- </property>
- </item>
- <property name="name">
- <cstring>g726PackComboBox</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>There are 2 standards to pack the G.726 codewords into an RTP packet. RFC 3551 is the default packing method. Some SIP devices use ATM AAL2 however. If you experience bad quality using G.726 with RFC 3551 packing, then try ATM AAL2 packing.</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer40_2</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>141</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- </grid>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer32</cstring>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
</property>
<property name="orientation">
- <enum>Vertical</enum>
+ <enum>Qt::Vertical</enum>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="tabPreprocessing">
+ <attribute name="title">
+ <string>Prepr&amp;ocessing</string>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="Q3GroupBox" name="preprocessingGroupBox">
+ <property name="title">
+ <string>Preprocessing (improves quality at remote end)</string>
+ </property>
+ <layout class="QHBoxLayout">
+ <item>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QCheckBox" name="spxDspAgcCheckBox">
+ <property name="text">
+ <string>&amp;Automatic gain control</string>
</property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>150</height>
- </size>
+ <property name="shortcut">
+ <string>Alt+A</string>
</property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>tabDtmf</cstring>
- </property>
- <attribute name="title">
- <string>DT&amp;MF</string>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>dtmfGroupBox</cstring>
- </property>
- <property name="title">
- <string>DTMF</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer row="1" column="1">
- <property name="name">
- <cstring>spacer17</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>280</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QLayoutWidget" row="1" column="0">
- <property name="name">
- <cstring>layout8</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QSpinBox" row="0" column="2">
- <property name="name">
- <cstring>dtmfPayloadTypeSpinBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>49</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>32767</width>
- <height>32767</height>
- </size>
- </property>
- <property name="maxValue">
- <number>127</number>
- </property>
- <property name="minValue">
- <number>96</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The dynamic type value (96 or higher) to be used for DTMF events (RFC 2833).</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="3">
- <property name="name">
- <cstring>dtmfDurationMsTextLabel</cstring>
- </property>
- <property name="text">
- <string>ms</string>
- </property>
- </widget>
- <widget class="QLabel" row="3" column="0">
- <property name="name">
- <cstring>dtmfVolumeTextLabel</cstring>
- </property>
- <property name="text">
- <string>DTMF vo&amp;lume:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>dtmfVolumeSpinBox</cstring>
- </property>
- </widget>
- <widget class="QSpinBox" row="3" column="2">
- <property name="name">
- <cstring>dtmfVolumeSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>0</number>
- </property>
- <property name="minValue">
- <number>-63</number>
- </property>
- <property name="lineStep">
- <number>10</number>
- </property>
- <property name="value">
- <number>-10</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The power level of the DTMF tone in dB.</string>
- </property>
- </widget>
- <widget class="QSpinBox" row="2" column="2">
- <property name="name">
- <cstring>dtmfPauseSpinBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>49</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>32767</width>
- <height>32767</height>
- </size>
- </property>
- <property name="maxValue">
- <number>100</number>
- </property>
- <property name="minValue">
- <number>20</number>
- </property>
- <property name="lineStep">
- <number>10</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The pause after a DTMF tone.</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>dtmfDurationTextLabel</cstring>
- </property>
- <property name="text">
- <string>DTMF &amp;duration:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>dtmfDurationSpinBox</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="3">
- <property name="name">
- <cstring>dtmfPauseMsTextLabel</cstring>
- </property>
- <property name="text">
- <string>ms</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>dtmfPayloadTypeTextLabel</cstring>
- </property>
- <property name="text">
- <string>DTMF payload &amp;type:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>dtmfPayloadTypeSpinBox</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>dtmfPauseTextLabel</cstring>
- </property>
- <property name="text">
- <string>DTMF &amp;pause:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>dtmfPauseSpinBox</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="3" column="3">
- <property name="name">
- <cstring>dtmfVolDbmTextLabel</cstring>
- </property>
- <property name="text">
- <string>dB</string>
- </property>
- </widget>
- <widget class="QSpinBox" row="1" column="2">
- <property name="name">
- <cstring>dtmfDurationSpinBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>49</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>32767</width>
- <height>32767</height>
- </size>
- </property>
- <property name="maxValue">
- <number>500</number>
- </property>
- <property name="minValue">
- <number>40</number>
- </property>
- <property name="lineStep">
- <number>10</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Duration of a DTMF tone.</string>
- </property>
- </widget>
- </grid>
- </widget>
- <widget class="QLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>layout15</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>dtmfTransportTextLabel</cstring>
- </property>
- <property name="text">
- <string>DTMF t&amp;ransport:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>dtmfTransportComboBox</cstring>
- </property>
- </widget>
- <widget class="QComboBox">
- <item>
- <property name="text">
- <string>Auto</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>RFC 2833</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Inband</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Out-of-band (SIP INFO)</string>
- </property>
- </item>
- <property name="name">
- <cstring>dtmfTransportComboBox</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;h2&gt;RFC 2833&lt;/h2&gt;
-&lt;p&gt;Send DTMF tones as RFC 2833 telephone events.&lt;/p&gt;
-&lt;h2&gt;Inband&lt;/h2&gt;
-&lt;p&gt;Send DTMF inband.&lt;/p&gt;
-&lt;h2&gt;Auto&lt;/h2&gt;
-&lt;p&gt;If the far end of your call supports RFC 2833, then a DTMF tone will be send as RFC 2833 telephone event, otherwise it will be sent inband.
-&lt;/p&gt;
-&lt;h2&gt;Out-of-band (SIP INFO)&lt;/h2&gt;
-&lt;p&gt;
-Send DTMF out-of-band via a SIP INFO request.
-&lt;/p&gt;</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer22_2</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>161</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- </grid>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer23_3</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>Automatic gain control (AGC) is a feature that deals with the fact that the recording volume may vary by a large amount between different setups. The AGC provides a way to adjust a signal to a reference volume. This is useful because it removes the need for manual adjustment of the microphone gain. A secondary advantage is that by setting the microphone gain to a conservative (low) level, it is easier to avoid clipping.</string>
</property>
- <property name="orientation">
- <enum>Vertical</enum>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLabel" name="spxDspAgcLevelTextLabel">
+ <property name="enabled">
+ <bool>true</bool>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ <property name="text">
+ <string>Automatic gain control &amp;level:</string>
</property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>120</height>
- </size>
+ <property name="buddy" stdset="0">
+ <cstring>spxDspAgcLevelSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <widget class="QSpinBox" name="spxDspAgcLevelSpinBox">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="maximum">
+ <number>100</number>
+ </property>
+ <property name="minimum">
+ <number>1</number>
</property>
- </spacer>
- </vbox>
+ <property name="whatsThis" stdset="0">
+ <string>Automatic gain control level represents percentual value of automatic gain setting of a microphone. Recommended value is about 25%.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QCheckBox" name="spxDspVadCheckBox">
+ <property name="text">
+ <string>&amp;Voice activity detection</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+V</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>When enabled, voice activity detection detects whether the input signal represents a speech or a silence/background noise.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QCheckBox" name="spxDspNrdCheckBox">
+ <property name="text">
+ <string>&amp;Noise reduction</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+N</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The noise reduction can be used to reduce the amount of background noise present in the input signal. This provides higher quality speech.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QCheckBox" name="spxDspAecCheckBox">
+ <property name="text">
+ <string>Acoustic &amp;Echo Cancellation</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+E</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>In any VoIP communication, if a speech from the remote end is played in the local loudspeaker, then it propagates in the room and is captured by the microphone. If the audio captured from the microphone is sent directly to the remote end, then the remote user hears an echo of his voice. An acoustic echo cancellation is designed to remove the acoustic echo before it is sent to the remote end. It is important to understand that the echo canceller is meant to improve the quality on the remote end.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="spacer24">
+ <property name="sizeHint">
+ <size>
+ <width>31</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
</widget>
- </widget>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageSipProtocol</cstring>
- </property>
- <attribute name="id">
- <number>3</number>
- </attribute>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>sipProtocolTitleTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
- </property>
- <property name="text">
- <string>SIP protocol</string>
- </property>
- <property name="indent">
- <number>10</number>
- </property>
- </widget>
- <widget class="QTabWidget" row="1" column="0">
- <property name="name">
- <cstring>sipProtoclTabWidget</cstring>
- </property>
- <widget class="QWidget">
- <property name="name">
- <cstring>tab</cstring>
- </property>
- <attribute name="title">
- <string>General</string>
- </attribute>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
+ </item>
+ <item>
+ <spacer name="spacer25">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>121</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="tabIlbc">
+ <attribute name="title">
+ <string>&amp;iLBC</string>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="Q3GroupBox" name="ilbcGroupBox">
+ <property name="title">
+ <string>iLBC</string>
+ </property>
+ <layout class="QHBoxLayout">
+ <item>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="ilbcPayloadTextLabel">
+ <property name="text">
+ <string>i&amp;LBC payload type:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>ilbcPayloadSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="ilbcPayloadSizeTextLabel">
+ <property name="text">
+ <string>iLBC &amp;payload size (ms):</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>ilbcPayloadSizeComboBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QSpinBox" name="ilbcPayloadSpinBox">
+ <property name="maximum">
+ <number>127</number>
+ </property>
+ <property name="minimum">
+ <number>96</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The dynamic type value (96 or higher) to be used for iLBC.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QComboBox" name="ilbcPayloadSizeComboBox">
+ <property name="whatsThis" stdset="0">
+ <string>The preferred payload size for iLBC.</string>
+ </property>
+ <item>
+ <property name="text">
+ <string>20</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>30</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="spacer26">
+ <property name="sizeHint">
+ <size>
+ <width>71</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
</property>
- <spacer row="2" column="1">
- <property name="name">
- <cstring>spacer24_2</cstring>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer29_2">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>81</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="tabSpeex">
+ <attribute name="title">
+ <string>&amp;Speex</string>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="Q3GroupBox" name="speexGroupBox">
+ <property name="title">
+ <string>Speex</string>
+ </property>
+ <layout class="QHBoxLayout">
+ <item>
+ <layout class="QGridLayout">
+ <item row="2" column="0">
+ <widget class="QCheckBox" name="spxPenhCheckBox">
+ <property name="text">
+ <string>Perceptual &amp;enhancement</string>
</property>
- <property name="orientation">
- <enum>Vertical</enum>
+ <property name="shortcut">
+ <string>Alt+E</string>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ <property name="whatsThis" stdset="0">
+ <string>Perceptual enhancement is a part of the decoder which, when turned on, tries to reduce (the perception of) the noise produced by the coding/decoding process. In most cases, perceptual enhancement make the sound further from the original objectively (if you use SNR), but in the end it still sounds better (subjective improvement).</string>
</property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>16</height>
- </size>
- </property>
- </spacer>
- <widget class="QGroupBox" row="0" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>optionsGroupBox</cstring>
- </property>
- <property name="title">
- <string>Protocol options</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>holdVariantTextLabel</cstring>
- </property>
- <property name="text">
- <string>Call &amp;Hold variant:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>holdVariantComboBox</cstring>
- </property>
- </widget>
- <widget class="QComboBox" row="0" column="1">
- <item>
- <property name="text">
- <string>RFC 2543</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>RFC 3264</string>
- </property>
- </item>
- <property name="name">
- <cstring>holdVariantComboBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>110</width>
- <height>0</height>
- </size>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if RFC 2543 (set media IP address in SDP to 0.0.0.0) or RFC 3264 (use direction attributes in SDP) is used to put a call on-hold.</string>
- </property>
- </widget>
- <spacer row="0" column="2">
- <property name="name">
- <cstring>spacer4</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>70</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="3">
- <property name="name">
- <cstring>missingContactCheckBox</cstring>
- </property>
- <property name="text">
- <string>Allow m&amp;issing Contact header in 200 OK on REGISTER</string>
- </property>
- <property name="accel">
- <string>Alt+I</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>A 200 OK response on a REGISTER request must contain a Contact header. Some registrars however, do not include a Contact header or include a wrong Contact header. This option allows for such a deviation from the specs.</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="1" column="0" rowspan="1" colspan="3">
- <property name="name">
- <cstring>maxForwardsCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Max-Forwards header is mandatory</string>
- </property>
- <property name="accel">
- <string>Alt+M</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>According to RFC 3261 the Max-Forwards header is mandatory. But many implementations do not send this header. If you tick this box, Twinkle will reject a SIP request if Max-Forwards is missing.</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="3" column="0" rowspan="1" colspan="3">
- <property name="name">
- <cstring>regTimeCheckBox</cstring>
- </property>
- <property name="text">
- <string>Put &amp;registration expiry time in contact header</string>
- </property>
- <property name="accel">
- <string>Alt+R</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>In a REGISTER message the expiry time for registration can be put in the Contact header or in the Expires header. If you tick this box it will be put in the Contact header, otherwise it goes in the Expires header.</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="4" column="0" rowspan="1" colspan="3">
- <property name="name">
- <cstring>compactHeadersCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Use compact header names</string>
- </property>
- <property name="accel">
- <string>Alt+U</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if compact header names should be used for headers that have a compact form.</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="7" column="0" rowspan="1" colspan="3">
- <property name="name">
- <cstring>allowSdpChangeCheckBox</cstring>
- </property>
- <property name="text">
- <string>Allow SDP change during call setup</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;A SIP UAS may send SDP in a 1XX response for early media, e.g. ringing tone. When the call is answered the SIP UAS should send the same SDP in the 200 OK response according to RFC 3261. Once SDP has been received, SDP in subsequent responses should be discarded.&lt;/p&gt;
-&lt;p&gt;By allowing SDP to change during call setup, Twinkle will not discard SDP in subsequent responses and modify the media stream if the SDP is changed. When the SDP in a response is changed, it must have a new version number in the o= line.&lt;/p&gt;</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="6" column="0" rowspan="1" colspan="3">
- <property name="name">
- <cstring>useDomainInContactCheckBox</cstring>
- </property>
- <property name="text">
- <string>Use domain &amp;name to create a unique contact header value</string>
- </property>
- <property name="accel">
- <string>Alt+N</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
-Twinkle creates a unique contact header value by combining the SIP user name and domain:
-&lt;/p&gt;
-&lt;p&gt;
-&lt;tt&gt;&amp;nbsp;user_domain@local_ip&lt;/tt&gt;
-&lt;/p&gt;
-&lt;p&gt;
-This way 2 user profiles, having the same user name but different domain names, have unique contact addresses and hence can be activated simultaneously.
-&lt;/p&gt;
-&lt;p&gt;
-Some proxies do not handle a contact header value like this. You can disable this option to get a contact header value like this:
-&lt;/p&gt;
-&lt;p&gt;
-&lt;tt&gt;&amp;nbsp;user@local_ip&lt;/tt&gt;
-&lt;/p&gt;
-&lt;p&gt;
-This format is what most SIP phones use.
-&lt;/p&gt;</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="5" column="0" rowspan="1" colspan="3">
- <property name="name">
- <cstring>multiValuesListCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Encode Via, Route, Record-Route as list</string>
- </property>
- <property name="accel">
- <string>Alt+E</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The Via, Route and Record-Route headers can be encoded as a list of comma separated values or as multiple occurrences of the same header.</string>
- </property>
- </widget>
- </grid>
- </widget>
- <widget class="QGroupBox" row="1" column="0">
- <property name="name">
- <cstring>redirectionGroupBox</cstring>
- </property>
- <property name="title">
- <string>Redirection</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QCheckBox" row="0" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>allowRedirectionCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Allow redirection</string>
- </property>
- <property name="accel">
- <string>Alt+A</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if Twinkle should redirect a request if a 3XX response is received.</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="1" column="0" rowspan="1" colspan="3">
- <property name="name">
- <cstring>askUserRedirectCheckBox</cstring>
- </property>
- <property name="text">
- <string>Ask user &amp;permission to redirect</string>
- </property>
- <property name="accel">
- <string>Alt+P</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if Twinkle should ask the user before redirecting a request when a 3XX response is received.</string>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>maxRedirectTextLabel</cstring>
- </property>
- <property name="text">
- <string>Max re&amp;directions:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>maxRedirectSpinBox</cstring>
- </property>
- </widget>
- <widget class="QSpinBox" row="2" column="1">
- <property name="name">
- <cstring>maxRedirectSpinBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>46</width>
- <height>0</height>
- </size>
- </property>
- <property name="maxValue">
- <number>5</number>
- </property>
- <property name="minValue">
- <number>1</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The number of redirect addresses that Twinkle tries at a maximum before it gives up redirecting a request. This prevents a request from getting redirected forever.</string>
- </property>
- </widget>
- <spacer row="2" column="2">
- <property name="name">
- <cstring>spacer5</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>80</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </grid>
- </widget>
- <widget class="QGroupBox" row="1" column="1">
- <property name="name">
- <cstring>sipExtensionsGroupBox</cstring>
- </property>
- <property name="title">
- <string>SIP extensions</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QComboBox" row="0" column="1">
- <item>
- <property name="text">
- <string>disabled</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>supported</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>required</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>preferred</string>
- </property>
- </item>
- <property name="name">
- <cstring>ext100relComboBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>120</width>
- <height>0</height>
- </size>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if the 100rel extension (PRACK) is supported:&lt;br&gt;&lt;br&gt;
-&lt;b&gt;disabled&lt;/b&gt;: 100rel extension is disabled
-&lt;br&gt;&lt;br&gt;
-&lt;b&gt;supported&lt;/b&gt;: 100rel is supported (it is added in the supported header of an outgoing INVITE). A far-end can now require a PRACK on a 1xx response.
-&lt;br&gt;&lt;br&gt;
-&lt;b&gt;required&lt;/b&gt;: 100rel is required (it is put in the require header of an outgoing INVITE). If an incoming INVITE indicates that it supports 100rel, then Twinkle will require a PRACK when sending a 1xx response. A call will fail when the far-end does not support 100rel.
-&lt;br&gt;&lt;br&gt;
-&lt;b&gt;preferred&lt;/b&gt;: Similar to required, but if a call fails because the far-end indicates it does not support 100rel (420 response) then the call will be re-attempted without the 100rel requirement.</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>ext100relTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;100 rel (PRACK):</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>ext100relComboBox</cstring>
- </property>
- </widget>
- <widget class="QCheckBox" row="1" column="0">
- <property name="name">
- <cstring>extReplacesCheckBox</cstring>
- </property>
- <property name="text">
- <string>Replaces</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if the Replaces-extenstion is supported.</string>
- </property>
- </widget>
- </grid>
- </widget>
- </grid>
+ </widget>
+ </item>
+ <item row="4" column="1">
+ <widget class="QLabel" name="spxUwbPayloadTextLabel">
+ <property name="text">
+ <string>&amp;Ultra wide band payload type:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>spxUwbPayloadSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <widget class="QLabel" name="spxWbPayloadTextLabel">
+ <property name="text">
+ <string>&amp;Wide band payload type:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>spxWbPayloadSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QCheckBox" name="spxVbrCheckBox">
+ <property name="text">
+ <string>Variable &amp;bit-rate</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+B</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Variable bit-rate (VBR) allows a codec to change its bit-rate dynamically to adapt to the &quot;difficulty&quot; of the audio being encoded. In the example of Speex, sounds like vowels and high-energy transients require a higher bit-rate to achieve good quality, while fricatives (e.g. s,f sounds) can be coded adequately with less bits. For this reason, VBR can achieve a lower bit-rate for the same quality, or a better quality for a certain bit-rate. Despite its advantages, VBR has two main drawbacks: first, by only specifying quality, there's no guarantee about the final average bit-rate. Second, for some real-time applications like voice over IP (VoIP), what counts is the maximum bit-rate, which must be low enough for the communication channel.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="2">
+ <widget class="QSpinBox" name="spxUwbPayloadSpinBox">
+ <property name="maximum">
+ <number>127</number>
+ </property>
+ <property name="minimum">
+ <number>96</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The dynamic type value (96 or higher) to be used for speex wide band.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QCheckBox" name="spxDtxCheckBox">
+ <property name="text">
+ <string>Discontinuous &amp;Transmission</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+T</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Discontinuous transmission is an addition to VAD/VBR operation, that allows to stop transmitting completely when the background noise is stationary.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="2">
+ <widget class="QSpinBox" name="spxWbPayloadSpinBox">
+ <property name="maximum">
+ <number>127</number>
+ </property>
+ <property name="minimum">
+ <number>96</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The dynamic type value (96 or higher) to be used for speex wide band.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <widget class="QSpinBox" name="spxNbPayloadSpinBox">
+ <property name="maximum">
+ <number>127</number>
+ </property>
+ <property name="minimum">
+ <number>96</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The dynamic type value (96 or higher) to be used for speex narrow band.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLabel" name="spxQualityTextLabel">
+ <property name="text">
+ <string>&amp;Quality:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>spxQualitySpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <widget class="QSpinBox" name="spxQualitySpinBox">
+ <property name="maximum">
+ <number>10</number>
+ </property>
+ <property name="minimum">
+ <number>0</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Speex is a lossy codec, which means that it achives compression at the expense of fidelity of the input speech signal. Unlike some other speech codecs, it is possible to control the tradeoff made between quality and bit-rate. The Speex encoding process is controlled most of the time by a quality parameter that ranges from 0 to 10.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLabel" name="spxComplexityTextLabel">
+ <property name="text">
+ <string>Co&amp;mplexity:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>spxComplexitySpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QSpinBox" name="spxComplexitySpinBox">
+ <property name="maximum">
+ <number>10</number>
+ </property>
+ <property name="minimum">
+ <number>1</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>With Speex, it is possible to vary the complexity allowed for the encoder. This is done by controlling how the search is performed with an integer ranging from 1 to 10 in a way that's similar to the -1 to -9 options to gzip and bzip2 compression utilities. For normal use, the noise level at complexity 1 is between 1 and 2 dB higher than at complexity 10, but the CPU requirements for complexity 10 is about 5 times higher than for complexity 1. In practice, the best trade-off is between complexity 2 and 4, though higher settings are often useful when encoding non-speech sounds like DTMF tones.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QLabel" name="spxNbPayloadTextLabel">
+ <property name="text">
+ <string>&amp;Narrow band payload type:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>spxNbPayloadSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="spacer23_2">
+ <property name="sizeHint">
+ <size>
+ <width>31</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
</widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>tab</cstring>
- </property>
- <attribute name="title">
- <string>REFER</string>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ </item>
+ <item>
+ <spacer name="spacer30_2">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>121</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="tabG726">
+ <attribute name="title">
+ <string>G.726</string>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="Q3GroupBox" name="g726GroupBox">
+ <property name="title">
+ <string>G.726</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <layout class="QGridLayout">
+ <item row="3" column="0">
+ <widget class="QLabel" name="g72640PayloadTypeTextLabel">
+ <property name="text">
+ <string>G.726 &amp;40 kbps payload type:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>g72640PayloadSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <widget class="QSpinBox" name="g72640PayloadSpinBox">
+ <property name="maximum">
+ <number>127</number>
+ </property>
+ <property name="minimum">
+ <number>96</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The dynamic type value (96 or higher) to be used for G.726 40 kbps.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QSpinBox" name="g72632PayloadSpinBox">
+ <property name="maximum">
+ <number>127</number>
+ </property>
+ <property name="minimum">
+ <number>0</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The dynamic type value (96 or higher) to be used for G.726 32 kbps.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="g72624PayloadTypeTextLabel">
+ <property name="text">
+ <string>G.726 &amp;24 kbps payload type:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>g72624PayloadSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QSpinBox" name="g72624PayloadSpinBox">
+ <property name="maximum">
+ <number>127</number>
+ </property>
+ <property name="minimum">
+ <number>96</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The dynamic type value (96 or higher) to be used for G.726 24 kbps.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="g72632PayloadTypeTextLabel">
+ <property name="text">
+ <string>G.726 &amp;32 kbps payload type:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>g72632PayloadSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QSpinBox" name="g72616PayloadSpinBox">
+ <property name="maximum">
+ <number>127</number>
+ </property>
+ <property name="minimum">
+ <number>96</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The dynamic type value (96 or higher) to be used for G.726 16 kbps.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="g72616PayloadTypeTextLabel">
+ <property name="text">
+ <string>G.726 &amp;16 kbps payload type:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>g72616PayloadSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="0" column="1">
+ <spacer name="spacer31">
+ <property name="sizeHint">
+ <size>
+ <width>231</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
</property>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>referGroupBox</cstring>
- </property>
- <property name="title">
- <string>Call transfer (REFER)</string>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>allowReferCheckBox</cstring>
- </property>
- <property name="text">
- <string>Accept call &amp;transfer request (incoming REFER)</string>
- </property>
- <property name="accel">
- <string>Alt+T</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if Twinkle should transfer a call if a REFER request is received.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>askUserReferCheckBox</cstring>
- </property>
- <property name="text">
- <string>As&amp;k user permission to transfer</string>
- </property>
- <property name="accel">
- <string>Alt+K</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if Twinkle should ask the user before transferring a call when a REFER request is received.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>refereeHoldCheckBox</cstring>
- </property>
- <property name="text">
- <string>Hold call &amp;with referrer while setting up call to transfer target</string>
- </property>
- <property name="accel">
- <string>Alt+W</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if Twinkle should put the current call on hold when a REFER request to transfer a call is received.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>referrerHoldCheckBox</cstring>
- </property>
- <property name="text">
- <string>Ho&amp;ld call with referee before sending REFER</string>
- </property>
- <property name="accel">
- <string>Alt+L</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Indicates if Twinkle should put the current call on hold when you transfer a call.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>refreshReferSubCheckBox</cstring>
- </property>
- <property name="text">
- <string>Auto re&amp;fresh subscription to refer event while call transfer is not finished</string>
- </property>
- <property name="accel">
- <string>Alt+F</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>While a call is being transferred, the referee sends NOTIFY messages to the referrer about the progress of the transfer. These messages are only sent for a short interval which length is determined by the referee. If you tick this box, the referrer will automatically send a SUBSCRIBE to lengthen this interval if it is about to expire and the transfer has not yet been completed.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>referAorCheckBox</cstring>
- </property>
- <property name="text">
- <string>Attended refer to AoR (Address of Record)</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>An attended call transfer should use the contact URI as a refer target. A contact URI may not be globally routable however. Alternatively the AoR (Address of Record) may be used. A disadvantage is that the AoR may route to multiple endpoints in case of forking whereas the contact URI routes to a single endoint.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>transferConsultInprogCheckBox</cstring>
- </property>
- <property name="text">
- <string>Allow call transfer while consultation in progress</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>When you perform an attended call transfer, you normally transfer the call after you established a consultation call. If you enable this option you can transfer the call while the consultation call is still in progress. This is a non-standard implementation and may not work with all SIP devices.</string>
- </property>
- </widget>
- </vbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer25</cstring>
+ </spacer>
+ </item>
+ <item row="1" column="0" rowspan="1" colspan="2">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="g726PackingTextLabel">
+ <property name="text">
+ <string>Codeword &amp;packing order:</string>
</property>
- <property name="orientation">
- <enum>Vertical</enum>
+ <property name="buddy" stdset="0">
+ <cstring>g726PackComboBox</cstring>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QComboBox" name="g726PackComboBox">
+ <property name="whatsThis" stdset="0">
+ <string>There are 2 standards to pack the G.726 codewords into an RTP packet. RFC 3551 is the default packing method. Some SIP devices use ATM AAL2 however. If you experience bad quality using G.726 with RFC 3551 packing, then try ATM AAL2 packing.</string>
+ </property>
+ <item>
+ <property name="text">
+ <string>RFC 3551</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>ATM AAL2</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer40_2">
<property name="sizeHint">
- <size>
- <width>20</width>
- <height>200</height>
- </size>
+ <size>
+ <width>141</width>
+ <height>20</height>
+ </size>
</property>
- </spacer>
- </vbox>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ </layout>
</widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>TabPage</cstring>
- </property>
- <attribute name="title">
- <string>Privacy</string>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ </item>
+ <item>
+ <spacer name="spacer32">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>150</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="tabDtmf">
+ <attribute name="title">
+ <string>DT&amp;MF</string>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="Q3GroupBox" name="dtmfGroupBox">
+ <property name="title">
+ <string>DTMF</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="1" column="1">
+ <spacer name="spacer17">
+ <property name="sizeHint">
+ <size>
+ <width>280</width>
+ <height>20</height>
+ </size>
</property>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>privacyGroupBox</cstring>
- </property>
- <property name="title">
- <string>Privacy options</string>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>pPreferredIdCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Send P-Preferred-Identity header when hiding user identity</string>
- </property>
- <property name="accel">
- <string>Alt+S</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Include a P-Preferred-Identity header with your identity in an INVITE request for a call with identity hiding.</string>
- </property>
- </widget>
- </vbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer40</cstring>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item row="1" column="0">
+ <layout class="QGridLayout">
+ <item row="0" column="2">
+ <widget class="QSpinBox" name="dtmfPayloadTypeSpinBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="orientation">
- <enum>Vertical</enum>
+ <property name="minimumSize">
+ <size>
+ <width>49</width>
+ <height>0</height>
+ </size>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+ </size>
</property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>331</height>
- </size>
+ <property name="maximum">
+ <number>127</number>
</property>
- </spacer>
- </vbox>
- </widget>
- </widget>
- </grid>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageNat</cstring>
- </property>
- <attribute name="id">
- <number>4</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>NatTitleTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
- </property>
- <property name="text">
- <string>Transport/NAT</string>
- </property>
- <property name="indent">
- <number>10</number>
- </property>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>transportGroupBox</cstring>
- </property>
- <property name="title">
- <string>SIP transport</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QComboBox" row="0" column="1" rowspan="1" colspan="2">
- <item>
+ <property name="minimum">
+ <number>96</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The dynamic type value (96 or higher) to be used for DTMF events (RFC 2833).</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="3">
+ <widget class="QLabel" name="dtmfDurationMsTextLabel">
<property name="text">
- <string>Auto</string>
+ <string>ms</string>
</property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
</item>
- <item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="dtmfVolumeTextLabel">
+ <property name="text">
+ <string>DTMF vo&amp;lume:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>dtmfVolumeSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="2">
+ <widget class="QSpinBox" name="dtmfVolumeSpinBox">
+ <property name="maximum">
+ <number>0</number>
+ </property>
+ <property name="minimum">
+ <number>-63</number>
+ </property>
+ <property name="singleStep">
+ <number>10</number>
+ </property>
+ <property name="value">
+ <number>-10</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The power level of the DTMF tone in dB.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <widget class="QSpinBox" name="dtmfPauseSpinBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>49</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+ </size>
+ </property>
+ <property name="maximum">
+ <number>100</number>
+ </property>
+ <property name="minimum">
+ <number>20</number>
+ </property>
+ <property name="singleStep">
+ <number>10</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The pause after a DTMF tone.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0" rowspan="1" colspan="2">
+ <widget class="QLabel" name="dtmfDurationTextLabel">
<property name="text">
- <string>UDP</string>
+ <string>DTMF &amp;duration:</string>
</property>
+ <property name="buddy" stdset="0">
+ <cstring>dtmfDurationSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
</item>
+ <item row="2" column="3">
+ <widget class="QLabel" name="dtmfPauseMsTextLabel">
+ <property name="text">
+ <string>ms</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0" rowspan="1" colspan="2">
+ <widget class="QLabel" name="dtmfPayloadTypeTextLabel">
+ <property name="text">
+ <string>DTMF payload &amp;type:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>dtmfPayloadTypeSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" rowspan="1" colspan="2">
+ <widget class="QLabel" name="dtmfPauseTextLabel">
+ <property name="text">
+ <string>DTMF &amp;pause:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>dtmfPauseSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="3">
+ <widget class="QLabel" name="dtmfVolDbmTextLabel">
+ <property name="text">
+ <string>dB</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QSpinBox" name="dtmfDurationSpinBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>49</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+ </size>
+ </property>
+ <property name="maximum">
+ <number>500</number>
+ </property>
+ <property name="minimum">
+ <number>40</number>
+ </property>
+ <property name="singleStep">
+ <number>10</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Duration of a DTMF tone.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="0" column="0" rowspan="1" colspan="2">
+ <layout class="QHBoxLayout">
<item>
+ <widget class="QLabel" name="dtmfTransportTextLabel">
<property name="text">
- <string>TCP</string>
+ <string>DTMF t&amp;ransport:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>dtmfTransportComboBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
+ </widget>
</item>
- <property name="name">
- <cstring>sipTransportComboBox</cstring>
+ <item>
+ <widget class="QComboBox" name="dtmfTransportComboBox">
+ <property name="whatsThis" stdset="0">
+ <string>&lt;h2&gt;RFC 2833&lt;/h2&gt;
+&lt;p&gt;Send DTMF tones as RFC 2833 telephone events.&lt;/p&gt;
+&lt;h2&gt;Inband&lt;/h2&gt;
+&lt;p&gt;Send DTMF inband.&lt;/p&gt;
+&lt;h2&gt;Auto&lt;/h2&gt;
+&lt;p&gt;If the far end of your call supports RFC 2833, then a DTMF tone will be send as RFC 2833 telephone event, otherwise it will be sent inband.
+&lt;/p&gt;
+&lt;h2&gt;Out-of-band (SIP INFO)&lt;/h2&gt;
+&lt;p&gt;
+Send DTMF out-of-band via a SIP INFO request.
+&lt;/p&gt;</string>
+ </property>
+ <item>
+ <property name="text">
+ <string>Auto</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>RFC 2833</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Inband</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Out-of-band (SIP INFO)</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer22_2">
+ <property name="sizeHint">
+ <size>
+ <width>161</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer23_3">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>120</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageSipProtocol">
+ <attribute name="id">
+ <number>3</number>
+ </attribute>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="sipProtocolTitleTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>SIP protocol</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QTabWidget" name="sipProtoclTabWidget">
+ <widget class="QWidget" name="tab">
+ <attribute name="title">
+ <string>General</string>
+ </attribute>
+ <layout class="QGridLayout">
+ <item row="2" column="1">
+ <spacer name="spacer24_2">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ <item row="0" column="0" rowspan="1" colspan="2">
+ <widget class="Q3GroupBox" name="optionsGroupBox">
+ <property name="title">
+ <string>Protocol options</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="holdVariantTextLabel">
+ <property name="text">
+ <string>Call &amp;Hold variant:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>holdVariantComboBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QComboBox" name="holdVariantComboBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>110</width>
+ <height>0</height>
+ </size>
</property>
<property name="whatsThis" stdset="0">
- <string>Transport mode for SIP. In auto mode, the size of a message determines which transport protocol is used. Messages larger than the UDP threshold are sent via TCP. Smaller messages are sent via UDP.</string>
+ <string>Indicates if RFC 2543 (set media IP address in SDP to 0.0.0.0) or RFC 3264 (use direction attributes in SDP) is used to put a call on-hold.</string>
</property>
- </widget>
- <spacer row="0" column="3">
- <property name="name">
- <cstring>spacer46</cstring>
+ <item>
+ <property name="text">
+ <string>RFC 2543</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>RFC 3264</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <spacer name="spacer4">
+ <property name="sizeHint">
+ <size>
+ <width>70</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
</property>
<property name="orientation">
- <enum>Horizontal</enum>
+ <enum>Qt::Horizontal</enum>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ </spacer>
+ </item>
+ <item row="2" column="0" rowspan="1" colspan="3">
+ <widget class="QCheckBox" name="missingContactCheckBox">
+ <property name="text">
+ <string>Allow m&amp;issing Contact header in 200 OK on REGISTER</string>
</property>
- <property name="sizeHint">
- <size>
- <width>151</width>
- <height>20</height>
- </size>
+ <property name="shortcut">
+ <string>Alt+I</string>
</property>
- </spacer>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>sipTransportTextLabel</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>A 200 OK response on a REGISTER request must contain a Contact header. Some registrars however, do not include a Contact header or include a wrong Contact header. This option allows for such a deviation from the specs.</string>
</property>
+ </widget>
+ </item>
+ <item row="1" column="0" rowspan="1" colspan="3">
+ <widget class="QCheckBox" name="maxForwardsCheckBox">
<property name="text">
- <string>T&amp;ransport protocol:</string>
+ <string>&amp;Max-Forwards header is mandatory</string>
</property>
- <property name="buddy" stdset="0">
- <cstring>sipTransportComboBox</cstring>
+ <property name="shortcut">
+ <string>Alt+M</string>
</property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>udpThresholdTextLabel</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>According to RFC 3261 the Max-Forwards header is mandatory. But many implementations do not send this header. If you tick this box, Twinkle will reject a SIP request if Max-Forwards is missing.</string>
</property>
+ </widget>
+ </item>
+ <item row="3" column="0" rowspan="1" colspan="3">
+ <widget class="QCheckBox" name="regTimeCheckBox">
<property name="text">
- <string>UDP t&amp;hreshold:</string>
+ <string>Put &amp;registration expiry time in contact header</string>
</property>
- <property name="buddy" stdset="0">
- <cstring>udpThresholdSpinBox</cstring>
+ <property name="shortcut">
+ <string>Alt+R</string>
</property>
- </widget>
- <widget class="QSpinBox" row="1" column="1">
- <property name="name">
- <cstring>udpThresholdSpinBox</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>In a REGISTER message the expiry time for registration can be put in the Contact header or in the Expires header. If you tick this box it will be put in the Contact header, otherwise it goes in the Expires header.</string>
</property>
- <property name="suffix">
- <string>bytes</string>
+ </widget>
+ </item>
+ <item row="4" column="0" rowspan="1" colspan="3">
+ <widget class="QCheckBox" name="compactHeadersCheckBox">
+ <property name="text">
+ <string>&amp;Use compact header names</string>
</property>
- <property name="maxValue">
- <number>65535</number>
+ <property name="shortcut">
+ <string>Alt+U</string>
</property>
- <property name="lineStep">
- <number>100</number>
+ <property name="whatsThis" stdset="0">
+ <string>Indicates if compact header names should be used for headers that have a compact form.</string>
</property>
- <property name="value">
- <number>1300</number>
+ </widget>
+ </item>
+ <item row="7" column="0" rowspan="1" colspan="3">
+ <widget class="QCheckBox" name="allowSdpChangeCheckBox">
+ <property name="text">
+ <string>Allow SDP change during call setup</string>
</property>
<property name="whatsThis" stdset="0">
- <string>Messages larger than the threshold are sent via TCP. Smaller messages are sent via UDP.</string>
+ <string>&lt;p&gt;A SIP UAS may send SDP in a 1XX response for early media, e.g. ringing tone. When the call is answered the SIP UAS should send the same SDP in the 200 OK response according to RFC 3261. Once SDP has been received, SDP in subsequent responses should be discarded.&lt;/p&gt;
+&lt;p&gt;By allowing SDP to change during call setup, Twinkle will not discard SDP in subsequent responses and modify the media stream if the SDP is changed. When the SDP in a response is changed, it must have a new version number in the o= line.&lt;/p&gt;</string>
</property>
- </widget>
- <spacer row="1" column="2" rowspan="1" colspan="2">
- <property name="name">
- <cstring>spacer47</cstring>
+ </widget>
+ </item>
+ <item row="6" column="0" rowspan="1" colspan="3">
+ <widget class="QCheckBox" name="useDomainInContactCheckBox">
+ <property name="text">
+ <string>Use domain &amp;name to create a unique contact header value</string>
</property>
- <property name="orientation">
- <enum>Horizontal</enum>
+ <property name="shortcut">
+ <string>Alt+N</string>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
+Twinkle creates a unique contact header value by combining the SIP user name and domain:
+&lt;/p&gt;
+&lt;p&gt;
+&lt;tt&gt;&amp;nbsp;user_domain@local_ip&lt;/tt&gt;
+&lt;/p&gt;
+&lt;p&gt;
+This way 2 user profiles, having the same user name but different domain names, have unique contact addresses and hence can be activated simultaneously.
+&lt;/p&gt;
+&lt;p&gt;
+Some proxies do not handle a contact header value like this. You can disable this option to get a contact header value like this:
+&lt;/p&gt;
+&lt;p&gt;
+&lt;tt&gt;&amp;nbsp;user@local_ip&lt;/tt&gt;
+&lt;/p&gt;
+&lt;p&gt;
+This format is what most SIP phones use.
+&lt;/p&gt;</string>
</property>
- <property name="sizeHint">
- <size>
- <width>81</width>
- <height>20</height>
- </size>
+ </widget>
+ </item>
+ <item row="5" column="0" rowspan="1" colspan="3">
+ <widget class="QCheckBox" name="multiValuesListCheckBox">
+ <property name="text">
+ <string>&amp;Encode Via, Route, Record-Route as list</string>
</property>
- </spacer>
- </grid>
- </widget>
- <widget class="QButtonGroup">
- <property name="name">
- <cstring>natTraversalButtonGroup_</cstring>
- </property>
- <property name="title">
- <string>NAT traversal</string>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QRadioButton">
- <property name="name">
- <cstring>natNoneRadioButton</cstring>
+ <property name="shortcut">
+ <string>Alt+E</string>
</property>
+ <property name="whatsThis" stdset="0">
+ <string>The Via, Route and Record-Route headers can be encoded as a list of comma separated values or as multiple occurrences of the same header.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="Q3GroupBox" name="redirectionGroupBox">
+ <property name="title">
+ <string>Redirection</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="0" column="0" rowspan="1" colspan="2">
+ <widget class="QCheckBox" name="allowRedirectionCheckBox">
<property name="text">
- <string>&amp;NAT traversal not needed</string>
+ <string>&amp;Allow redirection</string>
</property>
- <property name="accel">
- <string>Alt+N</string>
+ <property name="shortcut">
+ <string>Alt+A</string>
</property>
<property name="whatsThis" stdset="0">
- <string>Choose this option when there is no NAT device between you and your SIP proxy or when your SIP provider offers hosted NAT traversal.</string>
+ <string>Indicates if Twinkle should redirect a request if a 3XX response is received.</string>
</property>
- </widget>
- <widget class="QRadioButton">
- <property name="name">
- <cstring>natStaticRadioButton</cstring>
+ </widget>
+ </item>
+ <item row="1" column="0" rowspan="1" colspan="3">
+ <widget class="QCheckBox" name="askUserRedirectCheckBox">
+ <property name="text">
+ <string>Ask user &amp;permission to redirect</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+P</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Indicates if Twinkle should ask the user before redirecting a request when a 3XX response is received.</string>
</property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="maxRedirectTextLabel">
<property name="text">
- <string>&amp;Use statically configured public IP address inside SIP messages</string>
+ <string>Max re&amp;directions:</string>
</property>
- <property name="accel">
- <string>Alt+U</string>
+ <property name="buddy" stdset="0">
+ <cstring>maxRedirectSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QSpinBox" name="maxRedirectSpinBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>46</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximum">
+ <number>5</number>
+ </property>
+ <property name="minimum">
+ <number>1</number>
</property>
<property name="whatsThis" stdset="0">
- <string>Indicates if Twinkle should use the public IP address specified in the next field inside SIP message, i.e. in SIP headers and SDP body instead of the IP address of your network interface.&lt;br&gt;&lt;br&gt;
-When you choose this option you have to create static address mappings in your NAT device as well. You have to map the RTP ports on the public IP address to the same ports on the private IP address of your PC.</string>
+ <string>The number of redirect addresses that Twinkle tries at a maximum before it gives up redirecting a request. This prevents a request from getting redirected forever.</string>
</property>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout32</cstring>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <spacer name="spacer5">
+ <property name="sizeHint">
+ <size>
+ <width>80</width>
+ <height>20</height>
+ </size>
</property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>publicIPTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Public IP address:</string>
- </property>
- <property name="indent">
- <number>21</number>
- </property>
- <property name="buddy" stdset="0">
- <cstring>publicIPLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>publicIPLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The public IP address of your NAT.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="QRadioButton">
- <property name="name">
- <cstring>natStunRadioButton</cstring>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
</property>
- <property name="text">
- <string>Use &amp;STUN (does not work for incoming TCP)</string>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
</property>
- <property name="accel">
- <string>Alt+S</string>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="Q3GroupBox" name="sipExtensionsGroupBox">
+ <property name="title">
+ <string>SIP extensions</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="0" column="1">
+ <widget class="QComboBox" name="ext100relComboBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>120</width>
+ <height>0</height>
+ </size>
</property>
<property name="whatsThis" stdset="0">
- <string>Choose this option when your SIP provider offers a STUN server for NAT traversal.</string>
+ <string>Indicates if the 100rel extension (PRACK) is supported:&lt;br&gt;&lt;br&gt;
+&lt;b&gt;disabled&lt;/b&gt;: 100rel extension is disabled
+&lt;br&gt;&lt;br&gt;
+&lt;b&gt;supported&lt;/b&gt;: 100rel is supported (it is added in the supported header of an outgoing INVITE). A far-end can now require a PRACK on a 1xx response.
+&lt;br&gt;&lt;br&gt;
+&lt;b&gt;required&lt;/b&gt;: 100rel is required (it is put in the require header of an outgoing INVITE). If an incoming INVITE indicates that it supports 100rel, then Twinkle will require a PRACK when sending a 1xx response. A call will fail when the far-end does not support 100rel.
+&lt;br&gt;&lt;br&gt;
+&lt;b&gt;preferred&lt;/b&gt;: Similar to required, but if a call fails because the far-end indicates it does not support 100rel (420 response) then the call will be re-attempted without the 100rel requirement.</string>
</property>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout33</cstring>
+ <item>
+ <property name="text">
+ <string>disabled</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>supported</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>required</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>preferred</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="ext100relTextLabel">
+ <property name="text">
+ <string>&amp;100 rel (PRACK):</string>
</property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>stunServerTextLabel</cstring>
- </property>
- <property name="text">
- <string>S&amp;TUN server:</string>
- </property>
- <property name="indent">
- <number>21</number>
- </property>
- <property name="buddy" stdset="0">
- <cstring>stunServerLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>stunServerLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The hostname, domain name or IP address of the STUN server.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>persistentTcpCheckBox</cstring>
+ <property name="buddy" stdset="0">
+ <cstring>ext100relComboBox</cstring>
</property>
- <property name="text">
- <string>P&amp;ersistent TCP connection</string>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
- <property name="accel">
- <string>Alt+E</string>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QCheckBox" name="extReplacesCheckBox">
+ <property name="text">
+ <string>Replaces</string>
</property>
<property name="whatsThis" stdset="0">
- <string>Keep the TCP connection established during registration open such that the SIP proxy can reuse this connection to send incoming requests. Application ping packets are sent to test if the connection is still alive.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>natKeepaliveCheckBox</cstring>
+ <string>Indicates if the Replaces-extenstion is supported.</string>
</property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="tab">
+ <attribute name="title">
+ <string>REFER</string>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="Q3GroupBox" name="referGroupBox">
+ <property name="title">
+ <string>Call transfer (REFER)</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QCheckBox" name="allowReferCheckBox">
<property name="text">
- <string>Enable NAT &amp;keep alive</string>
+ <string>Accept call &amp;transfer request (incoming REFER)</string>
</property>
- <property name="accel">
- <string>Alt+K</string>
+ <property name="shortcut">
+ <string>Alt+T</string>
</property>
<property name="whatsThis" stdset="0">
- <string>Send UDP NAT keep alive packets.</string>
- </property>
- </widget>
- </vbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer19</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>80</height>
- </size>
- </property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageAddressFormat</cstring>
- </property>
- <attribute name="id">
- <number>5</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>addressFormatTitleTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
- </property>
- <property name="text">
- <string>Address format</string>
- </property>
- <property name="indent">
- <number>10</number>
- </property>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>telNumberGroupBox</cstring>
- </property>
- <property name="title">
- <string>Telephone numbers</string>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QCheckBox" row="0" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>displayTelUserCheckBox</cstring>
+ <string>Indicates if Twinkle should transfer a call if a REFER request is received.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="askUserReferCheckBox">
<property name="text">
- <string>Only &amp;display user part of URI for telephone number</string>
+ <string>As&amp;k user permission to transfer</string>
</property>
- <property name="accel">
- <string>Alt+D</string>
+ <property name="shortcut">
+ <string>Alt+K</string>
</property>
<property name="whatsThis" stdset="0">
- <string>If a URI indicates a telephone number, then only display the user part. E.g. if a call comes in from sip:123456@twinklephone.com then display only "123456" to the user. A URI indicates a telephone number if it contains the "user=phone" parameter or when it has a numerical user part and you ticked the next option.</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="1" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>numericalUserIsTelCheckBox</cstring>
+ <string>Indicates if Twinkle should ask the user before transferring a call when a REFER request is received.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="refereeHoldCheckBox">
<property name="text">
- <string>&amp;URI with numerical user part is a telephone number</string>
+ <string>Hold call &amp;with referrer while setting up call to transfer target</string>
</property>
- <property name="accel">
- <string>Alt+U</string>
+ <property name="shortcut">
+ <string>Alt+W</string>
</property>
<property name="whatsThis" stdset="0">
- <string>If you tick this option, then Twinkle considers a SIP address that has a user part that consists of digits, *, #, + and special symbols only as a telephone number. In an outgoing message, Twinkle will add the "user=phone" parameter to such a URI.</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>removeSpecialCheckBox</cstring>
+ <string>Indicates if Twinkle should put the current call on hold when a REFER request to transfer a call is received.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="referrerHoldCheckBox">
<property name="text">
- <string>&amp;Remove special symbols from numerical dial strings</string>
+ <string>Ho&amp;ld call with referee before sending REFER</string>
</property>
- <property name="accel">
- <string>Alt+R</string>
+ <property name="shortcut">
+ <string>Alt+L</string>
</property>
<property name="whatsThis" stdset="0">
- <string>Telephone numbers are often written with special symbols like dashes and brackets to make them readable to humans. When you dial such a number the special symbols must not be dialed. To allow you to simply copy/paste such a number into Twinkle, Twinkle can remove these symbols when you hit the dial button.</string>
- </property>
- </widget>
- <widget class="QCheckBox" row="4" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>useTelUriCheckBox</cstring>
+ <string>Indicates if Twinkle should put the current call on hold when you transfer a call.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="refreshReferSubCheckBox">
<property name="text">
- <string>Use tel-URI for telephone &amp;number</string>
+ <string>Auto re&amp;fresh subscription to refer event while call transfer is not finished</string>
</property>
- <property name="accel">
- <string>Alt+N</string>
+ <property name="shortcut">
+ <string>Alt+F</string>
</property>
<property name="whatsThis" stdset="0">
- <string>Expand a dialed telephone number to a tel-URI instead of a sip-URI.</string>
+ <string>While a call is being transferred, the referee sends NOTIFY messages to the referrer about the progress of the transfer. These messages are only sent for a short interval which length is determined by the referee. If you tick this box, the referrer will automatically send a SUBSCRIBE to lengthen this interval if it is about to expire and the transfer has not yet been completed.</string>
</property>
- </widget>
- <widget class="QLabel" row="3" column="0">
- <property name="name">
- <cstring>specialTextLabel</cstring>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="referAorCheckBox">
+ <property name="text">
+ <string>Attended refer to AoR (Address of Record)</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>An attended call transfer should use the contact URI as a refer target. A contact URI may not be globally routable however. Alternatively the AoR (Address of Record) may be used. A disadvantage is that the AoR may route to multiple endpoints in case of forking whereas the contact URI routes to a single endoint.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="transferConsultInprogCheckBox">
<property name="text">
- <string>&amp;Special symbols:</string>
+ <string>Allow call transfer while consultation in progress</string>
</property>
- <property name="buddy" stdset="0">
- <cstring>specialLineEdit</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>When you perform an attended call transfer, you normally transfer the call after you established a consultation call. If you enable this option you can transfer the call while the consultation call is still in progress. This is a non-standard implementation and may not work with all SIP devices.</string>
</property>
- </widget>
- <widget class="QLineEdit" row="3" column="1">
- <property name="name">
- <cstring>specialLineEdit</cstring>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer25">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>200</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="TabPage">
+ <attribute name="title">
+ <string>Privacy</string>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="Q3GroupBox" name="privacyGroupBox">
+ <property name="title">
+ <string>Privacy options</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QCheckBox" name="pPreferredIdCheckBox">
+ <property name="text">
+ <string>&amp;Send P-Preferred-Identity header when hiding user identity</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+S</string>
</property>
<property name="whatsThis" stdset="0">
- <string>The special symbols that may be part of a telephone number for nice formatting, but must be removed when dialing.</string>
+ <string>Include a P-Preferred-Identity header with your identity in an INVITE request for a call with identity hiding.</string>
</property>
- </widget>
- </grid>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>conversionGroupBox</cstring>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer40">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>331</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageNat">
+ <attribute name="id">
+ <number>4</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="NatTitleTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>Transport/NAT</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="transportGroupBox">
+ <property name="title">
+ <string>SIP transport</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="0" column="1" rowspan="1" colspan="2">
+ <widget class="QComboBox" name="sipTransportComboBox">
+ <property name="whatsThis" stdset="0">
+ <string>Transport mode for SIP. In auto mode, the size of a message determines which transport protocol is used. Messages larger than the UDP threshold are sent via TCP. Smaller messages are sent via UDP.</string>
+ </property>
+ <item>
+ <property name="text">
+ <string>Auto</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>UDP</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>TCP</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="0" column="3">
+ <spacer name="spacer46">
+ <property name="sizeHint">
+ <size>
+ <width>151</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="sipTransportTextLabel">
+ <property name="text">
+ <string>T&amp;ransport protocol:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>sipTransportComboBox</cstring>
</property>
- <property name="title">
- <string>Number conversion</string>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="udpThresholdTextLabel">
+ <property name="text">
+ <string>UDP t&amp;hreshold:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>udpThresholdSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QSpinBox" name="udpThresholdSpinBox">
+ <property name="suffix">
+ <string>bytes</string>
+ </property>
+ <property name="maximum">
+ <number>65535</number>
+ </property>
+ <property name="singleStep">
+ <number>100</number>
+ </property>
+ <property name="value">
+ <number>1300</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Messages larger than the threshold are sent via TCP. Smaller messages are sent via UDP.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2" rowspan="1" colspan="2">
+ <spacer name="spacer47">
+ <property name="sizeHint">
+ <size>
+ <width>81</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3ButtonGroup" name="natTraversalButtonGroup_">
+ <property name="title">
+ <string>NAT traversal</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QRadioButton" name="natNoneRadioButton">
+ <property name="text">
+ <string>&amp;NAT traversal not needed</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+N</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Choose this option when there is no NAT device between you and your SIP proxy or when your SIP provider offers hosted NAT traversal.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QRadioButton" name="natStaticRadioButton">
+ <property name="text">
+ <string>&amp;Use statically configured public IP address inside SIP messages</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+U</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Indicates if Twinkle should use the public IP address specified in the next field inside SIP message, i.e. in SIP headers and SDP body instead of the IP address of your network interface.&lt;br&gt;&lt;br&gt;
+When you choose this option you have to create static address mappings in your NAT device as well. You have to map the RTP ports on the public IP address to the same ports on the private IP address of your PC.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="publicIPTextLabel">
+ <property name="text">
+ <string>&amp;Public IP address:</string>
</property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout29</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QListView">
- <column>
- <property name="text">
- <string>Match expression</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Replace</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <property name="name">
- <cstring>conversionListView</cstring>
- </property>
- <property name="allColumnsShowFocus">
- <bool>true</bool>
- </property>
- <property name="resizeMode">
- <enum>AllColumns</enum>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
+ <property name="indent">
+ <number>21</number>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>publicIPLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="publicIPLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>The public IP address of your NAT.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="QRadioButton" name="natStunRadioButton">
+ <property name="text">
+ <string>Use &amp;STUN (does not work for incoming TCP)</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+S</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Choose this option when your SIP provider offers a STUN server for NAT traversal.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="stunServerTextLabel">
+ <property name="text">
+ <string>S&amp;TUN server:</string>
+ </property>
+ <property name="indent">
+ <number>21</number>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>stunServerLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="stunServerLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>The hostname, domain name or IP address of the STUN server.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="persistentTcpCheckBox">
+ <property name="text">
+ <string>P&amp;ersistent TCP connection</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+E</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Keep the TCP connection established during registration open such that the SIP proxy can reuse this connection to send incoming requests. Application ping packets are sent to test if the connection is still alive.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="natKeepaliveCheckBox">
+ <property name="text">
+ <string>Enable NAT &amp;keep alive</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+K</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Send UDP NAT keep alive packets.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer19">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>80</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageAddressFormat">
+ <attribute name="id">
+ <number>5</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="addressFormatTitleTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>Address format</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="telNumberGroupBox">
+ <property name="title">
+ <string>Telephone numbers</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="0" column="0" rowspan="1" colspan="2">
+ <widget class="QCheckBox" name="displayTelUserCheckBox">
+ <property name="text">
+ <string>Only &amp;display user part of URI for telephone number</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+D</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>If a URI indicates a telephone number, then only display the user part. E.g. if a call comes in from sip:123456@twinklephone.com then display only &quot;123456&quot; to the user. A URI indicates a telephone number if it contains the &quot;user=phone&quot; parameter or when it has a numerical user part and you ticked the next option.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0" rowspan="1" colspan="2">
+ <widget class="QCheckBox" name="numericalUserIsTelCheckBox">
+ <property name="text">
+ <string>&amp;URI with numerical user part is a telephone number</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+U</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>If you tick this option, then Twinkle considers a SIP address that has a user part that consists of digits, *, #, + and special symbols only as a telephone number. In an outgoing message, Twinkle will add the &quot;user=phone&quot; parameter to such a URI.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" rowspan="1" colspan="2">
+ <widget class="QCheckBox" name="removeSpecialCheckBox">
+ <property name="text">
+ <string>&amp;Remove special symbols from numerical dial strings</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+R</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Telephone numbers are often written with special symbols like dashes and brackets to make them readable to humans. When you dial such a number the special symbols must not be dialed. To allow you to simply copy/paste such a number into Twinkle, Twinkle can remove these symbols when you hit the dial button.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="0" rowspan="1" colspan="2">
+ <widget class="QCheckBox" name="useTelUriCheckBox">
+ <property name="text">
+ <string>Use tel-URI for telephone &amp;number</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+N</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Expand a dialed telephone number to a tel-URI instead of a sip-URI.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="specialTextLabel">
+ <property name="text">
+ <string>&amp;Special symbols:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>specialLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <widget class="QLineEdit" name="specialLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>The special symbols that may be part of a telephone number for nice formatting, but must be removed when dialing.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="conversionGroupBox">
+ <property name="title">
+ <string>Number conversion</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="Q3ListView" name="conversionListView">
+ <property name="allColumnsShowFocus">
+ <bool>true</bool>
+ </property>
+ <property name="resizeMode">
+ <enum>Q3ListView::AllColumns</enum>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
Often the format of the telphone numbers you need to dial is different from the format of the telephone numbers stored in your address book, e.g. your numbers start with a +-symbol followed by a country code, but your provider expects '00' instead of the '+', or you are at the office and all your numbers need to be prefixed with a '9' to access an outside line. Here you can specify number format conversion using Perl style regular expressions and format strings.
&lt;/p&gt;
&lt;p&gt;
@@ -3498,597 +3123,534 @@ You are at work and all telephone numbers starting with a 0 should be prefixed w
Match expression = 0[0-9]* , Replace = 9$&amp;&lt;br&gt;
&lt;/tt&gt;
&lt;/blockquote&gt;</string>
- </property>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout15_2</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer19_2_2</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>21</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>upConversionPushButton</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>1uparrow.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Move the selected number conversion rule upwards in the list.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>downConversionPushButton</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>1downarrow.png</pixmap>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Move the selected number conversion rule downwards in the list.</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer20_2_2</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>31</height>
- </size>
- </property>
- </spacer>
- </vbox>
- </widget>
- </hbox>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout30</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QPushButton">
- <property name="name">
- <cstring>addConversionPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Add</string>
- </property>
- <property name="accel">
- <string>Alt+A</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Add a number conversion rule.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>removePushButton</cstring>
- </property>
- <property name="text">
- <string>Re&amp;move</string>
- </property>
- <property name="accel">
- <string>Alt+M</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Remove the selected number conversion rule.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>editConversionPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Edit</string>
- </property>
- <property name="accel">
- <string>Alt+E</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Edit the selected number conversion rule.</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer38_2</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>291</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout24</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>testConversionLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Type a telephone number here an press the Test button to see how it is converted by the list of number conversion rules.</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>testConversionPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Test</string>
- </property>
- <property name="accel">
- <string>Alt+T</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Test how a number is converted by the number conversion rules.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer20</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageTimers</cstring>
- </property>
- <attribute name="id">
- <number>6</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>timersTitleTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
- </property>
- <property name="text">
- <string>Timers</string>
- </property>
- <property name="indent">
- <number>10</number>
- </property>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout7</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout6</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="0" column="2">
- <property name="name">
- <cstring>secNoanswerTextLabel</cstring>
- </property>
- <property name="text">
- <string>seconds</string>
- </property>
- </widget>
- <widget class="QSpinBox" row="1" column="1">
- <property name="name">
- <cstring>tmrNatKeepaliveSpinBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>55</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>55</width>
- <height>32767</height>
- </size>
- </property>
- <property name="maxValue">
- <number>900</number>
- </property>
- <property name="minValue">
- <number>10</number>
- </property>
- <property name="lineStep">
- <number>10</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>If you have enabled STUN or NAT keep alive, then Twinkle will send keep alive packets at this interval rate to keep the address bindings in your NAT device alive.</string>
- </property>
- </widget>
- <widget class="QSpinBox" row="0" column="1">
- <property name="name">
- <cstring>tmrNoanswerSpinBox</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>55</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>55</width>
- <height>32767</height>
- </size>
- </property>
- <property name="maxValue">
- <number>600</number>
- </property>
- <property name="lineStep">
- <number>10</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>When an incoming call is received, this timer is started. If the user answers the call, the timer is stopped. If the timer expires before the user answers the call, then Twinkle will reject the call with a "480 User Not Responding".</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>tmrNatKeepaliveTextLabel</cstring>
- </property>
- <property name="text">
- <string>NAT &amp;keep alive:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>tmrNatKeepaliveSpinBox</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>tmrNoanswerTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;No answer:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>tmrNoanswerSpinBox</cstring>
- </property>
- </widget>
- </grid>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer23</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
+ <column>
+ <property name="text">
+ <string>Match expression</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>Replace</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ </widget>
+ </item>
+ <item>
+ <layout class="QVBoxLayout">
+ <item>
+ <spacer name="spacer19_2_2">
<property name="sizeHint">
- <size>
- <width>270</width>
- <height>20</height>
- </size>
+ <size>
+ <width>20</width>
+ <height>21</height>
+ </size>
</property>
- </spacer>
- </hbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer22</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>450</height>
- </size>
- </property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageRingTones</cstring>
- </property>
- <attribute name="id">
- <number>7</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>ringtonesTitleTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
- </property>
- <property name="text">
- <string>Ring tones</string>
- </property>
- <property name="indent">
- <number>10</number>
- </property>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout18</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QToolButton" row="1" column="2">
- <property name="name">
- <cstring>openRingbackToolButton</cstring>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
</property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
</property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="upConversionPushButton">
<property name="text">
- <string></string>
+ <string/>
</property>
- <property name="iconSet">
- <iconset>fileopen.png</iconset>
+ <property name="icon">
+ <pixmap>1uparrow.png</pixmap>
</property>
<property name="whatsThis" stdset="0">
- <string>Select ring back tone file.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="0" column="2">
- <property name="name">
- <cstring>openRingtoneToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
+ <string>Move the selected number conversion rule upwards in the list.</string>
</property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="downConversionPushButton">
<property name="text">
- <string></string>
+ <string/>
</property>
- <property name="iconSet">
- <iconset>fileopen.png</iconset>
+ <property name="icon">
+ <pixmap>1downarrow.png</pixmap>
</property>
<property name="whatsThis" stdset="0">
- <string>Select ring tone file.</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>ringbackTextLabel</cstring>
+ <string>Move the selected number conversion rule downwards in the list.</string>
</property>
- <property name="text">
- <string>Ring &amp;back tone:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>ringbackLineEdit</cstring>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer20_2_2">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>31</height>
+ </size>
</property>
- </widget>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>ringbackLineEdit</cstring>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
</property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QPushButton" name="addConversionPushButton">
+ <property name="text">
+ <string>&amp;Add</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+A</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Add a number conversion rule.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="removePushButton">
+ <property name="text">
+ <string>Re&amp;move</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+M</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Remove the selected number conversion rule.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="editConversionPushButton">
+ <property name="text">
+ <string>&amp;Edit</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+E</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Edit the selected number conversion rule.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer38_2">
+ <property name="sizeHint">
+ <size>
+ <width>291</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLineEdit" name="testConversionLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Type a telephone number here an press the Test button to see how it is converted by the list of number conversion rules.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="testConversionPushButton">
+ <property name="text">
+ <string>&amp;Test</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+T</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Test how a number is converted by the number conversion rules.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer20">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageTimers">
+ <attribute name="id">
+ <number>6</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="timersTitleTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>Timers</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <layout class="QGridLayout">
+ <item row="0" column="2">
+ <widget class="QLabel" name="secNoanswerTextLabel">
+ <property name="text">
+ <string>seconds</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QSpinBox" name="tmrNatKeepaliveSpinBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>55</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>55</width>
+ <height>32767</height>
+ </size>
+ </property>
+ <property name="maximum">
+ <number>900</number>
+ </property>
+ <property name="minimum">
+ <number>10</number>
+ </property>
+ <property name="singleStep">
+ <number>10</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>If you have enabled STUN or NAT keep alive, then Twinkle will send keep alive packets at this interval rate to keep the address bindings in your NAT device alive.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QSpinBox" name="tmrNoanswerSpinBox">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>55</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>55</width>
+ <height>32767</height>
+ </size>
+ </property>
+ <property name="maximum">
+ <number>600</number>
+ </property>
+ <property name="singleStep">
+ <number>10</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>When an incoming call is received, this timer is started. If the user answers the call, the timer is stopped. If the timer expires before the user answers the call, then Twinkle will reject the call with a &quot;480 User Not Responding&quot;.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="tmrNatKeepaliveTextLabel">
+ <property name="text">
+ <string>NAT &amp;keep alive:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>tmrNatKeepaliveSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="tmrNoanswerTextLabel">
+ <property name="text">
+ <string>&amp;No answer:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>tmrNoanswerSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="spacer23">
+ <property name="sizeHint">
+ <size>
+ <width>270</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="spacer22">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>450</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageRingTones">
+ <attribute name="id">
+ <number>7</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="ringtonesTitleTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>Ring tones</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QGridLayout">
+ <item row="1" column="2">
+ <widget class="QToolButton" name="openRingbackToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>fileopen.png</iconset>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select ring back tone file.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <widget class="QToolButton" name="openRingtoneToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>fileopen.png</iconset>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select ring tone file.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="ringbackTextLabel">
+ <property name="text">
+ <string>Ring &amp;back tone:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>ringbackLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="ringbackLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
Specify the file name of a .wav file that you want to be played as ring back tone for this user.
&lt;/p&gt;
&lt;p&gt;
This ring back tone overrides the ring back tone settings in the system settings.
&lt;/p&gt;</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>ringtoneLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="ringtoneLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
Specify the file name of a .wav file that you want to be played as ring tone for this user.
&lt;/p&gt;
&lt;p&gt;
This ring tone overrides the ring tone settings in the system settings.
&lt;/p&gt;</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>ringtoneTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Ring tone:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>ringtoneLineEdit</cstring>
- </property>
- </widget>
- </grid>
+ </property>
</widget>
- <spacer>
- <property name="name">
- <cstring>spacer30</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>391</height>
- </size>
- </property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageScripts</cstring>
- </property>
- <attribute name="id">
- <number>8</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>scriptsTitleTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
- </property>
- <property name="text">
- <string>Scripts</string>
- </property>
- <property name="indent">
- <number>10</number>
- </property>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="ringtoneTextLabel">
+ <property name="text">
+ <string>&amp;Ring tone:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>ringtoneLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout19</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLineEdit" row="6" column="1">
- <property name="name">
- <cstring>localReleaseLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="spacer30">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>391</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageScripts">
+ <attribute name="id">
+ <number>8</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="scriptsTitleTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>Scripts</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QGridLayout">
+ <item row="6" column="1">
+ <widget class="QLineEdit" name="localReleaseLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
This script is called when you release a call.
&lt;/p&gt;
&lt;h2&gt;Environment variables&lt;/h2&gt;
@@ -4097,65 +3659,61 @@ The values of all SIP headers of the outgoing SIP BYE request are passed in envi
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;TWINKLE_TRIGGER=local_release&lt;/b&gt;. &lt;b&gt;SIPREQUEST_METHOD=BYE&lt;/b&gt;. &lt;b&gt;SIPREQUEST_URI&lt;/b&gt; contains the request-URI of the BYE. The name of the user profile will be passed in &lt;b&gt;TWINKLE_USER_PROFILE&lt;/b&gt;.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="2" column="2">
- <property name="name">
- <cstring>openInCallFailedToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>fileopen.png</iconset>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select script file.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="0" column="2">
- <property name="name">
- <cstring>openIncomingCallScriptToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>fileopen.png</iconset>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select script file.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="4" column="2">
- <property name="name">
- <cstring>openOutCallAnsweredToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>fileopen.png</iconset>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select script file.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="2" column="1">
- <property name="name">
- <cstring>inCallFailedLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <widget class="QToolButton" name="openInCallFailedToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>fileopen.png</iconset>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select script file.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <widget class="QToolButton" name="openIncomingCallScriptToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>fileopen.png</iconset>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select script file.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="2">
+ <widget class="QToolButton" name="openOutCallAnsweredToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>fileopen.png</iconset>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select script file.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QLineEdit" name="inCallFailedLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
This script is called when an incoming call fails.
&lt;/p&gt;
&lt;h2&gt;Environment variables&lt;/h2&gt;
@@ -4164,31 +3722,29 @@ The values of all SIP headers of the outgoing SIP failure response are passed in
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;TWINKLE_TRIGGER=in_call_failed&lt;/b&gt;. &lt;b&gt;SIPSTATUS_CODE&lt;/b&gt; contains the status code of the failure response. &lt;b&gt;SIPSTATUS_REASON&lt;/b&gt; contains the reason phrase. The name of the user profile will be passed in &lt;b&gt;TWINKLE_USER_PROFILE&lt;/b&gt;.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="1" column="2">
- <property name="name">
- <cstring>openInCallAnsweredToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>fileopen.png</iconset>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select script file.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="7" column="1">
- <property name="name">
- <cstring>remoteReleaseLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QToolButton" name="openInCallAnsweredToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>fileopen.png</iconset>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select script file.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="1">
+ <widget class="QLineEdit" name="remoteReleaseLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
This script is called when the remote party releases a call.
&lt;/p&gt;
&lt;h2&gt;Environment variables&lt;/h2&gt;
@@ -4197,31 +3753,29 @@ The values of all SIP headers of the incoming SIP BYE request are passed in envi
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;TWINKLE_TRIGGER=remote_release&lt;/b&gt;. &lt;b&gt;SIPREQUEST_METHOD=BYE&lt;/b&gt;. &lt;b&gt;SIPREQUEST_URI&lt;/b&gt; contains the request-URI of the BYE. The name of the user profile will be passed in &lt;b&gt;TWINKLE_USER_PROFILE&lt;/b&gt;.</string>
- </property>
- </widget>
- <widget class="QToolButton" row="3" column="2">
- <property name="name">
- <cstring>openOutCallToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>fileopen.png</iconset>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select script file.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>incomingCallScriptLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="2">
+ <widget class="QToolButton" name="openOutCallToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>fileopen.png</iconset>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select script file.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="incomingCallScriptLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
You can customize the way Twinkle handles incoming calls. Twinkle can call a script when a call comes in. Based on the ouput of the script Twinkle accepts, rejects or redirects the call. When accepting the call, the ring tone can be customized by the script as well. The script can be any executable program.
&lt;/p&gt;
&lt;p&gt;
@@ -4273,14 +3827,13 @@ The values of all SIP headers in the incoming INVITE message are passed in envir
&lt;/p&gt;
&lt;p&gt;
TWINKLE_TRIGGER=in_call. SIPREQUEST_METHOD=INVITE. The request-URI of the INVITE will be passed in &lt;b&gt;SIPREQUEST_URI&lt;/b&gt;. The name of the user profile will be passed in &lt;b&gt;TWINKLE_USER_PROFILE&lt;/b&gt;.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="4" column="1">
- <property name="name">
- <cstring>outCallAnsweredLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="1">
+ <widget class="QLineEdit" name="outCallAnsweredLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
This script is called when the remote party answers your call.
&lt;/p&gt;
&lt;h2&gt;Environment variables&lt;/h2&gt;
@@ -4289,14 +3842,13 @@ The values of all SIP headers of the incoming 200 OK are passed in environment v
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;TWINKLE_TRIGGER=out_call_answered&lt;/b&gt;. &lt;b&gt;SIPSTATUS_CODE=200&lt;/b&gt;. &lt;b&gt;SIPSTATUS_REASON&lt;/b&gt; contains the reason phrase. The name of the user profile will be passed in &lt;b&gt;TWINKLE_USER_PROFILE&lt;/b&gt;.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>inCallAnsweredLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="inCallAnsweredLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
This script is called when you answer an incoming call.
&lt;/p&gt;
&lt;h2&gt;Environment variables&lt;/h2&gt;
@@ -4305,42 +3857,42 @@ The values of all SIP headers of the outgoing 200 OK are passed in environment v
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;TWINKLE_TRIGGER=in_call_answered&lt;/b&gt;. &lt;b&gt;SIPSTATUS_CODE=200&lt;/b&gt;. &lt;b&gt;SIPSTATUS_REASON&lt;/b&gt; contains the reason phrase. The name of the user profile will be passed in &lt;b&gt;TWINKLE_USER_PROFILE&lt;/b&gt;.</string>
- </property>
- </widget>
- <widget class="QLabel" row="6" column="0">
- <property name="name">
- <cstring>localReleaseTextLabel</cstring>
- </property>
- <property name="text">
- <string>Call released locall&amp;y:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>inCallFailedLineEdit</cstring>
- </property>
- </widget>
- <widget class="QToolButton" row="5" column="2">
- <property name="name">
- <cstring>openOutCallFailedToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>fileopen.png</iconset>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select script file.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="5" column="1">
- <property name="name">
- <cstring>outCallFailedLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="0">
+ <widget class="QLabel" name="localReleaseTextLabel">
+ <property name="text">
+ <string>Call released locall&amp;y:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>inCallFailedLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="2">
+ <widget class="QToolButton" name="openOutCallFailedToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>fileopen.png</iconset>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select script file.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="1">
+ <widget class="QLineEdit" name="outCallFailedLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
This script is called when an outgoing call fails.
&lt;/p&gt;
&lt;h2&gt;Environment variables&lt;/h2&gt;
@@ -4349,14 +3901,13 @@ The values of all SIP headers of the incoming SIP failure response are passed in
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;TWINKLE_TRIGGER=out_call_failed&lt;/b&gt;. &lt;b&gt;SIPSTATUS_CODE&lt;/b&gt; contains the status code of the failure response. &lt;b&gt;SIPSTATUS_REASON&lt;/b&gt; contains the reason phrase. The name of the user profile will be passed in &lt;b&gt;TWINKLE_USER_PROFILE&lt;/b&gt;.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="3" column="1">
- <property name="name">
- <cstring>outCallLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;p&gt;
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <widget class="QLineEdit" name="outCallLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;
This script is called when you make a call.
&lt;/p&gt;
&lt;h2&gt;Environment variables&lt;/h2&gt;
@@ -4365,353 +3916,311 @@ The values of all SIP headers of the outgoing INVITE are passed in environment v
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;TWINKLE_TRIGGER=out_call&lt;/b&gt;. &lt;b&gt;SIPREQUEST_METHOD=INVITE&lt;/b&gt;. &lt;b&gt;SIPREQUEST_URI&lt;/b&gt; contains the request-URI of the INVITE. The name of the user profile will be passed in &lt;b&gt;TWINKLE_USER_PROFILE&lt;/b&gt;.</string>
- </property>
- </widget>
- <widget class="QLabel" row="4" column="0">
- <property name="name">
- <cstring>outCallAnsweredTextLabel</cstring>
- </property>
- <property name="text">
- <string>Outgoing call a&amp;nswered:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>inCallAnsweredLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>inCallFailedTextLabel</cstring>
- </property>
- <property name="text">
- <string>Incoming call &amp;failed:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>inCallFailedLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>incomingCallScriptTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Incoming call:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>incomingCallScriptLineEdit</cstring>
- </property>
- </widget>
- <widget class="QToolButton" row="6" column="2">
- <property name="name">
- <cstring>openLocalReleaseToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>fileopen.png</iconset>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select script file.</string>
- </property>
- </widget>
- <widget class="QLabel" row="7" column="0">
- <property name="name">
- <cstring>remoteReleaseTextLabel</cstring>
- </property>
- <property name="text">
- <string>Call released &amp;remotely:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>inCallFailedLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>inCallAnsweredTextLabel</cstring>
- </property>
- <property name="text">
- <string>Incoming call &amp;answered:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>inCallAnsweredLineEdit</cstring>
- </property>
- </widget>
- <widget class="QToolButton" row="7" column="2">
- <property name="name">
- <cstring>openRemoteReleaseToolButton</cstring>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>fileopen.png</iconset>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select script file.</string>
- </property>
- </widget>
- <widget class="QLabel" row="3" column="0">
- <property name="name">
- <cstring>outCallTextLabel</cstring>
- </property>
- <property name="text">
- <string>O&amp;utgoing call:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>incomingCallScriptLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="5" column="0">
- <property name="name">
- <cstring>outCallFailedTextLabel</cstring>
- </property>
- <property name="text">
- <string>Out&amp;going call failed:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>inCallFailedLineEdit</cstring>
- </property>
- </widget>
- </grid>
+ </property>
</widget>
- <spacer>
- <property name="name">
- <cstring>spacer29</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>190</height>
- </size>
- </property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageSecurity</cstring>
- </property>
- <attribute name="id">
- <number>9</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>securityTitleTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
- </property>
- <property name="text">
- <string>Security</string>
- </property>
- <property name="indent">
- <number>10</number>
- </property>
+ </item>
+ <item row="4" column="0">
+ <widget class="QLabel" name="outCallAnsweredTextLabel">
+ <property name="text">
+ <string>Outgoing call a&amp;nswered:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>inCallAnsweredLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>zrtpEnabledCheckBox</cstring>
- </property>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="inCallFailedTextLabel">
+ <property name="text">
+ <string>Incoming call &amp;failed:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>inCallFailedLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="incomingCallScriptTextLabel">
+ <property name="text">
+ <string>&amp;Incoming call:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>incomingCallScriptLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="2">
+ <widget class="QToolButton" name="openLocalReleaseToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>fileopen.png</iconset>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select script file.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="0">
+ <widget class="QLabel" name="remoteReleaseTextLabel">
+ <property name="text">
+ <string>Call released &amp;remotely:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>inCallFailedLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="inCallAnsweredTextLabel">
+ <property name="text">
+ <string>Incoming call &amp;answered:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>inCallAnsweredLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="2">
+ <widget class="QToolButton" name="openRemoteReleaseToolButton">
+ <property name="focusPolicy">
+ <enum>Qt::TabFocus</enum>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>fileopen.png</iconset>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Select script file.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="outCallTextLabel">
+ <property name="text">
+ <string>O&amp;utgoing call:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>incomingCallScriptLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="0">
+ <widget class="QLabel" name="outCallFailedTextLabel">
+ <property name="text">
+ <string>Out&amp;going call failed:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>inCallFailedLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="spacer29">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>190</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageSecurity">
+ <attribute name="id">
+ <number>9</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="securityTitleTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>Security</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="zrtpEnabledCheckBox">
+ <property name="text">
+ <string>&amp;Enable ZRTP/SRTP encryption</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+E</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>When ZRTP/SRTP is enabled, then Twinkle will try to encrypt the audio of each call you originate or receive. Encryption will only succeed if the remote party has ZRTP/SRTP support enabled. If the remote party does not support ZRTP/SRTP, then the audio channel will stay unecrypted.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="zrtpSettingsGroupBox">
+ <property name="title">
+ <string>ZRTP settings</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QCheckBox" name="zrtpSendIfSupportedCheckBox">
<property name="text">
- <string>&amp;Enable ZRTP/SRTP encryption</string>
+ <string>O&amp;nly encrypt audio if remote party indicated ZRTP support in SDP</string>
</property>
- <property name="accel">
- <string>Alt+E</string>
+ <property name="shortcut">
+ <string>Alt+N</string>
</property>
<property name="whatsThis" stdset="0">
- <string>When ZRTP/SRTP is enabled, then Twinkle will try to encrypt the audio of each call you originate or receive. Encryption will only succeed if the remote party has ZRTP/SRTP support enabled. If the remote party does not support ZRTP/SRTP, then the audio channel will stay unecrypted.</string>
+ <string>A SIP endpoint supporting ZRTP may indicate ZRTP support during call setup in its signalling. Enabling this option will cause Twinkle only to encrypt calls when the remote party indicates ZRTP support.</string>
</property>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>zrtpSettingsGroupBox</cstring>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="zrtpSdpCheckBox">
+ <property name="text">
+ <string>&amp;Indicate ZRTP support in SDP</string>
</property>
- <property name="title">
- <string>ZRTP settings</string>
+ <property name="shortcut">
+ <string>Alt+I</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>zrtpSendIfSupportedCheckBox</cstring>
- </property>
- <property name="text">
- <string>O&amp;nly encrypt audio if remote party indicated ZRTP support in SDP</string>
- </property>
- <property name="accel">
- <string>Alt+N</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>A SIP endpoint supporting ZRTP may indicate ZRTP support during call setup in its signalling. Enabling this option will cause Twinkle only to encrypt calls when the remote party indicates ZRTP support.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>zrtpSdpCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Indicate ZRTP support in SDP</string>
- </property>
- <property name="accel">
- <string>Alt+I</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Twinkle will indicate ZRTP support during call setup in its signalling.</string>
- </property>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>zrtpGoClearWarningCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Popup warning when remote party disables encryption during call</string>
- </property>
- <property name="accel">
- <string>Alt+P</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>A remote party of an encrypted call may send a ZRTP go-clear command to stop encryption. When Twinkle receives this command it will popup a warning if this option is enabled.</string>
- </property>
- </widget>
- </vbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer33</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>Twinkle will indicate ZRTP support during call setup in its signalling.</string>
</property>
- <property name="orientation">
- <enum>Vertical</enum>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="zrtpGoClearWarningCheckBox">
+ <property name="text">
+ <string>&amp;Popup warning when remote party disables encryption during call</string>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ <property name="shortcut">
+ <string>Alt+P</string>
</property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>241</height>
- </size>
+ <property name="whatsThis" stdset="0">
+ <string>A remote party of an encrypted call may send a ZRTP go-clear command to stop encryption. When Twinkle receives this command it will popup a warning if this option is enabled.</string>
</property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageVoiceMail</cstring>
- </property>
- <attribute name="id">
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer33">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>241</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageVoiceMail">
+ <attribute name="id">
+ <number>10</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="voiceMailTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>Voice mail</string>
+ </property>
+ <property name="indent">
<number>10</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>voiceMailTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
- </property>
- <property name="text">
- <string>Voice mail</string>
- </property>
- <property name="indent">
- <number>10</number>
- </property>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="vmAddressTextLabel">
+ <property name="text">
+ <string>&amp;Voice mail address:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>vmAddressLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout39</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>vmAddressTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Voice mail address:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>vmAddressLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>vmAddressLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The SIP address or telephone number to access your voice mail.</string>
- </property>
- </widget>
- <widget class="QLayoutWidget" row="1" column="1">
- <property name="name">
- <cstring>layout38</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QComboBox">
- <item>
- <property name="text">
- <string>Unsollicited</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Sollicited</string>
- </property>
- </item>
- <property name="name">
- <cstring>mwiTypeComboBox</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;H2&gt;Message waiting indication type&lt;/H2&gt;
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="vmAddressLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>The SIP address or telephone number to access your voice mail.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QComboBox" name="mwiTypeComboBox">
+ <property name="whatsThis" stdset="0">
+ <string>&lt;H2&gt;Message waiting indication type&lt;/H2&gt;
&lt;p&gt;
If your provider offers the message waiting indication service, then Twinkle can show you when new voice mail messages are waiting. Ask your provider which type of message waiting indication is offered.
&lt;/p&gt;
@@ -4723,818 +4232,488 @@ Asterisk provides unsollicited message waiting indication.
&lt;p&gt;
Sollicited message waiting indication as specified by RFC 3842.
&lt;/p&gt;</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer39</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>221</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>mwiTypeTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;MWI type:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>mwiTypeComboBox</cstring>
- </property>
- </widget>
- </grid>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>mwiSollicitedGroupBox</cstring>
- </property>
- <property name="title">
- <string>Sollicited MWI</string>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ </property>
+ <item>
+ <property name="text">
+ <string>Unsollicited</string>
</property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout36</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer row="2" column="0">
- <property name="name">
- <cstring>spacer35</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>120</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QLabel" row="3" column="0">
- <property name="name">
- <cstring>mwiDurationTextLabel</cstring>
- </property>
- <property name="text">
- <string>Subscription &amp;duration:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>mwiDurationSpinBox</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>mwiUserTextLabel</cstring>
- </property>
- <property name="text">
- <string>Mailbox &amp;user name:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>mwiUserLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>mwiServerLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The hostname, domain name or IP address of your voice mailbox server.</string>
- </property>
- </widget>
- <widget class="QLayoutWidget" row="3" column="1">
- <property name="name">
- <cstring>layout35</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QSpinBox">
- <property name="name">
- <cstring>mwiDurationSpinBox</cstring>
- </property>
- <property name="minimumSize">
- <size>
- <width>90</width>
- <height>0</height>
- </size>
- </property>
- <property name="maxValue">
- <number>999999</number>
- </property>
- <property name="lineStep">
- <number>100</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>For sollicited MWI, an endpoint subscribes to the message status for a limited duration. Just before the duration expires, the endpoint should refresh the subscription.</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>mwiSecondsTextLabel</cstring>
- </property>
- <property name="text">
- <string>seconds</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer36</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>190</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>mwiUserLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Your user name for accessing your voice mailbox.</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>mwiServerTextLabel</cstring>
- </property>
- <property name="text">
- <string>Mailbox &amp;server:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>mwiServerLineEdit</cstring>
- </property>
- </widget>
- <widget class="QCheckBox" row="2" column="1">
- <property name="name">
- <cstring>mwiViaProxyCheckBox</cstring>
- </property>
- <property name="text">
- <string>Via outbound &amp;proxy</string>
- </property>
- <property name="accel">
- <string>Alt+P</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Check this option if Twinkle should send SIP messages to the mailbox server via the outbound proxy.</string>
- </property>
- </widget>
- </grid>
- </widget>
- </vbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer38_3</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
+ </item>
+ <item>
+ <property name="text">
+ <string>Sollicited</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer39">
+ <property name="sizeHint">
<size>
- <width>20</width>
- <height>211</height>
+ <width>221</width>
+ <height>20</height>
</size>
- </property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pageIM</cstring>
- </property>
- <attribute name="id">
- <number>11</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>imTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
- </property>
- <property name="text">
- <string>Instant message</string>
- </property>
- <property name="indent">
- <number>10</number>
- </property>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="mwiTypeTextLabel">
+ <property name="text">
+ <string>&amp;MWI type:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>mwiTypeComboBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout74</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="mwiSollicitedGroupBox">
+ <property name="title">
+ <string>Sollicited MWI</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QGridLayout">
+ <item row="2" column="0">
+ <spacer name="spacer35">
+ <property name="sizeHint">
+ <size>
+ <width>120</width>
+ <height>20</height>
+ </size>
</property>
- <widget class="QLabel">
- <property name="name">
- <cstring>imMaxSessionsTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Maximum number of sessions:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>imMaxSessionsSpinBox</cstring>
- </property>
- </widget>
- <widget class="QSpinBox">
- <property name="name">
- <cstring>imMaxSessionsSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>65535</number>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="mwiDurationTextLabel">
+ <property name="text">
+ <string>Subscription &amp;duration:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>mwiDurationSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="mwiUserTextLabel">
+ <property name="text">
+ <string>Mailbox &amp;user name:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>mwiUserLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="mwiServerLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>The hostname, domain name or IP address of your voice mailbox server.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QSpinBox" name="mwiDurationSpinBox">
+ <property name="minimumSize">
+ <size>
+ <width>90</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximum">
+ <number>999999</number>
+ </property>
+ <property name="singleStep">
+ <number>100</number>
</property>
<property name="whatsThis" stdset="0">
- <string>When you have this number of instant message sessions open, new incoming message sessions will be rejected.</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer42</cstring>
+ <string>For sollicited MWI, an endpoint subscribes to the message status for a limited duration. Just before the duration expires, the endpoint should refresh the subscription.</string>
</property>
- <property name="orientation">
- <enum>Horizontal</enum>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="mwiSecondsTextLabel">
+ <property name="text">
+ <string>seconds</string>
</property>
- <property name="sizeType">
- <enum>Expanding</enum>
+ <property name="wordWrap">
+ <bool>false</bool>
</property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer36">
<property name="sizeHint">
- <size>
- <width>201</width>
- <height>20</height>
- </size>
+ <size>
+ <width>190</width>
+ <height>20</height>
+ </size>
</property>
- </spacer>
- </hbox>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="mwiUserLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Your user name for accessing your voice mailbox.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="mwiServerTextLabel">
+ <property name="text">
+ <string>Mailbox &amp;server:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>mwiServerLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QCheckBox" name="mwiViaProxyCheckBox">
+ <property name="text">
+ <string>Via outbound &amp;proxy</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+P</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Check this option if Twinkle should send SIP messages to the mailbox server via the outbound proxy.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer38_3">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>211</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pageIM">
+ <attribute name="id">
+ <number>11</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="imTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>Instant message</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="imMaxSessionsTextLabel">
+ <property name="text">
+ <string>&amp;Maximum number of sessions:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>imMaxSessionsSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>isComposingCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Send composing indications when typing a message.</string>
- </property>
- <property name="accel">
- <string>Alt+S</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Twinkle sends a composing indication when you type a message. This way the recipient can see that you are typing.</string>
- </property>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="imMaxSessionsSpinBox">
+ <property name="maximum">
+ <number>65535</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>When you have this number of instant message sessions open, new incoming message sessions will be rejected.</string>
+ </property>
</widget>
- <spacer>
- <property name="name">
- <cstring>spacer40_3</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>350</height>
- </size>
- </property>
+ </item>
+ <item>
+ <spacer name="spacer42">
+ <property name="sizeHint">
+ <size>
+ <width>201</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
</spacer>
- </vbox>
- </widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>pagePresence</cstring>
- </property>
- <attribute name="id">
- <number>12</number>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>presTextLabel</cstring>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>150</red>
- <green>150</green>
- <blue>150</blue>
- </color>
- </property>
- <property name="font">
- <font>
- <pointsize>21</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>Box</enum>
- </property>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="isComposingCheckBox">
+ <property name="text">
+ <string>&amp;Send composing indications when typing a message.</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+S</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Twinkle sends a composing indication when you type a message. This way the recipient can see that you are typing.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer40_3">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>350</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="pagePresence">
+ <attribute name="id">
+ <number>12</number>
+ </attribute>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="presTextLabel">
+ <property name="font">
+ <font>
+ <pointsize>21</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="text">
+ <string>Presence</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="presYourGroupBox">
+ <property name="title">
+ <string>Your presence</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QCheckBox" name="presPublishCheckBox">
<property name="text">
- <string>Presence</string>
+ <string>&amp;Publish availability at startup</string>
</property>
- <property name="indent">
- <number>10</number>
+ <property name="shortcut">
+ <string>Alt+P</string>
</property>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>presYourGroupBox</cstring>
- </property>
- <property name="title">
- <string>Your presence</string>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ <property name="whatsThis" stdset="0">
+ <string>Publish your availability at startup.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="presPublishTimerTextLabel">
+ <property name="text">
+ <string>Publication &amp;refresh interval (sec):</string>
</property>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>presPublishCheckBox</cstring>
- </property>
- <property name="text">
- <string>&amp;Publish availability at startup</string>
- </property>
- <property name="accel">
- <string>Alt+P</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Publish your availability at startup.</string>
- </property>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout75</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>presPublishTimerTextLabel</cstring>
- </property>
- <property name="text">
- <string>Publication &amp;refresh interval (sec):</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>presPublishTimeSpinBox</cstring>
- </property>
- </widget>
- <widget class="QSpinBox">
- <property name="name">
- <cstring>presPublishTimeSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>999999</number>
- </property>
- <property name="lineStep">
- <number>100</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Refresh rate of presence publications.</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer43</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>231</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- </vbox>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>groupBox25</cstring>
- </property>
- <property name="title">
- <string>Buddy presence</string>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ <property name="buddy" stdset="0">
+ <cstring>presPublishTimeSpinBox</cstring>
</property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout76</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>presSubscribeTimerTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Subscription refresh interval (sec):</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>presSubscribeTimeSpinBox</cstring>
- </property>
- </widget>
- <widget class="QSpinBox">
- <property name="name">
- <cstring>presSubscribeTimeSpinBox</cstring>
- </property>
- <property name="maxValue">
- <number>999999</number>
- </property>
- <property name="lineStep">
- <number>100</number>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Refresh rate of presence subscriptions.</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer44</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>191</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- </vbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer45</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>281</height>
- </size>
- </property>
- </spacer>
- </vbox>
- </widget>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="presPublishTimeSpinBox">
+ <property name="maximum">
+ <number>999999</number>
+ </property>
+ <property name="singleStep">
+ <number>100</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Refresh rate of presence publications.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer43">
+ <property name="sizeHint">
+ <size>
+ <width>231</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3GroupBox" name="groupBox25">
+ <property name="title">
+ <string>Buddy presence</string>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="presSubscribeTimerTextLabel">
+ <property name="text">
+ <string>&amp;Subscription refresh interval (sec):</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>presSubscribeTimeSpinBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="presSubscribeTimeSpinBox">
+ <property name="maximum">
+ <number>999999</number>
+ </property>
+ <property name="singleStep">
+ <number>100</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Refresh rate of presence subscriptions.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer44">
+ <property name="sizeHint">
+ <size>
+ <width>191</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer45">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>281</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
</widget>
- </grid>
-</widget>
-<connections>
- <connection>
- <sender>categoryListBox</sender>
- <signal>highlighted(int)</signal>
- <receiver>UserProfileForm</receiver>
- <slot>showCategory(int)</slot>
- </connection>
- <connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>reject()</slot>
- </connection>
- <connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>validate()</slot>
- </connection>
- <connection>
- <sender>useProxyCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>proxyTextLabel</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>useProxyCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>proxyLineEdit</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>useProxyCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>allRequestsCheckBox</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>allowRedirectionCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>askUserRedirectCheckBox</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>allowRedirectionCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>maxRedirectTextLabel</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>allowRedirectionCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>maxRedirectSpinBox</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>useProxyCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>proxyNonResolvableCheckBox</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>natStaticRadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>publicIPTextLabel</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>natStaticRadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>publicIPLineEdit</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>natStunRadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>stunServerTextLabel</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>natStunRadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>stunServerLineEdit</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>allowReferCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>askUserReferCheckBox</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>allowReferCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>refereeHoldCheckBox</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>profileComboBox</sender>
- <signal>activated(const QString&amp;)</signal>
- <receiver>UserProfileForm</receiver>
- <slot>changeProfile(const QString&amp;)</slot>
- </connection>
- <connection>
- <sender>openRingtoneToolButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>chooseRingtone()</slot>
- </connection>
- <connection>
- <sender>openRingbackToolButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>chooseRingback()</slot>
- </connection>
- <connection>
- <sender>openIncomingCallScriptToolButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>chooseIncomingCallScript()</slot>
- </connection>
- <connection>
- <sender>addCodecPushButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>addCodec()</slot>
- </connection>
- <connection>
- <sender>rmvCodecPushButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>removeCodec()</slot>
- </connection>
- <connection>
- <sender>upCodecPushButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>upCodec()</slot>
- </connection>
- <connection>
- <sender>downCodecPushButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>downCodec()</slot>
- </connection>
- <connection>
- <sender>availCodecListBox</sender>
- <signal>doubleClicked(QListBoxItem*)</signal>
- <receiver>UserProfileForm</receiver>
- <slot>addCodec()</slot>
- </connection>
- <connection>
- <sender>activeCodecListBox</sender>
- <signal>doubleClicked(QListBoxItem*)</signal>
- <receiver>UserProfileForm</receiver>
- <slot>removeCodec()</slot>
- </connection>
- <connection>
- <sender>openInCallAnsweredToolButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>chooseInCallAnsweredScript()</slot>
- </connection>
- <connection>
- <sender>openInCallFailedToolButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>chooseInCallFailedScript()</slot>
- </connection>
- <connection>
- <sender>openLocalReleaseToolButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>chooseLocalReleaseScript()</slot>
- </connection>
- <connection>
- <sender>openOutCallAnsweredToolButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>chooseOutCallAnsweredScript()</slot>
- </connection>
- <connection>
- <sender>openOutCallFailedToolButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>chooseOutCallFailedScript()</slot>
- </connection>
- <connection>
- <sender>openOutCallToolButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>chooseOutgoingCallScript()</slot>
- </connection>
- <connection>
- <sender>openRemoteReleaseToolButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>chooseRemoteReleaseScript()</slot>
- </connection>
- <connection>
- <sender>upConversionPushButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>upConversion()</slot>
- </connection>
- <connection>
- <sender>downConversionPushButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>downConversion()</slot>
- </connection>
- <connection>
- <sender>addConversionPushButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>addConversion()</slot>
- </connection>
- <connection>
- <sender>editConversionPushButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>editConversion()</slot>
- </connection>
- <connection>
- <sender>removePushButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>removeConversion()</slot>
- </connection>
- <connection>
- <sender>testConversionPushButton</sender>
- <signal>clicked()</signal>
- <receiver>UserProfileForm</receiver>
- <slot>testConversion()</slot>
- </connection>
- <connection>
- <sender>zrtpEnabledCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>zrtpSettingsGroupBox</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>mwiTypeComboBox</sender>
- <signal>activated(int)</signal>
- <receiver>UserProfileForm</receiver>
- <slot>changeMWIType(int)</slot>
- </connection>
- <connection>
- <sender>regAddQvalueCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>regQvalueLineEdit</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>sipTransportComboBox</sender>
- <signal>activated(int)</signal>
- <receiver>UserProfileForm</receiver>
- <slot>changeSipTransportProtocol(int)</slot>
- </connection>
- <connection>
- <sender>spxDspAgcCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>spxDspAgcLevelTextLabel</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>spxDspAgcCheckBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>spxDspAgcLevelSpinBox</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>natStunRadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>natKeepaliveCheckBox</receiver>
- <slot>setDisabled(bool)</slot>
- </connection>
-</connections>
-<tabstops>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
<tabstop>displayLineEdit</tabstop>
<tabstop>usernameLineEdit</tabstop>
<tabstop>domainLineEdit</tabstop>
@@ -5671,88 +4850,289 @@ Sollicited message waiting indication as specified by RFC 3842.
<tabstop>cancelPushButton</tabstop>
<tabstop>profileComboBox</tabstop>
<tabstop>categoryListBox</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in implementation">qlistbox.h</include>
- <include location="local" impldecl="in implementation">qlineedit.h</include>
- <include location="local" impldecl="in implementation">qlabel.h</include>
- <include location="local" impldecl="in implementation">qcombobox.h</include>
- <include location="local" impldecl="in implementation">qspinbox.h</include>
- <include location="local" impldecl="in implementation">qregexp.h</include>
- <include location="local" impldecl="in implementation">sdp/sdp.h</include>
- <include location="local" impldecl="in implementation">qvalidator.h</include>
- <include location="local" impldecl="in implementation">protocol.h</include>
- <include location="local" impldecl="in implementation">qmessagebox.h</include>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">qfiledialog.h</include>
- <include location="local" impldecl="in implementation">qfileinfo.h</include>
- <include location="local" impldecl="in implementation">qstringlist.h</include>
- <include location="local" impldecl="in implementation">twinkle_config.h</include>
- <include location="local" impldecl="in implementation">qlistview.h</include>
- <include location="local" impldecl="in implementation">numberconversionform.h</include>
- <include location="local" impldecl="in implementation">util.h</include>
- <include location="local" impldecl="in declaration">user.h</include>
- <include location="local" impldecl="in declaration">qvaluelist.h</include>
- <include location="global" impldecl="in declaration">map</include>
- <include location="global" impldecl="in declaration">list</include>
- <include location="local" impldecl="in implementation">userprofileform.ui.h</include>
-</includes>
-<variables>
- <variable access="private">map&lt;t_user *, int&gt; map_last_cat;</variable>
- <variable access="private">t_user *current_profile;</variable>
- <variable access="private">int current_profile_idx;</variable>
- <variable access="private">list&lt;t_user *&gt; profile_list;</variable>
-</variables>
-<signals>
- <signal>stunServerChanged(t_user *)</signal>
- <signal>authCredentialsChanged(t_user *, const string &amp;)</signal>
- <signal>sipUserChanged(t_user *)</signal>
- <signal>success()</signal>
- <signal>mwiChangeUnsubscribe(t_user *)</signal>
- <signal>mwiChangeSubscribe(t_user *)</signal>
-</signals>
-<slots>
- <slot>showCategory( int index )</slot>
- <slot>populate()</slot>
- <slot>initProfileList( list&lt;t_user *&gt; profiles, QString show_profile_name )</slot>
- <slot>show( list&lt;t_user *&gt; profiles, QString show_profile )</slot>
- <slot>validate()</slot>
- <slot>changeProfile( const QString &amp; profileName )</slot>
- <slot>chooseFile( QLineEdit * qle, const QString &amp; filter, const QString &amp; caption )</slot>
- <slot>chooseRingtone()</slot>
- <slot>chooseRingback()</slot>
- <slot>chooseIncomingCallScript()</slot>
- <slot>chooseInCallAnsweredScript()</slot>
- <slot>chooseInCallFailedScript()</slot>
- <slot>chooseOutgoingCallScript()</slot>
- <slot>chooseOutCallAnsweredScript()</slot>
- <slot>chooseOutCallFailedScript()</slot>
- <slot>chooseLocalReleaseScript()</slot>
- <slot>chooseRemoteReleaseScript()</slot>
- <slot>addCodec()</slot>
- <slot>removeCodec()</slot>
- <slot>upCodec()</slot>
- <slot>downCodec()</slot>
- <slot>upConversion()</slot>
- <slot>downConversion()</slot>
- <slot>addConversion()</slot>
- <slot>editConversion()</slot>
- <slot>removeConversion()</slot>
- <slot>testConversion()</slot>
- <slot>changeMWIType( int idxMWIType )</slot>
- <slot>changeSipTransportProtocol( int idx )</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function returnType="t_audio_codec">label2codec( const QString &amp; label )</function>
- <function returnType="QString">codec2label( t_audio_codec &amp; codec )</function>
- <function returnType="int">ext_support2indexComboItem( t_ext_support ext )</function>
- <function returnType="t_ext_support">indexComboItem2ext_support( int index )</function>
- <function returnType="int">exec( list&lt;t_user *&gt; profiles, QString show_profile )</function>
- <function returnType="bool">check_dynamic_payload( QSpinBox * spb, QValueList&lt;int&gt; &amp; checked_list )</function>
- <function returnType="list&lt;t_number_conversion&gt;">get_number_conversions()</function>
- <function returnType="bool">validateValues()</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </tabstops>
+ <includes>
+ <include location="local">user.h</include>
+ <include location="local">q3valuelist.h</include>
+ <include location="global">map</include>
+ <include location="global">list</include>
+ </includes>
+ <connections>
+ <connection>
+ <sender>categoryListBox</sender>
+ <signal>highlighted(int)</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>showCategory(int)</slot>
+ </connection>
+ <connection>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>reject()</slot>
+ </connection>
+ <connection>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>validate()</slot>
+ </connection>
+ <connection>
+ <sender>useProxyCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>proxyTextLabel</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useProxyCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>proxyLineEdit</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useProxyCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>allRequestsCheckBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>allowRedirectionCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>askUserRedirectCheckBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>allowRedirectionCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>maxRedirectTextLabel</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>allowRedirectionCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>maxRedirectSpinBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useProxyCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>proxyNonResolvableCheckBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>natStaticRadioButton</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>publicIPTextLabel</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>natStaticRadioButton</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>publicIPLineEdit</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>natStunRadioButton</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>stunServerTextLabel</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>natStunRadioButton</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>stunServerLineEdit</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>allowReferCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>askUserReferCheckBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>allowReferCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>refereeHoldCheckBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>profileComboBox</sender>
+ <signal>activated(QString)</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>changeProfile(QString)</slot>
+ </connection>
+ <connection>
+ <sender>openRingtoneToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>chooseRingtone()</slot>
+ </connection>
+ <connection>
+ <sender>openRingbackToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>chooseRingback()</slot>
+ </connection>
+ <connection>
+ <sender>openIncomingCallScriptToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>chooseIncomingCallScript()</slot>
+ </connection>
+ <connection>
+ <sender>addCodecPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>addCodec()</slot>
+ </connection>
+ <connection>
+ <sender>rmvCodecPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>removeCodec()</slot>
+ </connection>
+ <connection>
+ <sender>upCodecPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>upCodec()</slot>
+ </connection>
+ <connection>
+ <sender>downCodecPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>downCodec()</slot>
+ </connection>
+ <connection>
+ <sender>availCodecListBox</sender>
+ <signal>doubleClicked(Q3ListBoxItem*)</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>addCodec()</slot>
+ </connection>
+ <connection>
+ <sender>activeCodecListBox</sender>
+ <signal>doubleClicked(Q3ListBoxItem*)</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>removeCodec()</slot>
+ </connection>
+ <connection>
+ <sender>openInCallAnsweredToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>chooseInCallAnsweredScript()</slot>
+ </connection>
+ <connection>
+ <sender>openInCallFailedToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>chooseInCallFailedScript()</slot>
+ </connection>
+ <connection>
+ <sender>openLocalReleaseToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>chooseLocalReleaseScript()</slot>
+ </connection>
+ <connection>
+ <sender>openOutCallAnsweredToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>chooseOutCallAnsweredScript()</slot>
+ </connection>
+ <connection>
+ <sender>openOutCallFailedToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>chooseOutCallFailedScript()</slot>
+ </connection>
+ <connection>
+ <sender>openOutCallToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>chooseOutgoingCallScript()</slot>
+ </connection>
+ <connection>
+ <sender>openRemoteReleaseToolButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>chooseRemoteReleaseScript()</slot>
+ </connection>
+ <connection>
+ <sender>upConversionPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>upConversion()</slot>
+ </connection>
+ <connection>
+ <sender>downConversionPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>downConversion()</slot>
+ </connection>
+ <connection>
+ <sender>addConversionPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>addConversion()</slot>
+ </connection>
+ <connection>
+ <sender>editConversionPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>editConversion()</slot>
+ </connection>
+ <connection>
+ <sender>removePushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>removeConversion()</slot>
+ </connection>
+ <connection>
+ <sender>testConversionPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>testConversion()</slot>
+ </connection>
+ <connection>
+ <sender>zrtpEnabledCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>zrtpSettingsGroupBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>mwiTypeComboBox</sender>
+ <signal>activated(int)</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>changeMWIType(int)</slot>
+ </connection>
+ <connection>
+ <sender>regAddQvalueCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>regQvalueLineEdit</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>sipTransportComboBox</sender>
+ <signal>activated(int)</signal>
+ <receiver>UserProfileForm</receiver>
+ <slot>changeSipTransportProtocol(int)</slot>
+ </connection>
+ <connection>
+ <sender>spxDspAgcCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>spxDspAgcLevelTextLabel</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>spxDspAgcCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>spxDspAgcLevelSpinBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>natStunRadioButton</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>natKeepaliveCheckBox</receiver>
+ <slot>setDisabled(bool)</slot>
+ </connection>
+ </connections>
+</ui>
diff --git a/src/gui/wizardform.ui b/src/gui/wizardform.ui
index aa50690..44d7b5c 100644
--- a/src/gui/wizardform.ui
+++ b/src/gui/wizardform.ui
@@ -1,321 +1,280 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>WizardForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>WizardForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>WizardForm</class>
+ <widget class="QDialog" name="WizardForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>596</width>
- <height>321</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>596</width>
+ <height>321</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Wizard</string>
+ <property name="windowTitle">
+ <string>Twinkle - Wizard</string>
</property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout15</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLineEdit" row="8" column="1" rowspan="1" colspan="2">
- <property name="name">
- <cstring>stunServerLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The hostname, domain name or IP address of the STUN server.</string>
- </property>
- </widget>
- <widget class="QLabel" row="8" column="0">
- <property name="name">
- <cstring>stunServerTextLabel</cstring>
- </property>
- <property name="text">
- <string>S&amp;TUN server:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>stunServerLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="2" column="1" rowspan="1" colspan="2">
- <property name="name">
- <cstring>usernameLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The SIP user name given to you by your provider. It is the user part in your SIP address, &lt;b&gt;username&lt;/b&gt;@domain.com This could be a telephone number.
+ <layout class="QVBoxLayout">
+ <item>
+ <layout class="QGridLayout">
+ <item row="8" column="1" rowspan="1" colspan="2">
+ <widget class="QLineEdit" name="stunServerLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>The hostname, domain name or IP address of the STUN server.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="8" column="0">
+ <widget class="QLabel" name="stunServerTextLabel">
+ <property name="text">
+ <string>S&amp;TUN server:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>stunServerLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1" rowspan="1" colspan="2">
+ <widget class="QLineEdit" name="usernameLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>The SIP user name given to you by your provider. It is the user part in your SIP address, &lt;b&gt;username&lt;/b&gt;@domain.com This could be a telephone number.
&lt;br&gt;&lt;br&gt;
This field is mandatory.</string>
- </property>
- </widget>
- <widget class="QLabel" row="3" column="0">
- <property name="name">
- <cstring>domainTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Domain*:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>domainLineEdit</cstring>
- </property>
- </widget>
- <widget class="QComboBox" row="0" column="1">
- <property name="name">
- <cstring>serviceProviderComboBox</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Choose your SIP service provider. If your SIP service provider is not in the list, then select &lt;b&gt;Other&lt;/b&gt; and fill in the settings you received from your provider.&lt;br&gt;&lt;br&gt;
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="domainTextLabel">
+ <property name="text">
+ <string>&amp;Domain*:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>domainLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QComboBox" name="serviceProviderComboBox">
+ <property name="whatsThis" stdset="0">
+ <string>Choose your SIP service provider. If your SIP service provider is not in the list, then select &lt;b&gt;Other&lt;/b&gt; and fill in the settings you received from your provider.&lt;br&gt;&lt;br&gt;
If you select one of the predefined SIP service providers then you only have to fill in your name, user name, authentication name and password.</string>
- </property>
- </widget>
- <widget class="QLabel" row="4" column="0">
- <property name="name">
- <cstring>authNameTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Authentication name:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>authNameLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>dislpayTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Your name:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>displayLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="4" column="1" rowspan="1" colspan="2">
- <property name="name">
- <cstring>authNameLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Your SIP authentication name. Quite often this is the same as your SIP user name. It can be a different name though.</string>
- </property>
- </widget>
- <spacer row="0" column="2">
- <property name="name">
- <cstring>spacer22</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>206</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QLineEdit" row="3" column="1" rowspan="1" colspan="2">
- <property name="name">
- <cstring>domainLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The domain part of your SIP address, username@&lt;b&gt;domain.com&lt;/b&gt;. Instead of a real domain this could also be the hostname or IP address of your &lt;b&gt;SIP proxy&lt;/b&gt;. If you want direct IP phone to IP phone communications then you fill in the hostname or IP address of your computer.
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="0">
+ <widget class="QLabel" name="authNameTextLabel">
+ <property name="text">
+ <string>&amp;Authentication name:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>authNameLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="dislpayTextLabel">
+ <property name="text">
+ <string>&amp;Your name:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>displayLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="1" rowspan="1" colspan="2">
+ <widget class="QLineEdit" name="authNameLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>Your SIP authentication name. Quite often this is the same as your SIP user name. It can be a different name though.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <spacer name="spacer22">
+ <property name="sizeHint">
+ <size>
+ <width>206</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item row="3" column="1" rowspan="1" colspan="2">
+ <widget class="QLineEdit" name="domainLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>The domain part of your SIP address, username@&lt;b&gt;domain.com&lt;/b&gt;. Instead of a real domain this could also be the hostname or IP address of your &lt;b&gt;SIP proxy&lt;/b&gt;. If you want direct IP phone to IP phone communications then you fill in the hostname or IP address of your computer.
&lt;br&gt;&lt;br&gt;
This field is mandatory.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="1" column="1" rowspan="1" colspan="2">
- <property name="name">
- <cstring>displayLineEdit</cstring>
- </property>
- <property name="whatsThis" stdset="0">
- <string>This is just your full name, e.g. John Doe. It is used as a display name. When you make a call, this display name might be shown to the called party.</string>
- </property>
- </widget>
- <widget class="QLabel" row="6" column="0" rowspan="2" colspan="1">
- <property name="name">
- <cstring>proxyTextLabel</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>SIP pro&amp;xy:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>proxyLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="7" column="1" rowspan="1" colspan="2">
- <property name="name">
- <cstring>proxyLineEdit</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The hostname, domain name or IP address of your SIP proxy. If this is the same value as your domain, you may leave this field empty.</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>serviceProviderTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;SIP service provider:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>serviceProviderComboBox</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="5" column="0">
- <property name="name">
- <cstring>authPasswordTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Password:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>authPasswordLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLabel" row="2" column="0">
- <property name="name">
- <cstring>usernameTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;User name*:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>usernameLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="5" column="1" rowspan="2" colspan="2">
- <property name="name">
- <cstring>authPasswordLineEdit</cstring>
- </property>
- <property name="echoMode">
- <enum>Password</enum>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Your password for authentication.</string>
- </property>
- </widget>
- </grid>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer23</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1" rowspan="1" colspan="2">
+ <widget class="QLineEdit" name="displayLineEdit">
+ <property name="whatsThis" stdset="0">
+ <string>This is just your full name, e.g. John Doe. It is used as a display name. When you make a call, this display name might be shown to the called party.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="0" rowspan="2" colspan="1">
+ <widget class="QLabel" name="proxyTextLabel">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>SIP pro&amp;xy:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>proxyLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="1" rowspan="1" colspan="2">
+ <widget class="QLineEdit" name="proxyLineEdit">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The hostname, domain name or IP address of your SIP proxy. If this is the same value as your domain, you may leave this field empty.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="serviceProviderTextLabel">
+ <property name="text">
+ <string>&amp;SIP service provider:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>serviceProviderComboBox</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="0">
+ <widget class="QLabel" name="authPasswordTextLabel">
+ <property name="text">
+ <string>&amp;Password:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>authPasswordLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="usernameTextLabel">
+ <property name="text">
+ <string>&amp;User name*:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>usernameLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="1" rowspan="2" colspan="2">
+ <widget class="QLineEdit" name="authPasswordLineEdit">
+ <property name="echoMode">
+ <enum>QLineEdit::Password</enum>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Your password for authentication.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="spacer23">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer20">
+ <property name="sizeHint">
<size>
- <width>20</width>
- <height>20</height>
+ <width>371</width>
+ <height>20</height>
</size>
- </property>
- </spacer>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout14</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer20</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>371</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="accel">
- <string>Alt+O</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>cancelPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- <property name="accel">
- <string>Alt+C</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
-</widget>
-<connections>
- <connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>WizardForm</receiver>
- <slot>validate()</slot>
- </connection>
- <connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>WizardForm</receiver>
- <slot>reject()</slot>
- </connection>
- <connection>
- <sender>usernameLineEdit</sender>
- <signal>textChanged(const QString&amp;)</signal>
- <receiver>WizardForm</receiver>
- <slot>updateAuthName(const QString&amp;)</slot>
- </connection>
- <connection>
- <sender>serviceProviderComboBox</sender>
- <signal>activated(const QString&amp;)</signal>
- <receiver>WizardForm</receiver>
- <slot>update(const QString&amp;)</slot>
- </connection>
- <connection>
- <sender>authNameLineEdit</sender>
- <signal>lostFocus()</signal>
- <receiver>WizardForm</receiver>
- <slot>disableSuggestAuthName()</slot>
- </connection>
-</connections>
-<tabstops>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+O</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+C</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
<tabstop>serviceProviderComboBox</tabstop>
<tabstop>displayLineEdit</tabstop>
<tabstop>usernameLineEdit</tabstop>
@@ -326,42 +285,41 @@ This field is mandatory.</string>
<tabstop>stunServerLineEdit</tabstop>
<tabstop>okPushButton</tabstop>
<tabstop>cancelPushButton</tabstop>
-</tabstops>
-<includes>
- <include location="global" impldecl="in declaration">map</include>
- <include location="local" impldecl="in declaration">user.h</include>
- <include location="local" impldecl="in implementation">qregexp.h</include>
- <include location="local" impldecl="in implementation">qlineedit.h</include>
- <include location="local" impldecl="in implementation">qlabel.h</include>
- <include location="local" impldecl="in implementation">qvalidator.h</include>
- <include location="local" impldecl="in implementation">qcombobox.h</include>
- <include location="local" impldecl="in implementation">gui.h</include>
- <include location="local" impldecl="in implementation">qfile.h</include>
- <include location="local" impldecl="in implementation">wizardform.ui.h</include>
-</includes>
-<forwards>
- <forward>struct t_provider;</forward>
-</forwards>
-<variables>
- <variable access="private">bool suggestAuthName;</variable>
- <variable access="private">std::map&lt;QString, t_provider&gt; mapProviders;</variable>
- <variable access="private">t_user *user_config;</variable>
-</variables>
-<signals>
- <signal>success()</signal>
-</signals>
-<slots>
- <slot>initProviders()</slot>
- <slot returnType="int">exec( t_user * user )</slot>
- <slot>update( const QString &amp; item )</slot>
- <slot>updateAuthName( const QString &amp; s )</slot>
- <slot>disableSuggestAuthName()</slot>
- <slot>validate()</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function>show( t_user * user )</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </tabstops>
+ <includes>
+ <include location="global">map</include>
+ <include location="local">user.h</include>
+ </includes>
+ <connections>
+ <connection>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>WizardForm</receiver>
+ <slot>validate()</slot>
+ </connection>
+ <connection>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>WizardForm</receiver>
+ <slot>reject()</slot>
+ </connection>
+ <connection>
+ <sender>usernameLineEdit</sender>
+ <signal>textChanged(QString)</signal>
+ <receiver>WizardForm</receiver>
+ <slot>updateAuthName(QString)</slot>
+ </connection>
+ <connection>
+ <sender>serviceProviderComboBox</sender>
+ <signal>activated(QString)</signal>
+ <receiver>WizardForm</receiver>
+ <slot>update(QString)</slot>
+ </connection>
+ <connection>
+ <sender>authNameLineEdit</sender>
+ <signal>lostFocus()</signal>
+ <receiver>WizardForm</receiver>
+ <slot>disableSuggestAuthName()</slot>
+ </connection>
+ </connections>
+</ui>