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.
60 lines
1.8 KiB
60 lines
1.8 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.QWidget;
|
|
import org.kde.qt.QResizeEvent;
|
|
import org.kde.qt.QComboBox;
|
|
|
|
/**
|
|
|
|
Combobox for colors.
|
|
See {@link KColorComboSignals} for signals emitted by KColorCombo
|
|
@short Combobox for colors.
|
|
|
|
*/
|
|
public class KColorCombo extends QComboBox {
|
|
protected KColorCombo(Class dummy){super((Class) null);}
|
|
public native QMetaObject metaObject();
|
|
public native String className();
|
|
/**
|
|
Constructs a color combo box.
|
|
@short Constructs a color combo box.
|
|
*/
|
|
public KColorCombo(QWidget parent, String name) {
|
|
super((Class) null);
|
|
newKColorCombo(parent,name);
|
|
}
|
|
private native void newKColorCombo(QWidget parent, String name);
|
|
public KColorCombo(QWidget parent) {
|
|
super((Class) null);
|
|
newKColorCombo(parent);
|
|
}
|
|
private native void newKColorCombo(QWidget parent);
|
|
/**
|
|
Selects the color <code>col.</code>
|
|
@short Selects the color <code>col.</code>
|
|
*/
|
|
public native void setColor(QColor col);
|
|
/**
|
|
Returns the currently selected color.
|
|
@short Returns the currently selected color.
|
|
*/
|
|
public native QColor color();
|
|
/**
|
|
Clear the color list and don't show it, till the next setColor() call
|
|
@short Clear the color list and don't show it, till the next setColor() call
|
|
*/
|
|
public native void showEmptyList();
|
|
protected native void resizeEvent(QResizeEvent re);
|
|
/** 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();
|
|
}
|