projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #599 by supplying correct length to create_logic_packet()
[pulseview.git]
/
pv
/
view
/
tracegroup.hpp
diff --git
a/pv/view/tracegroup.hpp
b/pv/view/tracegroup.hpp
index 960a15d9a23105bd314ae090bee1bc680792c816..5310313ad0f51b4f30755de54b7d80e7ee3b48cd 100644
(file)
--- a/
pv/view/tracegroup.hpp
+++ b/
pv/view/tracegroup.hpp
@@
-18,8
+18,8
@@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PULSEVIEW_PV_VIEW_TRACEGROUP_H
-#define PULSEVIEW_PV_VIEW_TRACEGROUP_H
+#ifndef PULSEVIEW_PV_VIEW_TRACEGROUP_H
PP
+#define PULSEVIEW_PV_VIEW_TRACEGROUP_H
PP
#include "rowitem.hpp"
#include "rowitemowner.hpp"
#include "rowitem.hpp"
#include "rowitemowner.hpp"
@@
-51,12
+51,12
@@
public:
/**
* Returns the session of the onwer.
*/
/**
* Returns the session of the onwer.
*/
- pv::S
igS
ession& session();
+ pv::Session& session();
/**
* Returns the session of the onwer.
*/
/**
* Returns the session of the onwer.
*/
- const pv::S
igS
ession& session() const;
+ const pv::Session& session() const;
/**
* Returns the view of the owner.
/**
* Returns the view of the owner.
@@
-81,15
+81,14
@@
public:
* area.
* @param hover true if the label is being hovered over by the mouse.
*/
* area.
* @param hover true if the label is being hovered over by the mouse.
*/
- void paint_label(QPainter &p,
int righ
t, bool hover);
+ void paint_label(QPainter &p,
const QRect &rec
t, bool hover);
/**
* Computes the outline rectangle of a label.
/**
* Computes the outline rectangle of a label.
- * @param right the x-coordinate of the right edge of the header
- * area.
+ * @param rect the rectangle of the header area.
* @return Returns the rectangle of the signal label.
*/
* @return Returns the rectangle of the signal label.
*/
- QRectF label_rect(
int righ
t) const;
+ QRectF label_rect(
const QRectF &rec
t) const;
/**
* Determines if a point is in the header label rect.
/**
* Determines if a point is in the header label rect.
@@
-120,7
+119,7
@@
public:
void ungroup();
public:
void ungroup();
public:
- void appearance_changed(bool label, bool content);
+ void
row_item_
appearance_changed(bool label, bool content);
void extents_changed(bool horz, bool vert);
void extents_changed(bool horz, bool vert);
@@
-131,4
+130,4
@@
private Q_SLOTS:
} // view
} // pv
} // view
} // pv
-#endif // PULSEVIEW_PV_VIEW_TRACEGROUP_H
+#endif // PULSEVIEW_PV_VIEW_TRACEGROUP_H
PP