projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use typesafe enum classes in pv::util
[pulseview.git]
/
pv
/
view
/
view.hpp
diff --git
a/pv/view/view.hpp
b/pv/view/view.hpp
index 12527b656d80943f2abb8d69039d33729d45adc0..ed1c92633da5348384e6f4081f185448986656df 100644
(file)
--- a/
pv/view/view.hpp
+++ b/
pv/view/view.hpp
@@
-123,7
+123,7
@@
public:
/**
* Returns the SI prefix to apply to the graticule time markings.
*/
/**
* Returns the SI prefix to apply to the graticule time markings.
*/
-
unsigned int
tick_prefix() const;
+
pv::util::SIPrefix
tick_prefix() const;
/**
* Returns the number of fractional digits shown for the time markings.
/**
* Returns the number of fractional digits shown for the time markings.
@@
-319,7
+319,7
@@
private:
QTimer delayed_view_updater_;
double tick_period_;
QTimer delayed_view_updater_;
double tick_period_;
-
unsigned int
tick_prefix_;
+
pv::util::SIPrefix
tick_prefix_;
unsigned int tick_precision_;
util::TimeUnit time_unit_;
unsigned int tick_precision_;
util::TimeUnit time_unit_;