class Ruler;
class Trace;
class Viewport;
+class TriggerMarker;
class View : public QAbstractScrollArea, public TraceTreeItemOwner {
Q_OBJECT
*/
void enable_sticky_scrolling(bool state);
+ /**
+ * Enables or disables coloured trace backgrounds. If they're not
+ * coloured then they will use alternating colors.
+ */
+ void enable_coloured_bg(bool state);
+
/**
* Returns true if cursors are displayed. false otherwise.
*/
void update_layout();
/**
- * Satisifies TraceTreeItem functionality.
+ * Satisfies TraceTreeItem functionality.
* @param p the QPainter to paint into.
* @param rect the rectangle of the header area.
* @param hover true if the label is being hovered over by the mouse.
bool eventFilter(QObject *object, QEvent *event);
- bool viewportEvent(QEvent *e);
+ bool viewportEvent(QEvent *event);
- void resizeEvent(QResizeEvent *e);
+ void resizeEvent(QResizeEvent *event);
public:
void row_item_appearance_changed(bool label, bool content);
std::list< std::shared_ptr<Flag> > flags_;
char next_flag_text_;
+ std::vector< std::shared_ptr<TriggerMarker> > trigger_markers_;
+
QPoint hover_point_;
unsigned int sticky_events_;