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.
113 lines
4.0 KiB
113 lines
4.0 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.Qt;
|
|
import org.kde.qt.TQMetaObject;
|
|
import org.kde.qt.QtSupport;
|
|
import org.kde.qt.TQWidget;
|
|
import org.kde.qt.TQSpinBox;
|
|
|
|
/**
|
|
|
|
A TQSpinBox with support for arbitrary base numbers
|
|
(e.g. hexadecimal).
|
|
The class provides an easy interface to use other
|
|
numeric systems than the decimal.
|
|
@short A TQSpinBox with support for arbitrary base numbers.
|
|
|
|
*/
|
|
public class KIntSpinBox extends TQSpinBox {
|
|
protected KIntSpinBox(Class dummy){super((Class) null);}
|
|
public native TQMetaObject metaObject();
|
|
public native String className();
|
|
/**
|
|
Constructor.
|
|
Constructs a widget with an integer inputline with a little scrollbar
|
|
and a slider, with minimal value 0, maximal value 99, step 1, base 10
|
|
and initial value 0.
|
|
@short Constructor.
|
|
*/
|
|
public KIntSpinBox(TQWidget parent, String name) {
|
|
super((Class) null);
|
|
newKIntSpinBox(parent,name);
|
|
}
|
|
private native void newKIntSpinBox(TQWidget parent, String name);
|
|
public KIntSpinBox(TQWidget parent) {
|
|
super((Class) null);
|
|
newKIntSpinBox(parent);
|
|
}
|
|
private native void newKIntSpinBox(TQWidget parent);
|
|
public KIntSpinBox() {
|
|
super((Class) null);
|
|
newKIntSpinBox();
|
|
}
|
|
private native void newKIntSpinBox();
|
|
/**
|
|
Constructor.
|
|
Constructs a widget with an integer inputline with a little scrollbar
|
|
and a slider.
|
|
@param lower The lowest valid value.
|
|
@param upper The greatest valid value.
|
|
@param step The step size of the scrollbar.
|
|
@param value The actual value.
|
|
@param base The base of the used number system.
|
|
@param parent The parent of the widget.
|
|
@param name The Name of the widget.
|
|
@short Constructor.
|
|
*/
|
|
public KIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent, String name) {
|
|
super((Class) null);
|
|
newKIntSpinBox(lower,upper,step,value,base,parent,name);
|
|
}
|
|
private native void newKIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent, String name);
|
|
public KIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent) {
|
|
super((Class) null);
|
|
newKIntSpinBox(lower,upper,step,value,base,parent);
|
|
}
|
|
private native void newKIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent);
|
|
public KIntSpinBox(int lower, int upper, int step, int value, int base) {
|
|
super((Class) null);
|
|
newKIntSpinBox(lower,upper,step,value,base);
|
|
}
|
|
private native void newKIntSpinBox(int lower, int upper, int step, int value, int base);
|
|
public KIntSpinBox(int lower, int upper, int step, int value) {
|
|
super((Class) null);
|
|
newKIntSpinBox(lower,upper,step,value);
|
|
}
|
|
private native void newKIntSpinBox(int lower, int upper, int step, int value);
|
|
/**
|
|
Sets the base in which the numbers in the spin box are represented.
|
|
@short Sets the base in which the numbers in the spin box are represented.
|
|
*/
|
|
public native void setBase(int base);
|
|
/**
|
|
@return the base in which numbers in the spin box are represented.
|
|
|
|
@short
|
|
*/
|
|
public native int base();
|
|
/**
|
|
sets focus and optionally marks all text
|
|
@short sets focus and optionally marks all text
|
|
*/
|
|
public native void setEditFocus(boolean mark);
|
|
/**
|
|
Overloaded the method in TQSpinBox
|
|
to make use of the base given in the constructor.
|
|
@short Overloaded the method in TQSpinBox to make use of the base given in the constructor.
|
|
*/
|
|
protected native String mapValueToText(int arg1);
|
|
/**
|
|
Overloaded the method in TQSpinBox
|
|
to make use of the base given in the constructor.
|
|
@short Overloaded the method in TQSpinBox to make use of the base given in the constructor.
|
|
*/
|
|
protected native int mapTextToValue(boolean[] 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();
|
|
}
|