File: README

package info (click to toggle)
libqwt 4.2.0-4.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 9,832 kB
  • ctags: 5,512
  • sloc: cpp: 22,973; ansic: 244; makefile: 66
file content (27 lines) | stat: -rw-r--r-- 870 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
QwtPlot is a composite widget consisting of a title label,
the canvas, the scales and a legend. Although all components 
should be exchangable some day, the current design isnt ready for it.

In this situation event filtering is the mechanism to extend the behaviour
of the plot components. event_filter shows 3 examples how to use it:

1) CanvasPicker

The CanvasPicker implements a solution, how to move points on the canvas
with mouse and keyboard. 

2) ScalePicker

The ScalePicker translates the position of mouse clicks on the scales
and emits them as signals.

3) Plot: ColorBar, QSlider

The Plot class shows how to add widgets to the scales. In this example
there is no filter class. The derived plot widget filters its components.


Please note that CanvasPicker and ScalePicker are standalone classes
that could be connected with your QwtPlot as well. 

Uwe