undefined qt constants

15 views
Skip to first unread message

Luigi Ferraris

unread,
Aug 11, 2013, 11:34:44 AM8/11/13
to qtcon...@googlegroups.com
Hi Pritpal,
I found helpful but undefined these constants:

// enum QLocale::CurrencySymbolFormat
#define QLocale_CurrencyIsoCode                    0       // a ISO-4217 code of the currency.
#define QLocale_CurrencySymbol                     1       // a currency symbol.
#define QLocale_CurrencyDisplayName                2       // a user readable name of the currency.

// enum QLocale::FormatType
#define QLocale_LongFormat       0  // The long version of day and month names; for example, returning "January" as a month name.
#define QLocale_ShortFormat      1  // The short version of day and month names; for example, returning "Jan" as a month name.
#define QLocale_NarrowFormat     2  // A special version of day and month names for use when space is limited; for example, returning "J" as a month name. Note that the narrow format might contain the same text for different months and days or it can even be an empty string if the locale doesn't support narrow names, so you should avoid using it for date formatting. Also, for the system locale this format is the same as ShortFormat.


About language this one...
// enum QLocale::Language
#define QLocale_AnyLanguage              0

Cheers
Luigi Ferraris


Reply all
Reply to author
Forward
0 new messages