blob: 5632dfb8141afad469afd5eee0058560ae14e765 (
plain)
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
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQPixmap;
import org.kde.qt.TQPainter;
import org.kde.qt.TQWidget;
import org.kde.qt.TQResizeEvent;
/**
Widget for Hue/Saturation colour selection.
The actual values can be fetched using the inherited xValue and yValue
methods.
\image html khsselector.png "KDE Hue/Saturation Selection Widget"
@author Martin Jones (mjones@kde.org)
@short Widget for Hue/Saturation colour selection.
@see KXYSelector
@see KValueSelector
@see KColorDialog
*/
public class KHSSelector extends KXYSelector {
protected KHSSelector(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
/**
Constructs a hue/saturation selection widget.
@short Constructs a hue/saturation selection widget.
*/
public KHSSelector(TQWidget parent, String name) {
super((Class) null);
newKHSSelector(parent,name);
}
private native void newKHSSelector(TQWidget parent, String name);
public KHSSelector(TQWidget parent) {
super((Class) null);
newKHSSelector(parent);
}
private native void newKHSSelector(TQWidget parent);
public KHSSelector() {
super((Class) null);
newKHSSelector();
}
private native void newKHSSelector();
/**
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 KXYSelector. This drawing is
buffered in a pixmap here. As real drawing
routine, drawPalette() is used.
@short Reimplemented from KXYSelector.
*/
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();
}
|