diff options
author | Lubos Dolezel <lubos@dolezel.info> | 2015-06-03 16:09:01 +0200 |
---|---|---|
committer | Lubos Dolezel <lubos@dolezel.info> | 2015-06-03 16:09:01 +0200 |
commit | c6e7b994b3abe6fb178c8639664bc095472f10ec (patch) | |
tree | a92004e0f6db12afdc6c49d588028aafdc1b7400 | |
parent | 5356dd9c0ccb352867e809e18b230fab7b859820 (diff) | |
download | twinkle-c6e7b994b3abe6fb178c8639664bc095472f10ec.tar twinkle-c6e7b994b3abe6fb178c8639664bc095472f10ec.tar.gz twinkle-c6e7b994b3abe6fb178c8639664bc095472f10ec.tar.lz twinkle-c6e7b994b3abe6fb178c8639664bc095472f10ec.tar.xz twinkle-c6e7b994b3abe6fb178c8639664bc095472f10ec.zip |
userprofileform ported Qt4; small style change in historyform
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | src/gui/historyform.ui | 7 | ||||
-rw-r--r-- | src/gui/userprofileform.cpp | 291 | ||||
-rw-r--r-- | src/gui/userprofileform.h | 4 | ||||
-rw-r--r-- | src/gui/userprofileform.ui | 9927 |
5 files changed, 5302 insertions, 4928 deletions
@@ -8,7 +8,6 @@ Remaining .ui/cpp/h files: * mphoneform * syssettingsform - * userprofileform * gui * make KDE support work again diff --git a/src/gui/historyform.ui b/src/gui/historyform.ui index c77b3f8..4cb3356 100644 --- a/src/gui/historyform.ui +++ b/src/gui/historyform.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>866</width> - <height>641</height> + <width>864</width> + <height>639</height> </rect> </property> <property name="contextMenuPolicy"> @@ -28,6 +28,9 @@ <property name="sortingEnabled"> <bool>true</bool> </property> + <attribute name="horizontalHeaderHighlightSections"> + <bool>false</bool> + </attribute> <attribute name="verticalHeaderVisible"> <bool>false</bool> </attribute> diff --git a/src/gui/userprofileform.cpp b/src/gui/userprofileform.cpp index 062053f..75c2fcd 100644 --- a/src/gui/userprofileform.cpp +++ b/src/gui/userprofileform.cpp @@ -205,31 +205,31 @@ void UserProfileForm::init() void UserProfileForm::showCategory( int index ) { if (index == idxCatUser) { - settingsWidgetStack->raiseWidget(pageUser); + settingsWidgetStack->setCurrentWidget(pageUser); } else if (index == idxCatSipServer) { - settingsWidgetStack->raiseWidget(pageSipServer); + settingsWidgetStack->setCurrentWidget(pageSipServer); } else if (index == idxCatVoiceMail) { - settingsWidgetStack->raiseWidget(pageVoiceMail); + settingsWidgetStack->setCurrentWidget(pageVoiceMail); } else if (index == idxCatIM) { - settingsWidgetStack->raiseWidget(pageIM); + settingsWidgetStack->setCurrentWidget(pageIM); } else if (index == idxCatPresence) { - settingsWidgetStack->raiseWidget(pagePresence); + settingsWidgetStack->setCurrentWidget(pagePresence); } else if (index == idxCatRtpAudio) { - settingsWidgetStack->raiseWidget(pageRtpAudio); + settingsWidgetStack->setCurrentWidget(pageRtpAudio); } else if (index == idxCatSipProtocol) { - settingsWidgetStack->raiseWidget(pageSipProtocol); + settingsWidgetStack->setCurrentWidget(pageSipProtocol); } else if (index == idxCatNat) { - settingsWidgetStack->raiseWidget(pageNat); + settingsWidgetStack->setCurrentWidget(pageNat); } else if (index == idxCatAddrFmt) { - settingsWidgetStack->raiseWidget(pageAddressFormat); + settingsWidgetStack->setCurrentWidget(pageAddressFormat); } else if (index == idxCatTimers) { - settingsWidgetStack->raiseWidget(pageTimers); + settingsWidgetStack->setCurrentWidget(pageTimers); } else if (index == idxCatRingTones) { - settingsWidgetStack->raiseWidget(pageRingTones); + settingsWidgetStack->setCurrentWidget(pageRingTones); } else if (index == idxCatScripts) { - settingsWidgetStack->raiseWidget(pageScripts); + settingsWidgetStack->setCurrentWidget(pageScripts); } else if (index == idxCatSecurity) { - settingsWidgetStack->raiseWidget(pageSecurity); + settingsWidgetStack->setCurrentWidget(pageSecurity); } } @@ -336,8 +336,8 @@ void UserProfileForm::populate() setCaption(s); // Select the User category - categoryListBox->setSelected(idxCatUser, true); - settingsWidgetStack->raiseWidget(pageUser); + categoryListBox->setCurrentRow(idxCatUser); + settingsWidgetStack->setCurrentWidget(pageUser); // Set focus on first field displayLineEdit->setFocus(); @@ -427,11 +427,11 @@ void UserProfileForm::populate() list<t_audio_codec> audio_codecs = current_profile->get_codecs(); for (list<t_audio_codec>::iterator i = audio_codecs.begin(); i != audio_codecs.end(); i++) { - activeCodecListBox->insertItem(codec2label(*i)); + activeCodecListBox->addItem(codec2label(*i)); allCodecs.remove(codec2label(*i)); } availCodecListBox->clear(); - if (!allCodecs.empty()) availCodecListBox->insertStringList(allCodecs); + if (!allCodecs.empty()) availCodecListBox->addItems(allCodecs); // G.711/G.726 ptime ptimeSpinBox->setValue(current_profile->get_ptime()); @@ -587,12 +587,18 @@ void UserProfileForm::populate() specialLineEdit->setText(current_profile->get_special_phone_symbols().c_str()); useTelUriCheckBox->setChecked(current_profile->get_use_tel_uri_for_phone()); - conversionListView->clear(); - conversionListView->setSorting(-1); list<t_number_conversion> conversions = current_profile->get_number_conversions(); - for (list<t_number_conversion>::reverse_iterator i = conversions.rbegin(); i != conversions.rend(); i++) + + conversionListView->horizontalHeader()->resizeSection(0, 200); + conversionListView->setRowCount(conversions.size()); + + int j = 0; + for (list<t_number_conversion>::reverse_iterator i = conversions.rbegin(); i != conversions.rend(); i++, j++) { - new Q3ListViewItem(conversionListView, i->re.str().c_str(), i->fmt.c_str()); + QTableWidgetItem* item = new QTableWidgetItem(QString::fromStdString(i->re.str())); + conversionListView->setItem(j, 0, item); + item = new QTableWidgetItem(QString::fromStdString(i->fmt)); + conversionListView->setItem(j, 1, item); } // TIMERS @@ -673,39 +679,40 @@ int UserProfileForm::exec(list<t_user *> profiles, QString show_profile) } bool UserProfileForm::check_dynamic_payload(QSpinBox *spb, - Q3ValueList<int> &checked_list) + QList<int> &checked_list) { if (checked_list.contains(spb->value())) { - categoryListBox->setSelected(idxCatRtpAudio, true); - settingsWidgetStack->raiseWidget(pageRtpAudio); + categoryListBox->setCurrentRow(idxCatRtpAudio); + settingsWidgetStack->setCurrentWidget(pageRtpAudio); QString msg = tr("Dynamic payload type %1 is used more than once.").arg(spb->value()); ((t_gui *)ui)->cb_show_msg(this, msg.ascii(), MSG_CRITICAL); spb->setFocus(); return false; } - checked_list.append(spb->value()); + checked_list << spb->value(); return true; } list<t_number_conversion> UserProfileForm::get_number_conversions() { list<t_number_conversion> conversions; - Q3ListViewItemIterator it(conversionListView); - while (it.current()) { - Q3ListViewItem *item = it.current(); + + for (int i = 0; i < conversionListView->rowCount(); i++) + { + QTableWidgetItem* item; t_number_conversion c; try { - c.re.assign(item->text(colExpr).ascii()); - c.fmt = item->text(colReplace).ascii(); + item = conversionListView->item(0, 0); + c.re.assign(item->text().ascii()); + item = conversionListView->item(0, 1); + c.fmt = item->text().ascii(); conversions.push_back(c); } catch (boost::bad_expression) { // Should never happen as validity has been // checked already. Just being defensive here. } - - ++it; } return conversions; @@ -718,8 +725,8 @@ bool UserProfileForm::validateValues() // Validity check user page // SIP username is mandatory if (usernameLineEdit->text().isEmpty()) { - categoryListBox->setSelected(idxCatUser, true); - settingsWidgetStack->raiseWidget(pageUser); + categoryListBox->setCurrentRow(idxCatUser); + settingsWidgetStack->setCurrentWidget(pageUser); ((t_gui *)ui)->cb_show_msg(this, tr("You must fill in a user name for your SIP account.").ascii(), MSG_CRITICAL); usernameLineEdit->setFocus(); @@ -728,8 +735,8 @@ bool UserProfileForm::validateValues() // SIP user domain is mandatory if (domainLineEdit->text().isEmpty()) { - categoryListBox->setSelected(idxCatUser, true); - settingsWidgetStack->raiseWidget(pageUser); + categoryListBox->setCurrentRow(idxCatUser); + settingsWidgetStack->setCurrentWidget(pageUser); ((t_gui *)ui)->cb_show_msg(this, tr( "You must fill in a domain name for your SIP account.\n" "This could be the hostname or IP address of your PC " @@ -744,8 +751,8 @@ bool UserProfileForm::validateValues() s.append(':').append(domainLineEdit->text()); t_url u_domain(s.ascii()); if (!u_domain.is_valid() || u_domain.get_user() != "") { - categoryListBox->setSelected(idxCatUser, true); - settingsWidgetStack->raiseWidget(pageUser); + categoryListBox->setCurrentRow(idxCatUser); + settingsWidgetStack->setCurrentWidget(pageUser); ((t_gui *)ui)->cb_show_msg(this, tr("Invalid domain.").ascii(), MSG_CRITICAL); domainLineEdit->setFocus(); return false; @@ -757,8 +764,8 @@ bool UserProfileForm::validateValues() s.append(domainLineEdit->text()); t_url u_user_domain(s.ascii()); if (!u_user_domain.is_valid()) { - categoryListBox->setSelected(idxCatUser, true); - settingsWidgetStack->raiseWidget(pageUser); + categoryListBox->setCurrentRow(idxCatUser); + settingsWidgetStack->setCurrentWidget(pageUser); ((t_gui *)ui)->cb_show_msg(this, tr("Invalid user name.").ascii(), MSG_CRITICAL); usernameLineEdit->setFocus(); return false; @@ -770,8 +777,8 @@ bool UserProfileForm::validateValues() s.append(':').append(registrarLineEdit->text()); t_url u(s.ascii()); if (!u.is_valid() || u.get_user() != "") { - categoryListBox->setSelected(idxCatSipServer, true); - settingsWidgetStack->raiseWidget(pageSipServer); + categoryListBox->setCurrentRow(idxCatSipServer); + settingsWidgetStack->setCurrentWidget(pageSipServer); ((t_gui *)ui)->cb_show_msg(this, tr("Invalid value for registrar.").ascii(), MSG_CRITICAL); registrarLineEdit->setFocus(); @@ -786,8 +793,8 @@ bool UserProfileForm::validateValues() s.append(':').append(proxyLineEdit->text()); t_url u(s.ascii()); if (!u.is_valid() || u.get_user() != "") { - categoryListBox->setSelected(idxCatSipServer, true); - settingsWidgetStack->raiseWidget(pageSipServer); + categoryListBox->setCurrentRow(idxCatSipServer); + settingsWidgetStack->setCurrentWidget(pageSipServer); ((t_gui *)ui)->cb_show_msg(this, tr("Invalid value for outbound proxy.").ascii(), MSG_CRITICAL); proxyLineEdit->setFocus(); @@ -801,8 +808,8 @@ bool UserProfileForm::validateValues() if (mwiTypeComboBox->currentItem() == idxMWISollicited) { // Mailbox user name is mandatory if (mwiUserLineEdit->text().isEmpty()) { - categoryListBox->setSelected(idxCatVoiceMail, true); - settingsWidgetStack->raiseWidget(pageVoiceMail); + categoryListBox->setCurrentRow(idxCatVoiceMail); + settingsWidgetStack->setCurrentWidget(pageVoiceMail); ((t_gui *)ui)->cb_show_msg(this, tr("You must fill in a mailbox user name.").ascii(), MSG_CRITICAL); @@ -812,8 +819,8 @@ bool UserProfileForm::validateValues() // Mailbox server is mandatory if (mwiServerLineEdit->text().isEmpty()) { - categoryListBox->setSelected(idxCatVoiceMail, true); - settingsWidgetStack->raiseWidget(pageVoiceMail); + categoryListBox->setCurrentRow(idxCatVoiceMail); + settingsWidgetStack->setCurrentWidget(pageVoiceMail); ((t_gui *)ui)->cb_show_msg(this, tr("You must fill in a mailbox server").ascii(), MSG_CRITICAL); @@ -826,8 +833,8 @@ bool UserProfileForm::validateValues() s.append(':').append(mwiServerLineEdit->text()); t_url u_server(s.ascii()); if (!u_server.is_valid() || u_server.get_user() != "") { - categoryListBox->setSelected(idxCatVoiceMail, true); - settingsWidgetStack->raiseWidget(pageVoiceMail); + categoryListBox->setCurrentRow(idxCatVoiceMail); + settingsWidgetStack->setCurrentWidget(pageVoiceMail); ((t_gui *)ui)->cb_show_msg(this, tr("Invalid mailbox server.").ascii(), MSG_CRITICAL); mwiServerLineEdit->setFocus(); @@ -840,8 +847,8 @@ bool UserProfileForm::validateValues() s.append(mwiServerLineEdit->text()); t_url u_user_server(s.ascii()); if (!u_user_server.is_valid()) { - categoryListBox->setSelected(idxCatVoiceMail, true); - settingsWidgetStack->raiseWidget(pageVoiceMail); + categoryListBox->setCurrentRow(idxCatVoiceMail); + settingsWidgetStack->setCurrentWidget(pageVoiceMail); ((t_gui *)ui)->cb_show_msg(this, tr("Invalid mailbox user name.").ascii(), MSG_CRITICAL); mwiUserLineEdit->setFocus(); @@ -852,8 +859,8 @@ bool UserProfileForm::validateValues() // NAT public IP if (natStaticRadioButton->isChecked()) { if (publicIPLineEdit->text().isEmpty()){ - categoryListBox->setSelected(idxCatNat, true); - settingsWidgetStack->raiseWidget(pageNat); + categoryListBox->setCurrentRow(idxCatNat); + settingsWidgetStack->setCurrentWidget(pageNat); ((t_gui *)ui)->cb_show_msg(this, tr("Value for public IP address missing.").ascii(), MSG_CRITICAL); publicIPLineEdit->setFocus(); @@ -862,7 +869,7 @@ bool UserProfileForm::validateValues() } // Check for double RTP dynamic payload types - Q3ValueList<int> checked_types; + QList<int> checked_types; if (!check_dynamic_payload(spxNbPayloadSpinBox, checked_types) || !check_dynamic_payload(spxWbPayloadSpinBox, checked_types) || !check_dynamic_payload(spxUwbPayloadSpinBox, checked_types)) @@ -895,8 +902,8 @@ bool UserProfileForm::validateValues() s.append(stunServerLineEdit->text()); t_url u(s.ascii()); if (!u.is_valid() || u.get_user() != "") { - categoryListBox->setSelected(idxCatNat, true); - settingsWidgetStack->raiseWidget(pageNat); + categoryListBox->setCurrentRow(idxCatNat); + settingsWidgetStack->setCurrentWidget(pageNat); ((t_gui *)ui)->cb_show_msg(this, tr("Invalid value for STUN server.").ascii(), MSG_CRITICAL); stunServerLineEdit->setFocus(); @@ -1045,7 +1052,7 @@ bool UserProfileForm::validateValues() // Codecs list<t_audio_codec> audio_codecs; for (size_t i = 0; i < activeCodecListBox->count(); i++) { - audio_codecs.push_back(label2codec(activeCodecListBox->text(i))); + audio_codecs.push_back(label2codec(activeCodecListBox->item(i)->text())); } current_profile->set_codecs(audio_codecs); @@ -1264,7 +1271,7 @@ void UserProfileForm::changeProfile(const QString &profileName) { } // Store the current viewed category - map_last_cat[current_profile] = categoryListBox->index(categoryListBox->selectedItem()); + map_last_cat[current_profile] = categoryListBox->currentRow(); // Change to new profile. for (list<t_user *>::iterator i = profile_list.begin(); i != profile_list.end(); i++) { @@ -1279,7 +1286,7 @@ void UserProfileForm::changeProfile(const QString &profileName) { // Restore last viewed category int idxCat = map_last_cat[current_profile]; - categoryListBox->setSelected(idxCat, true); + categoryListBox->setCurrentRow(idxCat); showCategory(idxCat); } @@ -1347,11 +1354,11 @@ void UserProfileForm::chooseRemoteReleaseScript() void UserProfileForm::addCodec() { for (size_t i = 0; i < availCodecListBox->count(); i++) { - if (availCodecListBox->isSelected(i)) { - activeCodecListBox->insertItem(availCodecListBox->text(i)); - activeCodecListBox->setSelected( - activeCodecListBox->count() - 1, true); - availCodecListBox->removeItem(i); + + if (availCodecListBox->item(i)->isSelected()) { + activeCodecListBox->addItem(availCodecListBox->item(i)->text()); + activeCodecListBox->item(activeCodecListBox->count()-1)->setSelected(true); + delete availCodecListBox->takeItem(i); return; } } @@ -1359,69 +1366,81 @@ void UserProfileForm::addCodec() { void UserProfileForm::removeCodec() { for (size_t i = 0; i < activeCodecListBox->count(); i++) { - if (activeCodecListBox->isSelected(i)) { - availCodecListBox->insertItem(activeCodecListBox->text(i)); - availCodecListBox->setSelected( - availCodecListBox->count() - 1, true); - activeCodecListBox->removeItem(i); + if (activeCodecListBox->item(i)->isSelected()) { + availCodecListBox->addItem(activeCodecListBox->item(i)->text()); + availCodecListBox->item(availCodecListBox->count() - 1)->setSelected(true); + delete activeCodecListBox->takeItem(i); return; } } } void UserProfileForm::upCodec() { - Q3ListBoxItem *lbi = activeCodecListBox->selectedItem(); - if (!lbi) return; - - int idx = activeCodecListBox->index(lbi); - if (idx == 0) return; - - QString label = lbi->text(); - activeCodecListBox->removeItem(idx); - activeCodecListBox->insertItem(label, idx - 1); - activeCodecListBox->setSelected(idx - 1, true); + int row = activeCodecListBox->currentRow(); + if (row <= 0) + return; + + QListWidgetItem* item = activeCodecListBox->takeItem(row); + activeCodecListBox->insertItem(row-1, item); + activeCodecListBox->setCurrentRow(row-1); } void UserProfileForm::downCodec() { - Q3ListBoxItem *lbi = activeCodecListBox->selectedItem(); - if (!lbi) return; - - size_t idx = activeCodecListBox->index(lbi); - if (idx == activeCodecListBox->count() - 1) return; - - QString label = lbi->text(); - activeCodecListBox->removeItem(idx); - activeCodecListBox->insertItem(label, idx + 1); - activeCodecListBox->setSelected(idx + 1, true); + int row = activeCodecListBox->currentRow(); + if (row < 0 || row >= activeCodecListBox->count()-1) + return; + + QListWidgetItem* item = activeCodecListBox->takeItem(row); + activeCodecListBox->insertItem(row+1, item); + activeCodecListBox->setCurrentRow(row+1); } void UserProfileForm::upConversion() { - Q3ListViewItem *lvi = conversionListView->selectedItem(); - if (!lvi) return; - - Q3ListViewItem *above = lvi->itemAbove(); - if (!above) return; - - Q3ListViewItem *newAbove = above->itemAbove(); - - if (newAbove) { - lvi->moveItem(newAbove); - } else { - above->moveItem(lvi); - } - - lvi->setSelected(true); + QTableWidgetItem *c1, *c2; + QModelIndexList ilist = conversionListView->selectionModel()->selectedRows(); + int row; + + if (ilist.isEmpty()) + return; + + row = ilist[0].row(); + if (row == 0) + return; + + c1 = conversionListView->takeItem(row, 0); + c2 = conversionListView->takeItem(row, 1); + + conversionListView->setItem(row, 0, conversionListView->takeItem(row-1, 0)); + conversionListView->setItem(row, 1, conversionListView->takeItem(row-1, 1)); + + conversionListView->setItem(row-1, 0, c1); + conversionListView->setItem(row-1, 1, c2); + + conversionListView->selectRow(row-1); } void UserProfileForm::downConversion() { - Q3ListViewItem *lvi = conversionListView->selectedItem(); - if (!lvi) return; - - Q3ListViewItem *below = lvi->itemBelow(); - if (!below) return; - - lvi->moveItem(below); - lvi->setSelected(true); + QTableWidgetItem *c1, *c2; + QModelIndexList ilist = conversionListView->selectionModel()->selectedRows(); + int row; + + if (ilist.isEmpty()) + return; + + row = ilist[0].row(); + if (row == conversionListView->rowCount()-1) + return; + + c1 = conversionListView->takeItem(row, 0); + c2 = conversionListView->takeItem(row, 1); + + conversionListView->setItem(row, 0, conversionListView->takeItem(row+1, 0)); + conversionListView->setItem(row, 1, conversionListView->takeItem(row+1, 1)); + + conversionListView->setItem(row+1, 0, c1); + conversionListView->setItem(row+1, 1, c2); + + conversionListView->selectRow(row+1); } void UserProfileForm::addConversion() { @@ -1430,33 +1449,47 @@ void UserProfileForm::addConversion() { NumberConversionForm f; if (f.exec(expr, replace) == QDialog::Accepted) { - Q3ListViewItem *last = conversionListView->lastItem(); - if (last) { - new Q3ListViewItem(conversionListView, last, expr, replace); - } else { - new Q3ListViewItem(conversionListView, expr, replace); - } + QTableWidgetItem* item; + int row = conversionListView->rowCount(); + + conversionListView->setRowCount(row + 1); + + item = new QTableWidgetItem(expr); + conversionListView->setItem(row, 0, item); + + item = new QTableWidgetItem(replace); + conversionListView->setItem(row, 1, item); } } void UserProfileForm::editConversion() { - Q3ListViewItem *lvi = conversionListView->selectedItem(); - if (!lvi) return; - - QString expr = lvi->text(colExpr); - QString replace = lvi->text(colReplace); + QModelIndexList ilist = conversionListView->selectionModel()->selectedRows(); + int row; + + if (ilist.isEmpty()) + return; + + row = ilist[0].row(); + + QString expr = conversionListView->item(row, 0)->text(); + QString replace = conversionListView->item(row, 1)->text(); NumberConversionForm f; if (f.exec(expr, replace) == QDialog::Accepted) { - lvi->setText(colExpr, expr); - lvi->setText(colReplace, replace); + conversionListView->item(row, 0)->setText(expr); + conversionListView->item(row, 1)->setText(replace); } } void UserProfileForm::removeConversion() { - Q3ListViewItem *lvi = conversionListView->selectedItem(); - if (!lvi) return; - delete lvi; + QModelIndexList ilist = conversionListView->selectionModel()->selectedRows(); + int row; + + if (ilist.isEmpty()) + return; + + row = ilist[0].row(); + conversionListView->removeRow(row); } void UserProfileForm::testConversion() { diff --git a/src/gui/userprofileform.h b/src/gui/userprofileform.h index b339210..7cdec8c 100644 --- a/src/gui/userprofileform.h +++ b/src/gui/userprofileform.h @@ -2,7 +2,7 @@ #define USERPROFILEFORM_H #include <list> #include <map> -#include "Qt3Support/Q3ValueList" +#include <QList> #include "user.h" #include "ui_userprofileform.h" @@ -19,7 +19,7 @@ public: virtual int ext_support2indexComboItem( t_ext_support ext ); virtual t_ext_support indexComboItem2ext_support( int index ); virtual int exec( list<t_user *> profiles, QString show_profile ); - virtual bool check_dynamic_payload( QSpinBox * spb, Q3ValueList<int> & checked_list ); + virtual bool check_dynamic_payload( QSpinBox * spb, QList<int> & checked_list ); virtual list<t_number_conversion> get_number_conversions(); virtual bool validateValues(); diff --git a/src/gui/userprofileform.ui b/src/gui/userprofileform.ui index 3226ef9..b473cb7 100644 --- a/src/gui/userprofileform.ui +++ b/src/gui/userprofileform.ui @@ -1,2053 +1,2047 @@ <?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> - </property> - <property name="windowTitle"> - <string>Twinkle - User Profile</string> - </property> - <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>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> +<ui version="4.0"> + <class>UserProfileForm</class> + <widget class="QDialog" name="UserProfileForm"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>771</width> + <height>582</height> + </rect> + </property> + <property name="windowTitle"> + <string>Twinkle - User Profile</string> + </property> + <layout class="QGridLayout"> + <item row="0" column="0" 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="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="whatsThis"> + <string>Select which profile you want to edit.</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="1" column="0"> + <widget class="QListWidget" name="categoryListBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>150</width> + <height>0</height> + </size> + </property> + <property name="whatsThis"> + <string>Select a category for which you want to see or modify the settings.</string> + </property> + <property name="midLineWidth"> + <number>0</number> + </property> + <property name="iconSize"> + <size> + <width>32</width> + <height>32</height> + </size> + </property> + <item> + <property name="text"> + <string>User</string> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/penguin.png</normaloff>:/icons/images/penguin.png</iconset> + </property> + </item> + <item> + <property name="text"> + <string>SIP server</string> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/package_network.png</normaloff>:/icons/images/package_network.png</iconset> + </property> + </item> + <item> + <property name="text"> + <string>Voice mail</string> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/mwi_none.png</normaloff>:/icons/images/mwi_none.png</iconset> + </property> + </item> + <item> + <property name="text"> + <string>Instant message</string> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/message32.png</normaloff>:/icons/images/message32.png</iconset> + </property> + </item> + <item> + <property name="text"> + <string>Presence</string> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/presence.png</normaloff>:/icons/images/presence.png</iconset> + </property> + </item> + <item> + <property name="text"> + <string>RTP audio</string> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/kmix.png</normaloff>:/icons/images/kmix.png</iconset> + </property> + </item> + <item> + <property name="text"> + <string>SIP protocol</string> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/package_system.png</normaloff>:/icons/images/package_system.png</iconset> + </property> + </item> + <item> + <property name="text"> + <string>Transport/NAT</string> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/yast_babelfish.png</normaloff>:/icons/images/yast_babelfish.png</iconset> + </property> + </item> + <item> + <property name="text"> + <string>Address format</string> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/yast_PhoneTTOffhook.png</normaloff>:/icons/images/yast_PhoneTTOffhook.png</iconset> + </property> + </item> + <item> + <property name="text"> + <string>Timers</string> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/clock.png</normaloff>:/icons/images/clock.png</iconset> + </property> + </item> + <item> + <property name="text"> + <string>Ring tones</string> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/knotify.png</normaloff>:/icons/images/knotify.png</iconset> + </property> + </item> + <item> + <property name="text"> + <string>Scripts</string> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/edit.png</normaloff>:/icons/images/edit.png</iconset> + </property> + </item> + <item> + <property name="text"> + <string>Security</string> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/encrypted32.png</normaloff>:/icons/images/encrypted32.png</iconset> + </property> + </item> + </widget> + </item> + <item row="2" column="0"> + <layout class="QHBoxLayout"> + <item> + <spacer name="spacer8"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>441</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="okPushButton"> + <property name="whatsThis"> + <string>Accept and save your changes.</string> + </property> + <property name="text"> + <string>&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="whatsThis"> + <string>Undo all your changes and close the window.</string> + </property> + <property name="text"> + <string>&Cancel</string> + </property> + <property name="shortcut"> + <string>Alt+C</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="1" column="1" rowspan="2"> + <widget class="QStackedWidget" name="settingsWidgetStack"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="pageUser"> + <layout class="QVBoxLayout"> + <item> + <widget class="QLabel" name="userTitleTextLabel"> + <property name="font"> + <font> + <pointsize>21</pointsize> + </font> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="text"> + <string>User</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="indent"> + <number>10</number> + </property> + </widget> + </item> + <item> + <widget class="QGroupBox" 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>User</string> + <string>&User name*:</string> </property> - <property name="pixmap"> - <pixmap>:/icons/images/penguin.png</pixmap> + <property name="wordWrap"> + <bool>false</bool> </property> + <property name="buddy"> + <cstring>usernameLineEdit</cstring> + </property> + </widget> </item> - <item> + <item row="2" column="0"> + <widget class="QLabel" name="domainTextLabel"> <property name="text"> - <string>SIP server</string> + <string>&Domain*:</string> </property> - <property name="pixmap"> - <pixmap>:/icons/images/package_network.png</pixmap> + <property name="wordWrap"> + <bool>false</bool> </property> + <property name="buddy"> + <cstring>domainLineEdit</cstring> + </property> + </widget> </item> - <item> + <item row="3" column="0"> + <widget class="QLabel" name="organizationTextLabel"> <property name="text"> - <string>Voice mail</string> + <string>Or&ganization:</string> </property> - <property name="pixmap"> - <pixmap>:/icons/images/mwi_none.png</pixmap> + <property name="wordWrap"> + <bool>false</bool> </property> + <property name="buddy"> + <cstring>organizationLineEdit</cstring> + </property> + </widget> </item> - <item> - <property name="text"> - <string>Instant message</string> + <item row="1" column="1"> + <widget class="QLineEdit" name="usernameLineEdit"> + <property name="whatsThis"> + <string>The SIP user name given to you by your provider. It is the user part in your SIP address, <b>username</b>@domain.com This could be a telephone number. +<br><br> +This field is mandatory.</string> </property> - <property name="pixmap"> - <pixmap>:/icons/images/message32.png</pixmap> + </widget> + </item> + <item row="2" column="1"> + <widget class="QLineEdit" name="domainLineEdit"> + <property name="whatsThis"> + <string>The domain part of your SIP address, username@<b>domain.com</b>. Instead of a real domain this could also be the hostname or IP address of your <b>SIP proxy</b>. If you want direct IP phone to IP phone communications then you fill in the hostname or IP address of your computer. +<br><br> +This field is mandatory.</string> </property> + </widget> </item> - <item> - <property name="text"> - <string>Presence</string> + <item row="3" column="1"> + <widget class="QLineEdit" name="organizationLineEdit"> + <property name="whatsThis"> + <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> - <property name="pixmap"> - <pixmap>:/icons/images/presence.png</pixmap> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="displayLineEdit"> + <property name="whatsThis"> + <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> + <item row="0" column="0"> + <widget class="QLabel" name="dislpayTextLabel"> <property name="text"> - <string>RTP audio</string> + <string>&Your name:</string> </property> - <property name="pixmap"> - <pixmap>:/icons/images/kmix.png</pixmap> + <property name="wordWrap"> + <bool>false</bool> </property> + <property name="buddy"> + <cstring>displayLineEdit</cstring> + </property> + </widget> </item> - <item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" 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>SIP protocol</string> + <string>&Realm:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> </property> - <property name="pixmap"> - <pixmap>:/icons/images/package_system.png</pixmap> + <property name="buddy"> + <cstring>authRealmLineEdit</cstring> </property> + </widget> </item> - <item> + <item row="1" column="0"> + <widget class="QLabel" name="authNameTextLabel"> <property name="text"> - <string>Transport/NAT</string> + <string>Authentication &name:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> </property> - <property name="pixmap"> - <pixmap>:/icons/images/yast_babelfish.png</pixmap> + <property name="buddy"> + <cstring>authNameLineEdit</cstring> </property> + </widget> </item> - <item> + <item row="0" column="1"> + <widget class="QLineEdit" name="authRealmLineEdit"> + <property name="whatsThis"> + <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"> + <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="4" column="0"> + <widget class="QLabel" name="authAkaAmfTextLabel"> <property name="text"> - <string>Address format</string> + <string>AKA AM&F:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> </property> - <property name="pixmap"> - <pixmap>:/icons/images/yast_PhoneTTOffhook.png</pixmap> + <property name="buddy"> + <cstring>authAkaAmfLineEdit</cstring> </property> + </widget> </item> - <item> + <item row="3" column="0"> + <widget class="QLabel" name="authAkaOpTextLabel"> <property name="text"> - <string>Timers</string> + <string>A&KA OP:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> </property> - <property name="pixmap"> - <pixmap>:/icons/images/clock.png</pixmap> + <property name="buddy"> + <cstring>authAkaOpLineEdit</cstring> </property> + </widget> </item> - <item> + <item row="2" column="1"> + <widget class="QLineEdit" name="authPasswordLineEdit"> + <property name="whatsThis"> + <string>Your password for authentication.</string> + </property> + <property name="echoMode"> + <enum>QLineEdit::Password</enum> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="authPasswordTextLabel"> <property name="text"> - <string>Ring tones</string> + <string>&Password:</string> </property> - <property name="pixmap"> - <pixmap>:/icons/images/knotify.png</pixmap> + <property name="wordWrap"> + <bool>false</bool> </property> + <property name="buddy"> + <cstring>authPasswordLineEdit</cstring> + </property> + </widget> </item> - <item> + <item row="4" column="1"> + <widget class="QLineEdit" name="authAkaAmfLineEdit"> + <property name="whatsThis"> + <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"> + <string>Operator variant key for AKAv1-MD5 authentication.</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <spacer name="spacer9"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>110</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="pageSipServer"> + <layout class="QVBoxLayout"> + <item> + <widget class="QLabel" name="sipServerTitleTextLabel"> + <property name="font"> + <font> + <pointsize>21</pointsize> + </font> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="text"> + <string>SIP server</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="indent"> + <number>10</number> + </property> + </widget> + </item> + <item> + <widget class="QGroupBox" 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>Scripts</string> + <string>&Registrar:</string> </property> - <property name="pixmap"> - <pixmap>:/icons/images/edit.png</pixmap> + <property name="wordWrap"> + <bool>false</bool> </property> + <property name="buddy"> + <cstring>registrarLineEdit</cstring> + </property> + </widget> </item> - <item> + <item row="0" column="1"> + <widget class="QLineEdit" name="registrarLineEdit"> + <property name="whatsThis"> + <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>Security</string> + <string>&Expiry:</string> </property> - <property name="pixmap"> - <pixmap>:/icons/images/encrypted32.png</pixmap> + <property name="wordWrap"> + <bool>false</bool> </property> + <property name="buddy"> + <cstring>expirySpinBox</cstring> + </property> + </widget> </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> + <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> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> + <property name="whatsThis"> + <string>The registration expiry time that Twinkle will request.</string> </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> + <property name="maximum"> + <number>999999</number> </property> - </spacer> - </item> - <item> - <widget class="QPushButton" name="okPushButton"> + <property name="singleStep"> + <number>100</number> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="secondsTextLabel"> <property name="text"> - <string>&OK</string> + <string>seconds</string> </property> - <property name="shortcut"> - <string>Alt+O</string> + <property name="wordWrap"> + <bool>false</bool> + </property> + </widget> + </item> + <item> + <spacer name="spacer1"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> </property> - <property name="default"> - <bool>true</bool> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> </property> - <property name="whatsThis" stdset="0"> - <string>Accept and save your changes.</string> + <property name="sizeHint" stdset="0"> + <size> + <width>260</width> + <height>20</height> + </size> </property> - </widget> + </spacer> + </item> + </layout> </item> - <item> - <widget class="QPushButton" name="cancelPushButton"> + <item row="2" column="0" colspan="2"> + <widget class="QCheckBox" name="regAtStartupCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>Re&gister at startup</string> + </property> + <property name="shortcut"> + <string>Alt+G</string> + </property> + </widget> + </item> + <item row="3" column="0" colspan="2"> + <layout class="QHBoxLayout"> + <item> + <widget class="QCheckBox" name="regAddQvalueCheckBox"> + <property name="whatsThis"> + <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> <property name="text"> - <string>&Cancel</string> + <string>Add q-value to registration</string> </property> - <property name="shortcut"> - <string>Alt+C</string> + </widget> + </item> + <item> + <widget class="QLineEdit" name="regQvalueLineEdit"> + <property name="whatsThis"> + <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="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> </property> - <property name="whatsThis" stdset="0"> - <string>Undo all your changes and close the window.</string> + <property name="sizeHint" stdset="0"> + <size> + <width>210</width> + <height>20</height> + </size> </property> - </widget> + </spacer> + </item> + </layout> </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"> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="outboundProxyGroupBox"> + <property name="title"> + <string>Outbound Proxy</string> + </property> + <layout class="QGridLayout"> + <item row="0" column="0" colspan="2"> + <widget class="QCheckBox" name="useProxyCheckBox"> + <property name="whatsThis"> + <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="text"> + <string>&Use outbound proxy</string> + </property> + <property name="shortcut"> + <string>Alt+U</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="proxyTextLabel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="text"> + <string>Outbound &proxy:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>proxyLineEdit</cstring> + </property> + </widget> + </item> + <item row="3" column="0" colspan="2"> + <widget class="QCheckBox" name="proxyNonResolvableCheckBox"> + <property name="whatsThis"> + <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="text"> + <string>&Don't send a request to proxy if its destination can be resolved locally.</string> + </property> + <property name="shortcut"> + <string>Alt+D</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLineEdit" name="proxyLineEdit"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="whatsThis"> + <string>The hostname, domain name or IP address of your outbound proxy.</string> + </property> + </widget> + </item> + <item row="2" column="0" colspan="2"> + <widget class="QCheckBox" name="allRequestsCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>&Send in-dialog requests to proxy</string> + </property> + <property name="shortcut"> + <string>Alt+S</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <spacer name="spacer10"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>100</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="pageRtpAudio"> + <layout class="QVBoxLayout"> + <item> + <widget class="QLabel" name="rtpAudioTitleTextLabel"> + <property name="font"> + <font> + <pointsize>21</pointsize> + </font> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="text"> + <string>RTP audio</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="indent"> + <number>10</number> + </property> + </widget> + </item> + <item> + <widget class="QTabWidget" name="rtpAudioTabWidget"> + <widget class="QWidget" name="tabCodecs"> + <attribute name="title"> + <string>Co&decs</string> + </attribute> + <layout class="QGridLayout"> + <item row="1" column="0"> + <layout class="QHBoxLayout"> + <item> + <widget class="QLabel" name="ptimeTextLabel"> + <property name="text"> + <string>&G.711/G.726 payload size:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>ptimeSpinBox</cstring> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="ptimeSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> + <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="whatsThis"> + <string>The preferred payload size for the G.711 and G.726 codecs.</string> + </property> + <property name="minimum"> + <number>10</number> + </property> + <property name="maximum"> + <number>50</number> + </property> + <property name="singleStep"> + <number>10</number> + </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="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>121</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item row="2" column="0"> + <widget class="QCheckBox" name="inFarEndCodecPrefCheckBox"> + <property name="whatsThis"> + <string><p> +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. +<p> +If you disable this option, then the first codec from the active codecs that is also in the SDP offer is picked.</string> + </property> + <property name="text"> + <string>&Follow codec preference from far end on incoming calls</string> + </property> + <property name="shortcut"> + <string>Alt+F</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QCheckBox" name="outFarEndCodecPrefCheckBox"> + <property name="whatsThis"> + <string><p> +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. +<p> +If you disable this option, then the first codec from the active codecs that is also in the SDP answer is picked.</string> + </property> + <property name="text"> + <string>Follow codec &preference from far end on outgoing calls</string> + </property> + <property name="shortcut"> + <string>Alt+P</string> + </property> + </widget> + </item> + <item row="4" column="0"> + <spacer name="spacer38"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>16</height> + </size> + </property> + </spacer> + </item> + <item row="0" column="0"> + <widget class="QGroupBox" name="codecsGroupBox"> + <property name="title"> + <string>Codecs</string> + </property> + <layout class="QHBoxLayout"> <item> - <widget class="QLabel" name="userTitleTextLabel"> - <property name="font"> - <font> - <pointsize>21</pointsize> - </font> - </property> - <property name="frameShape"> - <enum>QFrame::Box</enum> - </property> + <layout class="QVBoxLayout"> + <item> + <widget class="QLabel" name="availCodecTextLabel"> <property name="text"> - <string>User</string> - </property> - <property name="indent"> - <number>10</number> + <string>Available codecs:</string> </property> <property name="wordWrap"> - <bool>false</bool> + <bool>false</bool> + </property> + </widget> + </item> + <item> + <widget class="QListWidget" name="availCodecListBox"> + <property name="whatsThis"> + <string>List of available codecs.</string> </property> - </widget> + <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> - <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>&User name*:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>usernameLineEdit</cstring> - </property> - <property name="wordWrap"> - <bool>false</bool> - </property> - </widget> - </item> - <item row="2" column="0"> - <widget class="QLabel" name="domainTextLabel"> - <property name="text"> - <string>&Domain*:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>domainLineEdit</cstring> - </property> - <property name="wordWrap"> - <bool>false</bool> - </property> - </widget> - </item> - <item row="3" column="0"> - <widget class="QLabel" name="organizationTextLabel"> - <property name="text"> - <string>Or&ganization:</string> - </property> - <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, <b>username</b>@domain.com This could be a telephone number. -<br><br> -This field is mandatory.</string> - </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@<b>domain.com</b>. Instead of a real domain this could also be the hostname or IP address of your <b>SIP proxy</b>. If you want direct IP phone to IP phone communications then you fill in the hostname or IP address of your computer. -<br><br> -This field is mandatory.</string> - </property> - </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> - </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> - </widget> - </item> - <item row="0" column="0"> - <widget class="QLabel" name="dislpayTextLabel"> - <property name="text"> - <string>&Your name:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>displayLineEdit</cstring> - </property> - <property name="wordWrap"> - <bool>false</bool> - </property> - </widget> - </item> - </layout> - </widget> + <layout class="QVBoxLayout"> + <item> + <spacer name="spacer17_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="addCodecPushButton"> + <property name="whatsThis"> + <string>Move a codec from the list of available codecs to the list of active codecs.</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/1rightarrow.png</normaloff>:/icons/images/1rightarrow.png</iconset> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="rmvCodecPushButton"> + <property name="whatsThis"> + <string>Move a codec from the list of active codecs to the list of available codecs.</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/1leftarrow.png</normaloff>:/icons/images/1leftarrow.png</iconset> + </property> + </widget> + </item> + <item> + <spacer name="spacer18"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>21</height> + </size> + </property> + </spacer> + </item> + </layout> </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>&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 &name:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>authNameLineEdit</cstring> - </property> - <property name="wordWrap"> - <bool>false</bool> - </property> - </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> - </widget> - </item> - <item row="4" column="0"> - <widget class="QLabel" name="authAkaAmfTextLabel"> - <property name="text"> - <string>AKA AM&F:</string> - </property> - <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>A&KA OP:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>authAkaOpLineEdit</cstring> - </property> - <property name="wordWrap"> - <bool>false</bool> - </property> - </widget> - </item> - <item row="2" column="1"> - <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> - <item row="2" column="0"> - <widget class="QLabel" name="authPasswordTextLabel"> - <property name="text"> - <string>&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> + <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="QListWidget" name="activeCodecListBox"> + <property name="whatsThis"> + <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> - <spacer name="spacer9"> - <property name="sizeHint"> - <size> - <width>20</width> - <height>110</height> - </size> + <layout class="QVBoxLayout"> + <item> + <spacer name="spacer19_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>21</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="upCodecPushButton"> + <property name="whatsThis"> + <string>Move a codec upwards in the list of active codecs, i.e. increase its preference of use.</string> </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/1uparrow.png</normaloff>:/icons/images/1uparrow.png</iconset> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="downCodecPushButton"> + <property name="whatsThis"> + <string>Move a codec downwards in the list of active codecs, i.e. decrease its preference of use.</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/1downarrow.png</normaloff>:/icons/images/1downarrow.png</iconset> + </property> + </widget> + </item> + <item> + <spacer name="spacer20_2"> <property name="orientation"> - <enum>Qt::Vertical</enum> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>31</height> + </size> </property> - </spacer> + </spacer> + </item> + </layout> </item> - </layout> - </widget> - <widget class="QWidget" name="pageSipServer"> - <attribute name="id"> - <number>1</number> - </attribute> - <layout class="QVBoxLayout"> + </layout> + </widget> + </item> + </layout> + </widget> + <widget class="QWidget" name="tabPreprocessing"> + <attribute name="title"> + <string>Prepr&ocessing</string> + </attribute> + <layout class="QVBoxLayout"> + <item> + <widget class="QGroupBox" name="preprocessingGroupBox"> + <property name="title"> + <string>Preprocessing (improves quality at remote end)</string> + </property> + <layout class="QHBoxLayout"> <item> - <widget class="QLabel" name="sipServerTitleTextLabel"> - <property name="font"> - <font> - <pointsize>21</pointsize> - </font> - </property> - <property name="frameShape"> - <enum>QFrame::Box</enum> + <layout class="QGridLayout"> + <item row="0" column="0"> + <widget class="QCheckBox" name="spxDspAgcCheckBox"> + <property name="whatsThis"> + <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="text"> - <string>SIP server</string> + <string>&Automatic gain control</string> + </property> + <property name="shortcut"> + <string>Alt+A</string> </property> - <property name="indent"> - <number>10</number> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLabel" name="spxDspAgcLevelTextLabel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="text"> + <string>Automatic gain control &level:</string> </property> <property name="wordWrap"> - <bool>false</bool> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>spxDspAgcLevelSpinBox</cstring> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QSpinBox" name="spxDspAgcLevelSpinBox"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="whatsThis"> + <string>Automatic gain control level represents percentual value of automatic gain setting of a microphone. Recommended value is about 25%.</string> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>100</number> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QCheckBox" name="spxDspVadCheckBox"> + <property name="whatsThis"> + <string>When enabled, voice activity detection detects whether the input signal represents a speech or a silence/background noise.</string> </property> - </widget> + <property name="text"> + <string>&Voice activity detection</string> + </property> + <property name="shortcut"> + <string>Alt+V</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QCheckBox" name="spxDspNrdCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>&Noise reduction</string> + </property> + <property name="shortcut"> + <string>Alt+N</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QCheckBox" name="spxDspAecCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>Acoustic &Echo Cancellation</string> + </property> + <property name="shortcut"> + <string>Alt+E</string> + </property> + </widget> + </item> + </layout> </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>&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>&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> - <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&gister at startup</string> - </property> - <property name="shortcut"> - <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> - </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> - <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> + <spacer name="spacer24"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>31</width> + <height>20</height> + </size> + </property> + </spacer> </item> + </layout> + </widget> + </item> + <item> + <spacer name="spacer25"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>121</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="tabIlbc"> + <attribute name="title"> + <string>&iLBC</string> + </attribute> + <layout class="QVBoxLayout"> + <item> + <widget class="QGroupBox" name="ilbcGroupBox"> + <property name="title"> + <string>iLBC</string> + </property> + <layout class="QHBoxLayout"> <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>&Use outbound proxy</string> - </property> - <property name="shortcut"> - <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> - </item> - <item row="1" column="0"> - <widget class="QLabel" name="proxyTextLabel"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="text"> - <string>Outbound &proxy:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>proxyLineEdit</cstring> - </property> - <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>&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> - </widget> - </item> - <item row="1" column="1"> - <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 outbound proxy.</string> - </property> - </widget> - </item> - <item row="2" column="0" rowspan="1" colspan="2"> - <widget class="QCheckBox" name="allRequestsCheckBox"> - <property name="text"> - <string>&Send in-dialog requests to proxy</string> - </property> - <property name="shortcut"> - <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> - </item> - </layout> - </widget> + <layout class="QVBoxLayout"> + <item> + <widget class="QLabel" name="ilbcPayloadTextLabel"> + <property name="text"> + <string>i&LBC payload type:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>ilbcPayloadSpinBox</cstring> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="ilbcPayloadSizeTextLabel"> + <property name="text"> + <string>iLBC &payload size (ms):</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>ilbcPayloadSizeComboBox</cstring> + </property> + </widget> + </item> + </layout> </item> <item> - <spacer name="spacer10"> - <property name="sizeHint"> - <size> - <width>20</width> - <height>100</height> - </size> + <layout class="QVBoxLayout"> + <item> + <widget class="QSpinBox" name="ilbcPayloadSpinBox"> + <property name="whatsThis"> + <string>The dynamic type value (96 or higher) to be used for iLBC.</string> </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> + <property name="minimum"> + <number>96</number> </property> - <property name="orientation"> - <enum>Qt::Vertical</enum> + <property name="maximum"> + <number>127</number> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="ilbcPayloadSizeComboBox"> + <property name="whatsThis"> + <string>The preferred payload size for iLBC.</string> </property> - </spacer> + <item> + <property name="text"> + <string>20</string> + </property> + </item> + <item> + <property name="text"> + <string>30</string> + </property> + </item> + </widget> + </item> + </layout> </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> + <spacer name="spacer26"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>71</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + <item> + <spacer name="spacer29_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>81</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="tabSpeex"> + <attribute name="title"> + <string>&Speex</string> + </attribute> + <layout class="QVBoxLayout"> + <item> + <widget class="QGroupBox" 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="whatsThis"> + <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="text"> + <string>Perceptual &enhancement</string> + </property> + <property name="shortcut"> + <string>Alt+E</string> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QLabel" name="spxUwbPayloadTextLabel"> + <property name="text"> + <string>&Ultra wide band payload type:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>spxUwbPayloadSpinBox</cstring> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QLabel" name="spxWbPayloadTextLabel"> + <property name="text"> + <string>&Wide band payload type:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>spxWbPayloadSpinBox</cstring> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QCheckBox" name="spxVbrCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>Variable &bit-rate</string> + </property> + <property name="shortcut"> + <string>Alt+B</string> + </property> + </widget> + </item> + <item row="4" column="2"> + <widget class="QSpinBox" name="spxUwbPayloadSpinBox"> + <property name="whatsThis"> + <string>The dynamic type value (96 or higher) to be used for speex wide band.</string> + </property> + <property name="minimum"> + <number>96</number> + </property> + <property name="maximum"> + <number>127</number> </property> - <property name="frameShape"> - <enum>QFrame::Box</enum> + </widget> + </item> + <item row="1" column="0"> + <widget class="QCheckBox" name="spxDtxCheckBox"> + <property name="whatsThis"> + <string>Discontinuous transmission is an addition to VAD/VBR operation, that allows to stop transmitting completely when the background noise is stationary.</string> </property> <property name="text"> - <string>RTP audio</string> + <string>Discontinuous &Transmission</string> </property> - <property name="indent"> - <number>10</number> + <property name="shortcut"> + <string>Alt+T</string> + </property> + </widget> + </item> + <item row="3" column="2"> + <widget class="QSpinBox" name="spxWbPayloadSpinBox"> + <property name="whatsThis"> + <string>The dynamic type value (96 or higher) to be used for speex wide band.</string> + </property> + <property name="minimum"> + <number>96</number> + </property> + <property name="maximum"> + <number>127</number> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QSpinBox" name="spxNbPayloadSpinBox"> + <property name="whatsThis"> + <string>The dynamic type value (96 or higher) to be used for speex narrow band.</string> + </property> + <property name="minimum"> + <number>96</number> + </property> + <property name="maximum"> + <number>127</number> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLabel" name="spxQualityTextLabel"> + <property name="text"> + <string>&Quality:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>spxQualitySpinBox</cstring> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QSpinBox" name="spxQualitySpinBox"> + <property name="whatsThis"> + <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> + <property name="minimum"> + <number>0</number> + </property> + <property name="maximum"> + <number>10</number> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="spxComplexityTextLabel"> + <property name="text"> + <string>Co&mplexity:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>spxComplexitySpinBox</cstring> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QSpinBox" name="spxComplexitySpinBox"> + <property name="whatsThis"> + <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> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>10</number> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QLabel" name="spxNbPayloadTextLabel"> + <property name="text"> + <string>&Narrow band payload type:</string> </property> <property name="wordWrap"> - <bool>false</bool> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>spxNbPayloadSpinBox</cstring> </property> - </widget> + </widget> + </item> + </layout> </item> <item> - <widget class="QTabWidget" name="rtpAudioTabWidget"> - <widget class="QWidget" name="tabCodecs"> - <attribute name="title"> - <string>Co&decs</string> - </attribute> - <layout class="QGridLayout"> - <item row="1" column="0"> - <layout class="QHBoxLayout"> - <item> - <widget class="QLabel" name="ptimeTextLabel"> - <property name="text"> - <string>&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>&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><p> -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. -<p> -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 &preference from far end on outgoing calls</string> - </property> - <property name="shortcut"> - <string>Alt+P</string> - </property> - <property name="whatsThis" stdset="0"> - <string><p> -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. -<p> -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>Available codecs:</string> - </property> - <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>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> - <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/> - </property> - <property name="icon"> - <pixmap>:/icons/images/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> - </item> - <item> - <widget class="QPushButton" name="rmvCodecPushButton"> - <property name="text"> - <string/> - </property> - <property name="icon"> - <pixmap>:/icons/images/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> - </item> - <item> - <spacer name="spacer18"> - <property name="sizeHint"> - <size> - <width>20</width> - <height>21</height> - </size> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - </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>21</height> - </size> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - </spacer> - </item> - <item> - <widget class="QPushButton" name="upCodecPushButton"> - <property name="text"> - <string/> - </property> - <property name="icon"> - <pixmap>:/icons/images/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> - </item> - <item> - <widget class="QPushButton" name="downCodecPushButton"> - <property name="text"> - <string/> - </property> - <property name="icon"> - <pixmap>:/icons/images/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>31</height> - </size> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - </spacer> - </item> - </layout> - </item> - </layout> - </widget> - </item> - </layout> - </widget> - <widget class="QWidget" name="tabPreprocessing"> - <attribute name="title"> - <string>Prepr&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>&Automatic gain control</string> - </property> - <property name="shortcut"> - <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> - </item> - <item row="0" column="1"> - <widget class="QLabel" name="spxDspAgcLevelTextLabel"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="text"> - <string>Automatic gain control &level:</string> - </property> - <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> - <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>&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>&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 &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> - </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>&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&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 &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> - </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>&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 &enhancement</string> - </property> - <property name="shortcut"> - <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> - </item> - <item row="4" column="1"> - <widget class="QLabel" name="spxUwbPayloadTextLabel"> - <property name="text"> - <string>&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>&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 &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 "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> - </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 &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>&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&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>&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> - </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 &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 &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 &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 &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> - </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 &packing order:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>g726PackComboBox</cstring> - </property> - <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>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> - </layout> - </item> - </layout> - </widget> - </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&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> - <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="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>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 DTMF events (RFC 2833).</string> - </property> - </widget> - </item> - <item row="1" column="3"> - <widget class="QLabel" name="dtmfDurationMsTextLabel"> - <property name="text"> - <string>ms</string> - </property> - <property name="wordWrap"> - <bool>false</bool> - </property> - </widget> - </item> - <item row="3" column="0"> - <widget class="QLabel" name="dtmfVolumeTextLabel"> - <property name="text"> - <string>DTMF vo&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>DTMF &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 &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 &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>DTMF t&ransport:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>dtmfTransportComboBox</cstring> - </property> - <property name="wordWrap"> - <bool>false</bool> - </property> - </widget> - </item> - <item> - <widget class="QComboBox" name="dtmfTransportComboBox"> - <property name="whatsThis" stdset="0"> - <string><h2>RFC 2833</h2> + <spacer name="spacer23_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>31</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + <item> + <spacer name="spacer30_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>121</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="tabG726"> + <attribute name="title"> + <string>G.726</string> + </attribute> + <layout class="QVBoxLayout"> + <item> + <widget class="QGroupBox" 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 &40 kbps payload type:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>g72640PayloadSpinBox</cstring> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QSpinBox" name="g72640PayloadSpinBox"> + <property name="whatsThis"> + <string>The dynamic type value (96 or higher) to be used for G.726 40 kbps.</string> + </property> + <property name="minimum"> + <number>96</number> + </property> + <property name="maximum"> + <number>127</number> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QSpinBox" name="g72632PayloadSpinBox"> + <property name="whatsThis"> + <string>The dynamic type value (96 or higher) to be used for G.726 32 kbps.</string> + </property> + <property name="minimum"> + <number>0</number> + </property> + <property name="maximum"> + <number>127</number> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="g72624PayloadTypeTextLabel"> + <property name="text"> + <string>G.726 &24 kbps payload type:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>g72624PayloadSpinBox</cstring> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QSpinBox" name="g72624PayloadSpinBox"> + <property name="whatsThis"> + <string>The dynamic type value (96 or higher) to be used for G.726 24 kbps.</string> + </property> + <property name="minimum"> + <number>96</number> + </property> + <property name="maximum"> + <number>127</number> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="g72632PayloadTypeTextLabel"> + <property name="text"> + <string>G.726 &32 kbps payload type:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>g72632PayloadSpinBox</cstring> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QSpinBox" name="g72616PayloadSpinBox"> + <property name="whatsThis"> + <string>The dynamic type value (96 or higher) to be used for G.726 16 kbps.</string> + </property> + <property name="minimum"> + <number>96</number> + </property> + <property name="maximum"> + <number>127</number> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="g72616PayloadTypeTextLabel"> + <property name="text"> + <string>G.726 &16 kbps payload type:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>g72616PayloadSpinBox</cstring> + </property> + </widget> + </item> + </layout> + </item> + <item row="0" column="1"> + <spacer name="spacer31"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>231</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="1" column="0" colspan="2"> + <layout class="QHBoxLayout"> + <item> + <widget class="QLabel" name="g726PackingTextLabel"> + <property name="text"> + <string>Codeword &packing order:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>g726PackComboBox</cstring> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="g726PackComboBox"> + <property name="whatsThis"> + <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="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>141</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + </layout> + </widget> + </item> + <item> + <spacer name="spacer32"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>150</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="tabDtmf"> + <attribute name="title"> + <string>DT&MF</string> + </attribute> + <layout class="QVBoxLayout"> + <item> + <widget class="QGroupBox" name="dtmfGroupBox"> + <property name="title"> + <string>DTMF</string> + </property> + <layout class="QGridLayout"> + <item row="1" column="1"> + <spacer name="spacer17"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>280</width> + <height>20</height> + </size> + </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="Minimum" vsizetype="Fixed"> + <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="whatsThis"> + <string>The dynamic type value (96 or higher) to be used for DTMF events (RFC 2833).</string> + </property> + <property name="minimum"> + <number>96</number> + </property> + <property name="maximum"> + <number>127</number> + </property> + </widget> + </item> + <item row="1" column="3"> + <widget class="QLabel" name="dtmfDurationMsTextLabel"> + <property name="text"> + <string>ms</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="dtmfVolumeTextLabel"> + <property name="text"> + <string>DTMF vo&lume:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>dtmfVolumeSpinBox</cstring> + </property> + </widget> + </item> + <item row="3" column="2"> + <widget class="QSpinBox" name="dtmfVolumeSpinBox"> + <property name="whatsThis"> + <string>The power level of the DTMF tone in dB.</string> + </property> + <property name="minimum"> + <number>-63</number> + </property> + <property name="maximum"> + <number>0</number> + </property> + <property name="singleStep"> + <number>10</number> + </property> + <property name="value"> + <number>-10</number> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QSpinBox" name="dtmfPauseSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> + <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="whatsThis"> + <string>The pause after a DTMF tone.</string> + </property> + <property name="minimum"> + <number>20</number> + </property> + <property name="maximum"> + <number>100</number> + </property> + <property name="singleStep"> + <number>10</number> + </property> + </widget> + </item> + <item row="1" column="0" colspan="2"> + <widget class="QLabel" name="dtmfDurationTextLabel"> + <property name="text"> + <string>DTMF &duration:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>dtmfDurationSpinBox</cstring> + </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" colspan="2"> + <widget class="QLabel" name="dtmfPayloadTypeTextLabel"> + <property name="text"> + <string>DTMF payload &type:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>dtmfPayloadTypeSpinBox</cstring> + </property> + </widget> + </item> + <item row="2" column="0" colspan="2"> + <widget class="QLabel" name="dtmfPauseTextLabel"> + <property name="text"> + <string>DTMF &pause:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>dtmfPauseSpinBox</cstring> + </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="Minimum" vsizetype="Fixed"> + <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="whatsThis"> + <string>Duration of a DTMF tone.</string> + </property> + <property name="minimum"> + <number>40</number> + </property> + <property name="maximum"> + <number>500</number> + </property> + <property name="singleStep"> + <number>10</number> + </property> + </widget> + </item> + </layout> + </item> + <item row="0" column="0" colspan="2"> + <layout class="QHBoxLayout"> + <item> + <widget class="QLabel" name="dtmfTransportTextLabel"> + <property name="text"> + <string>DTMF t&ransport:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>dtmfTransportComboBox</cstring> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="dtmfTransportComboBox"> + <property name="whatsThis"> + <string><h2>RFC 2833</h2> <p>Send DTMF tones as RFC 2833 telephone events.</p> <h2>Inband</h2> <p>Send DTMF inband.</p> @@ -2058,260 +2052,249 @@ If you disable this option, then the first codec from the active codecs that is <p> Send DTMF out-of-band via a SIP INFO request. </p></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> + <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="orientation"> + <enum>Qt::Horizontal</enum> </property> - <property name="indent"> - <number>10</number> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> </property> - <property name="wordWrap"> - <bool>false</bool> + <property name="sizeHint" stdset="0"> + <size> + <width>161</width> + <height>20</height> + </size> </property> - </widget> + </spacer> + </item> + </layout> </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 &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>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> - <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>Qt::Horizontal</enum> - </property> - </spacer> - </item> - <item row="2" column="0" rowspan="1" colspan="3"> - <widget class="QCheckBox" name="missingContactCheckBox"> - <property name="text"> - <string>Allow m&issing Contact header in 200 OK on REGISTER</string> - </property> - <property name="shortcut"> - <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> - </item> - <item row="1" column="0" rowspan="1" colspan="3"> - <widget class="QCheckBox" name="maxForwardsCheckBox"> - <property name="text"> - <string>&Max-Forwards header is mandatory</string> - </property> - <property name="shortcut"> - <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> - </item> - <item row="3" column="0" rowspan="1" colspan="3"> - <widget class="QCheckBox" name="regTimeCheckBox"> - <property name="text"> - <string>Put &registration expiry time in contact header</string> - </property> - <property name="shortcut"> - <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> - </item> - <item row="4" column="0" rowspan="1" colspan="3"> - <widget class="QCheckBox" name="compactHeadersCheckBox"> - <property name="text"> - <string>&Use compact header names</string> - </property> - <property name="shortcut"> - <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> - </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><p>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.</p> + </layout> + </widget> + </item> + <item> + <spacer name="spacer23_3"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>120</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </widget> + </item> + </layout> + </widget> + <widget class="QWidget" name="pageSipProtocol"> + <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::StyledPanel</enum> + </property> + <property name="text"> + <string>SIP protocol</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="indent"> + <number>10</number> + </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="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>16</height> + </size> + </property> + </spacer> + </item> + <item row="0" column="0" colspan="2"> + <widget class="QGroupBox" 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 &Hold variant:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>holdVariantComboBox</cstring> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QComboBox" name="holdVariantComboBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>110</width> + <height>0</height> + </size> + </property> + <property name="whatsThis"> + <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> + <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="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>70</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="2" column="0" colspan="3"> + <widget class="QCheckBox" name="missingContactCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>Allow m&issing Contact header in 200 OK on REGISTER</string> + </property> + <property name="shortcut"> + <string>Alt+I</string> + </property> + </widget> + </item> + <item row="1" column="0" colspan="3"> + <widget class="QCheckBox" name="maxForwardsCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>&Max-Forwards header is mandatory</string> + </property> + <property name="shortcut"> + <string>Alt+M</string> + </property> + </widget> + </item> + <item row="3" column="0" colspan="3"> + <widget class="QCheckBox" name="regTimeCheckBox"> + <property name="whatsThis"> + <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="text"> + <string>Put &registration expiry time in contact header</string> + </property> + <property name="shortcut"> + <string>Alt+R</string> + </property> + </widget> + </item> + <item row="4" column="0" colspan="3"> + <widget class="QCheckBox" name="compactHeadersCheckBox"> + <property name="whatsThis"> + <string>Indicates if compact header names should be used for headers that have a compact form.</string> + </property> + <property name="text"> + <string>&Use compact header names</string> + </property> + <property name="shortcut"> + <string>Alt+U</string> + </property> + </widget> + </item> + <item row="7" column="0" colspan="3"> + <widget class="QCheckBox" name="allowSdpChangeCheckBox"> + <property name="whatsThis"> + <string><p>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.</p> <p>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.</p></string> - </property> - </widget> - </item> - <item row="6" column="0" rowspan="1" colspan="3"> - <widget class="QCheckBox" name="useDomainInContactCheckBox"> - <property name="text"> - <string>Use domain &name to create a unique contact header value</string> - </property> - <property name="shortcut"> - <string>Alt+N</string> - </property> - <property name="whatsThis" stdset="0"> - <string><p> + </property> + <property name="text"> + <string>Allow SDP change during call setup</string> + </property> + </widget> + </item> + <item row="6" column="0" colspan="3"> + <widget class="QCheckBox" name="useDomainInContactCheckBox"> + <property name="whatsThis"> + <string><p> Twinkle creates a unique contact header value by combining the SIP user name and domain: </p> <p> @@ -2329,140 +2312,142 @@ Some proxies do not handle a contact header value like this. You can disable thi <p> This format is what most SIP phones use. </p></string> - </property> - </widget> - </item> - <item row="5" column="0" rowspan="1" colspan="3"> - <widget class="QCheckBox" name="multiValuesListCheckBox"> - <property name="text"> - <string>&Encode Via, Route, Record-Route as list</string> - </property> - <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>&Allow redirection</string> - </property> - <property name="shortcut"> - <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> - </item> - <item row="1" column="0" rowspan="1" colspan="3"> - <widget class="QCheckBox" name="askUserRedirectCheckBox"> - <property name="text"> - <string>Ask user &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>Max re&directions:</string> - </property> - <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>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> - </item> - <item row="2" column="2"> - <spacer name="spacer5"> - <property name="sizeHint"> - <size> - <width>80</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 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>Indicates if the 100rel extension (PRACK) is supported:<br><br> + </property> + <property name="text"> + <string>Use domain &name to create a unique contact header value</string> + </property> + <property name="shortcut"> + <string>Alt+N</string> + </property> + </widget> + </item> + <item row="5" column="0" colspan="3"> + <widget class="QCheckBox" name="multiValuesListCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>&Encode Via, Route, Record-Route as list</string> + </property> + <property name="shortcut"> + <string>Alt+E</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="1" column="0"> + <widget class="QGroupBox" name="redirectionGroupBox"> + <property name="title"> + <string>Redirection</string> + </property> + <layout class="QGridLayout"> + <item row="0" column="0" colspan="2"> + <widget class="QCheckBox" name="allowRedirectionCheckBox"> + <property name="whatsThis"> + <string>Indicates if Twinkle should redirect a request if a 3XX response is received.</string> + </property> + <property name="text"> + <string>&Allow redirection</string> + </property> + <property name="shortcut"> + <string>Alt+A</string> + </property> + </widget> + </item> + <item row="1" column="0" colspan="3"> + <widget class="QCheckBox" name="askUserRedirectCheckBox"> + <property name="whatsThis"> + <string>Indicates if Twinkle should ask the user before redirecting a request when a 3XX response is received.</string> + </property> + <property name="text"> + <string>Ask user &permission to redirect</string> + </property> + <property name="shortcut"> + <string>Alt+P</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="maxRedirectTextLabel"> + <property name="text"> + <string>Max re&directions:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>maxRedirectSpinBox</cstring> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QSpinBox" name="maxRedirectSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>46</width> + <height>0</height> + </size> + </property> + <property name="whatsThis"> + <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> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>5</number> + </property> + </widget> + </item> + <item row="2" column="2"> + <spacer name="spacer5"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>80</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + <item row="1" column="1"> + <widget class="QGroupBox" 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="Minimum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>120</width> + <height>0</height> + </size> + </property> + <property name="whatsThis"> + <string>Indicates if the 100rel extension (PRACK) is supported:<br><br> <b>disabled</b>: 100rel extension is disabled <br><br> <b>supported</b>: 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. @@ -2470,629 +2455,617 @@ This format is what most SIP phones use. <b>required</b>: 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. <br><br> <b>preferred</b>: 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> - <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>&100 rel (PRACK):</string> - </property> - <property name="buddy" stdset="0"> - <cstring>ext100relComboBox</cstring> - </property> - <property name="wordWrap"> - <bool>false</bool> - </property> - </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>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>Accept call &transfer request (incoming REFER)</string> - </property> - <property name="shortcut"> - <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> - </item> - <item> - <widget class="QCheckBox" name="askUserReferCheckBox"> - <property name="text"> - <string>As&k user permission to transfer</string> - </property> - <property name="shortcut"> - <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> - </item> - <item> - <widget class="QCheckBox" name="refereeHoldCheckBox"> - <property name="text"> - <string>Hold call &with referrer while setting up call to transfer target</string> - </property> - <property name="shortcut"> - <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> - </item> - <item> - <widget class="QCheckBox" name="referrerHoldCheckBox"> - <property name="text"> - <string>Ho&ld call with referee before sending REFER</string> - </property> - <property name="shortcut"> - <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> - </item> - <item> - <widget class="QCheckBox" name="refreshReferSubCheckBox"> - <property name="text"> - <string>Auto re&fresh subscription to refer event while call transfer is not finished</string> - </property> - <property name="shortcut"> - <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> - </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>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> - </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>&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>Include a P-Preferred-Identity header with your identity in an INVITE request for a call with identity hiding.</string> - </property> - </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> + </property> + <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> - </layout> - </widget> - <widget class="QWidget" name="pageNat"> - <attribute name="id"> - <number>4</number> - </attribute> - <layout class="QVBoxLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="ext100relTextLabel"> + <property name="text"> + <string>&100 rel (PRACK):</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>ext100relComboBox</cstring> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QCheckBox" name="extReplacesCheckBox"> + <property name="whatsThis"> + <string>Indicates if the Replaces-extenstion is supported.</string> + </property> + <property name="text"> + <string>Replaces</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="QGroupBox" name="referGroupBox"> + <property name="title"> + <string>Call transfer (REFER)</string> + </property> + <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> + <widget class="QCheckBox" name="allowReferCheckBox"> + <property name="whatsThis"> + <string>Indicates if Twinkle should transfer a call if a REFER request is received.</string> + </property> + <property name="text"> + <string>Accept call &transfer request (incoming REFER)</string> + </property> + <property name="shortcut"> + <string>Alt+T</string> + </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&ransport protocol:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>sipTransportComboBox</cstring> - </property> - <property name="wordWrap"> - <bool>false</bool> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QLabel" name="udpThresholdTextLabel"> - <property name="text"> - <string>UDP t&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> + <widget class="QCheckBox" name="askUserReferCheckBox"> + <property name="whatsThis"> + <string>Indicates if Twinkle should ask the user before transferring a call when a REFER request is received.</string> + </property> + <property name="text"> + <string>As&k user permission to transfer</string> + </property> + <property name="shortcut"> + <string>Alt+K</string> + </property> + </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>&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>&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.<br><br> -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>&Public IP address:</string> - </property> - <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 &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&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&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 &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> + <widget class="QCheckBox" name="refereeHoldCheckBox"> + <property name="whatsThis"> + <string>Indicates if Twinkle should put the current call on hold when a REFER request to transfer a call is received.</string> + </property> + <property name="text"> + <string>Hold call &with referrer while setting up call to transfer target</string> + </property> + <property name="shortcut"> + <string>Alt+W</string> + </property> + </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> + <widget class="QCheckBox" name="referrerHoldCheckBox"> + <property name="whatsThis"> + <string>Indicates if Twinkle should put the current call on hold when you transfer a call.</string> + </property> + <property name="text"> + <string>Ho&ld call with referee before sending REFER</string> + </property> + <property name="shortcut"> + <string>Alt+L</string> + </property> + </widget> </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> + <widget class="QCheckBox" name="refreshReferSubCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>Auto re&fresh subscription to refer event while call transfer is not finished</string> + </property> + <property name="shortcut"> + <string>Alt+F</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="referAorCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>Attended refer to AoR (Address of Record)</string> + </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 &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 "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> - </item> - <item row="1" column="0" rowspan="1" colspan="2"> - <widget class="QCheckBox" name="numericalUserIsTelCheckBox"> - <property name="text"> - <string>&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 "user=phone" 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>&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 &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>&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> + <widget class="QCheckBox" name="transferConsultInprogCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>Allow call transfer while consultation in progress</string> + </property> + </widget> </item> + </layout> + </widget> + </item> + <item> + <spacer name="spacer25"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>200</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="TabPage"> + <attribute name="title"> + <string>Privacy</string> + </attribute> + <layout class="QVBoxLayout"> + <item> + <widget class="QGroupBox" name="privacyGroupBox"> + <property name="title"> + <string>Privacy options</string> + </property> + <layout class="QVBoxLayout"> <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><p> + <widget class="QCheckBox" name="pPreferredIdCheckBox"> + <property name="whatsThis"> + <string>Include a P-Preferred-Identity header with your identity in an INVITE request for a call with identity hiding.</string> + </property> + <property name="text"> + <string>&Send P-Preferred-Identity header when hiding user identity</string> + </property> + <property name="shortcut"> + <string>Alt+S</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <spacer name="spacer40"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>331</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </widget> + </item> + </layout> + </widget> + <widget class="QWidget" name="pageNat"> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="NatTitleTextLabel"> + <property name="font"> + <font> + <pointsize>21</pointsize> + </font> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="text"> + <string>Transport/NAT</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="indent"> + <number>10</number> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QGroupBox" name="transportGroupBox"> + <property name="title"> + <string>SIP transport</string> + </property> + <layout class="QGridLayout"> + <item row="0" column="1" colspan="2"> + <widget class="QComboBox" name="sipTransportComboBox"> + <property name="whatsThis"> + <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="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>151</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="sipTransportTextLabel"> + <property name="text"> + <string>T&ransport protocol:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>sipTransportComboBox</cstring> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="udpThresholdTextLabel"> + <property name="text"> + <string>UDP t&hreshold:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>udpThresholdSpinBox</cstring> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QSpinBox" name="udpThresholdSpinBox"> + <property name="whatsThis"> + <string>Messages larger than the threshold are sent via TCP. Smaller messages are sent via UDP.</string> + </property> + <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> + </widget> + </item> + <item row="1" column="2" colspan="2"> + <spacer name="spacer47"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>81</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + <item row="2" column="0"> + <widget class="QGroupBox" name="natTraversalGroupBox"> + <property name="title"> + <string>NAT traversal</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QRadioButton" name="natNoneRadioButton"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>&NAT traversal not needed</string> + </property> + <property name="shortcut"> + <string>Alt+N</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="natStaticRadioButton"> + <property name="whatsThis"> + <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.<br><br> +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> + <property name="text"> + <string>&Use statically configured public IP address inside SIP messages</string> + </property> + <property name="shortcut"> + <string>Alt+U</string> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="publicIPTextLabel"> + <property name="text"> + <string>&Public IP address:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="indent"> + <number>21</number> + </property> + <property name="buddy"> + <cstring>publicIPLineEdit</cstring> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="publicIPLineEdit"> + <property name="whatsThis"> + <string>The public IP address of your NAT.</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QRadioButton" name="natStunRadioButton"> + <property name="whatsThis"> + <string>Choose this option when your SIP provider offers a STUN server for NAT traversal.</string> + </property> + <property name="text"> + <string>Use &STUN (does not work for incoming TCP)</string> + </property> + <property name="shortcut"> + <string>Alt+S</string> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QLabel" name="stunServerTextLabel"> + <property name="text"> + <string>S&TUN server:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="indent"> + <number>21</number> + </property> + <property name="buddy"> + <cstring>stunServerLineEdit</cstring> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="stunServerLineEdit"> + <property name="whatsThis"> + <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="whatsThis"> + <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> + <property name="text"> + <string>P&ersistent TCP connection</string> + </property> + <property name="shortcut"> + <string>Alt+E</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="natKeepaliveCheckBox"> + <property name="whatsThis"> + <string>Send UDP NAT keep alive packets.</string> + </property> + <property name="text"> + <string>Enable NAT &keep alive</string> + </property> + <property name="shortcut"> + <string>Alt+K</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="3" column="0"> + <spacer name="spacer19"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>80</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="pageAddressFormat"> + <layout class="QVBoxLayout"> + <item> + <widget class="QLabel" name="addressFormatTitleTextLabel"> + <property name="font"> + <font> + <pointsize>21</pointsize> + </font> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="text"> + <string>Address format</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="indent"> + <number>10</number> + </property> + </widget> + </item> + <item> + <widget class="QGroupBox" name="telNumberGroupBox"> + <property name="title"> + <string>Telephone numbers</string> + </property> + <layout class="QGridLayout"> + <item row="0" column="0" colspan="2"> + <widget class="QCheckBox" name="displayTelUserCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>Only &display user part of URI for telephone number</string> + </property> + <property name="shortcut"> + <string>Alt+D</string> + </property> + </widget> + </item> + <item row="1" column="0" colspan="2"> + <widget class="QCheckBox" name="numericalUserIsTelCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>&URI with numerical user part is a telephone number</string> + </property> + <property name="shortcut"> + <string>Alt+U</string> + </property> + </widget> + </item> + <item row="2" column="0" colspan="2"> + <widget class="QCheckBox" name="removeSpecialCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>&Remove special symbols from numerical dial strings</string> + </property> + <property name="shortcut"> + <string>Alt+R</string> + </property> + </widget> + </item> + <item row="4" column="0" colspan="2"> + <widget class="QCheckBox" name="useTelUriCheckBox"> + <property name="whatsThis"> + <string>Expand a dialed telephone number to a tel-URI instead of a sip-URI.</string> + </property> + <property name="text"> + <string>Use tel-URI for telephone &number</string> + </property> + <property name="shortcut"> + <string>Alt+N</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="specialTextLabel"> + <property name="text"> + <string>&Special symbols:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>specialLineEdit</cstring> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QLineEdit" name="specialLineEdit"> + <property name="whatsThis"> + <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="QGroupBox" name="conversionGroupBox"> + <property name="title"> + <string>Number conversion</string> + </property> + <layout class="QVBoxLayout"> + <item> + <layout class="QHBoxLayout"> + <item> + <widget class="QTableWidget" name="conversionListView"> + <property name="whatsThis"> + <string><p> 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. </p> <p> @@ -3123,534 +3096,528 @@ You are at work and all telephone numbers starting with a 0 should be prefixed w Match expression = 0[0-9]* , Replace = 9$&<br> </tt> </blockquote></string> - </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>20</width> - <height>21</height> - </size> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - </spacer> - </item> - <item> - <widget class="QPushButton" name="upConversionPushButton"> - <property name="text"> - <string/> - </property> - <property name="icon"> - <pixmap>:/icons/images/1uparrow.png</pixmap> - </property> - <property name="whatsThis" stdset="0"> - <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/> - </property> - <property name="icon"> - <pixmap>:/icons/images/1downarrow.png</pixmap> - </property> - <property name="whatsThis" stdset="0"> - <string>Move the selected number conversion rule downwards in the list.</string> - </property> - </widget> - </item> - <item> - <spacer name="spacer20_2_2"> - <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> - </layout> - </item> - </layout> - </item> - <item> - <layout class="QHBoxLayout"> - <item> - <widget class="QPushButton" name="addConversionPushButton"> - <property name="text"> - <string>&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&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>&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>&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> + </property> + <property name="selectionMode"> + <enum>QAbstractItemView::SingleSelection</enum> + </property> + <property name="selectionBehavior"> + <enum>QAbstractItemView::SelectRows</enum> + </property> + <property name="allColumnsShowFocus" stdset="0"> + <bool>true</bool> + </property> + <attribute name="horizontalHeaderHighlightSections"> + <bool>false</bool> + </attribute> + <attribute name="verticalHeaderVisible"> + <bool>false</bool> + </attribute> + <column> + <property name="text"> + <string>Match expression</string> + </property> + </column> + <column> + <property name="text"> + <string>Replace</string> + </property> + </column> + </widget> + </item> + <item> + <layout class="QVBoxLayout"> <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> + <spacer name="spacer19_2_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>21</height> + </size> + </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> + <widget class="QPushButton" name="upConversionPushButton"> + <property name="whatsThis"> + <string>Move the selected number conversion rule upwards in the list.</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/1uparrow.png</normaloff>:/icons/images/1uparrow.png</iconset> + </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 "480 User Not Responding".</string> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QLabel" name="tmrNatKeepaliveTextLabel"> - <property name="text"> - <string>NAT &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>&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> + <widget class="QPushButton" name="downConversionPushButton"> + <property name="whatsThis"> + <string>Move the selected number conversion rule downwards in the list.</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/1downarrow.png</normaloff>:/icons/images/1downarrow.png</iconset> + </property> + </widget> </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> + <spacer name="spacer20_2_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>31</height> + </size> + </property> + </spacer> </item> - </layout> + </layout> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout"> + <item> + <widget class="QPushButton" name="addConversionPushButton"> + <property name="whatsThis"> + <string>Add a number conversion rule.</string> + </property> + <property name="text"> + <string>&Add</string> + </property> + <property name="shortcut"> + <string>Alt+A</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="removePushButton"> + <property name="whatsThis"> + <string>Remove the selected number conversion rule.</string> + </property> + <property name="text"> + <string>Re&move</string> + </property> + <property name="shortcut"> + <string>Alt+M</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="editConversionPushButton"> + <property name="whatsThis"> + <string>Edit the selected number conversion rule.</string> + </property> + <property name="text"> + <string>&Edit</string> + </property> + <property name="shortcut"> + <string>Alt+E</string> + </property> + </widget> + </item> + <item> + <spacer name="spacer38_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>291</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout"> + <item> + <widget class="QLineEdit" name="testConversionLineEdit"> + <property name="whatsThis"> + <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="whatsThis"> + <string>Test how a number is converted by the number conversion rules.</string> + </property> + <property name="text"> + <string>&Test</string> + </property> + <property name="shortcut"> + <string>Alt+T</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + </item> + <item> + <spacer name="spacer20"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="pageTimers"> + <layout class="QVBoxLayout"> + <item> + <widget class="QLabel" name="timersTitleTextLabel"> + <property name="font"> + <font> + <pointsize>21</pointsize> + </font> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="text"> + <string>Timers</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="indent"> + <number>10</number> + </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="Fixed" vsizetype="Fixed"> + <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="whatsThis"> + <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> + <property name="minimum"> + <number>10</number> + </property> + <property name="maximum"> + <number>900</number> + </property> + <property name="singleStep"> + <number>10</number> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QSpinBox" name="tmrNoanswerSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <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="whatsThis"> + <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> + <property name="maximum"> + <number>600</number> + </property> + <property name="singleStep"> + <number>10</number> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="tmrNatKeepaliveTextLabel"> + <property name="text"> + <string>NAT &keep alive:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>tmrNatKeepaliveSpinBox</cstring> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="tmrNoanswerTextLabel"> + <property name="text"> + <string>&No answer:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>tmrNoanswerSpinBox</cstring> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="spacer23"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>270</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <spacer name="spacer22"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>450</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="pageRingTones"> + <layout class="QVBoxLayout"> + <item> + <widget class="QLabel" name="ringtonesTitleTextLabel"> + <property name="font"> + <font> + <pointsize>21</pointsize> + </font> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="text"> + <string>Ring tones</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="indent"> + <number>10</number> + </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="whatsThis"> + <string>Select ring back tone file.</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/fileopen.png</normaloff>:/icons/images/fileopen.png</iconset> + </property> </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>:/icons/images/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>:/icons/images/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 &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><p> + </item> + <item row="0" column="2"> + <widget class="QToolButton" name="openRingtoneToolButton"> + <property name="focusPolicy"> + <enum>Qt::TabFocus</enum> + </property> + <property name="whatsThis"> + <string>Select ring tone file.</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/fileopen.png</normaloff>:/icons/images/fileopen.png</iconset> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="ringbackTextLabel"> + <property name="text"> + <string>Ring &back tone:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>ringbackLineEdit</cstring> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLineEdit" name="ringbackLineEdit"> + <property name="whatsThis"> + <string><p> Specify the file name of a .wav file that you want to be played as ring back tone for this user. </p> <p> This ring back tone overrides the ring back tone settings in the system settings. </p></string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLineEdit" name="ringtoneLineEdit"> - <property name="whatsThis" stdset="0"> - <string><p> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="ringtoneLineEdit"> + <property name="whatsThis"> + <string><p> Specify the file name of a .wav file that you want to be played as ring tone for this user. </p> <p> This ring tone overrides the ring tone settings in the system settings. </p></string> - </property> - </widget> - </item> - <item row="0" column="0"> - <widget class="QLabel" name="ringtoneTextLabel"> - <property name="text"> - <string>&Ring tone:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>ringtoneLineEdit</cstring> - </property> - <property name="wordWrap"> - <bool>false</bool> - </property> - </widget> - </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> + </property> </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><p> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="ringtoneTextLabel"> + <property name="text"> + <string>&Ring tone:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>ringtoneLineEdit</cstring> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="spacer30"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>391</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="pageScripts"> + <layout class="QVBoxLayout"> + <item> + <widget class="QLabel" name="scriptsTitleTextLabel"> + <property name="font"> + <font> + <pointsize>21</pointsize> + </font> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="text"> + <string>Scripts</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="indent"> + <number>10</number> + </property> + </widget> + </item> + <item> + <layout class="QGridLayout"> + <item row="6" column="1"> + <widget class="QLineEdit" name="localReleaseLineEdit"> + <property name="whatsThis"> + <string><p> This script is called when you release a call. </p> <h2>Environment variables</h2> @@ -3659,61 +3626,64 @@ The values of all SIP headers of the outgoing SIP BYE request are passed in envi </p> <p> <b>TWINKLE_TRIGGER=local_release</b>. <b>SIPREQUEST_METHOD=BYE</b>. <b>SIPREQUEST_URI</b> contains the request-URI of the BYE. The name of the user profile will be passed in <b>TWINKLE_USER_PROFILE</b>.</string> - </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>:/icons/images/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>:/icons/images/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>:/icons/images/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><p> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QToolButton" name="openInCallFailedToolButton"> + <property name="focusPolicy"> + <enum>Qt::TabFocus</enum> + </property> + <property name="whatsThis"> + <string>Select script file.</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/fileopen.png</normaloff>:/icons/images/fileopen.png</iconset> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QToolButton" name="openIncomingCallScriptToolButton"> + <property name="focusPolicy"> + <enum>Qt::TabFocus</enum> + </property> + <property name="whatsThis"> + <string>Select script file.</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/fileopen.png</normaloff>:/icons/images/fileopen.png</iconset> + </property> + </widget> + </item> + <item row="4" column="2"> + <widget class="QToolButton" name="openOutCallAnsweredToolButton"> + <property name="focusPolicy"> + <enum>Qt::TabFocus</enum> + </property> + <property name="whatsThis"> + <string>Select script file.</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/fileopen.png</normaloff>:/icons/images/fileopen.png</iconset> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QLineEdit" name="inCallFailedLineEdit"> + <property name="whatsThis"> + <string><p> This script is called when an incoming call fails. </p> <h2>Environment variables</h2> @@ -3722,29 +3692,30 @@ The values of all SIP headers of the outgoing SIP failure response are passed in </p> <p> <b>TWINKLE_TRIGGER=in_call_failed</b>. <b>SIPSTATUS_CODE</b> contains the status code of the failure response. <b>SIPSTATUS_REASON</b> contains the reason phrase. The name of the user profile will be passed in <b>TWINKLE_USER_PROFILE</b>.</string> - </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>:/icons/images/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><p> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QToolButton" name="openInCallAnsweredToolButton"> + <property name="focusPolicy"> + <enum>Qt::TabFocus</enum> + </property> + <property name="whatsThis"> + <string>Select script file.</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/fileopen.png</normaloff>:/icons/images/fileopen.png</iconset> + </property> + </widget> + </item> + <item row="7" column="1"> + <widget class="QLineEdit" name="remoteReleaseLineEdit"> + <property name="whatsThis"> + <string><p> This script is called when the remote party releases a call. </p> <h2>Environment variables</h2> @@ -3753,29 +3724,30 @@ The values of all SIP headers of the incoming SIP BYE request are passed in envi </p> <p> <b>TWINKLE_TRIGGER=remote_release</b>. <b>SIPREQUEST_METHOD=BYE</b>. <b>SIPREQUEST_URI</b> contains the request-URI of the BYE. The name of the user profile will be passed in <b>TWINKLE_USER_PROFILE</b>.</string> - </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>:/icons/images/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><p> + </property> + </widget> + </item> + <item row="3" column="2"> + <widget class="QToolButton" name="openOutCallToolButton"> + <property name="focusPolicy"> + <enum>Qt::TabFocus</enum> + </property> + <property name="whatsThis"> + <string>Select script file.</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/fileopen.png</normaloff>:/icons/images/fileopen.png</iconset> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="incomingCallScriptLineEdit"> + <property name="whatsThis"> + <string><p> 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. </p> <p> @@ -3827,13 +3799,13 @@ The values of all SIP headers in the incoming INVITE message are passed in envir </p> <p> TWINKLE_TRIGGER=in_call. SIPREQUEST_METHOD=INVITE. The request-URI of the INVITE will be passed in <b>SIPREQUEST_URI</b>. The name of the user profile will be passed in <b>TWINKLE_USER_PROFILE</b>.</string> - </property> - </widget> - </item> - <item row="4" column="1"> - <widget class="QLineEdit" name="outCallAnsweredLineEdit"> - <property name="whatsThis" stdset="0"> - <string><p> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QLineEdit" name="outCallAnsweredLineEdit"> + <property name="whatsThis"> + <string><p> This script is called when the remote party answers your call. </p> <h2>Environment variables</h2> @@ -3842,13 +3814,13 @@ The values of all SIP headers of the incoming 200 OK are passed in environment v </p> <p> <b>TWINKLE_TRIGGER=out_call_answered</b>. <b>SIPSTATUS_CODE=200</b>. <b>SIPSTATUS_REASON</b> contains the reason phrase. The name of the user profile will be passed in <b>TWINKLE_USER_PROFILE</b>.</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QLineEdit" name="inCallAnsweredLineEdit"> - <property name="whatsThis" stdset="0"> - <string><p> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLineEdit" name="inCallAnsweredLineEdit"> + <property name="whatsThis"> + <string><p> This script is called when you answer an incoming call. </p> <h2>Environment variables</h2> @@ -3857,42 +3829,43 @@ The values of all SIP headers of the outgoing 200 OK are passed in environment v </p> <p> <b>TWINKLE_TRIGGER=in_call_answered</b>. <b>SIPSTATUS_CODE=200</b>. <b>SIPSTATUS_REASON</b> contains the reason phrase. The name of the user profile will be passed in <b>TWINKLE_USER_PROFILE</b>.</string> - </property> - </widget> - </item> - <item row="6" column="0"> - <widget class="QLabel" name="localReleaseTextLabel"> - <property name="text"> - <string>Call released locall&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>:/icons/images/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><p> + </property> + </widget> + </item> + <item row="6" column="0"> + <widget class="QLabel" name="localReleaseTextLabel"> + <property name="text"> + <string>Call released locall&y:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>inCallFailedLineEdit</cstring> + </property> + </widget> + </item> + <item row="5" column="2"> + <widget class="QToolButton" name="openOutCallFailedToolButton"> + <property name="focusPolicy"> + <enum>Qt::TabFocus</enum> + </property> + <property name="whatsThis"> + <string>Select script file.</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/fileopen.png</normaloff>:/icons/images/fileopen.png</iconset> + </property> + </widget> + </item> + <item row="5" column="1"> + <widget class="QLineEdit" name="outCallFailedLineEdit"> + <property name="whatsThis"> + <string><p> This script is called when an outgoing call fails. </p> <h2>Environment variables</h2> @@ -3901,13 +3874,13 @@ The values of all SIP headers of the incoming SIP failure response are passed in </p> <p> <b>TWINKLE_TRIGGER=out_call_failed</b>. <b>SIPSTATUS_CODE</b> contains the status code of the failure response. <b>SIPSTATUS_REASON</b> contains the reason phrase. The name of the user profile will be passed in <b>TWINKLE_USER_PROFILE</b>.</string> - </property> - </widget> - </item> - <item row="3" column="1"> - <widget class="QLineEdit" name="outCallLineEdit"> - <property name="whatsThis" stdset="0"> - <string><p> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QLineEdit" name="outCallLineEdit"> + <property name="whatsThis"> + <string><p> This script is called when you make a call. </p> <h2>Environment variables</h2> @@ -3916,311 +3889,307 @@ The values of all SIP headers of the outgoing INVITE are passed in environment v </p> <p> <b>TWINKLE_TRIGGER=out_call</b>. <b>SIPREQUEST_METHOD=INVITE</b>. <b>SIPREQUEST_URI</b> contains the request-URI of the INVITE. The name of the user profile will be passed in <b>TWINKLE_USER_PROFILE</b>.</string> - </property> - </widget> - </item> - <item row="4" column="0"> - <widget class="QLabel" name="outCallAnsweredTextLabel"> - <property name="text"> - <string>Outgoing call a&nswered:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>inCallAnsweredLineEdit</cstring> - </property> - <property name="wordWrap"> - <bool>false</bool> - </property> - </widget> - </item> - <item row="2" column="0"> - <widget class="QLabel" name="inCallFailedTextLabel"> - <property name="text"> - <string>Incoming call &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>&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>:/icons/images/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 &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 &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>:/icons/images/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&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&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> + </property> </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>&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>O&nly encrypt audio if remote party indicated ZRTP support in SDP</string> - </property> - <property name="shortcut"> - <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> - </item> - <item> - <widget class="QCheckBox" name="zrtpSdpCheckBox"> - <property name="text"> - <string>&Indicate ZRTP support in SDP</string> - </property> - <property name="shortcut"> - <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> - </item> - <item> - <widget class="QCheckBox" name="zrtpGoClearWarningCheckBox"> - <property name="text"> - <string>&Popup warning when remote party disables encryption during call</string> - </property> - <property name="shortcut"> - <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> - </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> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="outCallAnsweredTextLabel"> + <property name="text"> + <string>Outgoing call a&nswered:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>inCallAnsweredLineEdit</cstring> + </property> </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> - </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>&Voice mail address:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>vmAddressLineEdit</cstring> - </property> - <property name="wordWrap"> - <bool>false</bool> - </property> - </widget> - </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><H2>Message waiting indication type</H2> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="inCallFailedTextLabel"> + <property name="text"> + <string>Incoming call &failed:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>inCallFailedLineEdit</cstring> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="incomingCallScriptTextLabel"> + <property name="text"> + <string>&Incoming call:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>incomingCallScriptLineEdit</cstring> + </property> + </widget> + </item> + <item row="6" column="2"> + <widget class="QToolButton" name="openLocalReleaseToolButton"> + <property name="focusPolicy"> + <enum>Qt::TabFocus</enum> + </property> + <property name="whatsThis"> + <string>Select script file.</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/fileopen.png</normaloff>:/icons/images/fileopen.png</iconset> + </property> + </widget> + </item> + <item row="7" column="0"> + <widget class="QLabel" name="remoteReleaseTextLabel"> + <property name="text"> + <string>Call released &remotely:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>inCallFailedLineEdit</cstring> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="inCallAnsweredTextLabel"> + <property name="text"> + <string>Incoming call &answered:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>inCallAnsweredLineEdit</cstring> + </property> + </widget> + </item> + <item row="7" column="2"> + <widget class="QToolButton" name="openRemoteReleaseToolButton"> + <property name="focusPolicy"> + <enum>Qt::TabFocus</enum> + </property> + <property name="whatsThis"> + <string>Select script file.</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/images/fileopen.png</normaloff>:/icons/images/fileopen.png</iconset> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="outCallTextLabel"> + <property name="text"> + <string>O&utgoing call:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>incomingCallScriptLineEdit</cstring> + </property> + </widget> + </item> + <item row="5" column="0"> + <widget class="QLabel" name="outCallFailedTextLabel"> + <property name="text"> + <string>Out&going call failed:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>inCallFailedLineEdit</cstring> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="spacer29"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>190</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="pageSecurity"> + <layout class="QVBoxLayout"> + <item> + <widget class="QLabel" name="securityTitleTextLabel"> + <property name="font"> + <font> + <pointsize>21</pointsize> + </font> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="text"> + <string>Security</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="indent"> + <number>10</number> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="zrtpEnabledCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>&Enable ZRTP/SRTP encryption</string> + </property> + <property name="shortcut"> + <string>Alt+E</string> + </property> + </widget> + </item> + <item> + <widget class="QGroupBox" name="zrtpSettingsGroupBox"> + <property name="title"> + <string>ZRTP settings</string> + </property> + <layout class="QVBoxLayout"> + <item> + <widget class="QCheckBox" name="zrtpSendIfSupportedCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>O&nly encrypt audio if remote party indicated ZRTP support in SDP</string> + </property> + <property name="shortcut"> + <string>Alt+N</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="zrtpSdpCheckBox"> + <property name="whatsThis"> + <string>Twinkle will indicate ZRTP support during call setup in its signalling.</string> + </property> + <property name="text"> + <string>&Indicate ZRTP support in SDP</string> + </property> + <property name="shortcut"> + <string>Alt+I</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="zrtpGoClearWarningCheckBox"> + <property name="whatsThis"> + <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> + <property name="text"> + <string>&Popup warning when remote party disables encryption during call</string> + </property> + <property name="shortcut"> + <string>Alt+P</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <spacer name="spacer33"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>241</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="pageVoiceMail"> + <layout class="QVBoxLayout"> + <item> + <widget class="QLabel" name="voiceMailTextLabel"> + <property name="font"> + <font> + <pointsize>21</pointsize> + </font> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="text"> + <string>Voice mail</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="indent"> + <number>10</number> + </property> + </widget> + </item> + <item> + <layout class="QGridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="vmAddressTextLabel"> + <property name="text"> + <string>&Voice mail address:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>vmAddressLineEdit</cstring> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="vmAddressLineEdit"> + <property name="whatsThis"> + <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"> + <string><H2>Message waiting indication type</H2> <p> 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. </p> @@ -4232,907 +4201,1277 @@ Asterisk provides unsollicited message waiting indication. <p> Sollicited message waiting indication as specified by RFC 3842. </p></string> - </property> - <item> - <property name="text"> - <string>Unsollicited</string> - </property> - </item> - <item> - <property name="text"> - <string>Sollicited</string> - </property> - </item> - </widget> - </item> - <item> - <spacer name="spacer39"> - <property name="sizeHint"> - <size> - <width>221</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="1" column="0"> - <widget class="QLabel" name="mwiTypeTextLabel"> - <property name="text"> - <string>&MWI type:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>mwiTypeComboBox</cstring> - </property> - <property name="wordWrap"> - <bool>false</bool> - </property> - </widget> - </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> - <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 &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 &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>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> - </item> - <item> - <widget class="QLabel" name="mwiSecondsTextLabel"> - <property name="text"> - <string>seconds</string> - </property> - <property name="wordWrap"> - <bool>false</bool> - </property> - </widget> - </item> - <item> - <spacer name="spacer36"> - <property name="sizeHint"> - <size> - <width>190</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="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 &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 &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> + </property> + <item> + <property name="text"> + <string>Unsollicited</string> + </property> + </item> + <item> + <property name="text"> + <string>Sollicited</string> + </property> + </item> + </widget> + </item> + <item> + <spacer name="spacer39"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>221</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="mwiTypeTextLabel"> + <property name="text"> + <string>&MWI type:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>mwiTypeComboBox</cstring> + </property> </widget> - <widget class="QWidget" name="pageIM"> - <attribute name="id"> - <number>11</number> - </attribute> - <layout class="QVBoxLayout"> + </item> + </layout> + </item> + <item> + <widget class="QGroupBox" 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="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>120</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="mwiDurationTextLabel"> + <property name="text"> + <string>Subscription &duration:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>mwiDurationSpinBox</cstring> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="mwiUserTextLabel"> + <property name="text"> + <string>Mailbox &user name:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>mwiUserLineEdit</cstring> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLineEdit" name="mwiServerLineEdit"> + <property name="whatsThis"> + <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="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> + <widget class="QSpinBox" name="mwiDurationSpinBox"> + <property name="minimumSize"> + <size> + <width>90</width> + <height>0</height> + </size> + </property> + <property name="whatsThis"> + <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="maximum"> + <number>999999</number> + </property> + <property name="singleStep"> + <number>100</number> + </property> + </widget> </item> <item> - <layout class="QHBoxLayout"> - <item> - <widget class="QLabel" name="imMaxSessionsTextLabel"> - <property name="text"> - <string>&Maximum number of sessions:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>imMaxSessionsSpinBox</cstring> - </property> - <property name="wordWrap"> - <bool>false</bool> - </property> - </widget> - </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> - </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> - </item> - </layout> - </item> - <item> - <widget class="QCheckBox" name="isComposingCheckBox"> - <property name="text"> - <string>&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> + <widget class="QLabel" name="mwiSecondsTextLabel"> + <property name="text"> + <string>seconds</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </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> + <spacer name="spacer36"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>190</width> + <height>20</height> + </size> + </property> + </spacer> </item> - </layout> + </layout> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="mwiUserLineEdit"> + <property name="whatsThis"> + <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 &server:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>mwiServerLineEdit</cstring> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QCheckBox" name="mwiViaProxyCheckBox"> + <property name="whatsThis"> + <string>Check this option if Twinkle should send SIP messages to the mailbox server via the outbound proxy.</string> + </property> + <property name="text"> + <string>Via outbound &proxy</string> + </property> + <property name="shortcut"> + <string>Alt+P</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + </item> + <item> + <spacer name="spacer38_3"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>211</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="pageIM"> + <layout class="QVBoxLayout"> + <item> + <widget class="QLabel" name="imTextLabel"> + <property name="font"> + <font> + <pointsize>21</pointsize> + </font> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="text"> + <string>Instant message</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="indent"> + <number>10</number> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout"> + <item> + <widget class="QLabel" name="imMaxSessionsTextLabel"> + <property name="text"> + <string>&Maximum number of sessions:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>imMaxSessionsSpinBox</cstring> + </property> </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>&Publish availability at startup</string> - </property> - <property name="shortcut"> - <string>Alt+P</string> - </property> - <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 &refresh interval (sec):</string> - </property> - <property name="buddy" stdset="0"> - <cstring>presPublishTimeSpinBox</cstring> - </property> - <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>&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> + </item> + <item> + <widget class="QSpinBox" name="imMaxSessionsSpinBox"> + <property name="whatsThis"> + <string>When you have this number of instant message sessions open, new incoming message sessions will be rejected.</string> + </property> + <property name="maximum"> + <number>65535</number> + </property> </widget> + </item> + <item> + <spacer name="spacer42"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>201</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <widget class="QCheckBox" name="isComposingCheckBox"> + <property name="whatsThis"> + <string>Twinkle sends a composing indication when you type a message. This way the recipient can see that you are typing.</string> + </property> + <property name="text"> + <string>&Send composing indications when typing a message.</string> + </property> + <property name="shortcut"> + <string>Alt+S</string> + </property> </widget> - </item> - </layout> - </widget> - <layoutdefault spacing="6" margin="11"/> - <pixmapfunction></pixmapfunction> - <tabstops> - <tabstop>displayLineEdit</tabstop> - <tabstop>usernameLineEdit</tabstop> - <tabstop>domainLineEdit</tabstop> - <tabstop>organizationLineEdit</tabstop> - <tabstop>authRealmLineEdit</tabstop> - <tabstop>authNameLineEdit</tabstop> - <tabstop>authPasswordLineEdit</tabstop> - <tabstop>authAkaOpLineEdit</tabstop> - <tabstop>authAkaAmfLineEdit</tabstop> - <tabstop>registrarLineEdit</tabstop> - <tabstop>expirySpinBox</tabstop> - <tabstop>regAtStartupCheckBox</tabstop> - <tabstop>regAddQvalueCheckBox</tabstop> - <tabstop>regQvalueLineEdit</tabstop> - <tabstop>useProxyCheckBox</tabstop> - <tabstop>proxyLineEdit</tabstop> - <tabstop>allRequestsCheckBox</tabstop> - <tabstop>proxyNonResolvableCheckBox</tabstop> - <tabstop>vmAddressLineEdit</tabstop> - <tabstop>mwiTypeComboBox</tabstop> - <tabstop>mwiUserLineEdit</tabstop> - <tabstop>mwiServerLineEdit</tabstop> - <tabstop>mwiViaProxyCheckBox</tabstop> - <tabstop>mwiDurationSpinBox</tabstop> - <tabstop>imMaxSessionsSpinBox</tabstop> - <tabstop>isComposingCheckBox</tabstop> - <tabstop>presPublishCheckBox</tabstop> - <tabstop>presPublishTimeSpinBox</tabstop> - <tabstop>presSubscribeTimeSpinBox</tabstop> - <tabstop>rtpAudioTabWidget</tabstop> - <tabstop>availCodecListBox</tabstop> - <tabstop>addCodecPushButton</tabstop> - <tabstop>rmvCodecPushButton</tabstop> - <tabstop>activeCodecListBox</tabstop> - <tabstop>upCodecPushButton</tabstop> - <tabstop>downCodecPushButton</tabstop> - <tabstop>ptimeSpinBox</tabstop> - <tabstop>inFarEndCodecPrefCheckBox</tabstop> - <tabstop>outFarEndCodecPrefCheckBox</tabstop> - <tabstop>spxDspAgcCheckBox</tabstop> - <tabstop>spxDspAgcLevelSpinBox</tabstop> - <tabstop>spxDspVadCheckBox</tabstop> - <tabstop>spxDspNrdCheckBox</tabstop> - <tabstop>spxDspAecCheckBox</tabstop> - <tabstop>ilbcPayloadSpinBox</tabstop> - <tabstop>ilbcPayloadSizeComboBox</tabstop> - <tabstop>spxVbrCheckBox</tabstop> - <tabstop>spxDtxCheckBox</tabstop> - <tabstop>spxPenhCheckBox</tabstop> - <tabstop>spxQualitySpinBox</tabstop> - <tabstop>spxComplexitySpinBox</tabstop> - <tabstop>spxNbPayloadSpinBox</tabstop> - <tabstop>spxWbPayloadSpinBox</tabstop> - <tabstop>spxUwbPayloadSpinBox</tabstop> - <tabstop>g72616PayloadSpinBox</tabstop> - <tabstop>g72624PayloadSpinBox</tabstop> - <tabstop>g72632PayloadSpinBox</tabstop> - <tabstop>g72640PayloadSpinBox</tabstop> - <tabstop>g726PackComboBox</tabstop> - <tabstop>dtmfTransportComboBox</tabstop> - <tabstop>dtmfPayloadTypeSpinBox</tabstop> - <tabstop>dtmfDurationSpinBox</tabstop> - <tabstop>dtmfPauseSpinBox</tabstop> - <tabstop>dtmfVolumeSpinBox</tabstop> - <tabstop>sipProtoclTabWidget</tabstop> - <tabstop>holdVariantComboBox</tabstop> - <tabstop>maxForwardsCheckBox</tabstop> - <tabstop>missingContactCheckBox</tabstop> - <tabstop>regTimeCheckBox</tabstop> - <tabstop>compactHeadersCheckBox</tabstop> - <tabstop>multiValuesListCheckBox</tabstop> - <tabstop>useDomainInContactCheckBox</tabstop> - <tabstop>allowSdpChangeCheckBox</tabstop> - <tabstop>allowRedirectionCheckBox</tabstop> - <tabstop>askUserRedirectCheckBox</tabstop> - <tabstop>maxRedirectSpinBox</tabstop> - <tabstop>ext100relComboBox</tabstop> - <tabstop>extReplacesCheckBox</tabstop> - <tabstop>allowReferCheckBox</tabstop> - <tabstop>askUserReferCheckBox</tabstop> - <tabstop>refereeHoldCheckBox</tabstop> - <tabstop>referrerHoldCheckBox</tabstop> - <tabstop>refreshReferSubCheckBox</tabstop> - <tabstop>referAorCheckBox</tabstop> - <tabstop>pPreferredIdCheckBox</tabstop> - <tabstop>sipTransportComboBox</tabstop> - <tabstop>udpThresholdSpinBox</tabstop> - <tabstop>natNoneRadioButton</tabstop> - <tabstop>natStaticRadioButton</tabstop> - <tabstop>publicIPLineEdit</tabstop> - <tabstop>natStunRadioButton</tabstop> - <tabstop>stunServerLineEdit</tabstop> - <tabstop>persistentTcpCheckBox</tabstop> - <tabstop>displayTelUserCheckBox</tabstop> - <tabstop>numericalUserIsTelCheckBox</tabstop> - <tabstop>removeSpecialCheckBox</tabstop> - <tabstop>specialLineEdit</tabstop> - <tabstop>useTelUriCheckBox</tabstop> - <tabstop>conversionListView</tabstop> - <tabstop>upConversionPushButton</tabstop> - <tabstop>downConversionPushButton</tabstop> - <tabstop>addConversionPushButton</tabstop> - <tabstop>removePushButton</tabstop> - <tabstop>editConversionPushButton</tabstop> - <tabstop>testConversionLineEdit</tabstop> - <tabstop>testConversionPushButton</tabstop> - <tabstop>tmrNoanswerSpinBox</tabstop> - <tabstop>tmrNatKeepaliveSpinBox</tabstop> - <tabstop>ringtoneLineEdit</tabstop> - <tabstop>ringbackLineEdit</tabstop> - <tabstop>openRingtoneToolButton</tabstop> - <tabstop>openRingbackToolButton</tabstop> - <tabstop>incomingCallScriptLineEdit</tabstop> - <tabstop>openIncomingCallScriptToolButton</tabstop> - <tabstop>inCallAnsweredLineEdit</tabstop> - <tabstop>openInCallAnsweredToolButton</tabstop> - <tabstop>inCallFailedLineEdit</tabstop> - <tabstop>openInCallFailedToolButton</tabstop> - <tabstop>outCallLineEdit</tabstop> - <tabstop>openOutCallToolButton</tabstop> - <tabstop>outCallAnsweredLineEdit</tabstop> - <tabstop>openOutCallAnsweredToolButton</tabstop> - <tabstop>outCallFailedLineEdit</tabstop> - <tabstop>openOutCallFailedToolButton</tabstop> - <tabstop>localReleaseLineEdit</tabstop> - <tabstop>openLocalReleaseToolButton</tabstop> - <tabstop>remoteReleaseLineEdit</tabstop> - <tabstop>openRemoteReleaseToolButton</tabstop> - <tabstop>zrtpEnabledCheckBox</tabstop> - <tabstop>zrtpSendIfSupportedCheckBox</tabstop> - <tabstop>zrtpSdpCheckBox</tabstop> - <tabstop>zrtpGoClearWarningCheckBox</tabstop> - <tabstop>okPushButton</tabstop> - <tabstop>cancelPushButton</tabstop> - <tabstop>profileComboBox</tabstop> - <tabstop>categoryListBox</tabstop> - </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> + </item> + <item> + <spacer name="spacer40_3"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>350</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="pagePresence"> + <layout class="QVBoxLayout"> + <item> + <widget class="QLabel" name="presTextLabel"> + <property name="font"> + <font> + <pointsize>21</pointsize> + </font> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="text"> + <string>Presence</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="indent"> + <number>10</number> + </property> + </widget> + </item> + <item> + <widget class="QGroupBox" name="presYourGroupBox"> + <property name="title"> + <string>Your presence</string> + </property> + <layout class="QVBoxLayout"> + <item> + <widget class="QCheckBox" name="presPublishCheckBox"> + <property name="whatsThis"> + <string>Publish your availability at startup.</string> + </property> + <property name="text"> + <string>&Publish availability at startup</string> + </property> + <property name="shortcut"> + <string>Alt+P</string> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout"> + <item> + <widget class="QLabel" name="presPublishTimerTextLabel"> + <property name="text"> + <string>Publication &refresh interval (sec):</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>presPublishTimeSpinBox</cstring> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="presPublishTimeSpinBox"> + <property name="whatsThis"> + <string>Refresh rate of presence publications.</string> + </property> + <property name="maximum"> + <number>999999</number> + </property> + <property name="singleStep"> + <number>100</number> + </property> + </widget> + </item> + <item> + <spacer name="spacer43"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>231</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" 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>&Subscription refresh interval (sec):</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>presSubscribeTimeSpinBox</cstring> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="presSubscribeTimeSpinBox"> + <property name="whatsThis"> + <string>Refresh rate of presence subscriptions.</string> + </property> + <property name="maximum"> + <number>999999</number> + </property> + <property name="singleStep"> + <number>100</number> + </property> + </widget> + </item> + <item> + <spacer name="spacer44"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>191</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + </layout> + </widget> + </item> + <item> + <spacer name="spacer45"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>281</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </widget> + </item> + </layout> + </widget> + <layoutdefault spacing="6" margin="11"/> + <tabstops> + <tabstop>displayLineEdit</tabstop> + <tabstop>usernameLineEdit</tabstop> + <tabstop>domainLineEdit</tabstop> + <tabstop>organizationLineEdit</tabstop> + <tabstop>authRealmLineEdit</tabstop> + <tabstop>authNameLineEdit</tabstop> + <tabstop>authPasswordLineEdit</tabstop> + <tabstop>authAkaOpLineEdit</tabstop> + <tabstop>authAkaAmfLineEdit</tabstop> + <tabstop>registrarLineEdit</tabstop> + <tabstop>expirySpinBox</tabstop> + <tabstop>regAtStartupCheckBox</tabstop> + <tabstop>regAddQvalueCheckBox</tabstop> + <tabstop>regQvalueLineEdit</tabstop> + <tabstop>useProxyCheckBox</tabstop> + <tabstop>proxyLineEdit</tabstop> + <tabstop>allRequestsCheckBox</tabstop> + <tabstop>proxyNonResolvableCheckBox</tabstop> + <tabstop>vmAddressLineEdit</tabstop> + <tabstop>mwiTypeComboBox</tabstop> + <tabstop>mwiUserLineEdit</tabstop> + <tabstop>mwiServerLineEdit</tabstop> + <tabstop>mwiViaProxyCheckBox</tabstop> + <tabstop>mwiDurationSpinBox</tabstop> + <tabstop>imMaxSessionsSpinBox</tabstop> + <tabstop>isComposingCheckBox</tabstop> + <tabstop>presPublishCheckBox</tabstop> + <tabstop>presPublishTimeSpinBox</tabstop> + <tabstop>presSubscribeTimeSpinBox</tabstop> + <tabstop>rtpAudioTabWidget</tabstop> + <tabstop>availCodecListBox</tabstop> + <tabstop>addCodecPushButton</tabstop> + <tabstop>rmvCodecPushButton</tabstop> + <tabstop>activeCodecListBox</tabstop> + <tabstop>upCodecPushButton</tabstop> + <tabstop>downCodecPushButton</tabstop> + <tabstop>ptimeSpinBox</tabstop> + <tabstop>inFarEndCodecPrefCheckBox</tabstop> + <tabstop>outFarEndCodecPrefCheckBox</tabstop> + <tabstop>spxDspAgcCheckBox</tabstop> + <tabstop>spxDspAgcLevelSpinBox</tabstop> + <tabstop>spxDspVadCheckBox</tabstop> + <tabstop>spxDspNrdCheckBox</tabstop> + <tabstop>spxDspAecCheckBox</tabstop> + <tabstop>ilbcPayloadSpinBox</tabstop> + <tabstop>ilbcPayloadSizeComboBox</tabstop> + <tabstop>spxVbrCheckBox</tabstop> + <tabstop>spxDtxCheckBox</tabstop> + <tabstop>spxPenhCheckBox</tabstop> + <tabstop>spxQualitySpinBox</tabstop> + <tabstop>spxComplexitySpinBox</tabstop> + <tabstop>spxNbPayloadSpinBox</tabstop> + <tabstop>spxWbPayloadSpinBox</tabstop> + <tabstop>spxUwbPayloadSpinBox</tabstop> + <tabstop>g72616PayloadSpinBox</tabstop> + <tabstop>g72624PayloadSpinBox</tabstop> + <tabstop>g72632PayloadSpinBox</tabstop> + <tabstop>g72640PayloadSpinBox</tabstop> + <tabstop>g726PackComboBox</tabstop> + <tabstop>dtmfTransportComboBox</tabstop> + <tabstop>dtmfPayloadTypeSpinBox</tabstop> + <tabstop>dtmfDurationSpinBox</tabstop> + <tabstop>dtmfPauseSpinBox</tabstop> + <tabstop>dtmfVolumeSpinBox</tabstop> + <tabstop>sipProtoclTabWidget</tabstop> + <tabstop>holdVariantComboBox</tabstop> + <tabstop>maxForwardsCheckBox</tabstop> + <tabstop>missingContactCheckBox</tabstop> + <tabstop>regTimeCheckBox</tabstop> + <tabstop>compactHeadersCheckBox</tabstop> + <tabstop>multiValuesListCheckBox</tabstop> + <tabstop>useDomainInContactCheckBox</tabstop> + <tabstop>allowSdpChangeCheckBox</tabstop> + <tabstop>allowRedirectionCheckBox</tabstop> + <tabstop>askUserRedirectCheckBox</tabstop> + <tabstop>maxRedirectSpinBox</tabstop> + <tabstop>ext100relComboBox</tabstop> + <tabstop>extReplacesCheckBox</tabstop> + <tabstop>allowReferCheckBox</tabstop> + <tabstop>askUserReferCheckBox</tabstop> + <tabstop>refereeHoldCheckBox</tabstop> + <tabstop>referrerHoldCheckBox</tabstop> + <tabstop>refreshReferSubCheckBox</tabstop> + <tabstop>referAorCheckBox</tabstop> + <tabstop>pPreferredIdCheckBox</tabstop> + <tabstop>sipTransportComboBox</tabstop> + <tabstop>udpThresholdSpinBox</tabstop> + <tabstop>displayTelUserCheckBox</tabstop> + <tabstop>numericalUserIsTelCheckBox</tabstop> + <tabstop>removeSpecialCheckBox</tabstop> + <tabstop>specialLineEdit</tabstop> + <tabstop>useTelUriCheckBox</tabstop> + <tabstop>conversionListView</tabstop> + <tabstop>upConversionPushButton</tabstop> + <tabstop>downConversionPushButton</tabstop> + <tabstop>addConversionPushButton</tabstop> + <tabstop>removePushButton</tabstop> + <tabstop>editConversionPushButton</tabstop> + <tabstop>testConversionLineEdit</tabstop> + <tabstop>testConversionPushButton</tabstop> + <tabstop>tmrNoanswerSpinBox</tabstop> + <tabstop>tmrNatKeepaliveSpinBox</tabstop> + <tabstop>ringtoneLineEdit</tabstop> + <tabstop>ringbackLineEdit</tabstop> + <tabstop>openRingtoneToolButton</tabstop> + <tabstop>openRingbackToolButton</tabstop> + <tabstop>incomingCallScriptLineEdit</tabstop> + <tabstop>openIncomingCallScriptToolButton</tabstop> + <tabstop>inCallAnsweredLineEdit</tabstop> + <tabstop>openInCallAnsweredToolButton</tabstop> + <tabstop>inCallFailedLineEdit</tabstop> + <tabstop>openInCallFailedToolButton</tabstop> + <tabstop>outCallLineEdit</tabstop> + <tabstop>openOutCallToolButton</tabstop> + <tabstop>outCallAnsweredLineEdit</tabstop> + <tabstop>openOutCallAnsweredToolButton</tabstop> + <tabstop>outCallFailedLineEdit</tabstop> + <tabstop>openOutCallFailedToolButton</tabstop> + <tabstop>localReleaseLineEdit</tabstop> + <tabstop>openLocalReleaseToolButton</tabstop> + <tabstop>remoteReleaseLineEdit</tabstop> + <tabstop>openRemoteReleaseToolButton</tabstop> + <tabstop>zrtpEnabledCheckBox</tabstop> + <tabstop>zrtpSendIfSupportedCheckBox</tabstop> + <tabstop>zrtpSdpCheckBox</tabstop> + <tabstop>zrtpGoClearWarningCheckBox</tabstop> + <tabstop>okPushButton</tabstop> + <tabstop>cancelPushButton</tabstop> + <tabstop>profileComboBox</tabstop> + <tabstop>categoryListBox</tabstop> + </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> + <resources> + <include location="icons.qrc"/> + </resources> + <connections> + <connection> + <sender>categoryListBox</sender> + <signal>currentRowChanged(int)</signal> + <receiver>UserProfileForm</receiver> + <slot>showCategory(int)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>cancelPushButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>okPushButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>validate()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>useProxyCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>proxyTextLabel</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>useProxyCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>proxyLineEdit</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>useProxyCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>allRequestsCheckBox</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>allowRedirectionCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>askUserRedirectCheckBox</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>allowRedirectionCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>maxRedirectTextLabel</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>allowRedirectionCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>maxRedirectSpinBox</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>useProxyCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>proxyNonResolvableCheckBox</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>allowReferCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>askUserReferCheckBox</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>allowReferCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>refereeHoldCheckBox</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>profileComboBox</sender> + <signal>activated(QString)</signal> + <receiver>UserProfileForm</receiver> + <slot>changeProfile(QString)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>openRingtoneToolButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>chooseRingtone()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>openRingbackToolButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>chooseRingback()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>openIncomingCallScriptToolButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>chooseIncomingCallScript()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>addCodecPushButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>addCodec()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>rmvCodecPushButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>removeCodec()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>upCodecPushButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>upCodec()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>downCodecPushButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>downCodec()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>availCodecListBox</sender> + <signal>itemDoubleClicked(QListWidgetItem*)</signal> + <receiver>UserProfileForm</receiver> + <slot>addCodec()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>activeCodecListBox</sender> + <signal>itemDoubleClicked(QListWidgetItem*)</signal> + <receiver>UserProfileForm</receiver> + <slot>removeCodec()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>openInCallAnsweredToolButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>chooseInCallAnsweredScript()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>openInCallFailedToolButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>chooseInCallFailedScript()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>openLocalReleaseToolButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>chooseLocalReleaseScript()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>openOutCallAnsweredToolButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>chooseOutCallAnsweredScript()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>openOutCallFailedToolButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>chooseOutCallFailedScript()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>openOutCallToolButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>chooseOutgoingCallScript()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>openRemoteReleaseToolButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>chooseRemoteReleaseScript()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>upConversionPushButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>upConversion()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>downConversionPushButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>downConversion()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>addConversionPushButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>addConversion()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>editConversionPushButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>editConversion()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>removePushButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>removeConversion()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>testConversionPushButton</sender> + <signal>clicked()</signal> + <receiver>UserProfileForm</receiver> + <slot>testConversion()</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>zrtpEnabledCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>zrtpSettingsGroupBox</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>mwiTypeComboBox</sender> + <signal>activated(int)</signal> + <receiver>UserProfileForm</receiver> + <slot>changeMWIType(int)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>regAddQvalueCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>regQvalueLineEdit</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>sipTransportComboBox</sender> + <signal>activated(int)</signal> + <receiver>UserProfileForm</receiver> + <slot>changeSipTransportProtocol(int)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>spxDspAgcCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>spxDspAgcLevelTextLabel</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>spxDspAgcCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>spxDspAgcLevelSpinBox</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + </connections> </ui> |