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.
79 lines
2.7 KiB
79 lines
2.7 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.trinitydesktop.koala;
|
|
|
|
import org.trinitydesktop.qt.Qt;
|
|
import org.trinitydesktop.qt.TQMetaObject;
|
|
import org.trinitydesktop.qt.QtSupport;
|
|
import org.trinitydesktop.qt.TQSize;
|
|
import org.trinitydesktop.qt.TQWidget;
|
|
import org.trinitydesktop.qt.TQResizeEvent;
|
|
import org.trinitydesktop.qt.TQLabel;
|
|
|
|
/**
|
|
|
|
A label class that squeezes its text into the label
|
|
If the text is too long to fit into the label it is divided into
|
|
remaining left and right parts which are separated by three dots.
|
|
Example:
|
|
http://www.kde.org/documentation/index.html could be squeezed to
|
|
http://www.kde...ion/index.html
|
|
\image html ksqueezedtextlabel.png "KSqueezedTextLabel Widget"
|
|
@author Ronny Standtke <Ronny.Standtke@gmx.de>
|
|
|
|
@short A replacement for TQLabel that squeezes its text.
|
|
|
|
*/
|
|
public class KSqueezedTextLabel extends TQLabel {
|
|
protected KSqueezedTextLabel(Class dummy){super((Class) null);}
|
|
public native TQMetaObject metaObject();
|
|
public native String className();
|
|
/**
|
|
Default constructor.
|
|
@short Default constructor.
|
|
*/
|
|
public KSqueezedTextLabel(TQWidget parent, String name) {
|
|
super((Class) null);
|
|
newKSqueezedTextLabel(parent,name);
|
|
}
|
|
private native void newKSqueezedTextLabel(TQWidget parent, String name);
|
|
public KSqueezedTextLabel(TQWidget parent) {
|
|
super((Class) null);
|
|
newKSqueezedTextLabel(parent);
|
|
}
|
|
private native void newKSqueezedTextLabel(TQWidget parent);
|
|
public KSqueezedTextLabel(String text, TQWidget parent, String name) {
|
|
super((Class) null);
|
|
newKSqueezedTextLabel(text,parent,name);
|
|
}
|
|
private native void newKSqueezedTextLabel(String text, TQWidget parent, String name);
|
|
public KSqueezedTextLabel(String text, TQWidget parent) {
|
|
super((Class) null);
|
|
newKSqueezedTextLabel(text,parent);
|
|
}
|
|
private native void newKSqueezedTextLabel(String text, TQWidget parent);
|
|
public native TQSize minimumSizeHint();
|
|
public native TQSize sizeHint();
|
|
/**
|
|
Overridden for internal reasons; the API remains unaffected.
|
|
@short Overridden for internal reasons; the API remains unaffected.
|
|
*/
|
|
public native void setAlignment(int arg1);
|
|
public native void setText(String arg1);
|
|
/**
|
|
used when widget is resized
|
|
@short used when widget is resized
|
|
*/
|
|
protected native void resizeEvent(TQResizeEvent arg1);
|
|
/**
|
|
does the dirty work
|
|
@short does the dirty work
|
|
*/
|
|
protected native void squeezeTextToLabel();
|
|
/** 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();
|
|
}
|