projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added show/hide decoder button
[pulseview.git]
/
pv
/
widgets
/
decodergroupbox.h
diff --git
a/pv/widgets/decodergroupbox.h
b/pv/widgets/decodergroupbox.h
index 7b6bc93bdd46b41836490fe58065d89ac4bbdce5..63885e3429525b060e1f794765c214c71f54ac06 100644
(file)
--- 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
#ifndef PULSEVIEW_PV_WIDGETS_DECODERGROUPBox_H
#define PULSEVIEW_PV_WIDGETS_DECODERGROUPBOX_H
-#include <Q
Widget
>
+#include <Q
PushButton
>
class QGridLayout;
class QToolBar;
class QGridLayout;
class QToolBar;
@@
-38,11
+38,16
@@
public:
void add_layout(QLayout *layout);
void add_layout(QLayout *layout);
+ void set_decoder_visible(bool visible);
+
signals:
void delete_decoder();
signals:
void delete_decoder();
+ void show_hide_decoder();
+
private:
QGridLayout *const _layout;
private:
QGridLayout *const _layout;
+ QPushButton _show_hide_button;
};
} // widgets
};
} // widgets