You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
2.1 KiB
70 lines
2.1 KiB
//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();
|
|
}
|