18 selectedFileLabel(
"File: "),
19 compileAndLoadButton(
"Compile & Load"),
20 browseButton(
"Select File") {
32 set_layout(Gtk::BUTTONBOX_END);
45 "Browse for an ARM assembly file (CTRL+L)");
48 "Open a file browser window.");
58 "Compile and load your file into Jimulator (CTRL+R)");
61 "Compiles and loads the selected file into Jimulator.");
CompileLoadModel * model
A pointer to the related model.
Gtk::Button compileAndLoadButton
A button which, when clicked, will read a .s file, compile it to .kmd, and the load it into Jimulator...
CompileLoadView(MainWindowView *const parent)
Construct a new CompileLoadView.
A file containing the declaration of the class CompileLoadView.
void setModel(CompileLoadModel *const val)
Set the model pointer.
void initSelectedFileLabel()
Sets up the initial information about the selected file label.
The class definition of the main window of the program. This main window is the mater view of the pro...
the class definition of the compileLoadModel class, a data model which encapsulates any statefullness...
Gtk::Button browseButton
A button which allows you to browse the file system for .s files.
void initCompileAndLoadButton()
Sets up the initial information about the compile & load button.
Gtk::Label selectedFileLabel
A label which displays whatever file has been selected by the browse button, to be compiled & loaded...
Gtk::Button *const getCompileAndLoadButton()
Gets the compileAndLoadButton member variable.
Gtk::Button *const getBrowseButton()
Gets the browseButton member variable.
void initBrowseButton()
Sets up the initial information about the browse file button.
Gtk::Label *const getSelectedFileLabel()
Gets the selectedFileLabel member variable.
void setSelectedFileLabelText(const std::string val)
Sets the text displayed by the selectedFileLabel member variable.
void initSelectAndLoadContainer()
Packs children into the compileLoadView, and sets its layout and size.