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.
45 lines
1.5 KiB
45 lines
1.5 KiB
//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.TQDragEnterEvent;
|
|
import org.kde.qt.TQPainter;
|
|
import org.kde.qt.TQMouseEvent;
|
|
import org.kde.qt.TQDropEvent;
|
|
import org.kde.qt.TQWidget;
|
|
import org.kde.qt.TQFrame;
|
|
|
|
/**
|
|
|
|
The KColorPatch widget is a (usually small) widget showing
|
|
a selected color e. g. in the KColorDialog. It
|
|
automatically handles drag and drop from and on the widget.
|
|
See {@link KColorPatchSignals} for signals emitted by KColorPatch
|
|
@short A color displayer.
|
|
|
|
*/
|
|
public class KColorPatch extends TQFrame {
|
|
protected KColorPatch(Class dummy){super((Class) null);}
|
|
public native TQMetaObject metaObject();
|
|
public native String className();
|
|
public KColorPatch(TQWidget parent) {
|
|
super((Class) null);
|
|
newKColorPatch(parent);
|
|
}
|
|
private native void newKColorPatch(TQWidget parent);
|
|
public native void setColor(TQColor col);
|
|
protected native void drawContents(TQPainter painter);
|
|
protected native void mouseMoveEvent(TQMouseEvent arg1);
|
|
protected native void dragEnterEvent(TQDragEnterEvent arg1);
|
|
protected native void dropEvent(TQDropEvent arg1);
|
|
/** 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();
|
|
}
|