#include <nanoFrame.hpp>
Collaboration diagram for NanoFrame:

| Public Member Functions | |
| NanoFrame (MainController *controller) | |
| Constructor. | |
| ~NanoFrame () | |
| Destructor. | |
| void | setStatusMessage (wxString messsage) | 
| Sets a message on the status bar. | |
| void | errorMsg (wxString message) | 
| Shows an error message. | |
| void | setTitleBar (wxString title) | 
| Sets a message on the window title bar. | |
| Private Member Functions | |
| void | initMenubar () | 
| Initializes the menu bar. | |
| void | initToolbar () | 
| Creates and sets the tool bar. | |
| void | initStatusbar () | 
| Creates and sets the status bar. | |
| void | OnSave (wxCommandEvent &event) | 
| Save project button click event. | |
| void | OnSaveAs (wxCommandEvent &event) | 
| Save As project button click event. | |
| void | OnOpen (wxCommandEvent &event) | 
| Open project button click event. | |
| void | OnNew (wxCommandEvent &event) | 
| New project button click event. | |
| Private Attributes | |
| MainController * | nanoController | 
| Main controller. | |
The application main window. It contains a panel with all the other main controller views, a toolbar, and a custom status bar.
Definition at line 36 of file nanoFrame.hpp.
| 
 | 
| Constructor. 
 
 Definition at line 60 of file nanoFrame.cpp. | 
| 
 | 
| Destructor. 
 Definition at line 92 of file nanoFrame.cpp. | 
| 
 | 
| Shows an error message. 
 
 Definition at line 203 of file nanoFrame.cpp. Referenced by MainController::openFile(), and MainController::prepareSimulation(). | 
| 
 | 
| Initializes the menu bar. 
 Definition at line 98 of file nanoFrame.cpp. | 
| 
 | 
| Creates and sets the status bar. 
 Definition at line 141 of file nanoFrame.cpp. References setStatusMessage(). Here is the call graph for this function:  | 
| 
 | 
| Creates and sets the tool bar. 
 Definition at line 119 of file nanoFrame.cpp. References ID_BUTTON_NEW, ID_BUTTON_OPEN, ID_BUTTON_SAVE, and ID_BUTTON_SAVEAS. | 
| 
 | 
| New project button click event. 
 
 Definition at line 193 of file nanoFrame.cpp. References nanoController, and MainController::newFile(). Here is the call graph for this function:  | 
| 
 | 
| Open project button click event. 
 
 Definition at line 183 of file nanoFrame.cpp. References nanoController, and MainController::open(). Here is the call graph for this function:  | 
| 
 | 
| Save project button click event. 
 
 Definition at line 163 of file nanoFrame.cpp. References nanoController, and MainController::save(). Here is the call graph for this function:  | 
| 
 | 
| Save As project button click event. 
 
 Definition at line 173 of file nanoFrame.cpp. References nanoController, and MainController::saveAs(). Here is the call graph for this function:  | 
| 
 | 
| Sets a message on the status bar. 
 
 Definition at line 153 of file nanoFrame.cpp. Referenced by initStatusbar(), and MainController::setStatusMessage(). | 
| 
 | 
| Sets a message on the window title bar. 
 
 Definition at line 217 of file nanoFrame.cpp. Referenced by MainController::newFile(), and MainController::save(). | 
| 
 | 
| Main controller. 
 Definition at line 48 of file nanoFrame.hpp. Referenced by OnNew(), OnOpen(), OnSave(), and OnSaveAs(). | 
 1.4.6
 1.4.6