matrixion/resources/qml/dialogs/PhoneNumberInputDialog.qml

1472 lines
41 KiB
QML
Raw Normal View History

// SPDX-FileCopyrightText: Nheko Contributors
//
// SPDX-License-Identifier: GPL-3.0-or-later
import ".."
import QtQuick 2.12
import QtQuick.Controls 2.5
import QtQuick.Layouts 1.3
import im.nheko 1.0
ApplicationWindow {
id: inputDialog
property alias echoMode: statusInput.echoMode
2023-10-31 05:11:03 +03:00
property alias prompt: promptLabel.text
signal accepted(string countryCode, string text)
flags: Qt.Dialog
height: fontMetrics.lineSpacing * 7
2023-10-31 05:11:03 +03:00
modality: Qt.NonModal
width: 350
footer: DialogButtonBox {
standardButtons: DialogButtonBox.Ok | DialogButtonBox.Cancel
onAccepted: {
inputDialog.accepted(numberPrefix.model.get(numberPrefix.currentIndex).i, statusInput.text);
inputDialog.close();
}
onRejected: {
inputDialog.close();
}
}
GridLayout {
anchors.fill: parent
2023-10-31 05:11:03 +03:00
anchors.margins: Nheko.paddingMedium
columnSpacing: Nheko.paddingMedium
columns: 2
2023-10-31 05:11:03 +03:00
rowSpacing: Nheko.paddingMedium
Label {
id: promptLabel
Layout.columnSpan: 2
color: palette.text
}
ComboBox {
id: numberPrefix
editable: false
delegate: ItemDelegate {
text: n + " (" + p + ")"
}
// taken from https://gitlab.com/whisperfish/whisperfish/-/blob/master/qml/js/countries.js
//n=name,i=ISO,p=prefix -- see countries.js.md for source
model: ListModel {
ListElement {
i: "AF"
2023-10-31 05:11:03 +03:00
n: "Afghanistan"
p: "+93"
}
ListElement {
i: "AX"
2023-10-31 05:11:03 +03:00
n: "Åland Islands"
p: "+358 18"
}
ListElement {
i: "AL"
2023-10-31 05:11:03 +03:00
n: "Albania"
p: "+355"
}
ListElement {
i: "DZ"
2023-10-31 05:11:03 +03:00
n: "Algeria"
p: "+213"
}
ListElement {
i: "AS"
2023-10-31 05:11:03 +03:00
n: "American Samoa"
p: "+1 684"
}
ListElement {
i: "AD"
2023-10-31 05:11:03 +03:00
n: "Andorra"
p: "+376"
}
ListElement {
i: "AO"
2023-10-31 05:11:03 +03:00
n: "Angola"
p: "+244"
}
ListElement {
i: "AI"
2023-10-31 05:11:03 +03:00
n: "Anguilla"
p: "+1 264"
}
ListElement {
i: "AG"
2023-10-31 05:11:03 +03:00
n: "Antigua and Barbuda"
p: "+1 268"
}
ListElement {
i: "AR"
2023-10-31 05:11:03 +03:00
n: "Argentina"
p: "+54"
}
ListElement {
i: "AM"
2023-10-31 05:11:03 +03:00
n: "Armenia"
p: "+374"
}
ListElement {
i: "AW"
2023-10-31 05:11:03 +03:00
n: "Aruba"
p: "+297"
}
ListElement {
i: "SH"
2023-10-31 05:11:03 +03:00
n: "Ascension"
p: "+247"
}
ListElement {
i: "AU"
2023-10-31 05:11:03 +03:00
n: "Australia"
p: "+61"
}
ListElement {
i: "AQ"
2023-10-31 05:11:03 +03:00
n: "Australian Antarctic Territory"
p: "+672 1"
}
//ListElement{n:"Australian External Territories";i:"";p:"+672"} // NO ISO
ListElement {
i: "AT"
2023-10-31 05:11:03 +03:00
n: "Austria"
p: "+43"
}
ListElement {
i: "AZ"
2023-10-31 05:11:03 +03:00
n: "Azerbaijan"
p: "+994"
}
ListElement {
i: "BS"
2023-10-31 05:11:03 +03:00
n: "Bahamas"
p: "+1 242"
}
ListElement {
i: "BH"
2023-10-31 05:11:03 +03:00
n: "Bahrain"
p: "+973"
}
ListElement {
i: "BD"
2023-10-31 05:11:03 +03:00
n: "Bangladesh"
p: "+880"
}
ListElement {
i: "BB"
2023-10-31 05:11:03 +03:00
n: "Barbados"
p: "+1 246"
}
ListElement {
i: "AG"
2023-10-31 05:11:03 +03:00
n: "Barbuda"
p: "+1 268"
}
ListElement {
i: "BY"
2023-10-31 05:11:03 +03:00
n: "Belarus"
p: "+375"
}
ListElement {
i: "BE"
2023-10-31 05:11:03 +03:00
n: "Belgium"
p: "+32"
}
ListElement {
i: "BZ"
2023-10-31 05:11:03 +03:00
n: "Belize"
p: "+501"
}
ListElement {
i: "BJ"
2023-10-31 05:11:03 +03:00
n: "Benin"
p: "+229"
}
ListElement {
i: "BM"
2023-10-31 05:11:03 +03:00
n: "Bermuda"
p: "+1 441"
}
ListElement {
i: "BT"
2023-10-31 05:11:03 +03:00
n: "Bhutan"
p: "+975"
}
ListElement {
i: "BO"
2023-10-31 05:11:03 +03:00
n: "Bolivia"
p: "+591"
}
ListElement {
i: "BQ"
2023-10-31 05:11:03 +03:00
n: "Bonaire"
p: "+599 7"
}
ListElement {
i: "BA"
2023-10-31 05:11:03 +03:00
n: "Bosnia and Herzegovina"
p: "+387"
}
ListElement {
i: "BW"
2023-10-31 05:11:03 +03:00
n: "Botswana"
p: "+267"
}
ListElement {
i: "BR"
2023-10-31 05:11:03 +03:00
n: "Brazil"
p: "+55"
}
ListElement {
i: "IO"
2023-10-31 05:11:03 +03:00
n: "British Indian Ocean Territory"
p: "+246"
}
ListElement {
i: "BN"
2023-10-31 05:11:03 +03:00
n: "Brunei Darussalam"
p: "+673"
}
ListElement {
i: "BG"
2023-10-31 05:11:03 +03:00
n: "Bulgaria"
p: "+359"
}
ListElement {
i: "BF"
2023-10-31 05:11:03 +03:00
n: "Burkina Faso"
p: "+226"
}
ListElement {
i: "BI"
2023-10-31 05:11:03 +03:00
n: "Burundi"
p: "+257"
}
ListElement {
i: "KH"
2023-10-31 05:11:03 +03:00
n: "Cambodia"
p: "+855"
}
ListElement {
i: "CM"
2023-10-31 05:11:03 +03:00
n: "Cameroon"
p: "+237"
}
ListElement {
i: "CA"
2023-10-31 05:11:03 +03:00
n: "Canada"
p: "+1"
}
ListElement {
i: "CV"
2023-10-31 05:11:03 +03:00
n: "Cape Verde"
p: "+238"
}
//ListElement{n:"Caribbean Netherlands";i:"";p:"+599 3"} // NO ISO
//ListElement{n:"Caribbean Netherlands";i:"";p:"+599 4"} // NO ISO
//ListElement{n:"Caribbean Netherlands";i:"";p:"+599 7"} // NO ISO
ListElement {
i: "KY"
2023-10-31 05:11:03 +03:00
n: "Cayman Islands"
p: "+1 345"
}
ListElement {
i: "CF"
2023-10-31 05:11:03 +03:00
n: "Central African Republic"
p: "+236"
}
ListElement {
i: "TD"
2023-10-31 05:11:03 +03:00
n: "Chad"
p: "+235"
}
ListElement {
i: "NZ"
2023-10-31 05:11:03 +03:00
n: "Chatham Island (New Zealand)"
p: "+64"
}
ListElement {
i: "CL"
2023-10-31 05:11:03 +03:00
n: "Chile"
p: "+56"
}
ListElement {
i: "CN"
2023-10-31 05:11:03 +03:00
n: "China"
p: "+86"
}
ListElement {
i: "CX"
2023-10-31 05:11:03 +03:00
n: "Christmas Island"
p: "+61 89164"
}
ListElement {
i: "CC"
2023-10-31 05:11:03 +03:00
n: "Cocos (Keeling) Islands"
p: "+61 89162"
}
ListElement {
i: "CO"
2023-10-31 05:11:03 +03:00
n: "Colombia"
p: "+57"
}
ListElement {
i: "KM"
2023-10-31 05:11:03 +03:00
n: "Comoros"
p: "+269"
}
ListElement {
i: "CD"
2023-10-31 05:11:03 +03:00
n: "Congo (Democratic Republic of the)"
p: "+243"
}
ListElement {
i: "CG"
2023-10-31 05:11:03 +03:00
n: "Congo"
p: "+242"
}
ListElement {
i: "CK"
2023-10-31 05:11:03 +03:00
n: "Cook Islands"
p: "+682"
}
ListElement {
i: "CR"
2023-10-31 05:11:03 +03:00
n: "Costa Rica"
p: "+506"
}
ListElement {
i: "CI"
2023-10-31 05:11:03 +03:00
n: "Côte d'Ivoire"
p: "+225"
}
ListElement {
i: "HR"
2023-10-31 05:11:03 +03:00
n: "Croatia"
p: "+385"
}
ListElement {
i: "CU"
2023-10-31 05:11:03 +03:00
n: "Cuba"
p: "+53"
}
ListElement {
i: "CW"
2023-10-31 05:11:03 +03:00
n: "Curaçao"
p: "+599 9"
}
ListElement {
i: "CY"
2023-10-31 05:11:03 +03:00
n: "Cyprus"
p: "+357"
}
ListElement {
i: "CZ"
2023-10-31 05:11:03 +03:00
n: "Czech Republic"
p: "+420"
}
ListElement {
i: "DK"
2023-10-31 05:11:03 +03:00
n: "Denmark"
p: "+45"
}
//ListElement{n:"Diego Garcia";i:"";p:"+246"} // NO ISO, OCC. BY GB
ListElement {
i: "DJ"
2023-10-31 05:11:03 +03:00
n: "Djibouti"
p: "+253"
}
ListElement {
i: "DM"
2023-10-31 05:11:03 +03:00
n: "Dominica"
p: "+1 767"
}
ListElement {
i: "DO"
2023-10-31 05:11:03 +03:00
n: "Dominican Republic"
p: "+1 809"
}
ListElement {
i: "DO"
2023-10-31 05:11:03 +03:00
n: "Dominican Republic"
p: "+1 829"
}
ListElement {
i: "DO"
2023-10-31 05:11:03 +03:00
n: "Dominican Republic"
p: "+1 849"
}
ListElement {
i: "CL"
2023-10-31 05:11:03 +03:00
n: "Easter Island"
p: "+56"
}
ListElement {
i: "EC"
2023-10-31 05:11:03 +03:00
n: "Ecuador"
p: "+593"
}
ListElement {
i: "EG"
2023-10-31 05:11:03 +03:00
n: "Egypt"
p: "+20"
}
ListElement {
i: "SV"
2023-10-31 05:11:03 +03:00
n: "El Salvador"
p: "+503"
}
ListElement {
i: "GQ"
2023-10-31 05:11:03 +03:00
n: "Equatorial Guinea"
p: "+240"
}
ListElement {
i: "ER"
2023-10-31 05:11:03 +03:00
n: "Eritrea"
p: "+291"
}
ListElement {
i: "EE"
2023-10-31 05:11:03 +03:00
n: "Estonia"
p: "+372"
}
ListElement {
i: "SZ"
2023-10-31 05:11:03 +03:00
n: "eSwatini"
p: "+268"
}
ListElement {
i: "ET"
2023-10-31 05:11:03 +03:00
n: "Ethiopia"
p: "+251"
}
ListElement {
i: "FK"
2023-10-31 05:11:03 +03:00
n: "Falkland Islands (Malvinas)"
p: "+500"
}
ListElement {
i: "FO"
2023-10-31 05:11:03 +03:00
n: "Faroe Islands"
p: "+298"
}
ListElement {
i: "FJ"
2023-10-31 05:11:03 +03:00
n: "Fiji"
p: "+679"
}
ListElement {
i: "FI"
2023-10-31 05:11:03 +03:00
n: "Finland"
p: "+358"
}
ListElement {
i: "FR"
2023-10-31 05:11:03 +03:00
n: "France"
p: "+33"
}
//ListElement{n:"French Antilles";i:"";p:"+596"} // NO ISO
ListElement {
i: "GF"
2023-10-31 05:11:03 +03:00
n: "French Guiana"
p: "+594"
}
ListElement {
i: "PF"
2023-10-31 05:11:03 +03:00
n: "French Polynesia"
p: "+689"
}
ListElement {
i: "GA"
2023-10-31 05:11:03 +03:00
n: "Gabon"
p: "+241"
}
ListElement {
i: "GM"
2023-10-31 05:11:03 +03:00
n: "Gambia"
p: "+220"
}
ListElement {
i: "GE"
2023-10-31 05:11:03 +03:00
n: "Georgia"
p: "+995"
}
ListElement {
i: "DE"
2023-10-31 05:11:03 +03:00
n: "Germany"
p: "+49"
}
ListElement {
i: "GH"
2023-10-31 05:11:03 +03:00
n: "Ghana"
p: "+233"
}
ListElement {
i: "GI"
2023-10-31 05:11:03 +03:00
n: "Gibraltar"
p: "+350"
}
ListElement {
i: "GR"
2023-10-31 05:11:03 +03:00
n: "Greece"
p: "+30"
}
ListElement {
i: "GL"
2023-10-31 05:11:03 +03:00
n: "Greenland"
p: "+299"
}
ListElement {
i: "GD"
2023-10-31 05:11:03 +03:00
n: "Grenada"
p: "+1 473"
}
ListElement {
i: "GP"
2023-10-31 05:11:03 +03:00
n: "Guadeloupe"
p: "+590"
}
ListElement {
i: "GU"
2023-10-31 05:11:03 +03:00
n: "Guam"
p: "+1 671"
}
ListElement {
i: "GT"
2023-10-31 05:11:03 +03:00
n: "Guatemala"
p: "+502"
}
ListElement {
i: "GG"
2023-10-31 05:11:03 +03:00
n: "Guernsey"
p: "+44 1481"
}
ListElement {
i: "GG"
2023-10-31 05:11:03 +03:00
n: "Guernsey"
p: "+44 7781"
}
ListElement {
i: "GG"
2023-10-31 05:11:03 +03:00
n: "Guernsey"
p: "+44 7839"
}
ListElement {
i: "GG"
2023-10-31 05:11:03 +03:00
n: "Guernsey"
p: "+44 7911"
}
ListElement {
i: "GW"
2023-10-31 05:11:03 +03:00
n: "Guinea-Bissau"
p: "+245"
}
ListElement {
i: "GN"
2023-10-31 05:11:03 +03:00
n: "Guinea"
p: "+224"
}
ListElement {
i: "GY"
2023-10-31 05:11:03 +03:00
n: "Guyana"
p: "+592"
}
ListElement {
i: "HT"
2023-10-31 05:11:03 +03:00
n: "Haiti"
p: "+509"
}
ListElement {
i: "HN"
2023-10-31 05:11:03 +03:00
n: "Honduras"
p: "+504"
}
ListElement {
i: "HK"
2023-10-31 05:11:03 +03:00
n: "Hong Kong"
p: "+852"
}
ListElement {
i: "HU"
2023-10-31 05:11:03 +03:00
n: "Hungary"
p: "+36"
}
ListElement {
i: "IS"
2023-10-31 05:11:03 +03:00
n: "Iceland"
p: "+354"
}
ListElement {
i: "IN"
2023-10-31 05:11:03 +03:00
n: "India"
p: "+91"
}
ListElement {
i: "ID"
2023-10-31 05:11:03 +03:00
n: "Indonesia"
p: "+62"
}
ListElement {
i: "IR"
2023-10-31 05:11:03 +03:00
n: "Iran"
p: "+98"
}
ListElement {
i: "IQ"
2023-10-31 05:11:03 +03:00
n: "Iraq"
p: "+964"
}
ListElement {
i: "IE"
2023-10-31 05:11:03 +03:00
n: "Ireland"
p: "+353"
}
ListElement {
i: "IM"
2023-10-31 05:11:03 +03:00
n: "Isle of Man"
p: "+44 1624"
}
ListElement {
i: "IM"
2023-10-31 05:11:03 +03:00
n: "Isle of Man"
p: "+44 7524"
}
ListElement {
i: "IM"
2023-10-31 05:11:03 +03:00
n: "Isle of Man"
p: "+44 7624"
}
ListElement {
i: "IM"
2023-10-31 05:11:03 +03:00
n: "Isle of Man"
p: "+44 7924"
}
ListElement {
i: "IL"
2023-10-31 05:11:03 +03:00
n: "Israel"
p: "+972"
}
ListElement {
i: "IT"
2023-10-31 05:11:03 +03:00
n: "Italy"
p: "+39"
}
ListElement {
i: "JM"
2023-10-31 05:11:03 +03:00
n: "Jamaica"
p: "+1 876"
}
ListElement {
i: "SJ"
2023-10-31 05:11:03 +03:00
n: "Jan Mayen"
p: "+47 79"
}
ListElement {
i: "JP"
2023-10-31 05:11:03 +03:00
n: "Japan"
p: "+81"
}
ListElement {
i: "JE"
2023-10-31 05:11:03 +03:00
n: "Jersey"
p: "+44 1534"
}
ListElement {
i: "JO"
2023-10-31 05:11:03 +03:00
n: "Jordan"
p: "+962"
}
ListElement {
i: "KZ"
2023-10-31 05:11:03 +03:00
n: "Kazakhstan"
p: "+7 6"
}
ListElement {
i: "KZ"
2023-10-31 05:11:03 +03:00
n: "Kazakhstan"
p: "+7 7"
}
ListElement {
i: "KE"
2023-10-31 05:11:03 +03:00
n: "Kenya"
p: "+254"
}
ListElement {
i: "KI"
2023-10-31 05:11:03 +03:00
n: "Kiribati"
p: "+686"
}
ListElement {
i: "KP"
2023-10-31 05:11:03 +03:00
n: "Korea (North)"
p: "+850"
}
ListElement {
i: "KR"
2023-10-31 05:11:03 +03:00
n: "Korea (South)"
p: "+82"
}
// TEMP. CODE
ListElement {
i: "XK"
2023-10-31 05:11:03 +03:00
n: "Kosovo"
p: "+383"
}
ListElement {
i: "KW"
2023-10-31 05:11:03 +03:00
n: "Kuwait"
p: "+965"
}
ListElement {
i: "KG"
2023-10-31 05:11:03 +03:00
n: "Kyrgyzstan"
p: "+996"
}
ListElement {
i: "LA"
2023-10-31 05:11:03 +03:00
n: "Laos"
p: "+856"
}
ListElement {
i: "LV"
2023-10-31 05:11:03 +03:00
n: "Latvia"
p: "+371"
}
ListElement {
i: "LB"
2023-10-31 05:11:03 +03:00
n: "Lebanon"
p: "+961"
}
ListElement {
i: "LS"
2023-10-31 05:11:03 +03:00
n: "Lesotho"
p: "+266"
}
ListElement {
i: "LR"
2023-10-31 05:11:03 +03:00
n: "Liberia"
p: "+231"
}
ListElement {
i: "LY"
2023-10-31 05:11:03 +03:00
n: "Libya"
p: "+218"
}
ListElement {
i: "LI"
2023-10-31 05:11:03 +03:00
n: "Liechtenstein"
p: "+423"
}
ListElement {
i: "LT"
2023-10-31 05:11:03 +03:00
n: "Lithuania"
p: "+370"
}
ListElement {
i: "LU"
2023-10-31 05:11:03 +03:00
n: "Luxembourg"
p: "+352"
}
ListElement {
i: "MO"
2023-10-31 05:11:03 +03:00
n: "Macau (Macao)"
p: "+853"
}
ListElement {
i: "MG"
2023-10-31 05:11:03 +03:00
n: "Madagascar"
p: "+261"
}
ListElement {
i: "MW"
2023-10-31 05:11:03 +03:00
n: "Malawi"
p: "+265"
}
ListElement {
i: "MY"
2023-10-31 05:11:03 +03:00
n: "Malaysia"
p: "+60"
}
ListElement {
i: "MV"
2023-10-31 05:11:03 +03:00
n: "Maldives"
p: "+960"
}
ListElement {
i: "ML"
2023-10-31 05:11:03 +03:00
n: "Mali"
p: "+223"
}
ListElement {
i: "MT"
2023-10-31 05:11:03 +03:00
n: "Malta"
p: "+356"
}
ListElement {
i: "MH"
2023-10-31 05:11:03 +03:00
n: "Marshall Islands"
p: "+692"
}
ListElement {
i: "MQ"
2023-10-31 05:11:03 +03:00
n: "Martinique"
p: "+596"
}
ListElement {
i: "MR"
2023-10-31 05:11:03 +03:00
n: "Mauritania"
p: "+222"
}
ListElement {
i: "MU"
2023-10-31 05:11:03 +03:00
n: "Mauritius"
p: "+230"
}
ListElement {
i: "YT"
2023-10-31 05:11:03 +03:00
n: "Mayotte"
p: "+262 269"
}
ListElement {
i: "YT"
2023-10-31 05:11:03 +03:00
n: "Mayotte"
p: "+262 639"
}
ListElement {
i: "MX"
2023-10-31 05:11:03 +03:00
n: "Mexico"
p: "+52"
}
ListElement {
i: "FM"
2023-10-31 05:11:03 +03:00
n: "Micronesia (Federated States of)"
p: "+691"
}
ListElement {
i: "US"
2023-10-31 05:11:03 +03:00
n: "Midway Island (USA)"
p: "+1 808"
}
ListElement {
i: "MD"
2023-10-31 05:11:03 +03:00
n: "Moldova"
p: "+373"
}
ListElement {
i: "MC"
2023-10-31 05:11:03 +03:00
n: "Monaco"
p: "+377"
}
ListElement {
i: "MN"
2023-10-31 05:11:03 +03:00
n: "Mongolia"
p: "+976"
}
ListElement {
i: "ME"
2023-10-31 05:11:03 +03:00
n: "Montenegro"
p: "+382"
}
ListElement {
i: "MS"
2023-10-31 05:11:03 +03:00
n: "Montserrat"
p: "+1 664"
}
ListElement {
i: "MA"
2023-10-31 05:11:03 +03:00
n: "Morocco"
p: "+212"
}
ListElement {
i: "MZ"
2023-10-31 05:11:03 +03:00
n: "Mozambique"
p: "+258"
}
ListElement {
i: "MM"
2023-10-31 05:11:03 +03:00
n: "Myanmar"
p: "+95"
}
// NO OWN ISO, DISPUTED
ListElement {
i: "AZ"
2023-10-31 05:11:03 +03:00
n: "Nagorno-Karabakh"
p: "+374 47"
}
// NO OWN ISO, DISPUTED
ListElement {
i: "AZ"
2023-10-31 05:11:03 +03:00
n: "Nagorno-Karabakh"
p: "+374 97"
}
ListElement {
i: "NA"
2023-10-31 05:11:03 +03:00
n: "Namibia"
p: "+264"
}
ListElement {
i: "NR"
2023-10-31 05:11:03 +03:00
n: "Nauru"
p: "+674"
}
ListElement {
i: "NP"
2023-10-31 05:11:03 +03:00
n: "Nepal"
p: "+977"
}
ListElement {
i: "NL"
2023-10-31 05:11:03 +03:00
n: "Netherlands"
p: "+31"
}
ListElement {
i: "KN"
2023-10-31 05:11:03 +03:00
n: "Nevis"
p: "+1 869"
}
ListElement {
i: "NC"
2023-10-31 05:11:03 +03:00
n: "New Caledonia"
p: "+687"
}
ListElement {
i: "NZ"
2023-10-31 05:11:03 +03:00
n: "New Zealand"
p: "+64"
}
ListElement {
i: "NI"
2023-10-31 05:11:03 +03:00
n: "Nicaragua"
p: "+505"
}
ListElement {
i: "NG"
2023-10-31 05:11:03 +03:00
n: "Nigeria"
p: "+234"
}
ListElement {
i: "NE"
2023-10-31 05:11:03 +03:00
n: "Niger"
p: "+227"
}
ListElement {
i: "NU"
2023-10-31 05:11:03 +03:00
n: "Niue"
p: "+683"
}
ListElement {
i: "NF"
2023-10-31 05:11:03 +03:00
n: "Norfolk Island"
p: "+672 3"
}
// OCC. BY TR
ListElement {
i: "CY"
2023-10-31 05:11:03 +03:00
n: "Northern Cyprus"
p: "+90 392"
}
ListElement {
i: "GB"
2023-10-31 05:11:03 +03:00
n: "Northern Ireland"
p: "+44 28"
}
ListElement {
i: "MP"
2023-10-31 05:11:03 +03:00
n: "Northern Mariana Islands"
p: "+1 670"
}
ListElement {
i: "MK"
2023-10-31 05:11:03 +03:00
n: "North Macedonia"
p: "+389"
}
ListElement {
i: "NO"
2023-10-31 05:11:03 +03:00
n: "Norway"
p: "+47"
}
ListElement {
i: "OM"
2023-10-31 05:11:03 +03:00
n: "Oman"
p: "+968"
}
ListElement {
i: "PK"
2023-10-31 05:11:03 +03:00
n: "Pakistan"
p: "+92"
}
ListElement {
i: "PW"
2023-10-31 05:11:03 +03:00
n: "Palau"
p: "+680"
}
ListElement {
i: "PS"
2023-10-31 05:11:03 +03:00
n: "Palestine (State of)"
p: "+970"
}
ListElement {
i: "PA"
2023-10-31 05:11:03 +03:00
n: "Panama"
p: "+507"
}
ListElement {
i: "PG"
2023-10-31 05:11:03 +03:00
n: "Papua New Guinea"
p: "+675"
}
ListElement {
i: "PY"
2023-10-31 05:11:03 +03:00
n: "Paraguay"
p: "+595"
}
ListElement {
i: "PE"
2023-10-31 05:11:03 +03:00
n: "Peru"
p: "+51"
}
ListElement {
i: "PH"
2023-10-31 05:11:03 +03:00
n: "Philippines"
p: "+63"
}
ListElement {
i: "PN"
2023-10-31 05:11:03 +03:00
n: "Pitcairn Islands"
p: "+64"
}
ListElement {
i: "PL"
2023-10-31 05:11:03 +03:00
n: "Poland"
p: "+48"
}
ListElement {
i: "PT"
2023-10-31 05:11:03 +03:00
n: "Portugal"
p: "+351"
}
ListElement {
i: "PR"
2023-10-31 05:11:03 +03:00
n: "Puerto Rico"
p: "+1 787"
}
ListElement {
i: "PR"
2023-10-31 05:11:03 +03:00
n: "Puerto Rico"
p: "+1 939"
}
ListElement {
i: "QA"
2023-10-31 05:11:03 +03:00
n: "Qatar"
p: "+974"
}
ListElement {
i: "RE"
2023-10-31 05:11:03 +03:00
n: "Réunion"
p: "+262"
}
ListElement {
i: "RO"
2023-10-31 05:11:03 +03:00
n: "Romania"
p: "+40"
}
ListElement {
i: "RU"
2023-10-31 05:11:03 +03:00
n: "Russia"
p: "+7"
}
ListElement {
i: "RW"
2023-10-31 05:11:03 +03:00
n: "Rwanda"
p: "+250"
}
ListElement {
i: "BQ"
2023-10-31 05:11:03 +03:00
n: "Saba"
p: "+599 4"
}
ListElement {
i: "BL"
2023-10-31 05:11:03 +03:00
n: "Saint Barthélemy"
p: "+590"
}
ListElement {
i: "SH"
2023-10-31 05:11:03 +03:00
n: "Saint Helena"
p: "+290"
}
ListElement {
i: "KN"
2023-10-31 05:11:03 +03:00
n: "Saint Kitts and Nevis"
p: "+1 869"
}
ListElement {
i: "LC"
2023-10-31 05:11:03 +03:00
n: "Saint Lucia"
p: "+1 758"
}
ListElement {
i: "MF"
2023-10-31 05:11:03 +03:00
n: "Saint Martin (France)"
p: "+590"
}
ListElement {
i: "PM"
2023-10-31 05:11:03 +03:00
n: "Saint Pierre and Miquelon"
p: "+508"
}
ListElement {
i: "VC"
2023-10-31 05:11:03 +03:00
n: "Saint Vincent and the Grenadines"
p: "+1 784"
}
ListElement {
i: "WS"
2023-10-31 05:11:03 +03:00
n: "Samoa"
p: "+685"
}
ListElement {
i: "SM"
2023-10-31 05:11:03 +03:00
n: "San Marino"
p: "+378"
}
ListElement {
i: "ST"
2023-10-31 05:11:03 +03:00
n: "São Tomé and Príncipe"
p: "+239"
}
ListElement {
i: "SA"
2023-10-31 05:11:03 +03:00
n: "Saudi Arabia"
p: "+966"
}
ListElement {
i: "SN"
2023-10-31 05:11:03 +03:00
n: "Senegal"
p: "+221"
}
ListElement {
i: "RS"
2023-10-31 05:11:03 +03:00
n: "Serbia"
p: "+381"
}
ListElement {
i: "SC"
2023-10-31 05:11:03 +03:00
n: "Seychelles"
p: "+248"
}
ListElement {
i: "SL"
2023-10-31 05:11:03 +03:00
n: "Sierra Leone"
p: "+232"
}
ListElement {
i: "SG"
2023-10-31 05:11:03 +03:00
n: "Singapore"
p: "+65"
}
ListElement {
i: "BQ"
2023-10-31 05:11:03 +03:00
n: "Sint Eustatius"
p: "+599 3"
}
ListElement {
i: "SX"
2023-10-31 05:11:03 +03:00
n: "Sint Maarten (Netherlands)"
p: "+1 721"
}
ListElement {
i: "SK"
2023-10-31 05:11:03 +03:00
n: "Slovakia"
p: "+421"
}
ListElement {
i: "SI"
2023-10-31 05:11:03 +03:00
n: "Slovenia"
p: "+386"
}
ListElement {
i: "SB"
2023-10-31 05:11:03 +03:00
n: "Solomon Islands"
p: "+677"
}
ListElement {
i: "SO"
2023-10-31 05:11:03 +03:00
n: "Somalia"
p: "+252"
}
ListElement {
i: "ZA"
2023-10-31 05:11:03 +03:00
n: "South Africa"
p: "+27"
}
ListElement {
i: "GS"
2023-10-31 05:11:03 +03:00
n: "South Georgia and the South Sandwich Islands"
p: "+500"
}
// NO OWN ISO, DISPUTED
ListElement {
i: "GE"
2023-10-31 05:11:03 +03:00
n: "South Ossetia"
p: "+995 34"
}
ListElement {
i: "SS"
2023-10-31 05:11:03 +03:00
n: "South Sudan"
p: "+211"
}
ListElement {
i: "ES"
2023-10-31 05:11:03 +03:00
n: "Spain"
p: "+34"
}
ListElement {
i: "LK"
2023-10-31 05:11:03 +03:00
n: "Sri Lanka"
p: "+94"
}
ListElement {
i: "SD"
2023-10-31 05:11:03 +03:00
n: "Sudan"
p: "+249"
}
ListElement {
i: "SR"
2023-10-31 05:11:03 +03:00
n: "Suriname"
p: "+597"
}
ListElement {
i: "SJ"
2023-10-31 05:11:03 +03:00
n: "Svalbard"
p: "+47 79"
}
ListElement {
i: "SE"
2023-10-31 05:11:03 +03:00
n: "Sweden"
p: "+46"
}
ListElement {
i: "CH"
2023-10-31 05:11:03 +03:00
n: "Switzerland"
p: "+41"
}
ListElement {
i: "SY"
2023-10-31 05:11:03 +03:00
n: "Syria"
p: "+963"
}
ListElement {
i: "SJ"
2023-10-31 05:11:03 +03:00
n: "Taiwan"
p: "+886"
}
ListElement {
i: "TJ"
2023-10-31 05:11:03 +03:00
n: "Tajikistan"
p: "+992"
}
ListElement {
i: "TZ"
2023-10-31 05:11:03 +03:00
n: "Tanzania"
p: "+255"
}
ListElement {
i: "TH"
2023-10-31 05:11:03 +03:00
n: "Thailand"
p: "+66"
}
ListElement {
i: "TL"
2023-10-31 05:11:03 +03:00
n: "Timor-Leste"
p: "+670"
}
ListElement {
i: "TG"
2023-10-31 05:11:03 +03:00
n: "Togo"
p: "+228"
}
ListElement {
i: "TK"
2023-10-31 05:11:03 +03:00
n: "Tokelau"
p: "+690"
}
ListElement {
i: "TO"
2023-10-31 05:11:03 +03:00
n: "Tonga"
p: "+676"
}
ListElement {
i: "MD"
2023-10-31 05:11:03 +03:00
n: "Transnistria"
p: "+373 2"
}
ListElement {
i: "MD"
2023-10-31 05:11:03 +03:00
n: "Transnistria"
p: "+373 5"
}
ListElement {
i: "TT"
2023-10-31 05:11:03 +03:00
n: "Trinidad and Tobago"
p: "+1 868"
}
ListElement {
i: "SH"
2023-10-31 05:11:03 +03:00
n: "Tristan da Cunha"
p: "+290 8"
}
ListElement {
i: "TN"
2023-10-31 05:11:03 +03:00
n: "Tunisia"
p: "+216"
}
ListElement {
i: "TR"
2023-10-31 05:11:03 +03:00
n: "Turkey"
p: "+90"
}
ListElement {
i: "TM"
2023-10-31 05:11:03 +03:00
n: "Turkmenistan"
p: "+993"
}
ListElement {
i: "TC"
2023-10-31 05:11:03 +03:00
n: "Turks and Caicos Islands"
p: "+1 649"
}
ListElement {
i: "TV"
2023-10-31 05:11:03 +03:00
n: "Tuvalu"
p: "+688"
}
ListElement {
i: "UG"
2023-10-31 05:11:03 +03:00
n: "Uganda"
p: "+256"
}
ListElement {
i: "UA"
2023-10-31 05:11:03 +03:00
n: "Ukraine"
p: "+380"
}
ListElement {
i: "AE"
2023-10-31 05:11:03 +03:00
n: "United Arab Emirates"
p: "+971"
}
ListElement {
i: "GB"
2023-10-31 05:11:03 +03:00
n: "United Kingdom"
p: "+44"
}
ListElement {
i: "US"
2023-10-31 05:11:03 +03:00
n: "United States"
p: "+1"
}
ListElement {
i: "UY"
2023-10-31 05:11:03 +03:00
n: "Uruguay"
p: "+598"
}
ListElement {
i: "UZ"
2023-10-31 05:11:03 +03:00
n: "Uzbekistan"
p: "+998"
}
ListElement {
i: "VU"
2023-10-31 05:11:03 +03:00
n: "Vanuatu"
p: "+678"
}
ListElement {
i: "VA"
2023-10-31 05:11:03 +03:00
n: "Vatican City State (Holy See)"
p: "+379"
}
ListElement {
i: "VA"
2023-10-31 05:11:03 +03:00
n: "Vatican City State (Holy See)"
p: "+39 06 698"
}
ListElement {
i: "VE"
2023-10-31 05:11:03 +03:00
n: "Venezuela"
p: "+58"
}
ListElement {
i: "VN"
2023-10-31 05:11:03 +03:00
n: "Vietnam"
p: "+84"
}
ListElement {
i: "VG"
2023-10-31 05:11:03 +03:00
n: "Virgin Islands (British)"
p: "+1 284"
}
ListElement {
i: "VI"
2023-10-31 05:11:03 +03:00
n: "Virgin Islands (US)"
p: "+1 340"
}
ListElement {
i: "US"
2023-10-31 05:11:03 +03:00
n: "Wake Island (USA)"
p: "+1 808"
}
ListElement {
i: "WF"
2023-10-31 05:11:03 +03:00
n: "Wallis and Futuna"
p: "+681"
}
ListElement {
i: "YE"
2023-10-31 05:11:03 +03:00
n: "Yemen"
p: "+967"
}
ListElement {
i: "ZM"
2023-10-31 05:11:03 +03:00
n: "Zambia"
p: "+260"
}
// NO OWN ISO, DISPUTED?
ListElement {
i: "TZ"
2023-10-31 05:11:03 +03:00
n: "Zanzibar"
p: "+255 24"
}
ListElement {
i: "ZW"
2023-10-31 05:11:03 +03:00
n: "Zimbabwe"
p: "+263"
}
}
}
MatrixTextField {
id: statusInput
Layout.fillWidth: true
}
}
}