aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/peripheralsview.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-14 11:08:28 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-14 11:08:28 +0100
commitf71d28a3107bf14ad3fa22109a34c746911b3f61 (patch)
tree4ab337b92db01f69cb6e264f5ff8180347968af3 /qtmips_gui/peripheralsview.h
parent7341a3329994bf655f2490c4e9758929bd95c23f (diff)
downloadqtmips-f71d28a3107bf14ad3fa22109a34c746911b3f61.tar.gz
qtmips-f71d28a3107bf14ad3fa22109a34c746911b3f61.tar.bz2
qtmips-f71d28a3107bf14ad3fa22109a34c746911b3f61.zip
Implemented graphic representation and update of line and RGB LEDs.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/peripheralsview.h')
-rw-r--r--qtmips_gui/peripheralsview.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/qtmips_gui/peripheralsview.h b/qtmips_gui/peripheralsview.h
index 8aaf9b9..30e85f1 100644
--- a/qtmips_gui/peripheralsview.h
+++ b/qtmips_gui/peripheralsview.h
@@ -19,6 +19,11 @@ public:
void setup(const machine::PeripSpiLed *perip_spi_led);
+public slots:
+ void led_line_changed(uint val);
+ void led_rgb1_changed(int val);
+ void led_rgb2_changed(int val);
+
private:
Ui::PeripheralsView *ui;
};