Public Member Functions | |
| Dialog (const Rect &rFrame, const String &szTitle, unsigned int nWindowLayoutFlags, unsigned int uiApplicationWindowFlags=0, unsigned int uiWindowFlags=0) | |
| ~Dialog () | |
| virtual bool | IsModal () |
| virtual void | Instance () |
| virtual int | Run (bool bModal=true) |
| virtual int | Run (Window *pOwningWindow, bool bModal=true) |
| virtual void | Done (int iExitCode=0) |
| MessageQueue * | GetMessageQueue () |
| void | Cancel () |
| virtual bool | CloseRequest () |
| virtual void | SetShowDelay (int iShowDelayInMsecs) |
| virtual void | OnTimer (int iTimerID, void *vpCookie) |
| virtual bool | Free (int iExitCode) |
Public Attributes | |
| signal0 | Destroy |
| signal2< Dialog *, int > | Action |
Classes | |
| class | Private |
MessageBox pMessageBox("Modal MessageBox", "This is a Modal MessageBox", MESSAGEBOX_FLAG_OK); int ret = pMessageBox.Run();
MessageBox *pMessageBox = new MessageBox("NonModal MessageBox", "This is a NonModal MessageBox", MESSAGEBOX_FLAG_OK); pMessageBox->Run(false);
| Dialog::Dialog | ( | const Rect & | rFrame, | |
| const String & | szTitle, | |||
| unsigned int | nWindowLayoutFlags, | |||
| unsigned int | uiApplicationWindowFlags = 0, |
|||
| unsigned int | uiWindowFlags = 0 | |||
| ) |
| Dialog::~Dialog | ( | ) |
| bool Dialog::IsModal | ( | ) | [virtual] |
| void Dialog::Instance | ( | ) | [virtual] |
Reimplemented in SkyGI::CopyDialog, SkyGI::DeleteDialog, SkyGI::FilePropertiesDialog, and SkyGI::MessageBox.
| int Dialog::Run | ( | bool | bModal = true |
) | [virtual] |
Run a dialog
| int Dialog::Run | ( | Window * | pOwningWindow, | |
| bool | bModal = true | |||
| ) | [virtual] |
| void Dialog::Done | ( | int | iExitCode = 0 |
) | [virtual] |
Called right before the dialog gets closed
| MessageQueue * Dialog::GetMessageQueue | ( | ) |
| void Dialog::Cancel | ( | ) |
| bool Dialog::CloseRequest | ( | ) | [virtual] |
Request for Close
Reimplemented from SkyGI::Window.
| void Dialog::SetShowDelay | ( | int | iShowDelayInMsecs | ) | [virtual] |
| void Dialog::OnTimer | ( | int | iTimerID, | |
| void * | vpCookie | |||
| ) | [virtual] |
Reimplemented from SkyGI::Window.
| bool Dialog::Free | ( | int | iExitCode | ) | [virtual] |
| signal0 SkyGI::Dialog::Destroy |
Emitted when dialog gets deleted
| signal2<Dialog*, int> SkyGI::Dialog::Action |
Emitted right before the dialog gets closed
1.5.1-p1