|
|
|
@ -42,48 +42,48 @@ options_imp::options_imp(QWidget *parent):QDialog(parent){
@@ -42,48 +42,48 @@ options_imp::options_imp(QWidget *parent):QDialog(parent){
|
|
|
|
|
enableProxyAuth_checkBox->setIcon(QIcon(QString::fromUtf8(":/Icons/encrypted.png"))); |
|
|
|
|
to_range->setText(tr("to", "<min port> to <max port>")); |
|
|
|
|
// Languages supported
|
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/united_kingdom.png"))), QString::fromUtf8(" English")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/united_kingdom.png"))), QString::fromUtf8("English")); |
|
|
|
|
locales << "en_GB"; |
|
|
|
|
combo_i18n->setCurrentIndex(0); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/france.png"))), QString::fromUtf8(" Français")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/france.png"))), QString::fromUtf8("Français")); |
|
|
|
|
locales << "fr_FR"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/germany.png"))), QString::fromUtf8(" Deutsch")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/germany.png"))), QString::fromUtf8("Deutsch")); |
|
|
|
|
locales << "de_DE"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/italy.png"))), QString::fromUtf8(" Italiano")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/italy.png"))), QString::fromUtf8("Italiano")); |
|
|
|
|
locales << "it_IT"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/netherlands.png"))), QString::fromUtf8(" Nederlands")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/netherlands.png"))), QString::fromUtf8("Nederlands")); |
|
|
|
|
locales << "nl_NL"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/spain.png"))), QString::fromUtf8(" Español")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/spain.png"))), QString::fromUtf8("Español")); |
|
|
|
|
locales << "es_ES"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/spain_catalunya.png"))), QString::fromUtf8(" Català")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/spain_catalunya.png"))), QString::fromUtf8("Català")); |
|
|
|
|
locales << "ca_ES"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/portugal.png"))), QString::fromUtf8(" Português")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/portugal.png"))), QString::fromUtf8("Português")); |
|
|
|
|
locales << "pt_PT"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/poland.png"))), QString::fromUtf8(" Polski")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/poland.png"))), QString::fromUtf8("Polski")); |
|
|
|
|
locales << "pl_PL"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/slovakia.png"))), QString::fromUtf8(" Slovenčina")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/slovakia.png"))), QString::fromUtf8("Slovenčina")); |
|
|
|
|
locales << "sk_SK"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/romania.png"))), QString::fromUtf8(" Română")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/romania.png"))), QString::fromUtf8("Română")); |
|
|
|
|
locales << "ro_RO"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/turkey.png"))), QString::fromUtf8(" Türkçe")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/turkey.png"))), QString::fromUtf8("Türkçe")); |
|
|
|
|
locales << "tr_TR"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/greece.png"))), QString::fromUtf8(" Ελληνικά")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/greece.png"))), QString::fromUtf8("Ελληνικά")); |
|
|
|
|
locales << "el_GR"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/sweden.png"))), QString::fromUtf8(" Svenska")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/sweden.png"))), QString::fromUtf8("Svenska")); |
|
|
|
|
locales << "sv_SE"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/norway.png"))), QString::fromUtf8(" Norsk")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/norway.png"))), QString::fromUtf8("Norsk")); |
|
|
|
|
locales << "nb_NO"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/bulgaria.png"))), QString::fromUtf8(" Български")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/bulgaria.png"))), QString::fromUtf8("Български")); |
|
|
|
|
locales << "bg_BG"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/ukraine.png"))), QString::fromUtf8(" Українська")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/ukraine.png"))), QString::fromUtf8("Українська")); |
|
|
|
|
locales << "uk_UA"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/russia.png"))), QString::fromUtf8(" Русский")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/russia.png"))), QString::fromUtf8("Русский")); |
|
|
|
|
locales << "ru_RU"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/china.png"))), QString::fromUtf8(" 中文 (简体)")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/china.png"))), QString::fromUtf8("中文 (简体)")); |
|
|
|
|
locales << "zh_CN"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/china_hong_kong.png"))), QString::fromUtf8(" 中文 (繁體)")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/china_hong_kong.png"))), QString::fromUtf8("中文 (繁體)")); |
|
|
|
|
locales << "zh_HK"; |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/south_korea.png"))), QString::fromUtf8(" 한글")); |
|
|
|
|
combo_i18n->addItem((QIcon(QString::fromUtf8(":/Icons/flags/south_korea.png"))), QString::fromUtf8("한글")); |
|
|
|
|
locales << "ko_KR"; |
|
|
|
|
|
|
|
|
|
QString home = QDir::homePath(); |
|
|
|
|