X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fdecodergroupbox.h;h=63885e3429525b060e1f794765c214c71f54ac06;hp=7b6bc93bdd46b41836490fe58065d89ac4bbdce5;hb=dd048a7ec035447c051c7937ce04aca5be065b4e;hpb=2f640555f07b8728e3c8e731abd44ecae30e6234 diff --git a/pv/widgets/decodergroupbox.h b/pv/widgets/decodergroupbox.h index 7b6bc93b..63885e34 100644 --- a/pv/widgets/decodergroupbox.h +++ b/pv/widgets/decodergroupbox.h @@ -21,7 +21,7 @@ #ifndef PULSEVIEW_PV_WIDGETS_DECODERGROUPBox_H #define PULSEVIEW_PV_WIDGETS_DECODERGROUPBOX_H -#include +#include class QGridLayout; class QToolBar; @@ -38,11 +38,16 @@ public: void add_layout(QLayout *layout); + void set_decoder_visible(bool visible); + signals: void delete_decoder(); + void show_hide_decoder(); + private: QGridLayout *const _layout; + QPushButton _show_hide_button; }; } // widgets