#include <mgui/xmldlg.h>
Inheritance diagram for MGUI::DLG_XML:

Public Member Functions | |
| DLG_XML () | |
| bool | GetCtrlByID (const UNICODE *id, MGUI::FORM_EDIT_RANGE *&ctrl) const |
| bool | GetCtrlByID (const UNICODE *id, MGUI::CTRL_EDIT_NUMBER *&ctrl) const |
| bool | GetCtrlByID (const UNICODE *id, MGUI::CTRL_EDIT_STRING *&ctrl) const |
| bool | GetCtrlByID (const UNICODE *id, MGUI::CTRL_TOGGLEBUTTON *&ctrl) const |
| bool | GetCtrlByID (const UNICODE *id, MGUI::CTRL_PUSHBUTTON *&ctrl) const |
| bool | GetCtrlByID (const UNICODE *id, MGUI::CTRL_GROUPBOX *&ctrl) const |
| bool | GetCtrlByID (const UNICODE *id, MGUI::CTRL_LABEL *&ctrl) const |
| MGUI::FORM * | GetCtrlByID (const UNICODE *id) const |
| MGUI::LAYOUT_PANE_BASE * | GetPaneByID (const UNICODE *id) const |
| ERRVALUE | GetValues (MGUI::XMLFORM_DATA &values) const |
| ERRVALUE | SetValues (const MGUI::XMLFORM_DATA &values) |
| ERRVALUE | SetXMLNode (const XMLNODE *xmlnode, SMLCONTEXT *context=0) |
| virtual | ~DLG_XML () |
Protected Member Functions | |
| GUIXMLPRIVDATA * | GetPriv () const |
| virtual void | OnApply () |
| virtual void | OnCancel () |
| virtual void | OnClose () |
| virtual void | OnDestroy () |
| virtual ERRVALUE | OnInitDialog () |
| virtual void | OnOK () |
| virtual void | OnOpen () |
|
|
|
|
|
|
|
||||||||||||
|
Get a control by it's XML id attribute. Returns true if there was such a control, false if not. Also returns false if there was a control with the given id but was not of the requested type. |
|
||||||||||||
|
Get a control by it's XML id attribute. Returns true if there was such a control, false if not. Also returns false if there was a control with the given id but was not of the requested type. |
|
||||||||||||
|
Get a control by it's XML id attribute. Returns true if there was such a control, false if not. Also returns false if there was a control with the given id but was not of the requested type. |
|
||||||||||||
|
Get a control by it's XML id attribute. Returns true if there was such a control, false if not. Also returns false if there was a control with the given id but was not of the requested type. |
|
||||||||||||
|
Get a control by it's XML id attribute. Returns true if there was such a control, false if not. Also returns false if there was a control with the given id but was not of the requested type. |
|
||||||||||||
|
Get a control by it's XML id attribute. Returns true if there was such a control, false if not. Also returns false if there was a control with the given id but was not of the requested type. |
|
||||||||||||
|
Get a control by it's XML id attribute. Returns true if there was such a control, false if not. Also returns false if there was a control with the given id but was not of the requested type. |
|
|
Get a control by it's XML id attribute. This version just returns a pointer to an MGUI::FORM. This should only be used in cases where you don't really care what the control type is. If you expect the control to be of a specific type, use the override that takes a referenct to a pointer.
|
|
|
Get a pane by it's XML id attribute.
|
|
|
|
|
|
Get the current values of the controls. Controls with no id attribute are ignored |
|
|
Creates the body from the form contents.
Reimplemented from MGUI::DLG_BASE. |
|
|
Called when 'Cancel' button is pressed. Derived class must call base class OnCancel() method AFTER performing its own processing to properly close the dialog. In some cases the user may be given an opportunity to verify that they intended to press the Cancel button. If they elect not to cancel then the base class OnCancel() method should not be called. This will cause the dialog to remain open and allow the user to retain the settings. Reimplemented from MGUI::DLG_BASE. |
|
|
Called when dialog is closed. Derived class must call base class OnClose() method AFTER performing its own processing to properly close the dialog. Reimplemented from MGUI::DLG_BASE. |
|
|
Called when dialog is destroyed.
Reimplemented from MGUI::DLG_BASE. |
|
|
Create dialog contents. Derived class MUST implement this. Function must return 0 for success or an error code. This will be called by the dialog creation code and thus should not be called directly. This is normally overridden only by the specific dialog implementation and not by the code that actually uses that dialog implementation. The implementation should call GetMainForm() or GetMainPane() to determine the form widget or pane to create the controls in. Implements MGUI::DLG_BASE. |
|
|
Called when 'OK' button is pressed. Derived class must call base class OnOK() method AFTER performing its own processing to properly close the dialog. If the dialog settings do not pass their associated validation test then an appropriate message should be displayed for the user and the base class OnOK() method should not be called. This will cause the dialog to remain open and allow the user to correct the settings. Reimplemented from MGUI::DLG_BASE. |
|
|
Called when dialog is opened after the dialog is actually "managed" and displayed. Derived class must call base class OnOpen() method BEFORE performing its own processing. Reimplemented from MGUI::DLG_BASE. |
|
|
Get the current values of the controls. Controls with no id attribute are ignored |
|
||||||||||||
|
Create a layout from a <form> in an XML document.
|
1.3.8-20040913