matrixion/qml/dialogs/PhoneNumberInputDialog.qml

1460 lines
41 KiB
QML
Raw Permalink Normal View History

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