X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdialogs%2Fdeviceoptions.h;h=059d336e78e246328c933ad8f0e762fe592fe155;hp=2e1b7bfb23c9c3999873c00995461266b49ade2c;hb=ed773982d53396e94266288a8fcd87846706f1e4;hpb=0740907f0a3a0908ae71908d8278ef81c7066dcb diff --git a/pv/dialogs/deviceoptions.h b/pv/dialogs/deviceoptions.h index 2e1b7bfb..059d336e 100644 --- a/pv/dialogs/deviceoptions.h +++ b/pv/dialogs/deviceoptions.h @@ -25,6 +25,8 @@ #include #include #include +#include +#include #include #include @@ -34,6 +36,8 @@ namespace dialogs { class DeviceOptions : public QDialog { + Q_OBJECT + public: DeviceOptions(QWidget *parent, struct sr_dev_inst *sdi); @@ -43,6 +47,12 @@ protected: private: void setup_probes(); + void set_all_probes(bool set); + +private slots: + void enable_all_probes(); + void disable_all_probes(); + private: struct sr_dev_inst *const _sdi; @@ -51,6 +61,9 @@ private: QGroupBox _probes_box; QVBoxLayout _probes_box_layout; QListWidget _probes; + QToolBar _probes_bar; + QToolButton _enable_all_probes; + QToolButton _disable_all_probes; QGroupBox _props_box; QVBoxLayout _props_box_layout;