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.2 KiB
70 lines
2.2 KiB
//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 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();
|
|
}
|