blob: 0c8c84693cb9d1977aea3afacbe5be56b03dc298 (
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.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QPixmap;
import org.kde.qt.QPainter;
import org.kde.qt.QWidget;
import org.kde.qt.QResizeEvent;
/**
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 QMetaObject metaObject();
public native String className();
/**
Constructs a hue/saturation selection widget.
@short Constructs a hue/saturation selection widget.
*/
public KHSSelector(QWidget parent, String name) {
super((Class) null);
newKHSSelector(parent,name);
}
private native void newKHSSelector(QWidget parent, String name);
public KHSSelector(QWidget parent) {
super((Class) null);
newKHSSelector(parent);
}
private native void newKHSSelector(QWidget 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(QPixmap pixmap);
protected native void resizeEvent(QResizeEvent 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(QPainter 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();
}
|