projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pv::prop::Double: Do not create a widget if the initial value could not be retrieved
[pulseview.git]
/
pv
/
view
/
ruler.cpp
diff --git
a/pv/view/ruler.cpp
b/pv/view/ruler.cpp
index 8d7569e35b427769c191b76d0b50c009116ea156..aec3de979cf5171062df6777e78a42aaf4c74b03 100644
(file)
--- a/
pv/view/ruler.cpp
+++ b/
pv/view/ruler.cpp
@@
-37,8
+37,8
@@
#include <pv/widgets/popup.h>
#include <pv/widgets/popup.h>
-using namespace
boos
t;
-using
namespace std
;
+using namespace
Q
t;
+using
boost::shared_ptr
;
namespace pv {
namespace view {
namespace pv {
namespace view {
@@
-92,7
+92,6
@@
QSize Ruler::sizeHint() const
void Ruler::paintEvent(QPaintEvent*)
{
void Ruler::paintEvent(QPaintEvent*)
{
- using namespace Qt;
const double SpacingIncrement = 32.0f;
const double MinValueSpacing = 32.0f;
const double SpacingIncrement = 32.0f;
const double MinValueSpacing = 32.0f;