Skip to content

PythonQt.Qt.QLocale

QLocale

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

QLocale is initialized with a language/country pair in its constructor and offers number-to-string and string-to-number conversion functions similar to those in QString.

Example:

QLocale egyptian(QLocale::Arabic, QLocale::Egypt);
QString s1 = egyptian.toString(1.571429E+07, 'e');
QString s2 = egyptian.toString(10);

double d = egyptian.toDouble(s1);
int i = egyptian.toInt(s2);

QLocale supports the concept of a default locale, which is determined from the system's locale settings at application startup. The default locale can be changed by calling the static member setDefault(). Setting the default locale has the following effects:

  • If a QLocale object is constructed with the default constructor, it will use the default locale's settings.
  • QString::toInt(), QString::toDouble(), etc., interpret the string according to the default locale. If this fails, it falls back on the "C" locale.
  • QString::arg() uses the default locale to format a number when its position specifier in the format string contains an 'L', e.g. "%L1".

The following example illustrates how to use QLocale directly:

QLocale::setDefault(QLocale(QLocale::Hebrew, QLocale::Israel));
QLocale hebrew; // Constructs a default QLocale
QString s1 = hebrew.toString(15714.3, 'e');

bool ok;
double d;

QLocale::setDefault(QLocale::C);
d = QString("1234,56").toDouble(&ok);   // ok == false, d == 0
d = QString("1234.56").toDouble(&ok);   // ok == true,  d == 1234.56

QLocale::setDefault(QLocale::German);
d = QString("1234,56").toDouble(&ok);   // ok == false, d == 0
d = QString("1234.56").toDouble(&ok);   // ok == true,  d == 1234.56

QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates));
QString str = QString("%1 %L2 %L3")
      .arg(12345).arg(12345).arg(12345, 0, 16);
// str == "12345 12,345 3039"

When a language/country pair is specified in the constructor, one of three things can happen:

  • If the language/country pair is found in the database, it is used.
  • If the language is found but the country is not, or if the country is AnyCountry, the language is used with the most appropriate available country (for example, Germany for German),
  • If neither the language nor the country are found, QLocale defaults to the default locale (see setDefault()).

Use language() and country() to determine the actual language and country values used.

An alternative method for constructing a QLocale object is by specifying the locale name.

QLocale korean("ko");
QLocale swiss("de_CH");

This constructor converts the locale name to a language/country pair; it does not use the system locale database.

Note: For the current keyboard input locale take a look at QInputMethod::locale().

QLocale's data is based on Common Locale Data Repository v39.

