projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RowItemPaintParams: Renamed to ViewItemPaintParams
[pulseview.git]
/
pv
/
view
/
rowitem.hpp
diff --git
a/pv/view/rowitem.hpp
b/pv/view/rowitem.hpp
index aca4fa83ecbb24bc4f372f25311e643b9a14c13c..6688bc5c90602a7dfd48d15a17acc873a233882e 100644
(file)
--- a/
pv/view/rowitem.hpp
+++ b/
pv/view/rowitem.hpp
@@
-25,15
+25,15
@@
#include <QPropertyAnimation>
#include <QPropertyAnimation>
-#include "
ro
witempaintparams.hpp"
-#include "
selectable
item.hpp"
+#include "
vie
witempaintparams.hpp"
+#include "
view
item.hpp"
namespace pv {
namespace view {
class RowItemOwner;
namespace pv {
namespace view {
class RowItemOwner;
-class RowItem : public
Selectable
Item,
+class RowItem : public
View
Item,
public std::enable_shared_from_this<pv::view::RowItem>
{
Q_OBJECT
public std::enable_shared_from_this<pv::view::RowItem>
{
Q_OBJECT
@@
-110,21
+110,21
@@
public:
* @param p the QPainter to paint into.
* @param pp the painting parameters object to paint with.
**/
* @param p the QPainter to paint into.
* @param pp the painting parameters object to paint with.
**/
- virtual void paint_back(QPainter &p, const
Ro
wItemPaintParams &pp);
+ virtual void paint_back(QPainter &p, const
Vie
wItemPaintParams &pp);
/**
* Paints the mid-layer of the trace with a QPainter
* @param p the QPainter to paint into.
* @param pp the painting parameters object to paint with.
**/
/**
* Paints the mid-layer of the trace with a QPainter
* @param p the QPainter to paint into.
* @param pp the painting parameters object to paint with.
**/
- virtual void paint_mid(QPainter &p, const
Ro
wItemPaintParams &pp);
+ virtual void paint_mid(QPainter &p, const
Vie
wItemPaintParams &pp);
/**
* Paints the foreground layer of the trace with a QPainter
* @param p the QPainter to paint into.
* @param pp the painting parameters object to paint with.
**/
/**
* Paints the foreground layer of the trace with a QPainter
* @param p the QPainter to paint into.
* @param pp the painting parameters object to paint with.
**/
- virtual void paint_fore(QPainter &p, const
Ro
wItemPaintParams &pp);
+ virtual void paint_fore(QPainter &p, const
Vie
wItemPaintParams &pp);
/**
* Paints the signal label.
/**
* Paints the signal label.
@@
-134,13
+134,6
@@
public:
*/
virtual void paint_label(QPainter &p, const QRect &rect, bool hover) = 0;
*/
virtual void paint_label(QPainter &p, const QRect &rect, bool hover) = 0;
- /**
- * Computes the outline rectangle of a label.
- * @param rect the rectangle of the header area.
- * @return Returns the rectangle of the signal label.
- */
- virtual QRectF label_rect(const QRectF &rect) const = 0;
-
public:
virtual void hover_point_changed();
public:
virtual void hover_point_changed();