• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

READMEH A D11-Feb-2021984 2619

incrementalplot.cppH A D11-Feb-20212.5 KiB12094

incrementalplot.hH A D11-Feb-2021802 4733

mainwindow.cppH A D11-Feb-20216.4 KiB231192

mainwindow.hH A D11-Feb-2021695 4536

randomplot.cppH A D11-Feb-20212.6 KiB12592

randomplot.hH A D11-Feb-2021499 3624

realtime.cppH A D11-Feb-2021232 1612

realtime_plot.proH A D11-Feb-2021662 2923

scrollbar.cppH A D11-Feb-20214 KiB185151

scrollbar.hH A D11-Feb-20211.1 KiB5439

scrollzoomer.cppH A D11-Feb-202112.6 KiB519440

scrollzoomer.hH A D11-Feb-20211.8 KiB7857

README

11) Incremental plots
2
3IncrementalPlot shows an example how to implement a plot that
4displays growing data.
5
6The example produces random data when you push the start button.
7With 'Timer' you can adjust the intervall between the
8the generation of the points, with 'Points' you can set the number
9of points to be generated.
10
11Unfortunately in Qt4 incremental painting is not possible with QPaintEngines
12that doesn't support the QPaintEngine::PaintOutsidePaintEvent feature.
13( These are all common paint engines beside the OpenGL engine, but this one
14is not supported by Qwt yet. )
15That is the reason why you can see much faster repaints with Qt3.
16
172) Stacked Zooming with scrollbars
18
19ScrollZoomer adds scrollbars for zooming. There are a couple of
20reasons why the implementation is a hack and therefore the class
21is not part of the Qwt lib, but it should be working with all
22types of QwtPlots. Copy the code of scrollbar.[h|cpp] and
23scrollzoomer.[h|cpp] to the application code.
24
25Uwe
26