this, SLOT(on_new_decode_data()));
}
-void DecodeSignal::init_context_bar_actions(QWidget *parent)
-{
- (void)parent;
-}
-
bool DecodeSignal::enabled() const
{
return true;
vector< shared_ptr<Annotation> > annotations(_decoder->annotations());
BOOST_FOREACH(shared_ptr<Annotation> a, annotations) {
assert(a);
- a->paint(p, _colour, _colour.darker(), get_text_colour(),
- _text_size.height(), left, right, samples_per_pixel,
- pixels_offset, y);
+ a->paint(p, get_text_colour(), _text_size.height(),
+ left, right, samples_per_pixel, pixels_offset, y);
}
}
-const list<QAction*> DecodeSignal::get_context_bar_actions()
-{
- list<QAction*> actions;
- return actions;
-}
-
QMenu* DecodeSignal::create_context_menu(QWidget *parent)
{
QMenu *const menu = Trace::create_context_menu(parent);