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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;
import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQPixmap;
import org.trinitydesktop.qt.TQPainter;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQResizeEvent;
/**
Widget for color value selection.
@author Martin Jones (mjones@kde.org)
@short Widget for color value selection.
@see KHSSelector
@see KColorDialog
*/
public class KValueSelector extends TDESelector {
protected KValueSelector(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
/**
Constructs a widget for color selection.
@short Constructs a widget for color selection.
*/
public KValueSelector(TQWidget parent, String name) {
super((Class) null);
newKValueSelector(parent,name);
}
private native void newKValueSelector(TQWidget parent, String name);
public KValueSelector(TQWidget parent) {
super((Class) null);
newKValueSelector(parent);
}
private native void newKValueSelector(TQWidget parent);
public KValueSelector() {
super((Class) null);
newKValueSelector();
}
private native void newKValueSelector();
/**
Constructs a widget for color selection with a given orientation
@short Constructs a widget for color selection with a given orientation
*/
public KValueSelector(int o, TQWidget parent, String name) {
super((Class) null);
newKValueSelector(o,parent,name);
}
private native void newKValueSelector(int o, TQWidget parent, String name);
public KValueSelector(int o, TQWidget parent) {
super((Class) null);
newKValueSelector(o,parent);
}
private native void newKValueSelector(int o, TQWidget parent);
public KValueSelector(int o) {
super((Class) null);
newKValueSelector(o);
}
private native void newKValueSelector(int o);
public native int hue();
public native void setHue(int h);
public native int saturation();
public native void setSaturation(int s);
public native void updateContents();
/**
Draws the contents of the widget on a pixmap,
which is used for buffering.
@short Draws the contents of the widget on a pixmap, which is used for buffering.
*/
protected native void drawPalette(TQPixmap pixmap);
protected native void resizeEvent(TQResizeEvent arg1);
/**
Reimplemented from TDESelector. The drawing is
buffered in a pixmap here. As real drawing
routine, drawPalette() is used.
@short Reimplemented from TDESelector.
*/
protected native void drawContents(TQPainter painter);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */
public native void dispose();
/** Has the wrapped C++ instance been deleted? */
public native boolean isDisposed();
}
|