|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.trolltech.qt.internal.QSignalEmitterInternal
com.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.core.QObject
com.trolltech.qt.gui.QWidget
com.trolltech.qt.gui.QComboBox
com.sibvisions.rad.ui.qt.ext.QVxComboBase
public class QVxComboBase
QVxComboBase is a generic component for displaying
any editor component combined with any popup component. The combo
base has always an editor component, to copy the text out of it.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.trolltech.qt.gui.QComboBox |
|---|
QComboBox.InsertPolicy, QComboBox.SizeAdjustPolicy |
| Nested classes/interfaces inherited from class com.trolltech.qt.gui.QWidget |
|---|
QWidget.RenderFlag, QWidget.RenderFlags |
| Nested classes/interfaces inherited from class com.trolltech.qt.QtJambiObject |
|---|
QtJambiObject.QPrivateConstructor |
| Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter |
|---|
QSignalEmitter.AbstractSignal, QSignalEmitter.PrivateSignal0, QSignalEmitter.PrivateSignal1<A>, QSignalEmitter.PrivateSignal2<A,B>, QSignalEmitter.PrivateSignal3<A,B,C>, QSignalEmitter.PrivateSignal4<A,B,C,D>, QSignalEmitter.PrivateSignal5<A,B,C,D,E>, QSignalEmitter.PrivateSignal6<A,B,C,D,E,F>, QSignalEmitter.PrivateSignal7<A,B,C,D,E,F,G>, QSignalEmitter.PrivateSignal8<A,B,C,D,E,F,G,H>, QSignalEmitter.PrivateSignal9<A,B,C,D,E,F,G,H,I>, QSignalEmitter.Signal0, QSignalEmitter.Signal1<A>, QSignalEmitter.Signal2<A,B>, QSignalEmitter.Signal3<A,B,C>, QSignalEmitter.Signal4<A,B,C,D>, QSignalEmitter.Signal5<A,B,C,D,E>, QSignalEmitter.Signal6<A,B,C,D,E,F>, QSignalEmitter.Signal7<A,B,C,D,E,F,G>, QSignalEmitter.Signal8<A,B,C,D,E,F,G,H>, QSignalEmitter.Signal9<A,B,C,D,E,F,G,H,I> |
| Nested classes/interfaces inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
|---|
com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal |
| Field Summary |
|---|
| Fields inherited from class com.trolltech.qt.gui.QComboBox |
|---|
activated, activatedIndex, currentIndexChanged, currentStringChanged, editTextChanged, highlighted, highlightedIndex |
| Fields inherited from class com.trolltech.qt.gui.QWidget |
|---|
customContextMenuRequested |
| Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
|---|
currentSender |
| Constructor Summary | |
|---|---|
QVxComboBase()
Creates a new instance of QVxComboBase with an empty popup. |
|
| Method Summary | |
|---|---|
boolean |
isMaximumSizeHintSet()
Determines if an user-defined maximum size is set. |
boolean |
isMinimumSizeHintSet()
Determines if an user-defined minimum size is set. |
boolean |
isPopupVisible()
Returns whether the popup is visible. |
boolean |
isReadOnly()
Gets the readonly state of the combo. |
boolean |
isSizeHintSet()
Determines if an user-defined preferred size is set. |
void |
keyPressEvent(QKeyEvent pEvent)
Opens the popup when the down key was pressed. |
QSize |
maximumSizeHint()
Get's the maximum size hint. |
QSize |
minimumSizeHint()
|
void |
mousePressEvent(QMouseEvent pEvent)
Ignore hover arrow updates when the combo is readonly. |
void |
setMaximumSizeHint(QSize pSize)
Sets a user-defined maximum size. |
void |
setMinimumSizeHint(QSize pSize)
Sets a user-defined minimum size. |
void |
setPopupSize(QSize pSize)
Sets the size of the popup widget. |
void |
setPopupWidget(QWidget pWidget)
Sets the widget to be shown from the popup component. |
void |
setReadOnly(boolean pReadOnly)
Sets the combo editor in readonly mode and disables the popup. |
void |
setSizeHint(QSize pSize)
Sets a user-defined preferred size. |
void |
setText(String pText)
Sets the current text. |
void |
showPopup()
|
QSize |
sizeHint()
|
String |
text()
Gets the current text. |
| Methods inherited from class com.trolltech.qt.core.QObject |
|---|
blockSignals, childEvent, children, connectSlotsByName, customEvent, disposeLater, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, eventFilter, findChild, findChild, findChild, findChildren, findChildren, findChildren, findChildren, indexOfProperty, installEventFilter, isWidgetType, killTimer, moveToThread, objectName, parent, properties, property, removeEventFilter, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, toString, userProperty |
| Methods inherited from class com.trolltech.qt.QtJambiObject |
|---|
disableGarbageCollection, dispose, disposed, equals, finalize, nativeId, nativePointer, reassignNativeResources, reenableGarbageCollection, setJavaOwnership, tr, tr, tr |
| Methods inherited from class com.trolltech.qt.QSignalEmitter |
|---|
disconnect, disconnect, signalSender |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.trolltech.qt.QtJambiInterface |
|---|
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership |
| Constructor Detail |
|---|
public QVxComboBase()
QVxComboBase with an empty popup.
| Method Detail |
|---|
public void setSizeHint(QSize pSize)
setSizeHint in interface ISizableWidgetpSize - the sizeQWidget.sizeHint()public boolean isSizeHintSet()
isSizeHintSet in interface ISizableWidgettrue if an user-defined preferred size is setpublic void setMinimumSizeHint(QSize pSize)
setMinimumSizeHint in interface ISizableWidgetpSize - the sizeQWidget.minimumSizeHint()public boolean isMinimumSizeHintSet()
isMinimumSizeHintSet in interface ISizableWidgettrue if an user-defined minimum size is setpublic void setMaximumSizeHint(QSize pSize)
setMaximumSizeHint in interface ISizableWidgetpSize - the sizepublic boolean isMaximumSizeHintSet()
isMaximumSizeHintSet in interface ISizableWidgettrue if an user-defined maximum size is setpublic void keyPressEvent(QKeyEvent pEvent)
keyPressEvent in class QComboBoxpublic void mousePressEvent(QMouseEvent pEvent)
mousePressEvent in class QComboBoxpublic void showPopup()
showPopup in class QComboBoxpublic QSize sizeHint()
sizeHint in class QComboBoxpublic QSize minimumSizeHint()
minimumSizeHint in class QComboBoxpublic QSize maximumSizeHint()
maximumSizeHint in interface ISizableWidgetpublic void setPopupSize(QSize pSize)
pSize - the sizepublic void setPopupWidget(QWidget pWidget)
pWidget - the "sub" widgetpublic void setText(String pText)
pText - the textpublic String text()
public void setReadOnly(boolean pReadOnly)
pReadOnly - true to set the readonly state; false otherwisepublic boolean isReadOnly()
true if the combo is readonly; false otherwisepublic boolean isPopupVisible()
true when the popup is visible, otherwise false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||