#ifndef PULSEVIEW_PV_VIEWS_DECODEROUTPUT_VIEW_HPP
#define PULSEVIEW_PV_VIEWS_DECODEROUTPUT_VIEW_HPP
+#include <QComboBox>
+
#include <pv/views/viewbase.hpp>
namespace pv {
Q_OBJECT
public:
- explicit View(Session &session, bool is_main_view=false, QWidget *parent = nullptr);
+ explicit View(Session &session, bool is_main_view=false, QMainWindow *parent = nullptr);
~View();
+ virtual ViewType get_type() const;
+
/**
* Resets the view to its default state after construction. It does however
* not reset the signal bases or any other connections with the session.
virtual void restore_settings(QSettings &settings);
private Q_SLOTS:
- void on_signal_name_changed();
+ void on_signal_name_changed(const QString &name);
+private:
+ QComboBox *signal_selector_;
};
} // namespace decoder_output