projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TraceGroup: Implemented stacking
[pulseview.git]
/
pv
/
view
/
tracegroup.h
diff --git
a/pv/view/tracegroup.h
b/pv/view/tracegroup.h
index 341a2a8835fac28ea57f7c04c47acd867c199e4c..be4cbf1bef706b0dca132f50419acb136b17334e 100644
(file)
--- a/
pv/view/tracegroup.h
+++ b/
pv/view/tracegroup.h
@@
-34,6
+34,8
@@
class TraceGroup : public RowItem, public RowItemOwner
private:
static const int Padding;
static const int Width;
private:
static const int Padding;
static const int Width;
+ static const int LineThickness;
+ static const QColor LineColour;
public:
/**
public:
/**
@@
-106,9
+108,19
@@
public:
/**
* Returns the total vertical offset of this trace and all it's owners
*/
/**
* Returns the total vertical offset of this trace and all it's owners
*/
- int owner_v_offset() const;
+ int owner_v
isual_v
_offset() const;
- void update_viewport();
+ void restack_items();
+
+ /**
+ * Returns the number of nested parents that this row item owner has.
+ */
+ unsigned int depth() const;
+
+public:
+ void appearance_changed(bool label, bool content);
+
+ void extents_changed(bool horz, bool vert);
private Q_SLOTS:
void on_ungroup();
private Q_SLOTS:
void on_ungroup();