blob: 5315c0a780dca3c543353a4f73a2e0ef5769e2d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import org.kde.qt.*;
public class LCDRange extends TQVBox {
public LCDRange(TQWidget parent, String name) {
super(parent, name);
TQLCDNumber lcd = new TQLCDNumber(2, this, "lcd");
TQSlider slider = new TQSlider(Horizontal, this, "slider");
slider.setRange(0, 99);
slider.setValue(0);
connect(slider, SIGNAL("valueChanged(int)"), lcd, SLOT("display(int)"));
}
public LCDRange(TQWidget parent) {
this(parent, null);
}
}
|