projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved context menu functionality into SelectableItem family
[pulseview.git]
/
pv
/
view
/
trace.h
diff --git
a/pv/view/trace.h
b/pv/view/trace.h
index 415a7dc28c70c4e273f2bcde3bd5d037306d10f2..631c8d9cb6a7435343ef806d2ed1eb6566cb7e02 100644
(file)
--- a/
pv/view/trace.h
+++ b/
pv/view/trace.h
@@
-131,6
+131,8
@@
public:
*/
bool pt_in_label_rect(int left, int right, const QPoint &point);
*/
bool pt_in_label_rect(int left, int right, const QPoint &point);
+ virtual QMenu* create_context_menu(QWidget *parent);
+
protected:
/**
* Gets the y-offset of the axis.
protected:
/**
* Gets the y-offset of the axis.
@@
-170,6
+172,11
@@
private:
*/
QRectF get_label_rect(int right);
*/
QRectF get_label_rect(int right);
+private slots:
+ void on_action_set_name_triggered();
+
+ void on_action_set_colour_triggered();
+
signals:
void text_changed();
signals:
void text_changed();