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.
93 lines
3.0 KiB
93 lines
3.0 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
11 years ago
|
package org.trinitydesktop.koala;
|
||
15 years ago
|
|
||
11 years ago
|
import org.trinitydesktop.qt.Qt;
|
||
|
import org.trinitydesktop.qt.TQMetaObject;
|
||
|
import org.trinitydesktop.qt.QtSupport;
|
||
|
import org.trinitydesktop.qt.TQSize;
|
||
|
import org.trinitydesktop.qt.TQSizePolicy;
|
||
|
import org.trinitydesktop.qt.TQWidget;
|
||
|
import org.trinitydesktop.qt.TQWidget;
|
||
15 years ago
|
|
||
|
/**
|
||
|
|
||
|
You need to inherit from this class if you want to implement KNumInput
|
||
|
for a different variable type
|
||
|
@short You need to inherit from this class if you want to implement K NumInput for a different variable type
|
||
|
|
||
|
*/
|
||
13 years ago
|
public class KNumInput extends TQWidget {
|
||
15 years ago
|
protected KNumInput(Class dummy){super((Class) null);}
|
||
13 years ago
|
public native TQMetaObject metaObject();
|
||
15 years ago
|
public native String className();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Default constructor
|
||
|
@param parent If parent is 0, the new widget becomes a top-level window. If parent is another widget, this widget becomes a child window inside parent. The new widget is deleted when its parent is deleted.
|
||
13 years ago
|
@param name The name is sent to the TQObject constructor.
|
||
15 years ago
|
@short Default constructor
|
||
|
*/
|
||
11 years ago
|
/**
|
||
15 years ago
|
@param below A pointer to another KNumInput.
|
||
|
@param parent parent widget
|
||
|
@param name name of the widget
|
||
|
@short
|
||
|
*/
|
||
11 years ago
|
/**
|
||
15 years ago
|
Sets the text and alignment of the main description label.
|
||
|
@param label The text of the label.
|
||
|
Use null to remove an existing one.
|
||
|
@param a one of <code>AlignLeft</code>, <code>AlignHCenter</code>, YAlignRight and
|
||
|
<code>AlignTop</code>, <code>AlignVCenter</code>, <code>AlignBottom.</code>
|
||
|
default is <code>AlignLeft</code> | <code>AlignTop.</code>
|
||
|
The vertical alignment flags have special meaning with this
|
||
|
widget:
|
||
11 years ago
|
|
||
15 years ago
|
<li>
|
||
|
<code>AlignTop</code> The label is placed above the edit/slider
|
||
|
</li>
|
||
11 years ago
|
|
||
15 years ago
|
<li>
|
||
|
<code>AlignVCenter</code> The label is placed left beside the edit
|
||
|
</li>
|
||
11 years ago
|
|
||
15 years ago
|
<li>
|
||
|
<code>AlignBottom</code> The label is placed below the edit/slider
|
||
|
</li>
|
||
|
@short Sets the text and alignment of the main description label.
|
||
|
*/
|
||
|
public native void setLabel(String label, int a);
|
||
|
public native void setLabel(String label);
|
||
11 years ago
|
/**
|
||
15 years ago
|
@return the text of the label.
|
||
11 years ago
|
|
||
15 years ago
|
@short
|
||
|
*/
|
||
|
public native String label();
|
||
11 years ago
|
/**
|
||
15 years ago
|
@return if the num input has a slider.
|
||
|
|
||
|
@short
|
||
|
*/
|
||
|
public native boolean showSlider();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Sets the spacing of tickmarks for the slider.
|
||
|
@param minor Minor tickmark separation.
|
||
|
@param major Major tickmark separation.
|
||
|
@short Sets the spacing of tickmarks for the slider.
|
||
|
*/
|
||
|
public native void setSteps(int minor, int major);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Specifies that this widget may stretch horizontally, but is
|
||
13 years ago
|
fixed vertically (like TQSpinBox itself).
|
||
|
@short Specifies that this widget may stretch horizontally, but is fixed vertically (like TQSpinBox itself).
|
||
15 years ago
|
*/
|
||
13 years ago
|
public native TQSizePolicy sizePolicy();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Returns a size which fits the contents of the control.
|
||
|
@return the preferred size necessary to show the control
|
||
11 years ago
|
|
||
15 years ago
|
@short Returns a size which fits the contents of the control.
|
||
|
*/
|
||
13 years ago
|
public native TQSize sizeHint();
|
||
15 years ago
|
}
|