X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fwidgets%2Fdecodergroupbox.h;h=2302a979c5b69d7cf7ff22a735f654ee552581fb;hb=65a53225414471cb2701db2429aa3ab9e74e5b21;hp=7b6bc93bdd46b41836490fe58065d89ac4bbdce5;hpb=204bae4548c295cae1d88fc4eae027a17e5a58a7;p=pulseview.git diff --git a/pv/widgets/decodergroupbox.h b/pv/widgets/decodergroupbox.h index 7b6bc93..2302a97 100644 --- a/pv/widgets/decodergroupbox.h +++ b/pv/widgets/decodergroupbox.h @@ -18,10 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef PULSEVIEW_PV_WIDGETS_DECODERGROUPBox_H +#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