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.
65 lines
2.4 KiB
65 lines
2.4 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.trinitydesktop.qt;
|
|
|
|
import org.trinitydesktop.qt.Qt;
|
|
|
|
public class TQPalette implements QtSupport {
|
|
private long _qt;
|
|
private boolean _allocatedInJavaWorld = true;
|
|
protected TQPalette(Class dummy){}
|
|
|
|
public static final int Disabled = 0;
|
|
public static final int Active = 1;
|
|
public static final int Inactive = 2;
|
|
public static final int NColorGroups = 3;
|
|
public static final int Normal = Active;
|
|
|
|
public TQPalette() {
|
|
newTQPalette();
|
|
}
|
|
private native void newTQPalette();
|
|
public TQPalette(TQColor button) {
|
|
newTQPalette(button);
|
|
}
|
|
private native void newTQPalette(TQColor button);
|
|
public TQPalette(TQColor button, TQColor background) {
|
|
newTQPalette(button,background);
|
|
}
|
|
private native void newTQPalette(TQColor button, TQColor background);
|
|
public TQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive) {
|
|
newTQPalette(active,disabled,inactive);
|
|
}
|
|
private native void newTQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive);
|
|
public TQPalette(TQPalette arg1) {
|
|
newTQPalette(arg1);
|
|
}
|
|
private native void newTQPalette(TQPalette arg1);
|
|
public native TQColor color(int arg1, int arg2);
|
|
public native TQBrush brush(int arg1, int arg2);
|
|
public native void setColor(int arg1, int arg2, TQColor arg3);
|
|
public native void setBrush(int arg1, int arg2, TQBrush arg3);
|
|
public native void setColor(int arg1, TQColor arg2);
|
|
public native void setBrush(int arg1, TQBrush arg2);
|
|
public native TQPalette copy();
|
|
public native TQColorGroup active();
|
|
public native TQColorGroup disabled();
|
|
public native TQColorGroup inactive();
|
|
public native TQColorGroup normal();
|
|
public native void setActive(TQColorGroup arg1);
|
|
public native void setDisabled(TQColorGroup arg1);
|
|
public native void setInactive(TQColorGroup arg1);
|
|
public native void setNormal(TQColorGroup cg);
|
|
public native boolean op_equals(TQPalette p);
|
|
public native boolean op_not_equals(TQPalette p);
|
|
public native boolean isCopyOf(TQPalette arg1);
|
|
public native int serialNumber();
|
|
public static native int foregroundRoleFromMode(int mode);
|
|
public static native int backgroundRoleFromMode(int mode);
|
|
/** 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();
|
|
}
|