Source: https://doc.qt.io/archives/qt-5.15/qlocale.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
Abkhazian attribute Any (shared captured text)
Afan attribute Any (shared captured text)
Afar attribute Any (shared captured text)
Afghanistan attribute Any (shared captured text)
Afrikaans attribute Any (shared captured text)
Aghem attribute Any (shared captured text)
Akan attribute Any (shared captured text)
Akkadian attribute Any (shared captured text)
Akoose attribute Any (shared captured text)
AlandIslands attribute Any (shared captured text)
Albania attribute Any (shared captured text)
Albanian attribute Any (shared captured text)
Algeria attribute Any (shared captured text)
AlternateQuotation attribute QuotationStyle (shared captured text)
AmericanSamoa attribute Any (shared captured text)
Amharic attribute Any (shared captured text)
AncientEgyptian attribute Any (shared captured text)
AncientGreek attribute Any (shared captured text)
AncientNorthArabian attribute Any (shared captured text)
Andorra attribute Any (shared captured text)
Angola attribute Any (shared captured text)
Anguilla attribute Any (shared captured text)
Antarctica attribute Any (shared captured text)
AntiguaAndBarbuda attribute Any (shared captured text)
AnyCountry attribute Any (shared captured text)
AnyLanguage attribute Any (shared captured text)
AnyScript attribute Any (shared captured text)
Arabic attribute Any (shared captured text)
ArabicScript attribute Any (shared captured text)
Aragonese attribute Any (shared captured text)
Aramaic attribute Any (shared captured text)
Argentina attribute Any (shared captured text)
Armenia attribute Any (shared captured text)
Armenian attribute Any (shared captured text)
ArmenianScript attribute Any (shared captured text)
Aruba attribute Any (shared captured text)
AscensionIsland attribute Any (shared captured text)
Assamese attribute Any (shared captured text)
Asturian attribute Any (shared captured text)
Asu attribute Any (shared captured text)
Atsam attribute Any (shared captured text)
Australia attribute Any (shared captured text)
Austria attribute Any (shared captured text)
Avaric attribute Any (shared captured text)
Avestan attribute Any (shared captured text)
AvestanScript attribute Any (shared captured text)
Aymara attribute Any (shared captured text)
Azerbaijan attribute Any (shared captured text)
Azerbaijani attribute Any (shared captured text)
Bafia attribute Any (shared captured text)
Bahamas attribute Any (shared captured text)
Bahrain attribute Any (shared captured text)
Balinese attribute Any (shared captured text)
BalineseScript attribute Any (shared captured text)
Bambara attribute Any (shared captured text)
BamumScript attribute Any (shared captured text)
Bamun attribute Any (shared captured text)
Bangladesh attribute Any (shared captured text)
Barbados attribute Any (shared captured text)
Basaa attribute Any (shared captured text)
Bashkir attribute Any (shared captured text)
Basque attribute Any (shared captured text)
Bassa attribute Any (shared captured text)
BassaVahScript attribute Any (shared captured text)
BatakScript attribute Any (shared captured text)
BatakToba attribute Any (shared captured text)
Belarus attribute Any (shared captured text)
Belarusian attribute Any (shared captured text)
Belgium attribute Any (shared captured text)
Belize attribute Any (shared captured text)
Bemba attribute Any (shared captured text)
Bena attribute Any (shared captured text)
Bengali attribute Any (shared captured text)
BengaliScript attribute Any (shared captured text)
Benin attribute Any (shared captured text)
Bermuda attribute Any (shared captured text)
Bhutan attribute Any (shared captured text)
Bhutani attribute Any (shared captured text)
Bihari attribute Any (shared captured text)
Bislama attribute Any (shared captured text)
Blin attribute Any (shared captured text)
Bodo attribute Any (shared captured text)
Bolivia attribute Any (shared captured text)
Bonaire attribute Any (shared captured text)
BopomofoScript attribute Any (shared captured text)
BosniaAndHerzegowina attribute Any (shared captured text)
Bosnian attribute Any (shared captured text)
Botswana attribute Any (shared captured text)
BouvetIsland attribute Any (shared captured text)
BrahmiScript attribute Any (shared captured text)
BrailleScript attribute Any (shared captured text)
Brazil attribute Any (shared captured text)
Breton attribute Any (shared captured text)
BritishIndianOceanTerritory attribute Any (shared captured text)
BritishVirginIslands attribute Any (shared captured text)
Brunei attribute Any (shared captured text)
Buginese attribute Any (shared captured text)
BugineseScript attribute Any (shared captured text)
Buhid attribute Any (shared captured text)
BuhidScript attribute Any (shared captured text)
Bulgaria attribute Any (shared captured text)
Bulgarian attribute Any (shared captured text)
BurkinaFaso attribute Any (shared captured text)
Burmese attribute Any (shared captured text)
Burundi attribute Any (shared captured text)
Byelorussian attribute Any (shared captured text)
C attribute Any (shared captured text)
Cambodia attribute Any (shared captured text)
Cambodian attribute Any (shared captured text)
Cameroon attribute Any (shared captured text)
Canada attribute Any (shared captured text)
CanadianAboriginalScript attribute Any (shared captured text)
CanaryIslands attribute Any (shared captured text)
CapeVerde attribute Any (shared captured text)
Carian attribute Any (shared captured text)
CarianScript attribute Any (shared captured text)
Catalan attribute Any (shared captured text)
CaucasianAlbanianScript attribute Any (shared captured text)
CaymanIslands attribute Any (shared captured text)
CentralAfricanRepublic attribute Any (shared captured text)
CentralKurdish attribute Any (shared captured text)
CentralMoroccoTamazight attribute Any (shared captured text)
CeutaAndMelilla attribute Any (shared captured text)
Chad attribute Any (shared captured text)
Chakma attribute Any (shared captured text)
ChakmaScript attribute Any (shared captured text)
ChamScript attribute Any (shared captured text)
Chamorro attribute Any (shared captured text)
Chechen attribute Any (shared captured text)
Cherokee attribute Any (shared captured text)
CherokeeScript attribute Any (shared captured text)
Chewa attribute Any (shared captured text)
Chiga attribute Any (shared captured text)
Chile attribute Any (shared captured text)
China attribute Any (shared captured text)
Chinese attribute Any (shared captured text)
ChristmasIsland attribute Any (shared captured text)
Church attribute Any (shared captured text)
Chuvash attribute Any (shared captured text)
ClassicalMandaic attribute Any (shared captured text)
ClippertonIsland attribute Any (shared captured text)
CocosIslands attribute Any (shared captured text)
Colognian attribute Any (shared captured text)
Colombia attribute Any (shared captured text)
Comoros attribute Any (shared captured text)
CongoBrazzaville attribute Any (shared captured text)
CongoKinshasa attribute Any (shared captured text)
CongoSwahili attribute Any (shared captured text)
CookIslands attribute Any (shared captured text)
Coptic attribute Any (shared captured text)
CopticScript attribute Any (shared captured text)
Cornish attribute Any (shared captured text)
Corsican attribute Any (shared captured text)
CostaRica attribute Any (shared captured text)
Country attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
Cree attribute Any (shared captured text)
Croatia attribute Any (shared captured text)
Croatian attribute Any (shared captured text)
Cuba attribute Any (shared captured text)
CuneiformScript attribute Any (shared captured text)
CuraSao attribute Any (shared captured text)
CurrencyDisplayName attribute Any (shared captured text)
CurrencyIsoCode attribute Any (shared captured text)
CurrencySymbol attribute Any (shared captured text)
CurrencySymbolFormat attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
CypriotScript attribute Any (shared captured text)
Cyprus attribute Any (shared captured text)
CyrillicScript attribute Any (shared captured text)
Czech attribute Any (shared captured text)
CzechRepublic attribute Any (shared captured text)
Danish attribute Any (shared captured text)
DemocraticRepublicOfCongo attribute Any (shared captured text)
DemocraticRepublicOfKorea attribute Any (shared captured text)
Denmark attribute Any (shared captured text)
DeseretScript attribute Any (shared captured text)
DevanagariScript attribute Any (shared captured text)
DiegoGarcia attribute Any (shared captured text)
Divehi attribute Any (shared captured text)
Djibouti attribute Any (shared captured text)
Dogri attribute Any (shared captured text)
Dominica attribute Any (shared captured text)
DominicanRepublic attribute Any (shared captured text)
Duala attribute Any (shared captured text)
DuployanScript attribute Any (shared captured text)
Dutch attribute Any (shared captured text)
Dzongkha attribute Any (shared captured text)
EastTimor attribute Any (shared captured text)
EasternCham attribute Any (shared captured text)
EasternKayah attribute Any (shared captured text)
Ecuador attribute Any (shared captured text)
Egypt attribute Any (shared captured text)
EgyptianHieroglyphsScript attribute Any (shared captured text)
ElSalvador attribute Any (shared captured text)
ElbasanScript attribute Any (shared captured text)
Embu attribute Any (shared captured text)
English attribute Any (shared captured text)
EquatorialGuinea attribute Any (shared captured text)
Eritrea attribute Any (shared captured text)
Esperanto attribute Any (shared captured text)
Estonia attribute Any (shared captured text)
Estonian attribute Any (shared captured text)
Ethiopia attribute Any (shared captured text)
EthiopicScript attribute Any (shared captured text)
Etruscan attribute Any (shared captured text)
Ewe attribute Any (shared captured text)
Ewondo attribute Any (shared captured text)
FalklandIslands attribute Any (shared captured text)
FaroeIslands attribute Any (shared captured text)
Faroese attribute Any (shared captured text)
Fiji attribute Any (shared captured text)
Fijian attribute Any (shared captured text)
Filipino attribute Any (shared captured text)
Finland attribute Any (shared captured text)
Finnish attribute Any (shared captured text)
FormatType attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
France attribute Any (shared captured text)
FraserScript attribute Any (shared captured text)
French attribute Any (shared captured text)
FrenchGuiana attribute Any (shared captured text)
FrenchPolynesia attribute Any (shared captured text)
FrenchSouthernTerritories attribute Any (shared captured text)
Frisian attribute Any (shared captured text)
Friulian attribute Any (shared captured text)
Fulah attribute Any (shared captured text)
Ga attribute Any (shared captured text)
Gabon attribute Any (shared captured text)
Gaelic attribute Any (shared captured text)
Galician attribute Any (shared captured text)
Gambia attribute Any (shared captured text)
Ganda attribute Any (shared captured text)
Geez attribute Any (shared captured text)
Georgia attribute Any (shared captured text)
Georgian attribute Any (shared captured text)
GeorgianScript attribute Any (shared captured text)
German attribute Any (shared captured text)
Germany attribute Any (shared captured text)
Ghana attribute Any (shared captured text)
Gibraltar attribute Any (shared captured text)
GlagoliticScript attribute Any (shared captured text)
Gothic attribute Any (shared captured text)
GothicScript attribute Any (shared captured text)
GranthaScript attribute Any (shared captured text)
Greece attribute Any (shared captured text)
Greek attribute Any (shared captured text)
GreekScript attribute Any (shared captured text)
Greenland attribute Any (shared captured text)
Greenlandic attribute Any (shared captured text)
Grenada attribute Any (shared captured text)
Guadeloupe attribute Any (shared captured text)
Guam attribute Any (shared captured text)
Guarani attribute Any (shared captured text)
Guatemala attribute Any (shared captured text)
Guernsey attribute Any (shared captured text)
Guinea attribute Any (shared captured text)
GuineaBissau attribute Any (shared captured text)
Gujarati attribute Any (shared captured text)
GujaratiScript attribute Any (shared captured text)
GurmukhiScript attribute Any (shared captured text)
Gusii attribute Any (shared captured text)
Guyana attribute Any (shared captured text)
Haiti attribute Any (shared captured text)
Haitian attribute Any (shared captured text)
HanScript attribute Any (shared captured text)
HangulScript attribute Any (shared captured text)
Hanunoo attribute Any (shared captured text)
HanunooScript attribute Any (shared captured text)
Hausa attribute Any (shared captured text)
Hawaiian attribute Any (shared captured text)
HeardAndMcDonaldIslands attribute Any (shared captured text)
Hebrew attribute Any (shared captured text)
HebrewScript attribute Any (shared captured text)
Herero attribute Any (shared captured text)
Hindi attribute Any (shared captured text)
HiraganaScript attribute Any (shared captured text)
HiriMotu attribute Any (shared captured text)
HmongNjua attribute Any (shared captured text)
Ho attribute Any (shared captured text)
Honduras attribute Any (shared captured text)
HongKong attribute Any (shared captured text)
Hungarian attribute Any (shared captured text)
Hungary attribute Any (shared captured text)
Iceland attribute Any (shared captured text)
Icelandic attribute Any (shared captured text)
Igbo attribute Any (shared captured text)
ImperialAramaicScript attribute Any (shared captured text)
ImperialSystem attribute Any (shared captured text)
ImperialUKSystem attribute Any (shared captured text)
ImperialUSSystem attribute Any (shared captured text)
InariSami attribute Any (shared captured text)
India attribute Any (shared captured text)
Indonesia attribute Any (shared captured text)
Indonesian attribute Any (shared captured text)
Ingush attribute Any (shared captured text)
InscriptionalPahlaviScript attribute Any (shared captured text)
InscriptionalParthianScript attribute Any (shared captured text)
Interlingua attribute Any (shared captured text)
Interlingue attribute Any (shared captured text)
Inuktitut attribute Any (shared captured text)
Inupiak attribute Any (shared captured text)
Iran attribute Any (shared captured text)
Iraq attribute Any (shared captured text)
Ireland attribute Any (shared captured text)
Irish attribute Any (shared captured text)
IsleOfMan attribute Any (shared captured text)
Israel attribute Any (shared captured text)
Italian attribute Any (shared captured text)
Italy attribute Any (shared captured text)
IvoryCoast attribute Any (shared captured text)
Jamaica attribute Any (shared captured text)
Japan attribute Any (shared captured text)
Japanese attribute Any (shared captured text)
JapaneseScript attribute Any (shared captured text)
Javanese attribute Any (shared captured text)
JavaneseScript attribute Any (shared captured text)
Jersey attribute Any (shared captured text)
Jju attribute Any (shared captured text)
JolaFonyi attribute Any (shared captured text)
Jordan attribute Any (shared captured text)
Kabuverdianu attribute Any (shared captured text)
Kabyle attribute Any (shared captured text)
KaithiScript attribute Any (shared captured text)
Kako attribute Any (shared captured text)
Kalenjin attribute Any (shared captured text)
Kamba attribute Any (shared captured text)
Kannada attribute Any (shared captured text)
KannadaScript attribute Any (shared captured text)
Kanuri attribute Any (shared captured text)
Kashmiri attribute Any (shared captured text)
KatakanaScript attribute Any (shared captured text)
KayahLiScript attribute Any (shared captured text)
Kazakh attribute Any (shared captured text)
Kazakhstan attribute Any (shared captured text)
Kenya attribute Any (shared captured text)
Kenyang attribute Any (shared captured text)
KharoshthiScript attribute Any (shared captured text)
Khmer attribute Any (shared captured text)
KhmerScript attribute Any (shared captured text)
KhojkiScript attribute Any (shared captured text)
KhudawadiScript attribute Any (shared captured text)
Kiche attribute Any (shared captured text)
Kikuyu attribute Any (shared captured text)
Kinyarwanda attribute Any (shared captured text)
Kirghiz attribute Any (shared captured text)
Kiribati attribute Any (shared captured text)
Komi attribute Any (shared captured text)
Kongo attribute Any (shared captured text)
Konkani attribute Any (shared captured text)
Korean attribute Any (shared captured text)
KoreanScript attribute Any (shared captured text)
Koro attribute Any (shared captured text)
Kosovo attribute Any (shared captured text)
KoyraChiini attribute Any (shared captured text)
KoyraboroSenni attribute Any (shared captured text)
Kpelle attribute Any (shared captured text)
Kurdish attribute Any (shared captured text)
Kurundi attribute Any (shared captured text)
Kuwait attribute Any (shared captured text)
Kwanyama attribute Any (shared captured text)
Kwasio attribute Any (shared captured text)
Kyrgyzstan attribute Any (shared captured text)
Lakota attribute Any (shared captured text)
Langi attribute Any (shared captured text)
Language attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
LannaScript attribute Any (shared captured text)
Lao attribute Any (shared captured text)
LaoScript attribute Any (shared captured text)
Laos attribute Any (shared captured text)
LargeFloweryMiao attribute Any (shared captured text)
LastCountry attribute Any (shared captured text)
LastLanguage attribute Any (shared captured text)
LastScript attribute Any (shared captured text)
Latin attribute Any (shared captured text)
LatinAmericaAndTheCaribbean attribute Any (shared captured text)
LatinScript attribute Any (shared captured text)
Latvia attribute Any (shared captured text)
Latvian attribute Any (shared captured text)
Lebanon attribute Any (shared captured text)
Lepcha attribute Any (shared captured text)
LepchaScript attribute Any (shared captured text)
Lesotho attribute Any (shared captured text)
Lezghian attribute Any (shared captured text)
Liberia attribute Any (shared captured text)
Libya attribute Any (shared captured text)
Liechtenstein attribute Any (shared captured text)
Limbu attribute Any (shared captured text)
LimbuScript attribute Any (shared captured text)
Limburgish attribute Any (shared captured text)
LinearA attribute Any (shared captured text)
LinearAScript attribute Any (shared captured text)
LinearBScript attribute Any (shared captured text)
Lingala attribute Any (shared captured text)
Lisu attribute Any (shared captured text)
Lithuania attribute Any (shared captured text)
Lithuanian attribute Any (shared captured text)
LongFormat attribute Any (shared captured text)
LowGerman attribute Any (shared captured text)
LowerSorbian attribute Any (shared captured text)
Lu attribute Any (shared captured text)
LubaKatanga attribute Any (shared captured text)
LuleSami attribute Any (shared captured text)
Luo attribute Any (shared captured text)
Luxembourg attribute Any (shared captured text)
Luxembourgish attribute Any (shared captured text)
Luyia attribute Any (shared captured text)
Lycian attribute Any (shared captured text)
LycianScript attribute Any (shared captured text)
Lydian attribute Any (shared captured text)
LydianScript attribute Any (shared captured text)
Macau attribute Any (shared captured text)
Macedonia attribute Any (shared captured text)
Macedonian attribute Any (shared captured text)
Machame attribute Any (shared captured text)
Madagascar attribute Any (shared captured text)
MahajaniScript attribute Any (shared captured text)
Maithili attribute Any (shared captured text)
MakhuwaMeetto attribute Any (shared captured text)
Makonde attribute Any (shared captured text)
Malagasy attribute Any (shared captured text)
Malawi attribute Any (shared captured text)
Malay attribute Any (shared captured text)
Malayalam attribute Any (shared captured text)
MalayalamScript attribute Any (shared captured text)
Malaysia attribute Any (shared captured text)
Maldives attribute Any (shared captured text)
Mali attribute Any (shared captured text)
Malta attribute Any (shared captured text)
Maltese attribute Any (shared captured text)
MandaeanScript attribute Any (shared captured text)
Mandingo attribute Any (shared captured text)
ManichaeanMiddlePersian attribute Any (shared captured text)
ManichaeanScript attribute Any (shared captured text)
Manipuri attribute Any (shared captured text)
Manx attribute Any (shared captured text)
Maori attribute Any (shared captured text)
Mapuche attribute Any (shared captured text)
Marathi attribute Any (shared captured text)
MarshallIslands attribute Any (shared captured text)
Marshallese attribute Any (shared captured text)
Martinique attribute Any (shared captured text)
Masai attribute Any (shared captured text)
Mauritania attribute Any (shared captured text)
Mauritius attribute Any (shared captured text)
Mayotte attribute Any (shared captured text)
MeasurementSystem attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
MeiteiMayekScript attribute Any (shared captured text)
Mende attribute Any (shared captured text)
MendeKikakuiScript attribute Any (shared captured text)
Meroitic attribute Any (shared captured text)
MeroiticCursiveScript attribute Any (shared captured text)
MeroiticScript attribute Any (shared captured text)
Meru attribute Any (shared captured text)
Meta attribute Any (shared captured text)
MetricSystem attribute Any (shared captured text)
Mexico attribute Any (shared captured text)
Micronesia attribute Any (shared captured text)
ModiScript attribute Any (shared captured text)
Mohawk attribute Any (shared captured text)
Moldavian attribute Any (shared captured text)
Moldova attribute Any (shared captured text)
Monaco attribute Any (shared captured text)
Mongolia attribute Any (shared captured text)
Mongolian attribute Any (shared captured text)
MongolianScript attribute Any (shared captured text)
Mono attribute Any (shared captured text)
Montenegro attribute Any (shared captured text)
Montserrat attribute Any (shared captured text)
Morisyen attribute Any (shared captured text)
Morocco attribute Any (shared captured text)
Mozambique attribute Any (shared captured text)
MroScript attribute Any (shared captured text)
Mundang attribute Any (shared captured text)
Myanmar attribute Any (shared captured text)
MyanmarScript attribute Any (shared captured text)
NabataeanScript attribute Any (shared captured text)
Nama attribute Any (shared captured text)
Namibia attribute Any (shared captured text)
NarrowFormat attribute Any (shared captured text)
NauruCountry attribute Any (shared captured text)
NauruLanguage attribute Any (shared captured text)
Navaho attribute Any (shared captured text)
Ndonga attribute Any (shared captured text)
Nepal attribute Any (shared captured text)
Nepali attribute Any (shared captured text)
Netherlands attribute Any (shared captured text)
NewCaledonia attribute Any (shared captured text)
NewTaiLueScript attribute Any (shared captured text)
NewZealand attribute Any (shared captured text)
Ngiemboon attribute Any (shared captured text)
Ngomba attribute Any (shared captured text)
Nicaragua attribute Any (shared captured text)
Niger attribute Any (shared captured text)
Nigeria attribute Any (shared captured text)
Niue attribute Any (shared captured text)
Nko attribute Any (shared captured text)
NkoScript attribute Any (shared captured text)
NorfolkIsland attribute Any (shared captured text)
NorthKorea attribute Any (shared captured text)
NorthNdebele attribute Any (shared captured text)
NorthernMarianaIslands attribute Any (shared captured text)
NorthernSami attribute Any (shared captured text)
NorthernSotho attribute Any (shared captured text)
NorthernThai attribute Any (shared captured text)
Norway attribute Any (shared captured text)
Norwegian attribute Any (shared captured text)
NorwegianBokmal attribute Any (shared captured text)
NorwegianNynorsk attribute Any (shared captured text)
Nuer attribute Any (shared captured text)
NumberOption attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
NumberOptions attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
Nyanja attribute Any (shared captured text)
Nyankole attribute Any (shared captured text)
Occitan attribute Any (shared captured text)
OghamScript attribute Any (shared captured text)
Ojibwa attribute Any (shared captured text)
OlChikiScript attribute Any (shared captured text)
OldIrish attribute Any (shared captured text)
OldItalicScript attribute Any (shared captured text)
OldNorse attribute Any (shared captured text)
OldNorthArabianScript attribute Any (shared captured text)
OldPermicScript attribute Any (shared captured text)
OldPersian attribute Any (shared captured text)
OldPersianScript attribute Any (shared captured text)
OldSouthArabianScript attribute Any (shared captured text)
OldTurkish attribute Any (shared captured text)
Oman attribute Any (shared captured text)
OmitGroupSeparator attribute Any (shared captured text)
Oriya attribute Any (shared captured text)
OriyaScript attribute Any (shared captured text)
OrkhonScript attribute Any (shared captured text)
Oromo attribute Any (shared captured text)
OsmanyaScript attribute Any (shared captured text)
Ossetic attribute Any (shared captured text)
PahawhHmongScript attribute Any (shared captured text)
Pahlavi attribute Any (shared captured text)
Pakistan attribute Any (shared captured text)
Palau attribute Any (shared captured text)
PalestinianTerritories attribute Any (shared captured text)
Pali attribute Any (shared captured text)
PalmyreneScript attribute Any (shared captured text)
Panama attribute Any (shared captured text)
PapuaNewGuinea attribute Any (shared captured text)
Paraguay attribute Any (shared captured text)
Parthian attribute Any (shared captured text)
Pashto attribute Any (shared captured text)
PauCinHauScript attribute Any (shared captured text)
PeoplesRepublicOfCongo attribute Any (shared captured text)
Persian attribute Any (shared captured text)
Peru attribute Any (shared captured text)
PhagsPaScript attribute Any (shared captured text)
Philippines attribute Any (shared captured text)
Phoenician attribute Any (shared captured text)
PhoenicianScript attribute Any (shared captured text)
Pitcairn attribute Any (shared captured text)
Poland attribute Any (shared captured text)
Polish attribute Any (shared captured text)
PollardPhoneticScript attribute Any (shared captured text)
Portugal attribute Any (shared captured text)
Portuguese attribute Any (shared captured text)
PrakritLanguage attribute Any (shared captured text)
Prussian attribute Any (shared captured text)
PsalterPahlaviScript attribute Any (shared captured text)
PuertoRico attribute Any (shared captured text)
Punjabi attribute Any (shared captured text)
Qatar attribute Any (shared captured text)
Quechua attribute Any (shared captured text)
QuotationStyle attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
Rejang attribute Any (shared captured text)
RejangScript attribute Any (shared captured text)
RejectGroupSeparator attribute Any (shared captured text)
RepublicOfKorea attribute Any (shared captured text)
Reunion attribute Any (shared captured text)
RhaetoRomance attribute Any (shared captured text)
Romania attribute Any (shared captured text)
Romanian attribute Any (shared captured text)
Romansh attribute Any (shared captured text)
Rombo attribute Any (shared captured text)
Rundi attribute Any (shared captured text)
RunicScript attribute Any (shared captured text)
Russia attribute Any (shared captured text)
Russian attribute Any (shared captured text)
RussianFederation attribute Any (shared captured text)
Rwa attribute Any (shared captured text)
Rwanda attribute Any (shared captured text)
Sabaean attribute Any (shared captured text)
Saho attribute Any (shared captured text)
SaintBarthelemy attribute Any (shared captured text)
SaintHelena attribute Any (shared captured text)
SaintKittsAndNevis attribute Any (shared captured text)
SaintLucia attribute Any (shared captured text)
SaintMartin attribute Any (shared captured text)
SaintPierreAndMiquelon attribute Any (shared captured text)
SaintVincentAndTheGrenadines attribute Any (shared captured text)
Sakha attribute Any (shared captured text)
Samaritan attribute Any (shared captured text)
SamaritanScript attribute Any (shared captured text)
Samburu attribute Any (shared captured text)
Samoa attribute Any (shared captured text)
Samoan attribute Any (shared captured text)
SanMarino attribute Any (shared captured text)
Sango attribute Any (shared captured text)
Sangu attribute Any (shared captured text)
Sanskrit attribute Any (shared captured text)
Santali attribute Any (shared captured text)
SaoTomeAndPrincipe attribute Any (shared captured text)
Sardinian attribute Any (shared captured text)
SaudiArabia attribute Any (shared captured text)
Saurashtra attribute Any (shared captured text)
SaurashtraScript attribute Any (shared captured text)
Script attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
Sena attribute Any (shared captured text)
Senegal attribute Any (shared captured text)
Serbia attribute Any (shared captured text)
Serbian attribute Any (shared captured text)
SerboCroatian attribute Any (shared captured text)
Seychelles attribute Any (shared captured text)
Shambala attribute Any (shared captured text)
SharadaScript attribute Any (shared captured text)
ShavianScript attribute Any (shared captured text)
Shona attribute Any (shared captured text)
ShortFormat attribute Any (shared captured text)
SichuanYi attribute Any (shared captured text)
Sidamo attribute Any (shared captured text)
SiddhamScript attribute Any (shared captured text)
SierraLeone attribute Any (shared captured text)
SimplifiedChineseScript attribute Any (shared captured text)
SimplifiedHanScript attribute Any (shared captured text)
Sindhi attribute Any (shared captured text)
Singapore attribute Any (shared captured text)
Sinhala attribute Any (shared captured text)
SinhalaScript attribute Any (shared captured text)
SintMaarten attribute Any (shared captured text)
SkoltSami attribute Any (shared captured text)
Slovak attribute Any (shared captured text)
Slovakia attribute Any (shared captured text)
Slovenia attribute Any (shared captured text)
Slovenian attribute Any (shared captured text)
Soga attribute Any (shared captured text)
SolomonIslands attribute Any (shared captured text)
Somali attribute Any (shared captured text)
Somalia attribute Any (shared captured text)
Sora attribute Any (shared captured text)
SoraSompengScript attribute Any (shared captured text)
SouthAfrica attribute Any (shared captured text)
SouthGeorgiaAndTheSouthSandwichIslands attribute Any (shared captured text)
SouthKorea attribute Any (shared captured text)
SouthNdebele attribute Any (shared captured text)
SouthSudan attribute Any (shared captured text)
SouthernSami attribute Any (shared captured text)
SouthernSotho attribute Any (shared captured text)
Spain attribute Any (shared captured text)
Spanish attribute Any (shared captured text)
SriLanka attribute Any (shared captured text)
StandardMoroccanTamazight attribute Any (shared captured text)
StandardQuotation attribute QuotationStyle (shared captured text)
Sudan attribute Any (shared captured text)
Sundanese attribute Any (shared captured text)
SundaneseScript attribute Any (shared captured text)
Suriname attribute Any (shared captured text)
SvalbardAndJanMayenIslands attribute Any (shared captured text)
Swahili attribute Any (shared captured text)
Swati attribute Any (shared captured text)
Swaziland attribute Any (shared captured text)
Sweden attribute Any (shared captured text)
Swedish attribute Any (shared captured text)
SwissGerman attribute Any (shared captured text)
Switzerland attribute Any (shared captured text)
Sylheti attribute Any (shared captured text)
SylotiNagriScript attribute Any (shared captured text)
Syria attribute Any (shared captured text)
Syriac attribute Any (shared captured text)
SyriacScript attribute Any (shared captured text)
SyrianArabRepublic attribute Any (shared captured text)
Tachelhit attribute Any (shared captured text)
Tagalog attribute Any (shared captured text)
TagalogScript attribute Any (shared captured text)
Tagbanwa attribute Any (shared captured text)
TagbanwaScript attribute Any (shared captured text)
Tahitian attribute Any (shared captured text)
TaiDam attribute Any (shared captured text)
TaiLeScript attribute Any (shared captured text)
TaiNua attribute Any (shared captured text)
TaiVietScript attribute Any (shared captured text)
Taita attribute Any (shared captured text)
Taiwan attribute Any (shared captured text)
Tajik attribute Any (shared captured text)
Tajikistan attribute Any (shared captured text)
TakriScript attribute Any (shared captured text)
Tamil attribute Any (shared captured text)
TamilScript attribute Any (shared captured text)
Tanzania attribute Any (shared captured text)
Taroko attribute Any (shared captured text)
Tasawaq attribute Any (shared captured text)
Tatar attribute Any (shared captured text)
TedimChin attribute Any (shared captured text)
Telugu attribute Any (shared captured text)
TeluguScript attribute Any (shared captured text)
Teso attribute Any (shared captured text)
ThaanaScript attribute Any (shared captured text)
Thai attribute Any (shared captured text)
ThaiScript attribute Any (shared captured text)
Thailand attribute Any (shared captured text)
Tibetan attribute Any (shared captured text)
TibetanScript attribute Any (shared captured text)
TifinaghScript attribute Any (shared captured text)
Tigre attribute Any (shared captured text)
Tigrinya attribute Any (shared captured text)
TirhutaScript attribute Any (shared captured text)
Togo attribute Any (shared captured text)
Tokelau attribute Any (shared captured text)
Tonga attribute Any (shared captured text)
Tongan attribute Any (shared captured text)
TraditionalChineseScript attribute Any (shared captured text)
TraditionalHanScript attribute Any (shared captured text)
TrinidadAndTobago attribute Any (shared captured text)
TristanDaCunha attribute Any (shared captured text)
Tsonga attribute Any (shared captured text)
Tswana attribute Any (shared captured text)
Tunisia attribute Any (shared captured text)
Turkey attribute Any (shared captured text)
Turkish attribute Any (shared captured text)
Turkmen attribute Any (shared captured text)
Turkmenistan attribute Any (shared captured text)
TurksAndCaicosIslands attribute Any (shared captured text)
Tuvalu attribute Any (shared captured text)
Twi attribute Any (shared captured text)
Tyap attribute Any (shared captured text)
Uganda attribute Any (shared captured text)
Ugaritic attribute Any (shared captured text)
UgariticScript attribute Any (shared captured text)
Uighur attribute Any (shared captured text)
Uigur attribute Any (shared captured text)
Ukraine attribute Any (shared captured text)
Ukrainian attribute Any (shared captured text)
UnitedArabEmirates attribute Any (shared captured text)
UnitedKingdom attribute Any (shared captured text)
UnitedStates attribute Any (shared captured text)
UnitedStatesMinorOutlyingIslands attribute Any (shared captured text)
UnitedStatesVirginIslands attribute Any (shared captured text)
UpperSorbian attribute Any (shared captured text)
Urdu attribute Any (shared captured text)
Uruguay attribute Any (shared captured text)
Uzbek attribute Any (shared captured text)
Uzbekistan attribute Any (shared captured text)
Vai attribute Any (shared captured text)
VaiScript attribute Any (shared captured text)
Vanuatu attribute Any (shared captured text)
VarangKshitiScript attribute Any (shared captured text)
VaticanCityState attribute Any (shared captured text)
Venda attribute Any (shared captured text)
Venezuela attribute Any (shared captured text)
Vietnam attribute Any (shared captured text)
Vietnamese attribute Any (shared captured text)
Volapuk attribute Any (shared captured text)
Vunjo attribute Any (shared captured text)
Walamo attribute Any (shared captured text)
WallisAndFutunaIslands attribute Any (shared captured text)
Walloon attribute Any (shared captured text)
Walser attribute Any (shared captured text)
Warlpiri attribute Any (shared captured text)
Welsh attribute Any (shared captured text)
WesternFrisian attribute Any (shared captured text)
WesternSahara attribute Any (shared captured text)
Wolof attribute Any (shared captured text)
Xhosa attribute Any (shared captured text)
Yangben attribute Any (shared captured text)
Yemen attribute Any (shared captured text)
YiScript attribute Any (shared captured text)
Yiddish attribute Any (shared captured text)
Yoruba attribute Any (shared captured text)
Zambia attribute Any (shared captured text)
Zarma attribute Any (shared captured text)
Zhuang attribute Any (shared captured text)
Zimbabwe attribute Any (shared captured text)
Zulu attribute Any (shared captured text)
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
amText function (self) -> str X.amText() -> str (shared captured text)
bcp47Name function (self) -> str X.bcp47Name() -> str (shared captured text)
c function (self) -> Any X.c() -> PythonQt.QtCore.QLocale (shared captured text)
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
countriesForLanguage function (self, lang: Any) -> tuple X.countriesForLanguage(lang) -> tuple (shared captured text)
country function (self) -> Any Returns the country of this locale. (shared captured text)
countryToString function (self, country: Any) -> str X.countryToString(country) -> str (shared captured text)
createSeparatedList function (self, strl: Any) -> str X.createSeparatedList(strl) -> str (shared captured text)
currencySymbol function (self, arg__1: Any) -> str X.currencySymbol(arg__1) -> str (shared captured text)
dateFormat function (self, format: Any) -> str X.dateFormat(format) -> str (shared captured text)
dateTimeFormat function (self, format: Any) -> str X.dateTimeFormat(format) -> str (shared captured text)
dayName function (self, arg__1: int, format: Any) -> str X.dayName(arg__1, format) -> str (shared captured text)
decimalPoint function (self) -> str Returns the decimal point character of this locale. (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
exponential function (self) -> str Returns the exponential character of this locale, used to separate exponent from mantissa in some floating-point numeric representations. (shared captured text)
firstDayOfWeek function (self) -> Any Returns the first day of the week according to the current locale. (shared captured text)
groupSeparator function (self) -> str Returns the group separator character of this locale. (shared captured text)
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
language function (self) -> Any Returns the language of this locale. (shared captured text)
languageToString function (self, language: Any) -> str X.languageToString(language) -> str (shared captured text)
matchingLocales function (self, language: Any, script: Any, country: Any) -> tuple X.matchingLocales(language, script, country) -> tuple (shared captured text)
measurementSystem function (self) -> Any Returns the measurement system for the locale. (shared captured text)
monthName function (self, arg__1: int, format: Any) -> str X.monthName(arg__1, format) -> str (shared captured text)
name function (self) -> str X.name() -> str (shared captured text)
nativeCountryName function (self) -> str X.nativeCountryName() -> str (shared captured text)
nativeLanguageName function (self) -> str X.nativeLanguageName() -> str (shared captured text)
negativeSign function (self) -> str Returns the negative sign character of this locale. (shared captured text)
numberOptions function (self) -> Any Returns the options related to number conversions for this [QLocale](https://doc.qt.io/archives/qt-5.15/qlocale.html) instance. (shared captured text)
percent function (self) -> str Returns the percent character of this locale. (shared captured text)
pmText function (self) -> str X.pmText() -> str (shared captured text)
positiveSign function (self) -> str Returns the positive sign character of this locale. (shared captured text)
quoteString function (self, str: str, style: Any) -> str X.quoteString(str, style) -> str (shared captured text)
readFrom function (self, arg__1: Any) -> Any (shared captured text)
script function (self) -> Any Returns the script of this locale. (shared captured text)
scriptToString function (self, script: Any) -> str X.scriptToString(script) -> str (shared captured text)
setDefault function (self, locale: Any) -> None Sets the global default locale to locale. (shared captured text)
setNumberOptions function (self, options: Any) -> None Sets the options related to number conversions for this [QLocale](https://doc.qt.io/archives/qt-5.15/qlocale.html) instance. (shared captured text)
standaloneDayName function (self, arg__1: int, format: Any) -> str X.standaloneDayName(arg__1, format) -> str (shared captured text)
standaloneMonthName function (self, arg__1: int, format: Any) -> str X.standaloneMonthName(arg__1, format) -> str (shared captured text)
system function (self) -> Any X.system() -> PythonQt.QtCore.QLocale (shared captured text)
textDirection function (self) -> Any Returns the text direction of the language. (shared captured text)
timeFormat function (self, format: Any) -> str X.timeFormat(format) -> str (shared captured text)
toCurrencyString function (self, arg__1: Any, symbol: str) -> str X.toCurrencyString(arg__1, symbol) -> str (shared captured text)
toDate function (self, string: str, arg__2: Any) -> Any X.toDate(string, arg__2) -> PythonQt.QtCore.QDate (shared captured text)
toDateTime function (self, string: str, format: Any) -> Any X.toDateTime(string, format) -> PythonQt.QtCore.QDateTime (shared captured text)
toDouble function (self, s: str, ok: Any) -> float X.toDouble(s, ok) -> float (shared captured text)
toFloat function (self, s: str, ok: Any) -> float X.toFloat(s, ok) -> float (shared captured text)
toInt function (self, s: str, ok: Any) -> int X.toInt(s, ok) -> int (shared captured text)
toLongLong function (self, s: str, ok: Any) -> int X.toLongLong(s, ok) -> int (shared captured text)
toLower function (self, str: str) -> str X.toLower(str) -> str (shared captured text)
toShort function (self, s: str, ok: Any) -> int X.toShort(s, ok) -> int (shared captured text)
toString function (self, i: Any, f: Any, prec: Any) -> str X.toString(i, f, prec) -> str (shared captured text)
toTime function (self, string: str, arg__2: Any) -> Any X.toTime(string, arg__2) -> PythonQt.QtCore.QTime (shared captured text)
toUInt function (self, s: str, ok: Any) -> int X.toUInt(s, ok) -> int (shared captured text)
toULongLong function (self, s: str, ok: Any) -> int X.toULongLong(s, ok) -> int (shared captured text)
toUShort function (self, s: str, ok: Any) -> int X.toUShort(s, ok) -> int (shared captured text)
toUpper function (self, str: str) -> str X.toUpper(str) -> str (shared captured text)
uiLanguages function (self) -> tuple X.uiLanguages() -> tuple (shared captured text)
weekdays function (self) -> tuple X.weekdays() -> tuple (shared captured text)
writeTo function (self, arg__1: Any) -> Any (shared captured text)
zeroDigit function (self) -> str Returns the zero digit character of this locale. (shared captured text)