Changeset - bb5876e1e5d6
[Not reviewed]
snapshots
0 1 0
Hasan Yavuz Ă–ZDERYA - 10 years ago 2015-09-20 08:23:55
hy@ozderya.net
plot is autoscaled by default, fix snapshotview unzoom glitch
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
plot.cpp
Show inline comments
 
@@ -21,13 +21,13 @@
 
#include "plot.h"
 
Plot::Plot(QWidget* parent) :
 
    QwtPlot(parent),
 
    zoomer(this->canvas(), false),
 
    sZoomer(this, &zoomer)
 
{
 
    isAutoScaled = false;
 
    isAutoScaled = true;
 

	
 
    QObject::connect(&zoomer, &Zoomer::unzoomed, this, &Plot::unzoomed);
 

	
 
    zoomer.setZoomBase();
 
    grid.attach(this);
 

	
0 comments (0 inline, 0 general)