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.
96 lines
3.3 KiB
96 lines
3.3 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.Qt;
|
|
import org.kde.qt.QColor;
|
|
import org.kde.qt.QMetaObject;
|
|
import org.kde.qt.QtSupport;
|
|
import org.kde.qt.QSize;
|
|
import org.kde.qt.QPainter;
|
|
import org.kde.qt.QWidget;
|
|
|
|
/**
|
|
|
|
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 QMetaObject 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(QWidget parent, String name) {
|
|
super((Class) null);
|
|
newKGradientSelector(parent,name);
|
|
}
|
|
private native void newKGradientSelector(QWidget parent, String name);
|
|
public KGradientSelector(QWidget parent) {
|
|
super((Class) null);
|
|
newKGradientSelector(parent);
|
|
}
|
|
private native void newKGradientSelector(QWidget 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, QWidget parent, String name) {
|
|
super((Class) null);
|
|
newKGradientSelector(o,parent,name);
|
|
}
|
|
private native void newKGradientSelector(int o, QWidget parent, String name);
|
|
public KGradientSelector(int o, QWidget parent) {
|
|
super((Class) null);
|
|
newKGradientSelector(o,parent);
|
|
}
|
|
private native void newKGradientSelector(int o, QWidget 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(QColor col1, QColor 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(QColor col);
|
|
public native void setSecondColor(QColor 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 QColor firstColor();
|
|
public native QColor secondColor();
|
|
public native String firstText();
|
|
public native String secondText();
|
|
protected native void drawContents(QPainter arg1);
|
|
public native QSize 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();
|
|
}
|