projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #615 by opening the output stream only if needed
[pulseview.git]
/
pv
/
view
/
view.hpp
diff --git
a/pv/view/view.hpp
b/pv/view/view.hpp
index b29fb157dce383eec55535fcd187ecf104eaa9b7..2c81e74782cbbac3d3948aec2c9ca963d90632ae 100644
(file)
--- a/
pv/view/view.hpp
+++ b/
pv/view/view.hpp
@@
-137,7
+137,7
@@
public:
void zoom(double steps);
void zoom(double steps, int offset);
void zoom(double steps);
void zoom(double steps, int offset);
- void zoom_fit();
+ void zoom_fit(
bool gui_state
);
void zoom_one_to_one();
void zoom_one_to_one();
@@
-209,6
+209,8
@@
Q_SIGNALS:
void sticky_scrolling_changed(bool state);
void sticky_scrolling_changed(bool state);
+ void always_zoom_to_fit_changed(bool state);
+
private:
void get_scroll_layout(double &length, double &offset) const;
private:
void get_scroll_layout(double &length, double &offset) const;
@@
-299,6
+301,7
@@
private:
bool updating_scroll_;
bool sticky_scrolling_;
bool updating_scroll_;
bool sticky_scrolling_;
+ bool always_zoom_to_fit_;
QTimer delayed_view_updater_;
double tick_period_;
QTimer delayed_view_updater_;
double tick_period_;