projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CursorPair: Derived from TimeItem
[pulseview.git]
/
pv
/
view
/
rowitempaintparams.hpp
diff --git
a/pv/view/rowitempaintparams.hpp
b/pv/view/rowitempaintparams.hpp
index 5c71edcbbcb10783f7cd06ed1e50758af9f05e3c..ec66076b8860476644fabf6733b3ee2258d1cef1 100644
(file)
--- a/
pv/view/rowitempaintparams.hpp
+++ b/
pv/view/rowitempaintparams.hpp
@@
-21,6
+21,8
@@
#ifndef PULSEVIEW_PV_VIEW_ROWITEMPAINTPARAMS_H
#define PULSEVIEW_PV_VIEW_ROWITEMPAINTPARAMS_H
#ifndef PULSEVIEW_PV_VIEW_ROWITEMPAINTPARAMS_H
#define PULSEVIEW_PV_VIEW_ROWITEMPAINTPARAMS_H
+#include <QFont>
+
namespace pv {
namespace view {
namespace pv {
namespace view {
@@
-53,6
+55,11
@@
public:
return offset_ / scale_;
}
return offset_ / scale_;
}
+public:
+ static QFont font();
+
+ static int text_height();
+
private:
int left_;
int right_;
private:
int left_;
int right_;