You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
3.4 KiB
Java
96 lines
3.4 KiB
Java
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.Qt;
|
|
import org.kde.qt.TQColor;
|
|
import org.kde.qt.TQMetaObject;
|
|
import org.kde.qt.QtSupport;
|
|
import org.kde.qt.TQSize;
|
|
import org.kde.qt.TQPainter;
|
|
import org.kde.qt.TQWidget;
|
|
|
|
/**
|
|
|
|
The KGradientSelector widget allows the user to choose
|
|
from a one-dimensional range of colors which is given as a
|
|
gradient between two colors provided by the programmer.
|
|
\image html kgradientselector.png "KDE Gradient Selector Widget"
|
|
@short The KGradientSelector widget allows the user to choose from a one-dimensional range of colors which is given as a gradient between two colors provided by the programmer.
|
|
|
|
*/
|
|
public class KGradientSelector extends KSelector {
|
|
protected KGradientSelector(Class dummy){super((Class) null);}
|
|
public native TQMetaObject metaObject();
|
|
public native String className();
|
|
/**
|
|
Constructs a horizontal color selector which
|
|
contains a gradient between white and black.
|
|
@short Constructs a horizontal color selector which contains a gradient between white and black.
|
|
*/
|
|
public KGradientSelector(TQWidget parent, String name) {
|
|
super((Class) null);
|
|
newKGradientSelector(parent,name);
|
|
}
|
|
private native void newKGradientSelector(TQWidget parent, String name);
|
|
public KGradientSelector(TQWidget parent) {
|
|
super((Class) null);
|
|
newKGradientSelector(parent);
|
|
}
|
|
private native void newKGradientSelector(TQWidget parent);
|
|
public KGradientSelector() {
|
|
super((Class) null);
|
|
newKGradientSelector();
|
|
}
|
|
private native void newKGradientSelector();
|
|
/**
|
|
Constructs a colors selector with orientation o which
|
|
contains a gradient between white and black.
|
|
@short Constructs a colors selector with orientation o which contains a gradient between white and black.
|
|
*/
|
|
public KGradientSelector(int o, TQWidget parent, String name) {
|
|
super((Class) null);
|
|
newKGradientSelector(o,parent,name);
|
|
}
|
|
private native void newKGradientSelector(int o, TQWidget parent, String name);
|
|
public KGradientSelector(int o, TQWidget parent) {
|
|
super((Class) null);
|
|
newKGradientSelector(o,parent);
|
|
}
|
|
private native void newKGradientSelector(int o, TQWidget parent);
|
|
public KGradientSelector(int o) {
|
|
super((Class) null);
|
|
newKGradientSelector(o);
|
|
}
|
|
private native void newKGradientSelector(int o);
|
|
/**
|
|
Sets the two colors which span the gradient.
|
|
@short Sets the two colors which span the gradient.
|
|
*/
|
|
public native void setColors(TQColor col1, TQColor col2);
|
|
public native void setText(String t1, String t2);
|
|
/**
|
|
Set each color on its own.
|
|
@short Set each color on its own.
|
|
*/
|
|
public native void setFirstColor(TQColor col);
|
|
public native void setSecondColor(TQColor col);
|
|
/**
|
|
Set each description on its own
|
|
@short Set each description on its own
|
|
*/
|
|
public native void setFirstText(String t);
|
|
public native void setSecondText(String t);
|
|
public native TQColor firstColor();
|
|
public native TQColor secondColor();
|
|
public native String firstText();
|
|
public native String secondText();
|
|
protected native void drawContents(TQPainter arg1);
|
|
public native TQSize minimumSize();
|
|
/** 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();
|
|
}
|