{
Q_OBJECT
-private:
+public:
static const float Oversampling;
static const QColor EdgeColour;
static const int TriggerMarkerPadding;
static const char* TriggerMarkerIcons[8];
-public:
LogicSignal(pv::Session &session,
shared_ptr<devices::Device> device,
shared_ptr<data::SignalBase> base);
* @param p the QPainter to paint into.
* @param pp the painting parameters object to paint with..
*/
- void paint_mid(QPainter &p, const ViewItemPaintParams &pp);
+ void paint_mid(QPainter &p, ViewItemPaintParams &pp);
/**
* Paints the foreground layer of the signal with a QPainter
* @param p the QPainter to paint into.
* @param pp the painting parameters object to paint with.
*/
- virtual void paint_fore(QPainter &p, const ViewItemPaintParams &pp);
+ virtual void paint_fore(QPainter &p, ViewItemPaintParams &pp);
private:
void paint_caps(QPainter &p, QLineF *const lines,
void init_trigger_actions(QWidget *parent);
const vector<int32_t> get_trigger_types() const;
- QAction* action_from_trigger_type(
- const sigrok::TriggerMatchType *type);
+ QAction* action_from_trigger_type(const sigrok::TriggerMatchType *type);
const sigrok::TriggerMatchType* trigger_type_from_action(
QAction *action);
void populate_popup_form(QWidget *parent, QFormLayout *form);