Public Member Functions | |
Constructor / Destructor | |
CP_SignalSlot_Application () | |
Constructor. | |
virtual | ~CP_SignalSlot_Application () throw () |
Destructor. | |
Protected Member Functions | |
AboutBox | |
virtual CPLAT::CP_String | GetAboutBoxDescription () const |
Commands | |
virtual void | HandleOpenApplication () |
virtual void | HandleNewUpdateCommandStatusCommand (CPLAT::CP_CommandStatus &inOutCommandStatus, bool &, CPLAT::CP_CommandNo &) |
virtual void | HandleNewCommand (CPLAT::OSStatus &inOutStatus, CPLAT::CP_CommandNo &inCommandNo) |
Protected Attributes | |
CPLAT::CP_Window * | fWindow |
Private Types | |
typedef CPLAT::CP_Application< CPLAT::CP_DocumentPolicy_None, CPLAT::CP_PrintPolicy_None, CPLAT::CP_UndoPolicy_None > | inherited |
Private Member Functions | |
Slots | |
void | ControlClicked (CPLAT::CP_DataValueHolder &inValue, CPLAT::OSStatus &inOutStatus) |
void | HandleReturn (CPLAT::CP_DataValueHolder &inDataValue, CPLAT::OSStatus &inOutOSStatus) |
|
|
|
Constructor.
|
|
Destructor.
|
|
Return the string that describes the purpose of the application in the AboutBox.
|
|
Called when the application is starting up. We take this opportunity to create our initial window and views. In this demo, we create several views and show how to interconnect them using signals and slots.
|
|
Handles the menu/command update status handler for the CP_CMD_New command. We always enable the command, so many windows can be created if desired.
|
|
Override the New command handler to create new windows. Since this application is using a NULL document policy, we don't normally have the New menu item enabled.
|
|
Slot called when the user clicks on the click me button. This will post an alert to acknowledge that the signal has been handled.
|
|
Slot called when the user presses return.
|
|
|