OpendTect  6.6
Classes | Macros
uistrings.h File Reference
Include dependency graph for uistrings.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  uiStrings
 

Macros

#define mPlural   2
 
#define mDIAGNOSTIC(s)   uiStrings::phrDiagnostic(s)
 
#define mINTERNAL(s)   uiStrings::phrInternalErr(s)
 
#define m3Dots(txt)   uiStrings::phrThreeDots( txt, false )
 Adds '...' to string, usable for menu items. More...
 
#define mJoinUiStrs(txt1, txt2)   uiStrings::phrJoinStrings( uiStrings::txt1, uiStrings::txt2 )
 
#define mTODONotImplPhrase()   uiStrings::phrTODONotImpl( ::className(*this) )
 Shortcut handy macro for during development. More...
 
#define mPutInternalInUiRv(uirv, msg, act)
 Puts untranslated internal in pErrMsg and in uiRetVal and returns that. More...
 
#define mRetInternalInUiRv(uirv, msg)   mPutInternalInUiRv( uirv, msg, return uirv )
 As mPutInternalInUiRv but also returns the uiRetVal. More...
 

Macro Definition Documentation

◆ m3Dots

#define m3Dots (   txt)    uiStrings::phrThreeDots( txt, false )

Adds '...' to string, usable for menu items.

◆ mDIAGNOSTIC

#define mDIAGNOSTIC (   s)    uiStrings::phrDiagnostic(s)

◆ mINTERNAL

#define mINTERNAL (   s)    uiStrings::phrInternalErr(s)

◆ mJoinUiStrs

#define mJoinUiStrs (   txt1,
  txt2 
)    uiStrings::phrJoinStrings( uiStrings::txt1, uiStrings::txt2 )

◆ mPlural

#define mPlural   2

◆ mPutInternalInUiRv

#define mPutInternalInUiRv (   uirv,
  msg,
  act 
)
Value:
{ \
pErrMsg( msg ); uirv.add( mINTERNAL(msg) ); act; \
}

Puts untranslated internal in pErrMsg and in uiRetVal and returns that.

◆ mRetInternalInUiRv

#define mRetInternalInUiRv (   uirv,
  msg 
)    mPutInternalInUiRv( uirv, msg, return uirv )

As mPutInternalInUiRv but also returns the uiRetVal.

◆ mTODONotImplPhrase

#define mTODONotImplPhrase ( )    uiStrings::phrTODONotImpl( ::className(*this) )

Shortcut handy macro for during development.

mINTERNAL
#define mINTERNAL(s)
Definition: uistrings.h:21

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2021