Go to the source code of this file.
|
| class | uiString |
| | String that is able to hold international (UTF-8) strings for the user interface. More...
|
| |
|
| uiString | toUiString (const uiString &) |
| |
| uiString | toUiString (const char *) |
| |
| uiString | toUiString (const OD::String &) |
| |
| uiString | toUiString (int) |
| |
| uiString | toUiString (int64_t) |
| |
| uiString | toUiString (unsigned int) |
| |
| uiString | toUiString (uint64_t) |
| |
| uiString | toUiString (float) |
| |
| uiString | toUiString (double) |
| |
| uiString | toUiString (float, int nrdec) |
| |
| uiString | toUiString (double, int nrdec) |
| |
| uiString | toUiString (float, char format, int precision) |
| |
| uiString | toUiString (double, char format, int precision) |
| |
| uiString | toUiString (const Coord &) |
| | no decimals More...
|
| |
| uiString | toUiString (const BufferStringSet &) |
| |
| const char * | toString (const uiString &) |
| |
| template<class T1 , class T2 > |
| uiString | toUiString (const std::pair< T1, T2 > &pair) |
| |
| uiString | toUiString (const ::QString &) |
| |
| uiString | od_static_tr (const char *function_name, const char *text, const char *disambiguation=nullptr, int pluralnr=-1) |
| |
| uiString | getUiYesNoString (bool res) |
| |
◆ mDefIncorrectAppendPhrArgs
| #define mDefIncorrectAppendPhrArgs |
Value: sep=='\n' ? NoSep : (sep=='\t' ? Tab : Space), \
sep=='\n' ? OnNewLine : OnSameLine
◆ mFromUiStringTodo
| #define mFromUiStringTodo |
( |
|
i | ) |
::toString(i) |
◆ mGetQStr
| #define mGetQStr |
( |
|
qstr, |
|
|
|
uistring_var |
|
) |
| QString qstr; (uistring_var).fillQString( qstr ) |
◆ mODTextTranslationClass
◆ mStoreduiStringPreamble
| #define mStoreduiStringPreamble "^&" |
Stored uiString's have a preamble, a size, a ':' and then data in Hex chars Note that uiStrings are seldom stored, and you probably don't need to do it!
◆ mTextTranslationClass
| #define mTextTranslationClass |
( |
|
clss, |
|
|
|
pkgkey |
|
) |
| |
Value:private: \
static
inline uiString tr(
const char* text, \
const char* disambiguation = nullptr, \
int pluralnr=-1 ) \
{
return uiString( text, #clss, pkgkey, disambiguation, pluralnr ); } \
static
inline uiString legacyTr(
const char* text, \
const char* disambiguation = nullptr, \
int pluralnr=-1 ) \
{
return uiString( text, #clss, pkgkey, disambiguation, pluralnr ); }
◆ mToUiStringTodo
◆ muiStringAppendDefArgs
| #define muiStringAppendDefArgs |
◆ uiPhrase
◆ uiWord
◆ getUiYesNoString()
◆ od_static_tr()
| uiString od_static_tr |
( |
const char * |
function_name, |
|
|
const char * |
text, |
|
|
const char * |
disambiguation = nullptr, |
|
|
int |
pluralnr = -1 |
|
) |
| |
Adds translation of strings outside of classes for the "od" package. It will return a uistring where the context is "static_func_function", where 'function' is whatever is given as the function parameter. This matches what is done in the filtering of the source files before lupdate is run (in ./dtect/update_translations.csh).
◆ toString()
| const char* toString |
( |
const uiString & |
| ) |
|
◆ toUiString() [1/17]
| uiString toUiString |
( |
const ::QString & |
| ) |
|
◆ toUiString() [2/17]
◆ toUiString() [3/17]
◆ toUiString() [4/17]
◆ toUiString() [5/17]
◆ toUiString() [6/17]
template<class T1 , class T2 >
| uiString toUiString |
( |
const std::pair< T1, T2 > & |
pair | ) |
|
◆ toUiString() [7/17]
◆ toUiString() [8/17]
◆ toUiString() [9/17]
| uiString toUiString |
( |
double |
, |
|
|
char |
format, |
|
|
int |
precision |
|
) |
| |
◆ toUiString() [10/17]
| uiString toUiString |
( |
double |
, |
|
|
int |
nrdec |
|
) |
| |
◆ toUiString() [11/17]
◆ toUiString() [12/17]
| uiString toUiString |
( |
float |
, |
|
|
char |
format, |
|
|
int |
precision |
|
) |
| |
◆ toUiString() [13/17]
| uiString toUiString |
( |
float |
, |
|
|
int |
nrdec |
|
) |
| |
◆ toUiString() [14/17]
◆ toUiString() [15/17]
◆ toUiString() [16/17]
◆ toUiString() [17/17]