Public Member Functions | |
| void | message (const char *, const char *part2=0, const char *part3=0) |
| void | warning (const char *, const char *part2=0, const char *part3=0) |
| void | error (const char *, const char *part2=0, const char *part3=0) |
| void | errorWithDetails (const FileMultiString &) |
| void | errorWithDetails (const BufferStringSet &, const char *firstmsg=0) |
| int | question (const char *, const char *textyes=0, const char *textno=0, const char *textcncl=0, const char *caption=0) |
| int | askSave (const char *, bool cancelbutt=true) |
| int | notSaved (const char *txt, bool cancelbutt=true) |
| int | askRemove (const char *, bool cancelbutt=false) |
| int | askContinue (const char *) |
| int | askOverwrite (const char *) |
| bool | askGoOn (const char *, bool withyesno=true) |
| withyesno false: 'Ok' and 'Cancel', true: 'Yes' and 'No' | |
| bool | askGoOn (const char *msg, const char *textyes, const char *textno) |
| int | askGoOnAfter (const char *, const char *cnclmsg=0, const char *textyes=0, const char *textno=0) |
| 0=yes, 1=no, 2=cancel | |
| bool | showMsgNextTime (const char *, const char *msg=0) |
| uiMainWin * | setMainWin (uiMainWin *) |
| return old | |
| bool | toStatusbar (const char *, int fld=0, int msec=-1) |
| returns false if there is none | |
| uiStatusBar * | statusBar () |
| void | about (const char *) |
Static Public Member Functions | |
| static void | setNextCaption (const char *) |
Protected Member Functions | |
| uiMsg () | |
| QWidget * | popParnt () |
Static Protected Attributes | |
| static uiMsg * | theinst_ |
Private Member Functions | |
| int | beginCmdRecEvent (const char *wintitle) |
| void | endCmdRecEvent (int refnr, int retval, const char *buttxt0, const char *buttxt1=0, const char *buttxt2=0) |
Private Attributes | |
| uiMainWin * | uimainwin_ |
Friends | |
| class | uiMain |
| mGlobal friend uiMsg & | uiMSG () |
| uiMsg::uiMsg | ( | ) | [protected] |
| void uiMsg::about | ( | const char * | ) |
| int uiMsg::askContinue | ( | const char * | ) |
| 0=Abort | 1=Continue |
| bool uiMsg::askGoOn | ( | const char * | , | |
| bool | withyesno = true | |||
| ) |
withyesno false: 'Ok' and 'Cancel', true: 'Yes' and 'No'
| bool uiMsg::askGoOn | ( | const char * | msg, | |
| const char * | textyes, | |||
| const char * | textno | |||
| ) |
| int uiMsg::askGoOnAfter | ( | const char * | , | |
| const char * | cnclmsg = 0, |
|||
| const char * | textyes = 0, |
|||
| const char * | textno = 0 | |||
| ) |
0=yes, 1=no, 2=cancel
| int uiMsg::askOverwrite | ( | const char * | ) |
| int uiMsg::askRemove | ( | const char * | , | |
| bool | cancelbutt = false | |||
| ) |
| 0=Don't | remove 1=Remove -1=Cancel |
| int uiMsg::askSave | ( | const char * | , | |
| bool | cancelbutt = true | |||
| ) |
| 0=Don't | save 1=Save -1=Cancel |
| int uiMsg::beginCmdRecEvent | ( | const char * | wintitle | ) | [private] |
| void uiMsg::endCmdRecEvent | ( | int | refnr, | |
| int | retval, | |||
| const char * | buttxt0, | |||
| const char * | buttxt1 = 0, |
|||
| const char * | buttxt2 = 0 | |||
| ) | [private] |
| void uiMsg::error | ( | const char * | , | |
| const char * | part2 = 0, |
|||
| const char * | part3 = 0 | |||
| ) |
| void uiMsg::errorWithDetails | ( | const FileMultiString & | ) |
If input has multiple parts, the first will be displayed directly, while the complete message is available under a 'Details ...' button, separated by new lines.
| void uiMsg::errorWithDetails | ( | const BufferStringSet & | , | |
| const char * | firstmsg = 0 | |||
| ) |
| void uiMsg::message | ( | const char * | , | |
| const char * | part2 = 0, |
|||
| const char * | part3 = 0 | |||
| ) |
| int uiMsg::notSaved | ( | const char * | txt, | |
| bool | cancelbutt = true | |||
| ) | [inline] |
| QWidget* uiMsg::popParnt | ( | ) | [protected] |
| int uiMsg::question | ( | const char * | , | |
| const char * | textyes = 0, |
|||
| const char * | textno = 0, |
|||
| const char * | textcncl = 0, |
|||
| const char * | caption = 0 | |||
| ) |
| static void uiMsg::setNextCaption | ( | const char * | ) | [static] |
Sets the caption for the next call to any of the msg fns After that, caption will be reset to default
| bool uiMsg::showMsgNextTime | ( | const char * | , | |
| const char * | msg = 0 | |||
| ) |
The msg must be negative, like "Don't show msg again" Be sure to store the ret val in the user settings
| uiStatusBar* uiMsg::statusBar | ( | ) |
| bool uiMsg::toStatusbar | ( | const char * | , | |
| int | fld = 0, |
|||
| int | msec = -1 | |||
| ) |
returns false if there is none
| void uiMsg::warning | ( | const char * | , | |
| const char * | part2 = 0, |
|||
| const char * | part3 = 0 | |||
| ) |
friend class uiMain [friend] |
| mGlobal friend uiMsg& uiMSG | ( | ) | [friend] |
uiMsg* uiMsg::theinst_ [static, protected] |
uiMainWin* uiMsg::uimainwin_ [private] |
1.7.1