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.
90 lines
2.9 KiB
90 lines
2.9 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 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();
|
|
}
|