From 7adf34aa4f8fd97b9857725887c63e7affe7c4a8 Mon Sep 17 00:00:00 2001 From: Lubos Dolezel Date: Wed, 3 Jun 2015 16:49:33 +0200 Subject: syssettingsform ported to Qt4 --- src/gui/selectprofileform.cpp | 14 +- src/gui/syssettingsform.cpp | 84 +- src/gui/syssettingsform.ui | 3342 ++++++++++++++++++++++------------------- 3 files changed, 1827 insertions(+), 1613 deletions(-) (limited to 'src/gui') diff --git a/src/gui/selectprofileform.cpp b/src/gui/selectprofileform.cpp index a7e50cb..9645eaa 100644 --- a/src/gui/selectprofileform.cpp +++ b/src/gui/selectprofileform.cpp @@ -148,7 +148,7 @@ int SelectProfileForm::execForm() } // Select the created profile - Q3CheckListItem *item = (Q3CheckListItem *)profileListView->currentItem(); + QListWidgetItem* item = profileListView->currentItem(); QString profile = item->text(); profile.append(USER_FILE_EXT); selectedProfiles.clear(); @@ -251,7 +251,7 @@ void SelectProfileForm::runProfile() void SelectProfileForm::editProfile() { - Q3CheckListItem *item = (Q3CheckListItem *)profileListView->currentItem(); + QListWidgetItem *item = profileListView->currentItem(); QString profile = item->text(); // If the profile to edit is currently active, then edit the in-memory @@ -368,7 +368,7 @@ void SelectProfileForm::newProfileCreated() void SelectProfileForm::deleteProfile() { - Q3CheckListItem *item = (Q3CheckListItem *)profileListView->currentItem(); + QListWidgetItem *item = profileListView->currentItem(); QString profile = item->text(); QString msg = tr("Are you sure you want to delete profile '%1'?").arg(profile); QMessageBox *mb = new QMessageBox(tr("Delete profile"), msg, @@ -419,7 +419,7 @@ void SelectProfileForm::deleteProfile() } // Delete profile from profile list box - Q3CheckListItem *item = (Q3CheckListItem *)profileListView-> + QListWidgetItem *item = profileListView-> currentItem(); delete item; if (profileListView->count() == 0) { @@ -442,7 +442,7 @@ void SelectProfileForm::deleteProfile() void SelectProfileForm::renameProfile() { - Q3CheckListItem *item = (Q3CheckListItem *)profileListView->currentItem(); + QListWidgetItem *item = profileListView->currentItem(); QString oldProfile = item->text(); // Ask user for a new profile name @@ -523,8 +523,8 @@ void SelectProfileForm::renameProfile() emit profileRenamed(); // Change profile name in the list box - Q3CheckListItem *item = (Q3CheckListItem *)profileListView->currentItem(); - item->setText(0, newProfile); + QListWidgetItem *item = profileListView->currentItem(); + item->setText(newProfile); } } diff --git a/src/gui/syssettingsform.cpp b/src/gui/syssettingsform.cpp index a6b940c..d38a7ca 100644 --- a/src/gui/syssettingsform.cpp +++ b/src/gui/syssettingsform.cpp @@ -1,15 +1,30 @@ -//Added by qt3to4: +/* + Copyright (C) 2005-2009 Michel de Boer + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + #include -#include #include #include "gui.h" #include "sockets/interfaces.h" #include "selectprofileform.h" #include #include "audits/memman.h" -#include #include -#include +#include #include #include "twinkle_config.h" #include @@ -47,25 +62,6 @@ void SysSettingsForm::languageChange() retranslateUi(this); } - -/* - Copyright (C) 2005-2009 Michel de Boer - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - // Indices of categories in the category list box #define idxCatGeneral 0 #define idxCatAudio 1 @@ -95,17 +91,17 @@ void SysSettingsForm::init() void SysSettingsForm::showCategory( int index ) { if (index == idxCatGeneral) { - settingsWidgetStack->raiseWidget(pageGeneral); + settingsWidgetStack->setCurrentWidget(pageGeneral); } else if (index == idxCatAudio) { - settingsWidgetStack->raiseWidget(pageAudio); + settingsWidgetStack->setCurrentWidget(pageAudio); } else if (index == idxCatRingtones) { - settingsWidgetStack->raiseWidget(pageRingtones); + settingsWidgetStack->setCurrentWidget(pageRingtones); } else if (index == idxCatAddressBook) { - settingsWidgetStack->raiseWidget(pageAddressBook); + settingsWidgetStack->setCurrentWidget(pageAddressBook); } else if (index == idxCatNetwork) { - settingsWidgetStack->raiseWidget(pageNetwork); + settingsWidgetStack->setCurrentWidget(pageNetwork); } else if (index == idxCatLog) { - settingsWidgetStack->raiseWidget(pageLog); + settingsWidgetStack->setCurrentWidget(pageLog); } } @@ -151,8 +147,8 @@ void SysSettingsForm::populate() int idx; // Select the Audio category - categoryListBox->setSelected(idxCatGeneral, true); - settingsWidgetStack->raiseWidget(pageGeneral); + categoryListBox->setCurrentRow(idxCatGeneral); + settingsWidgetStack->setCurrentWidget(pageGeneral); // Set focus on first field categoryListBox->setFocus(); @@ -292,14 +288,15 @@ void SysSettingsForm::populate() // Strip off the .cfg suffix QString profile = *i; profile.truncate(profile.length() - 4); - Q3CheckListItem *item = new Q3CheckListItem(profileListView, - profile, Q3CheckListItem::CheckBox); - item->setPixmap(0, QPixmap(":/icons/images/penguin-small.png")); + QListWidgetItem* item = new QListWidgetItem(profile, profileListView); + item->setFlags(item->flags() | Qt::ItemIsUserCheckable); + item->setCheckState(Qt::Unchecked); + item->setData(Qt::DecorationRole, QPixmap(":/icons/images/penguin-small.png")); list l = sys_config->get_start_user_profiles(); if (std::find(l.begin(), l.end(), profile.ascii()) != l.end()) { - item->setOn(true); + item->setCheckState(Qt::Checked); } } @@ -393,11 +390,10 @@ void SysSettingsForm::validate() guiUseSystrayCheckBox->isChecked()); list start_user_profiles; - Q3ListViewItemIterator i(profileListView, Q3ListViewItemIterator::Checked); - while (i.current()) { - Q3CheckListItem *item = (Q3CheckListItem *)i.current(); + for (int i = 0; i < profileListView->count(); i++) + { + QListWidgetItem *item = profileListView->item(i); start_user_profiles.push_back(item->text().ascii()); - i++; } sys_config->set_start_user_profiles(start_user_profiles); @@ -471,10 +467,9 @@ int SysSettingsForm::exec() void SysSettingsForm::chooseRingtone() { - QString file = Q3FileDialog::getOpenFileName( + QString file = QFileDialog::getOpenFileName(this, tr("Choose ring tone"), ((t_gui *)ui)->get_last_file_browse_path(), - tr("Ring tones", "Description of .wav files in file dialog").append(" (*.wav)"), this, "ring tone file dialog", - tr("Choose ring tone")); + tr("Ring tones", "Description of .wav files in file dialog").append(" (*.wav)")); if (!file.isEmpty()) { ringtoneLineEdit->setText(file); ((t_gui *)ui)->set_last_file_browse_path(QFileInfo(file).dirPath(true)); @@ -483,10 +478,9 @@ void SysSettingsForm::chooseRingtone() void SysSettingsForm::chooseRingback() { - QString file = Q3FileDialog::getOpenFileName( + QString file = QFileDialog::getOpenFileName(this, tr("Choose ring back tone"), ((t_gui *)ui)->get_last_file_browse_path(), - tr("Ring back tones", "Description of .wav files in file dialog").append(" (*.wav)"), this, "ring back file dialog", - tr("Choose ring back tone")); + tr("Ring back tones", "Description of .wav files in file dialog").append(" (*.wav)")); if (!file.isEmpty()) { ringbackLineEdit->setText(file); ((t_gui *)ui)->set_last_file_browse_path(QFileInfo(file).dirPath(true)); diff --git a/src/gui/syssettingsform.ui b/src/gui/syssettingsform.ui index ffc1974..5fd9c3a 100644 --- a/src/gui/syssettingsform.ui +++ b/src/gui/syssettingsform.ui @@ -1,321 +1,317 @@ - - - - - SysSettingsForm - - - - 0 - 0 - 765 - 624 - - - - Twinkle - System Settings - - - - - - - 1 - 7 + + SysSettingsForm + + + + 0 + 0 + 757 + 616 + + + + Twinkle - System Settings + + + + + + + 0 + 0 + + + + Select a category for which you want to see or modify the settings. + + + + 32 + 32 + + + + 0 + + + + General + + + + :/icons/images/twinkle32.png:/icons/images/twinkle32.png + + + + + Audio + + + + :/icons/images/kmix.png:/icons/images/kmix.png + + + + + Ring tones + + + + :/icons/images/knotify.png:/icons/images/knotify.png + + + + + Address book + + + + :/icons/images/kontact_contacts32.png:/icons/images/kontact_contacts32.png + + + + + Network + + + + :/icons/images/network.png:/icons/images/network.png + + + + + Log + + + + :/icons/images/log.png:/icons/images/log.png + + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 321 + 20 + + + + + + + + Accept and save your changes. + + + &OK + + + Alt+O + + + true + + + + + + + Undo all your changes and close the window. + + + &Cancel + + + Alt+C + + + + + + + + + + 0 + 0 + + + + QFrame::StyledPanel + + + 2 + + + + + + + + 21 + + + + QFrame::StyledPanel + + + Audio + + + false + + + 10 + + + + + + + Sound Card + + + + + + 0 0 - - - - Select a category for which you want to see or modify the settings. - - + + + + Select the sound card for playing the ring tone for incoming calls. + + + + + + + + 0 + 0 + + + + Select the sound card to which your microphone is connected. + + + + + + + + 0 + 0 + + + + Select the sound card for the speaker function during a call. + + + + + - General + &Speaker: - - :/icons/images/twinkle32.png + + false + + speakerComboBox + + - + + - Audio + &Ring tone: - - :/icons/images/kmix.png + + false + + ringtoneComboBox + + - + + - Ring tones + Other device: - - :/icons/images/knotify.png + + false + + otherRingtoneLineEdit + + - + + - Address book + Other device: - - :/icons/images/kontact_contacts32.png + + false + + otherSpeakerLineEdit + + - + + - Network + Other device: - - :/icons/images/network.png + + false + + otherMicLineEdit + + - + + - Log + &Microphone: - - :/icons/images/log.png + + false + + micComboBox + + - - - - - - - - - 321 - 20 - - - - QSizePolicy::Expanding - - - Qt::Horizontal - - + + - - - - &OK - - - Alt+O - - - true - - - Accept and save your changes. - - + + - - - - &Cancel - - - Alt+C - - - Undo all your changes and close the window. - - + + - - - - - - - 7 - 5 - 0 - 0 - - - - Box - - - - 0 - - - - - - - 21 - - - - QFrame::Box - - - Audio - - - 10 - - - false - - - - - - - Sound Card - - - - - - - 7 - 0 - 0 - 0 - - - - Select the sound card for playing the ring tone for incoming calls. - - - - - - - - 7 - 0 - 0 - 0 - - - - Select the sound card to which your microphone is connected. - - - - - - - - 7 - 0 - 0 - 0 - - - - Select the sound card for the speaker function during a call. - - - - - - - &Speaker: - - - speakerComboBox - - - false - - - - - - - &Ring tone: - - - ringtoneComboBox - - - false - - - - - - - Other device: - - - otherRingtoneLineEdit - - - false - - - - - - - Other device: - - - otherSpeakerLineEdit - - - false - - - - - - - Other device: - - - otherMicLineEdit - - - false - - - - - - - &Microphone: - - - micComboBox - - - false - - - - - - - - - - - - - - - - &Validate devices before usage - - - Alt+V - - - <p> + + + + <p> Twinkle validates the audio devices before usage to avoid an established call without an audio channel. <p> On startup of Twinkle a warning is given if an audio device is inaccessible. @@ -323,1315 +319,1539 @@ On startup of Twinkle a warning is given if an audio device is inaccessible. If before making a call, the microphone or speaker appears to be invalid, a warning is given and no call can be made. <p> If before answering a call, the microphone or speaker appears to be invalid, a warning is given and the call will not be answered. - - - - - - - - - - Advanced - - - - - - - - OSS &fragment size: - - - ossFragmentComboBox - - - false - - - - - - - The ALSA play period size influences the real time behaviour of your soundcard for playing sound. If your sound frequently drops while using ALSA, you might try a different value here. - - - - 16 - - - - - 32 - - - - - 64 - - - - - 128 - - - - - 256 - - - - - - - - ALSA &play period size: - - - alsaPlayPeriodComboBox - - - false - - - - - - - &ALSA capture period size: - - - alsaCapturePeriodComboBox - - - false - - - - - - - The OSS fragment size influences the real time behaviour of your soundcard. If your sound frequently drops while using OSS, you might try a different value here. - - - - 16 - - - - - 32 - - - - - 64 - - - - - 128 - - - - - 256 - - - - - - - - The ALSA capture period size influences the real time behaviour of your soundcard for capturing sound. If the other side of your call complains about frequently dropping sound, you might try a different value here. - - - - 16 - - - - - 32 - - - - - 64 - - - - - 128 - - - - - 256 - - - - - - - - - - - 121 - 20 - - - - QSizePolicy::Expanding - - - Qt::Horizontal - - - - - - + + + &Validate devices before usage + + + Alt+V + + + + + + + + + + Advanced + + + + + + + + OSS &fragment size: + + + false + + + ossFragmentComboBox + + + + + + + The ALSA play period size influences the real time behaviour of your soundcard for playing sound. If your sound frequently drops while using ALSA, you might try a different value here. + - - - - 20 - 20 - - - - QSizePolicy::Expanding - - - Qt::Vertical - - + + 16 + - - - - - 1 - - - - - - 21 - - - - QFrame::Box - - - Log - - - 10 - - - false - - + + 32 + - - - - - &Max log size: - - - logMaxSizeSpinBox - - - false - - - - - - - 100 - - - 1 - - - 5 - - - 5 - - - The maximum size of a log file in MB. When the log file exceeds this size, a backup of the log file is created and the current log file is zapped. Only one backup log file will be kept. - - - - - - - MB - - - false - - - - - - - - 211 - 20 - - - - QSizePolicy::Expanding - - - Qt::Horizontal - - - - + + 64 + - - - Log &debug reports - - - Alt+D - - - Indicates if reports marked as "debug" will be logged. - - + + 128 + - - - Log &SIP reports - - - Alt+S - - - Indicates if SIP messages will be logged. - - + + 256 + + + + + + + ALSA &play period size: + + + false + + + alsaPlayPeriodComboBox + + + + + + + &ALSA capture period size: + + + false + + + alsaCapturePeriodComboBox + + + + + + + The OSS fragment size influences the real time behaviour of your soundcard. If your sound frequently drops while using OSS, you might try a different value here. + - - - Log S&TUN reports - - - Alt+T - - - Indicates if STUN messages will be logged. - - + + 16 + - - - Log m&emory reports - - - Alt+E - - - Indicates if reports concerning memory management will be logged. - - + + 32 + - - - - 20 - 61 - - - - QSizePolicy::Expanding - - - Qt::Vertical - - + + 64 + - - - - - 2 - - - - - - 21 - - - - QFrame::Box - - - General - - - 10 - - - false - - + + 128 + - - - System tray - - - - - - Create &system tray icon on startup - - - Alt+S - - - Enable this option if you want a system tray icon for Twinkle. The system tray icon is created when you start Twinkle. - - - - - - - &Hide in system tray when closing main window - - - Alt+H - - - Enable this option if you want Twinkle to hide in the system tray when you close the main window. - - - - - + + 256 + + + + + + + The ALSA capture period size influences the real time behaviour of your soundcard for capturing sound. If the other side of your call complains about frequently dropping sound, you might try a different value here. + - - - Startup - - - - - - S&tartup hidden in system tray - - - Alt+T - - - Next time you start Twinkle it will immediately hide in the system tray. This works best when you also select a default user profile. - - - - - - - Q3ListView::NoSelection - - - Q3ListView::LastColumn - - - If you always use the same profile(s), then you can mark these profiles as default here. The next time you start Twinkle, you will not be asked to select which profiles to run. The default profiles will automatically run. - - - - Default user profiles - - - true - - - true - - - - - - + + 16 + - - - Services - - - - - - Call &waiting - - - Alt+W - - - With call waiting an incoming call is accepted when only one line is busy. When you disable call waiting an incoming call will be rejected when one line is busy. - - - - - - - Hang up &both lines when ending a 3-way conference call. - - - Alt+B - - - Hang up both lines when you press bye to end a 3-way conference call. When this option is disabled, only the active line will be hung up and you can continue talking with the party on the other line. - - - - - + + 32 + - - - - - &Maximum calls in call history: - - - histSizeSpinBox - - - false - - - - - - - 1000 - - - 10 - - - The maximum number of calls that will be kept in the call history. - - - - - - - - 191 - 20 - - - - QSizePolicy::Expanding - - - Qt::Horizontal - - - - + + 64 + - - - - - &Auto show main window on incoming call after - - - Alt+A - - - When the main window is hidden, it will be automatically shown on an incoming call after the number of specified seconds. - - - - - - - 60 - - - Number of seconds after which the main window should be shown. - - - - - - - secs - - - false - - - - - - - - 29 - 20 - - - - QSizePolicy::Expanding - - - Qt::Horizontal - - - - + + 128 + - - - - - W&eb browser command: - - - browserLineEdit - - - false - - - - - - - Command to start your web browser. If you leave this field empty Twinkle will try to figure out your default web browser. - - - - + + 256 + - + + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 121 + 20 + + + + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 20 + 20 + + + + + + + + + + + + + 21 + + + + QFrame::StyledPanel + + + Log + + + false + + + 10 + + + + + + + + + &Max log size: + + + false + + + logMaxSizeSpinBox + - - - 3 - - - - - - - 21 - - - - QFrame::Box - - - Network - - - 10 - - - false - - - - - - - - 20 - 230 - - - - QSizePolicy::Expanding - - - Qt::Vertical - - - - - - - - 314 - 20 - - - - QSizePolicy::Expanding - - - Qt::Horizontal - - - - - - - Maximum allowed size (0-65535) in bytes of an incoming SIP message over UDP. - - - - - - - &SIP port: - - - sipUdpPortSpinBox - - - false - - - - - - - &RTP port: - - - rtpPortSpinBox - - - false - - - - - - - Max. SIP message size (&TCP): - - - maxTcpSizeLineEdit - - - false - - - - - - - - 314 - 20 - - - - QSizePolicy::Expanding - - - Qt::Horizontal - - - - - - - 65535 - - - 1025 - - - 5060 - - - The UDP/TCP port used for sending and receiving SIP messages. - - - - - - - Max. SIP message size (&UDP): - - - maxUdpSizeLineEdit - - - false - - - - - - - Maximum allowed size (0-4294967295) in bytes of an incoming SIP message over TCP. - - - - - - - 65535 - - - 1025 - - - 2 - - - 8000 - - - The UDP port used for sending and receiving RTP for the first line. The UDP port for the second line is 2 higher. E.g. if port 8000 is used for the first line, then the second line uses port 8002. When you use call transfer then the next even port (eg. 8004) is also used. - - - - + + + + + The maximum size of a log file in MB. When the log file exceeds this size, a backup of the log file is created and the current log file is zapped. Only one backup log file will be kept. + + + 1 + + + 100 + + + 5 + + + 5 + - - - 4 - - - - - - - 21 - - - - QFrame::Box - - - Ring tones - - - 10 - - - false - - - - - - - Ring tone - - - - - - &Play ring tone on incoming call - - - Alt+P - - - Indicates if a ring tone should be played when a call comes in. - - - - - - - &Default ring tone - - - Alt+D - - - true - - - Play the default ring tone when a call comes in. - - - - - - - C&ustom ring tone - - - Alt+U - - - Play a custom ring tone when a call comes in. - - - - - - - - - - 20 - 20 - - - - QSizePolicy::Fixed - - - Qt::Horizontal - - - - - - - Specify the file name of a .wav file that you want to be played as ring tone. - - - - - - - Qt::TabFocus - - - - - - :/icons/images/fileopen.png - - - Select ring tone file. - - - - - - - - - - - - Ring back tone - - - - - - P&lay ring back tone when network does not play ring back tone - - - Alt+L - - - <p> + + + + + MB + + + false + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 211 + 20 + + + + + + + + + + Indicates if reports marked as "debug" will be logged. + + + Log &debug reports + + + Alt+D + + + + + + + Indicates if SIP messages will be logged. + + + Log &SIP reports + + + Alt+S + + + + + + + Indicates if STUN messages will be logged. + + + Log S&TUN reports + + + Alt+T + + + + + + + Indicates if reports concerning memory management will be logged. + + + Log m&emory reports + + + Alt+E + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 20 + 61 + + + + + + + + + + + + + 21 + + + + QFrame::StyledPanel + + + General + + + false + + + 10 + + + + + + + System tray + + + + + + Enable this option if you want a system tray icon for Twinkle. The system tray icon is created when you start Twinkle. + + + Create &system tray icon on startup + + + Alt+S + + + + + + + Enable this option if you want Twinkle to hide in the system tray when you close the main window. + + + &Hide in system tray when closing main window + + + Alt+H + + + + + + + + + + Startup + + + + + + Next time you start Twinkle it will immediately hide in the system tray. This works best when you also select a default user profile. + + + S&tartup hidden in system tray + + + Alt+T + + + + + + + If you always use the same profile(s), then you can mark these profiles as default here. The next time you start Twinkle, you will not be asked to select which profiles to run. The default profiles will automatically run. + + + QAbstractItemView::NoSelection + + + QListView::Fixed + + + + + + + + + + Services + + + + + + With call waiting an incoming call is accepted when only one line is busy. When you disable call waiting an incoming call will be rejected when one line is busy. + + + Call &waiting + + + Alt+W + + + + + + + Hang up both lines when you press bye to end a 3-way conference call. When this option is disabled, only the active line will be hung up and you can continue talking with the party on the other line. + + + Hang up &both lines when ending a 3-way conference call. + + + Alt+B + + + + + + + + + + + + &Maximum calls in call history: + + + false + + + histSizeSpinBox + + + + + + + The maximum number of calls that will be kept in the call history. + + + 1000 + + + 10 + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 191 + 20 + + + + + + + + + + + + When the main window is hidden, it will be automatically shown on an incoming call after the number of specified seconds. + + + &Auto show main window on incoming call after + + + Alt+A + + + + + + + Number of seconds after which the main window should be shown. + + + 60 + + + + + + + secs + + + false + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 29 + 20 + + + + + + + + + + + + W&eb browser command: + + + false + + + browserLineEdit + + + + + + + Command to start your web browser. If you leave this field empty Twinkle will try to figure out your default web browser. + + + + + + + + + + + + + + 21 + + + + QFrame::StyledPanel + + + Network + + + false + + + 10 + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 20 + 230 + + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 314 + 20 + + + + + + + + Maximum allowed size (0-65535) in bytes of an incoming SIP message over UDP. + + + + + + + &SIP port: + + + false + + + sipUdpPortSpinBox + + + + + + + &RTP port: + + + false + + + rtpPortSpinBox + + + + + + + Max. SIP message size (&TCP): + + + false + + + maxTcpSizeLineEdit + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 314 + 20 + + + + + + + + The UDP/TCP port used for sending and receiving SIP messages. + + + 1025 + + + 65535 + + + 5060 + + + + + + + Max. SIP message size (&UDP): + + + false + + + maxUdpSizeLineEdit + + + + + + + Maximum allowed size (0-4294967295) in bytes of an incoming SIP message over TCP. + + + + + + + The UDP port used for sending and receiving RTP for the first line. The UDP port for the second line is 2 higher. E.g. if port 8000 is used for the first line, then the second line uses port 8002. When you use call transfer then the next even port (eg. 8004) is also used. + + + 1025 + + + 65535 + + + 2 + + + 8000 + + + + + + + + + + + + 21 + + + + QFrame::StyledPanel + + + Ring tones + + + false + + + 10 + + + + + + + Ring tone + + + + + + Indicates if a ring tone should be played when a call comes in. + + + &Play ring tone on incoming call + + + Alt+P + + + + + + + Play the default ring tone when a call comes in. + + + &Default ring tone + + + Alt+D + + + true + + + + + + + Play a custom ring tone when a call comes in. + + + C&ustom ring tone + + + Alt+U + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 20 + 20 + + + + + + + + Specify the file name of a .wav file that you want to be played as ring tone. + + + + + + + Qt::TabFocus + + + Select ring tone file. + + + + + + + :/icons/images/fileopen.png:/icons/images/fileopen.png + + + + + + + + + + + + Ring back tone + + + + + + <p> Play ring back tone while you are waiting for the far-end to answer your call. </p> <p> Depending on your SIP provider the network might provide ring back tone or an announcement. </p> - - - - - - - D&efault ring back tone - - - Alt+E - - - true - - - Play the default ring back tone. - - - - - - - Cu&stom ring back tone - - - Alt+S - - - Play a custom ring back tone. - - - - - - - - - - 20 - 20 - - - - QSizePolicy::Fixed - - - Qt::Horizontal - - - - - - - Specify the file name of a .wav file that you want to be played as ring back tone. - - - - - - - Qt::TabFocus - - - - - - :/icons/images/fileopen.png - - - Select ring back tone file. - - - - - - - - - - - - - 20 - 20 - - - - QSizePolicy::Expanding - - - Qt::Vertical - - - - - - - - 5 - - - - - - - 21 - - - - QFrame::Box - - - Address book - - - 10 - - - false - - - - - - - &Lookup name for incoming call - - - Alt+L - - - On an incoming call, Twinkle will try to find the name belonging to the incoming SIP address in your address book. This name will be displayed. - - - - - - - Ove&rride received display name - - - Alt+R - - - The caller may have provided a display name already. Tick this box if you want to override that name with the name you have in your address book. - - - - - - - Lookup &photo for incoming call - - - Alt+P - - - Lookup the photo of a caller in your address book and display it on an incoming call. - - - - - - - - 20 - 121 - - - - QSizePolicy::Expanding - - - Qt::Vertical - - - - - + + + P&lay ring back tone when network does not play ring back tone + + + Alt+L + + + + + + + Play the default ring back tone. + + + D&efault ring back tone + + + Alt+E + + + true + + + + + + + Play a custom ring back tone. + + + Cu&stom ring back tone + + + Alt+S + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 20 + 20 + + + + + + + + Specify the file name of a .wav file that you want to be played as ring back tone. + + + + + + + Qt::TabFocus + + + Select ring back tone file. + + + + + + + :/icons/images/fileopen.png:/icons/images/fileopen.png + + + + + + - - - - - - - categoryListBox - guiUseSystrayCheckBox - guiHideCheckBox - startHiddenCheckBox - profileListView - callWaitingCheckBox - hangupBothCheckBox - histSizeSpinBox - autoShowCheckBox - autoShowTimeoutSpinBox - ringtoneComboBox - otherRingtoneLineEdit - speakerComboBox - otherSpeakerLineEdit - micComboBox - otherMicLineEdit - validateAudioCheckBox - ossFragmentComboBox - alsaPlayPeriodComboBox - alsaCapturePeriodComboBox - playRingtoneCheckBox - defaultRingtoneRadioButton - ringtoneLineEdit - openRingtoneToolButton - playRingbackCheckBox - defaultRingbackRadioButton - ringbackLineEdit - openRingbackToolButton - abLookupNameCheckBox - abOverrideDisplayCheckBox - abLookupPhotoCheckBox - sipUdpPortSpinBox - rtpPortSpinBox - maxUdpSizeLineEdit - maxTcpSizeLineEdit - logMaxSizeSpinBox - logDebugCheckBox - logSipCheckBox - logStunCheckBox - logMemoryCheckBox - okPushButton - cancelPushButton - customRingtoneRadioButton - customRingbackRadioButton - - - sys_settings.h - - - - okPushButton - clicked() - SysSettingsForm - validate() - - - cancelPushButton - clicked() - SysSettingsForm - reject() - - - categoryListBox - highlighted(int) - SysSettingsForm - showCategory(int) - - - guiUseSystrayCheckBox - toggled(bool) - guiHideCheckBox - setEnabled(bool) - - - guiUseSystrayCheckBox - toggled(bool) - guiHideCheckBox - setChecked(bool) - - - guiUseSystrayCheckBox - toggled(bool) - startHiddenCheckBox - setEnabled(bool) - - - playRingtoneCheckBox - toggled(bool) - customRingtoneRadioButton - setEnabled(bool) - - - playRingtoneCheckBox - toggled(bool) - defaultRingtoneRadioButton - setEnabled(bool) - - - playRingtoneCheckBox - toggled(bool) - SysSettingsForm - playRingToneCheckBoxToggles(bool) - - - playRingtoneCheckBox - toggled(bool) - openRingtoneToolButton - setEnabled(bool) - - - playRingbackCheckBox - toggled(bool) - customRingbackRadioButton - setEnabled(bool) - - - playRingbackCheckBox - toggled(bool) - defaultRingbackRadioButton - setEnabled(bool) - - - playRingbackCheckBox - toggled(bool) - SysSettingsForm - playRingBackToneCheckBoxToggles(bool) - - - playRingbackCheckBox - toggled(bool) - openRingbackToolButton - setEnabled(bool) - - - openRingtoneToolButton - clicked() - SysSettingsForm - chooseRingtone() - - - openRingbackToolButton - clicked() - SysSettingsForm - chooseRingback() - - - customRingtoneRadioButton - toggled(bool) - ringtoneLineEdit - setEnabled(bool) - - - customRingtoneRadioButton - toggled(bool) - openRingtoneToolButton - setEnabled(bool) - - - customRingbackRadioButton - toggled(bool) - ringbackLineEdit - setEnabled(bool) - - - customRingbackRadioButton - toggled(bool) - openRingbackToolButton - setEnabled(bool) - - - abLookupNameCheckBox - toggled(bool) - abOverrideDisplayCheckBox - setEnabled(bool) - - - ringtoneComboBox - activated(int) - SysSettingsForm - devRingtoneSelected(int) - - - speakerComboBox - activated(int) - SysSettingsForm - devSpeakerSelected(int) - - - micComboBox - activated(int) - SysSettingsForm - devMicSelected(int) - - + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 20 + 20 + + + + + + + + + + + + + 21 + + + + QFrame::StyledPanel + + + Address book + + + false + + + 10 + + + + + + + On an incoming call, Twinkle will try to find the name belonging to the incoming SIP address in your address book. This name will be displayed. + + + &Lookup name for incoming call + + + Alt+L + + + + + + + The caller may have provided a display name already. Tick this box if you want to override that name with the name you have in your address book. + + + Ove&rride received display name + + + Alt+R + + + + + + + Lookup the photo of a caller in your address book and display it on an incoming call. + + + Lookup &photo for incoming call + + + Alt+P + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 20 + 121 + + + + + + + + + + + + + categoryListBox + guiUseSystrayCheckBox + guiHideCheckBox + startHiddenCheckBox + profileListView + callWaitingCheckBox + hangupBothCheckBox + histSizeSpinBox + autoShowCheckBox + autoShowTimeoutSpinBox + ringtoneComboBox + otherRingtoneLineEdit + speakerComboBox + otherSpeakerLineEdit + micComboBox + otherMicLineEdit + validateAudioCheckBox + ossFragmentComboBox + alsaPlayPeriodComboBox + alsaCapturePeriodComboBox + playRingtoneCheckBox + defaultRingtoneRadioButton + ringtoneLineEdit + openRingtoneToolButton + playRingbackCheckBox + defaultRingbackRadioButton + ringbackLineEdit + openRingbackToolButton + abLookupNameCheckBox + abOverrideDisplayCheckBox + abLookupPhotoCheckBox + sipUdpPortSpinBox + rtpPortSpinBox + maxUdpSizeLineEdit + maxTcpSizeLineEdit + logMaxSizeSpinBox + logDebugCheckBox + logSipCheckBox + logStunCheckBox + logMemoryCheckBox + okPushButton + cancelPushButton + customRingtoneRadioButton + customRingbackRadioButton + + + sys_settings.h + + + + + + + okPushButton + clicked() + SysSettingsForm + validate() + + + 20 + 20 + + + 20 + 20 + + + + + cancelPushButton + clicked() + SysSettingsForm + reject() + + + 20 + 20 + + + 20 + 20 + + + + + categoryListBox + currentRowChanged(int) + SysSettingsForm + showCategory(int) + + + 20 + 20 + + + 20 + 20 + + + + + guiUseSystrayCheckBox + toggled(bool) + guiHideCheckBox + setEnabled(bool) + + + 20 + 20 + + + 20 + 20 + + + + + guiUseSystrayCheckBox + toggled(bool) + guiHideCheckBox + setChecked(bool) + + + 20 + 20 + + + 20 + 20 + + + + + guiUseSystrayCheckBox + toggled(bool) + startHiddenCheckBox + setEnabled(bool) + + + 20 + 20 + + + 20 + 20 + + + + + playRingtoneCheckBox + toggled(bool) + customRingtoneRadioButton + setEnabled(bool) + + + 20 + 20 + + + 20 + 20 + + + + + playRingtoneCheckBox + toggled(bool) + defaultRingtoneRadioButton + setEnabled(bool) + + + 20 + 20 + + + 20 + 20 + + + + + playRingtoneCheckBox + toggled(bool) + SysSettingsForm + playRingToneCheckBoxToggles(bool) + + + 20 + 20 + + + 20 + 20 + + + + + playRingtoneCheckBox + toggled(bool) + openRingtoneToolButton + setEnabled(bool) + + + 20 + 20 + + + 20 + 20 + + + + + playRingbackCheckBox + toggled(bool) + customRingbackRadioButton + setEnabled(bool) + + + 20 + 20 + + + 20 + 20 + + + + + playRingbackCheckBox + toggled(bool) + defaultRingbackRadioButton + setEnabled(bool) + + + 20 + 20 + + + 20 + 20 + + + + + playRingbackCheckBox + toggled(bool) + SysSettingsForm + playRingBackToneCheckBoxToggles(bool) + + + 20 + 20 + + + 20 + 20 + + + + + playRingbackCheckBox + toggled(bool) + openRingbackToolButton + setEnabled(bool) + + + 20 + 20 + + + 20 + 20 + + + + + openRingtoneToolButton + clicked() + SysSettingsForm + chooseRingtone() + + + 20 + 20 + + + 20 + 20 + + + + + openRingbackToolButton + clicked() + SysSettingsForm + chooseRingback() + + + 20 + 20 + + + 20 + 20 + + + + + customRingtoneRadioButton + toggled(bool) + ringtoneLineEdit + setEnabled(bool) + + + 20 + 20 + + + 20 + 20 + + + + + customRingtoneRadioButton + toggled(bool) + openRingtoneToolButton + setEnabled(bool) + + + 20 + 20 + + + 20 + 20 + + + + + customRingbackRadioButton + toggled(bool) + ringbackLineEdit + setEnabled(bool) + + + 20 + 20 + + + 20 + 20 + + + + + customRingbackRadioButton + toggled(bool) + openRingbackToolButton + setEnabled(bool) + + + 20 + 20 + + + 20 + 20 + + + + + abLookupNameCheckBox + toggled(bool) + abOverrideDisplayCheckBox + setEnabled(bool) + + + 20 + 20 + + + 20 + 20 + + + + + ringtoneComboBox + activated(int) + SysSettingsForm + devRingtoneSelected(int) + + + 20 + 20 + + + 20 + 20 + + + + + speakerComboBox + activated(int) + SysSettingsForm + devSpeakerSelected(int) + + + 20 + 20 + + + 20 + 20 + + + + + micComboBox + activated(int) + SysSettingsForm + devMicSelected(int) + + + 20 + 20 + + + 20 + 20 + + + + -- cgit v1.2.3