#include <generatortool.h>
Public Member Functions | |
| GeneratorToolFrame (const wxString &title, const wxPoint &pos, const wxSize &pos, long style, const wxString &name) | |
| ~GeneratorToolFrame () | |
| void | OnQuit (wxCommandEvent &event) |
| void | OnAbout (wxCommandEvent &event) |
| void | OnButtonLogin (wxCommandEvent &event) |
| void | OnButtonLogout (wxCommandEvent &event) |
| void | OnButtonLaunch (wxCommandEvent &event) |
| void | set_properties () |
| void | do_layout () |
| void | DbEstb () |
| wxString | IntToWxstring (int id) |
| void | InstantiateForm (int id, int x, int y, int w, int h, int type, int style, wxString title, int isindex) |
| void | InstantiateObject (int type, int formid, int oid, wxString olabel, wxString odefault, int ox, int oy, int ow, int oh, int ostyle, int oAttrtype) |
| void | RefreshGrid (int formid, int objectid) |
| void | FormGenericEventFunc (wxCommandEvent &event) |
| void | MenuGenericEventFunc (wxCommandEvent &event) |
| void | ButtonGenericEventFunc (wxCommandEvent &event) |
| void | StaticTextGenericEventFunc (wxCommandEvent &event) |
| void | TextCtrlGenericEventFunc (wxCommandEvent &event) |
|
||||||||||||||||||||||||
|
Constructor. Initialises the Window of the FastApp Binary Client with a login screen.
Also see GeneratorToolFrame::~GeneratorToolFrame() Definition at line 55 of file generatortool.cpp. |
|
|
Destructor of GeneratorToolFrame.
Definition at line 87 of file generatortool.cpp. |
|
|
This event handling method is used to cater to the possible actions required of a button (e.g. INSERT some new records, Invoke a POPUP, Delete a record, etc.) Hence, the 3 designers (Feifei, Hweeli and myself) of the components of FastApp has agreed on an Event Handling Protocol which will serve as the common method of executing the dynamic events according to the different situations. Briefly, this is how this method works:
Definition at line 775 of file generatortool.cpp. Referenced by ButtonGenericEventFunc(), and InstantiateObject(). |
|
|
This is the core of the ODBC Connections with the SysDB in the process of collecting data. //Check currency of the ODBC.INI file with the server. The program RSYNC will be run in the shell script that is executed by the system() function. The simple BASH Script checkodbc.sh will do the following:
Prior to this execution of scripts, a system administrator will have to configure the password-less SSH Connection with the server so that the synching with the server's ODBC.ini file is done seamlessly. As a TODO For the future, we may again write a BASH Script to automate this pre-configuration process. Definition at line 1586 of file generatortool.cpp. Referenced by OnButtonLogin(). |
|
|
Sets the layout of the frame. It is a corner for the programmer to do easy adjustments of the Sizers and the layout of the frame. Definition at line 125 of file generatortool.cpp. Referenced by GeneratorToolFrame(). |
|
|
Generic Event Handling Function for Forms.
Definition at line 640 of file generatortool.cpp. |
|
||||||||||||||||||||||||||||||||||||||||
|
Before looking at the InstantiateForm Functionality, we need to look at the RTTI mechanism:.
Definition at line 493 of file generatortool.cpp. Referenced by OnButtonLaunch(). |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 538 of file generatortool.cpp. Referenced by OnButtonLaunch(). |
|
|
Handy tool for the Conversion of integer type into the wxWidget Compliant string type, wxString. This method is the opposite of atoi() Definition at line 460 of file generatortool.cpp. Referenced by ButtonGenericEventFunc(), OnButtonLaunch(), and RefreshGrid(). |
|
|
Generic Event Handling Function for Menus.
Definition at line 1557 of file generatortool.cpp. |
|
|
A Message Box will pop up with a brief description of the program and its version.
Definition at line 160 of file generatortool.cpp. |
|
|
This method is the most crucial component of the entire programme. It comprises of the following key steps: This method does the following:
Definition at line 329 of file generatortool.cpp. |
|
|
Event Handling Method for the Login Button. This method handles the event that is triggered by the clicking of the login button of the first screen. This method does the following:
Definition at line 181 of file generatortool.cpp. |
|
|
Event Handling Method for Logout. Reverts User back to login screen. Definition at line 282 of file generatortool.cpp. |
|
|
Event Handling Method of GeneratorToolFrame. Closes the window when a user clicks on the Quit Menu Item or Quit Button. Definition at line 149 of file generatortool.cpp. |
|
||||||||||||
|
Note that this generic code is used for the dynamically rendered program, and will be able to take in any grid.
Definition at line 650 of file generatortool.cpp. Referenced by ButtonGenericEventFunc(), and InstantiateObject(). |
|
|
Sets the propeties of the frame. It is a corner for programmer to do simple configuration of the controls within the frame. In this function, many miscellaneous configurations of the frame's controls are coded here. Definition at line 101 of file generatortool.cpp. Referenced by GeneratorToolFrame(). |
|
|
Generic Event Handling Function for StaticText.
Definition at line 1548 of file generatortool.cpp. |
|
|
Generic Event Handling Function for TextCtrls.
Definition at line 1566 of file generatortool.cpp. Referenced by InstantiateObject(). |
1.3.6