uint64_t start, uint64_t end, float min_length) const;
private:
- void reallocate_envelope(Envelope &l);
+ void reallocate_envelope(Envelope &e);
void append_payload_to_envelope_levels();
class Decoder
{
public:
- Decoder(const srd_decoder *const decoder);
+ Decoder(const srd_decoder *const dec);
virtual ~Decoder();
static const unsigned int DecodeNotifyPeriod;
public:
- DecoderStack(pv::Session &session_,
- const srd_decoder *const decoder);
+ DecoderStack(pv::Session &session, const srd_decoder *const dec);
virtual ~DecoderStack();
Q_OBJECT
public:
- Channels(Session &session_, QWidget *parent);
+ Channels(Session &session, QWidget *parent);
private:
void set_all_channels(bool set);
* @return The formatted value.
*/
QString format_time_si(
- const Timestamp& t,
+ const Timestamp& v,
SIPrefix prefix = SIPrefix::unspecified,
unsigned precision = 0,
QString unit = "s",
size_t base_colour, int row_title_width);
void draw_annotation(const pv::data::decode::Annotation &a, QPainter &p,
- int text_height, const ViewItemPaintParams &pp, int y,
+ int h, const ViewItemPaintParams &pp, int y,
size_t base_colour, int row_title_width) const;
- void draw_annotation_block(std::vector<pv::data::decode::Annotation> a,
+ void draw_annotation_block(std::vector<pv::data::decode::Annotation> annotations,
QPainter &p, int h, int y, size_t base_colour) const;
void draw_instant(const pv::data::decode::Annotation &a, QPainter &p,
const std::vector<int32_t> get_trigger_types() const;
QAction* action_from_trigger_type(
- const sigrok::TriggerMatchType *match);
+ const sigrok::TriggerMatchType *type);
const sigrok::TriggerMatchType* trigger_type_from_action(
QAction *action);
void populate_popup_form(QWidget *parent, QFormLayout *form);
* Handles touch begin update and end events.
* @param e the event that triggered this handler.
*/
- bool touch_event(QTouchEvent *e);
+ bool touch_event(QTouchEvent *event);
private:
void paintEvent(QPaintEvent *event);
void mouseDoubleClickEvent(QMouseEvent * event);
- void wheelEvent(QWheelEvent *event);
+ void wheelEvent(QWheelEvent *e);
private:
boost::optional<pv::util::Timestamp> drag_offset_;
void mousePressEvent(QMouseEvent * event);
void mouseReleaseEvent(QMouseEvent *event);
- void mouseMoveEvent(QMouseEvent *event);
+ void mouseMoveEvent(QMouseEvent *e);
void leaveEvent(QEvent *event);
Q_OBJECT
public:
- ColourPopup(int rows, int cols, QWidget *partent);
+ ColourPopup(int rows, int cols, QWidget *parent);
WellArray& well_array();