diff options
author | bd <bdunahu@operationnull.com> | 2025-04-21 15:56:38 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-21 15:56:38 -0400 |
commit | 40dfec9ae067d3f8e3868d259bfc4251aeca8724 (patch) | |
tree | 28316cbc00a8e89ead3225d80b9199381a996d86 /gui/gui.h | |
parent | 89763e6f696a96ad310f031c66960bcaaba3ffdb (diff) |
Add functionality to toggle button.
Diffstat (limited to 'gui/gui.h')
-rw-r--r-- | gui/gui.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -58,6 +58,7 @@ class GUI : public QMainWindow const QString &img = "idle.png"); signals: + void hex_toggled(bool is_hex); void sendRunSteps(int steps); void sendConfigure( std::vector<unsigned int> ways, vector<int> program, bool is_pipelined); @@ -92,6 +93,9 @@ class GUI : public QMainWindow void on_enable_pipeline_checkbox_checkStateChanged(const Qt::CheckState &arg1); + void + on_base_toggle_checkbox_checkStateChanged(const Qt::CheckState &state); + void on_step_btn_clicked(); void on_save_program_state_btn_clicked(); @@ -113,6 +117,11 @@ class GUI : public QMainWindow bool ready; /** + * Whether or not numerical values are currently displaying in hex. + */ + bool is_hex = true; + + /** * The message displayed on the status bar. */ QLabel *status_label; |