![]() |
KoMo2
1.0.0
A modern ARM emulator GUI.
|
This class represents the visual aspects that make up the compile & load section of the KoMo2 GUI. This means that this describes layout and visual information, but contains little or no logical information or functionality. More...
#include <CompileLoadView.h>
Public Member Functions | |
| CompileLoadView (MainWindowView *const parent) | |
| Construct a new CompileLoadView. More... | |
| Gtk::Button *const | getCompileAndLoadButton () |
Gets the compileAndLoadButton member variable. More... | |
| Gtk::Button *const | getBrowseButton () |
Gets the browseButton member variable. More... | |
| Gtk::Label *const | getSelectedFileLabel () |
Gets the selectedFileLabel member variable. More... | |
| void | setSelectedFileLabelText (const std::string val) |
Sets the text displayed by the selectedFileLabel member variable. More... | |
| void | setModel (CompileLoadModel *const val) |
| Set the model pointer. More... | |
Private Member Functions | |
| void | initSelectAndLoadContainer () |
Packs children into the compileLoadView, and sets its layout and size. | |
| void | initBrowseButton () |
| Sets up the initial information about the browse file button. | |
| void | initCompileAndLoadButton () |
| Sets up the initial information about the compile & load button. | |
| void | initSelectedFileLabel () |
| Sets up the initial information about the selected file label. | |
| CompileLoadView (const CompileLoadView &)=delete | |
| CompileLoadView (const CompileLoadView &&)=delete | |
| CompileLoadView & | operator= (const CompileLoadView &)=delete |
| CompileLoadView & | operator= (const CompileLoadView &&)=delete |
Private Attributes | |
| MainWindowView *const | parent |
| A pointer to the parent view. | |
| CompileLoadModel * | model |
| A pointer to the related model. | |
| Gtk::Label | selectedFileLabel |
| A label which displays whatever file has been selected by the browse button, to be compiled & loaded. | |
| Gtk::Button | compileAndLoadButton |
| A button which, when clicked, will read a .s file, compile it to .kmd, and the load it into Jimulator. | |
| Gtk::Button | browseButton |
| A button which allows you to browse the file system for .s files. | |
This class represents the visual aspects that make up the compile & load section of the KoMo2 GUI. This means that this describes layout and visual information, but contains little or no logical information or functionality.
Definition at line 22 of file CompileLoadView.h.
| CompileLoadView::CompileLoadView | ( | MainWindowView *const | parent | ) |
Construct a new CompileLoadView.
| parent | A pointer to the parent. |
Definition at line 16 of file CompileLoadView.cpp.
| Gtk::Button *const CompileLoadView::getBrowseButton | ( | ) |
Gets the browseButton member variable.
browseButton member variable. Definition at line 87 of file CompileLoadView.cpp.
| Gtk::Button *const CompileLoadView::getCompileAndLoadButton | ( | ) |
Gets the compileAndLoadButton member variable.
compileAndLoadButton member variable. Definition at line 80 of file CompileLoadView.cpp.
| Gtk::Label *const CompileLoadView::getSelectedFileLabel | ( | ) |
Gets the selectedFileLabel member variable.
selectedFileLabel member variable. Definition at line 94 of file CompileLoadView.cpp.
| void CompileLoadView::setModel | ( | CompileLoadModel *const | val | ) |
Set the model pointer.
| val | The value to set the pointer to. |
Definition at line 109 of file CompileLoadView.cpp.
| void CompileLoadView::setSelectedFileLabelText | ( | const std::string | val | ) |
Sets the text displayed by the selectedFileLabel member variable.
| val | The text to display in the selectedFileLabel. |
Definition at line 101 of file CompileLoadView.cpp.
1.8.11