Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 1948

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QComboBox" doc="/**
&lt;p&gt;The &lt;a href=&quot;QComboBox.html#QComboBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QComboBox&lt;/tt&gt;&lt;/a&gt; widget is a combined button and popup list.&lt;/p&gt;
&lt;p&gt;A &lt;a href=&quot;QComboBox.html#QComboBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QComboBox&lt;/tt&gt;&lt;/a&gt; provides a means of presenting a list of options to the user in a way that takes up the minimum amount of screen space.&lt;/p&gt;
&lt;p&gt;A combobox is a selection widget that displays the current item, and can pop up a list of selectable items. A combobox may be editable, allowing the user to modify each item in the list.&lt;/p&gt;
&lt;p&gt;Comboboxes can contain pixmaps as well as strings; the &lt;a href=&quot;QComboBox.html#insertItem(int, java.lang.String, java.lang.Object)&quot;&gt;&lt;tt&gt;insertItem&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QComboBox.html#setItemText(int, java.lang.String)&quot;&gt;&lt;tt&gt;setItemText&lt;/tt&gt;&lt;/a&gt; functions are suitably overloaded. For editable comboboxes, the function &lt;a href=&quot;QComboBox.html#clearEditText()&quot;&gt;&lt;tt&gt;clearEditText&lt;/tt&gt;&lt;/a&gt; is provided, to clear the displayed string without changing the combobox's contents.&lt;/p&gt;
&lt;p&gt;There are two signals emitted if the current item of a combobox changes, &lt;a href=&quot;QComboBox.html#currentIndexChanged(int)&quot;&gt;&lt;tt&gt;currentIndexChanged&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QComboBox.html#activated(java.lang.String)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;. &lt;a href=&quot;QComboBox.html#currentIndexChanged(int)&quot;&gt;&lt;tt&gt;currentIndexChanged&lt;/tt&gt;&lt;/a&gt; is always emitted regardless if the change was done programmatically or by user interaction, while &lt;a href=&quot;QComboBox.html#activated(java.lang.String)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt; is only emitted when the change is caused by user interaction. The &lt;a href=&quot;QComboBox.html#highlighted(java.lang.String)&quot;&gt;&lt;tt&gt;highlighted&lt;/tt&gt;&lt;/a&gt; signal is emitted when the user highlights an item in the combobox popup list. All three signals exist in two versions, one with a &lt;a href=&quot;%2E%2E/porting4.html#qstring&quot;&gt;&lt;tt&gt;QString&lt;/tt&gt;&lt;/a&gt; argument and one with an &lt;tt&gt;int&lt;/tt&gt; argument. If the user selectes or highlights a pixmap, only the &lt;tt&gt;int&lt;/tt&gt; signals are emitted. Whenever the text of an editable combobox is changed the &lt;a href=&quot;QComboBox.html#editTextChanged(java.lang.String)&quot;&gt;&lt;tt&gt;editTextChanged&lt;/tt&gt;&lt;/a&gt; signal is emitted.&lt;/p&gt;
&lt;p&gt;When the user enters a new string in an editable combobox, the widget may or may not insert it, and it can insert it in several locations. The default policy is is &lt;tt&gt;AtBottom&lt;/tt&gt; but you can change this using &lt;a href=&quot;QComboBox.html#setInsertPolicy(com.trolltech.qt.gui.QComboBox.InsertPolicy)&quot;&gt;&lt;tt&gt;setInsertPolicy&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It is possible to constrain the input to an editable combobox using &lt;a href=&quot;QValidator.html&quot;&gt;&lt;tt&gt;QValidator&lt;/tt&gt;&lt;/a&gt;; see &lt;a href=&quot;QComboBox.html#setValidator(com.trolltech.qt.gui.QValidator)&quot;&gt;&lt;tt&gt;setValidator&lt;/tt&gt;&lt;/a&gt;. By default, any input is accepted.&lt;/p&gt;
&lt;p&gt;A combobox can be populated using the insert functions, &lt;a href=&quot;QComboBox.html#insertItem(int, java.lang.String, java.lang.Object)&quot;&gt;&lt;tt&gt;insertItem&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QComboBox.html#insertItems(int, java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;insertItems&lt;/tt&gt;&lt;/a&gt; for example. Items can be changed with &lt;a href=&quot;QComboBox.html#setItemText(int, java.lang.String)&quot;&gt;&lt;tt&gt;setItemText&lt;/tt&gt;&lt;/a&gt;. An item can be removed with &lt;a href=&quot;QComboBox.html#removeItem(int)&quot;&gt;&lt;tt&gt;removeItem&lt;/tt&gt;&lt;/a&gt; and all items can be removed with &lt;a href=&quot;QComboBox.html#clear()&quot;&gt;&lt;tt&gt;clear&lt;/tt&gt;&lt;/a&gt;. The text of the current item is returned by &lt;a href=&quot;QComboBox.html#currentText()&quot;&gt;&lt;tt&gt;currentText&lt;/tt&gt;&lt;/a&gt;, and the text of a numbered item is returned with text(). The current item can be set with &lt;a href=&quot;QComboBox.html#setCurrentIndex(int)&quot;&gt;&lt;tt&gt;setCurrentIndex&lt;/tt&gt;&lt;/a&gt;. The number of items in the combobox is returned by &lt;a href=&quot;QComboBox.html#count()&quot;&gt;&lt;tt&gt;count&lt;/tt&gt;&lt;/a&gt;; the maximum number of items can be set with &lt;a href=&quot;QComboBox.html#setMaxCount(int)&quot;&gt;&lt;tt&gt;setMaxCount&lt;/tt&gt;&lt;/a&gt;. You can allow editing using &lt;a href=&quot;QComboBox.html#setEditable(boolean)&quot;&gt;&lt;tt&gt;setEditable&lt;/tt&gt;&lt;/a&gt;. For editable comboboxes you can set auto-completion using &lt;a href=&quot;QComboBox.html#setCompleter(com.trolltech.qt.gui.QCompleter)&quot;&gt;&lt;tt&gt;setCompleter&lt;/tt&gt;&lt;/a&gt; and whether or not the user can add duplicates is set with &lt;a href=&quot;QComboBox.html#setDuplicatesEnabled(boolean)&quot;&gt;&lt;tt&gt;setDuplicatesEnabled&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QComboBox.html#QComboBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QComboBox&lt;/tt&gt;&lt;/a&gt; uses the &lt;a href=&quot;%2E%2E/model-view-programming.html&quot;&gt;model/view framework&lt;/tt&gt;&lt;/a&gt; for its popup list and to store its items. By default a &lt;a href=&quot;QStandardItemModel.html&quot;&gt;&lt;tt&gt;QStandardItemModel&lt;/tt&gt;&lt;/a&gt; stores the items and a &lt;a href=&quot;QListView.html&quot;&gt;&lt;tt&gt;QListView&lt;/tt&gt;&lt;/a&gt; subclass displays the popuplist. You can access the model and view directly (with &lt;a href=&quot;QComboBox.html#model()&quot;&gt;&lt;tt&gt;model&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QComboBox.html#view()&quot;&gt;&lt;tt&gt;view&lt;/tt&gt;&lt;/a&gt;), but &lt;a href=&quot;QComboBox.html#QComboBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QComboBox&lt;/tt&gt;&lt;/a&gt; also provides functions to set and get item data (e.g&amp;#x2e;, &lt;a href=&quot;QComboBox.html#setItemData(int, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setItemData&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QComboBox.html#itemText(int)&quot;&gt;&lt;tt&gt;itemText&lt;/tt&gt;&lt;/a&gt;). You can also set a new model and view (with &lt;a href=&quot;QComboBox.html#setModel(com.trolltech.qt.core.QAbstractItemModel)&quot;&gt;&lt;tt&gt;setModel&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QComboBox.html#setView(com.trolltech.qt.gui.QAbstractItemView)&quot;&gt;&lt;tt&gt;setView&lt;/tt&gt;&lt;/a&gt;). For the text and icon in the combobox label, the data in the model that has the Qt::DisplayRole and Qt::DecorationRole is used.&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/qstyle-comboboxes.png&quot; alt=&quot;Comboboxes in the different built-in styles.&quot; /&gt;&lt;/p&gt;
@see &lt;a href=&quot;QLineEdit.html&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSpinBox.html&quot;&gt;&lt;tt&gt;QSpinBox&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRadioButton.html&quot;&gt;&lt;tt&gt;QRadioButton&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QButtonGroup.html&quot;&gt;&lt;tt&gt;QButtonGroup&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/guibooks.html#fowler&quot;&gt;GUI Design Handbook: Combo Box, Drop-Down List Box&lt;/tt&gt;&lt;/a&gt; */">
    <signal name="protected final void activatedIndex(int index)" doc="/**
&lt;p&gt;This signal is sent when an item in the combobox is activated by the user. The item's &lt;tt&gt;index&lt;/tt&gt; is given.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void activated(java.lang.String arg__1)" doc="/**
&lt;p&gt;This signal is sent when an item in the combobox is activated by the user. The item's &lt;tt&gt;arg__1&lt;/tt&gt; is given.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String arg__1)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void currentIndexChanged(int index)" doc="/**
&lt;p&gt;This signal is sent whenever the &lt;a href=&quot;QComboBox.html#currentIndex()&quot;&gt;&lt;tt&gt;currentIndex&lt;/tt&gt;&lt;/a&gt; in the combobox changes either through user interaction or programmatically. The item's &lt;tt&gt;index&lt;/tt&gt; is given or -1 if the combobox becomes empty or the &lt;a href=&quot;QComboBox.html#currentIndex()&quot;&gt;&lt;tt&gt;currentIndex&lt;/tt&gt;&lt;/a&gt; was reset.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void currentStringChanged(java.lang.String arg__1)" doc="/**
&lt;p&gt;This signal is sent whenever the &lt;a href=&quot;QComboBox.html#currentIndex()&quot;&gt;&lt;tt&gt;currentIndex&lt;/tt&gt;&lt;/a&gt; in the combobox changes either through user interaction or programmatically. The item's &lt;tt&gt;arg__1&lt;/tt&gt; is given.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String arg__1)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void editTextChanged(java.lang.String arg__1)" doc="/**
&lt;p&gt;This signal is emitted when the text in the combobox's line edit widget is changed. The new text is specified by &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String arg__1)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void highlighted(java.lang.String arg__1)" doc="/**
&lt;p&gt;This signal is sent when an item in the combobox popup list is highlighted by the user. The item's &lt;tt&gt;arg__1&lt;/tt&gt; is given.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String arg__1)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void highlightedIndex(int index)" doc="/**
&lt;p&gt;This signal is sent when an item in the combobox popup list is highlighted by the user. The item's &lt;tt&gt;index&lt;/tt&gt; is given.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QComboBox(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a combobox with the given &lt;tt&gt;parent&lt;/tt&gt;, using the default model &lt;a href=&quot;QStandardItemModel.html&quot;&gt;&lt;tt&gt;QStandardItemModel&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
    <method name="public QComboBox()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QComboBox.html#QComboBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QComboBox&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public final void addItem(java.lang.String text, java.lang.Object userData)" doc="/**
&lt;p&gt;Adds an item to the combobox with the given &lt;tt&gt;text&lt;/tt&gt;, and containing the specified &lt;tt&gt;userData&lt;/tt&gt;. The item is appended to the list of existing items.&lt;/p&gt;
 */"/>
    <method name="public final void addItem(java.lang.String text)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QComboBox.html#addItem(com.trolltech.qt.gui.QIcon, java.lang.String, java.lang.Object)&quot;&gt;&lt;tt&gt;addItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;text&lt;/tt&gt;, QVariant()). */"/>
    <method name="public final void addItem(com.trolltech.qt.gui.QIcon icon, java.lang.String text, java.lang.Object userData)" doc="/**
&lt;p&gt;Adds an item to the combobox with the given &lt;tt&gt;icon&lt;/tt&gt; and &lt;tt&gt;text&lt;/tt&gt;, and containing the specified &lt;tt&gt;userData&lt;/tt&gt;. The item is appended to the list of existing items.&lt;/p&gt;
 */"/>
    <method name="public final void addItem(com.trolltech.qt.gui.QIcon icon, java.lang.String text)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QComboBox.html#addItem(com.trolltech.qt.gui.QIcon, java.lang.String, java.lang.Object)&quot;&gt;&lt;tt&gt;addItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;icon&lt;/tt&gt;, &lt;tt&gt;text&lt;/tt&gt;, QVariant()). */"/>
    <method name="public final void addItems(java.util.List&lt;java.lang.String&gt; texts)" doc="/**
&lt;p&gt;Adds each of the strings in the given &lt;tt&gt;texts&lt;/tt&gt; to the combobox. Each item is appended to the list of existing items in turn.&lt;/p&gt;
 */"/>
    <method name="public final void clear()" doc="/**
&lt;p&gt;Clears the combobox, removing all items.&lt;/p&gt;
&lt;p&gt;Note: If you have set an external model on the combobox this model will still be cleared when calling this function.&lt;/p&gt;
 */"/>
    <method name="public final void clearEditText()" doc="/**
&lt;p&gt;Clears the contents of the line edit used for editing in the combobox.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QCompleter completer()" doc="/**
&lt;p&gt;Returns the completer that is used to auto complete text input for the combobox.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setCompleter(com.trolltech.qt.gui.QCompleter)&quot;&gt;&lt;tt&gt;setCompleter&lt;/tt&gt;&lt;/a&gt;
@see editable&lt;/tt&gt; */"/>
    <method name="public final int count()" doc="/**
&lt;p&gt;Returns the number of items in the combobox.&lt;/p&gt;
 */"/>
    <method name="public final int currentIndex()" doc="/**
&lt;p&gt;Returns the index of the current item in the combobox. The index can change when inserting or removing items. Returns -1 if no current item is set or the combobox is empty..&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setCurrentIndex(int)&quot;&gt;&lt;tt&gt;setCurrentIndex&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String currentText()" doc="/**
&lt;p&gt;Returns the text of the current item.&lt;/p&gt;
 */"/>
    <method name="public final boolean duplicatesEnabled()" doc="/**
&lt;p&gt;Returns whether the user can enter duplicate items into the combobox.&lt;/p&gt;
&lt;p&gt;Note that it is always possible to programatically insert duplicate items into the combobox.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setDuplicatesEnabled(boolean)&quot;&gt;&lt;tt&gt;setDuplicatesEnabled&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int findData(java.lang.Object data, int role, com.trolltech.qt.core.Qt.MatchFlags flags)" doc="/**
&lt;p&gt;Returns the index of the item containing the given &lt;tt&gt;data&lt;/tt&gt; for the given &lt;tt&gt;role&lt;/tt&gt;; otherwise returns -1.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;flags&lt;/tt&gt; specify how the items in the combobox are searched.&lt;/p&gt;
 */"/>
    <method name="public final int findData(java.lang.Object data, int role)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QComboBox.html#findData(java.lang.Object, int, com.trolltech.qt.core.Qt.MatchFlags)&quot;&gt;&lt;tt&gt;findData&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;data&lt;/tt&gt;, &lt;tt&gt;role&lt;/tt&gt;, Qt::MatchExactly | Qt::MatchCaseSensitive). */"/>
    <method name="public final int findData(java.lang.Object data)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QComboBox.html#findData(java.lang.Object, int, com.trolltech.qt.core.Qt.MatchFlags)&quot;&gt;&lt;tt&gt;findData&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;data&lt;/tt&gt;, Qt::UserRole, Qt::MatchExactly | Qt::MatchCaseSensitive). */"/>
    <method name="public final int findText(java.lang.String text, com.trolltech.qt.core.Qt.MatchFlags flags)" doc="/**
&lt;p&gt;Returns the index of the item containing the given &lt;tt&gt;text&lt;/tt&gt;; otherwise returns -1.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;flags&lt;/tt&gt; specify how the items in the combobox are searched.&lt;/p&gt;
 */"/>
    <method name="public final int findText(java.lang.String text)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QComboBox.html#findText(java.lang.String, com.trolltech.qt.core.Qt.MatchFlags)&quot;&gt;&lt;tt&gt;findText&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;text&lt;/tt&gt;, Qt::MatchExactly | Qt::MatchCaseSensitive). */"/>
    <method name="public final boolean hasFrame()" doc="/**
&lt;p&gt;Returns whether the combo box draws itself with a frame.&lt;/p&gt;
&lt;p&gt;If enabled (the default) the combo box draws itself inside a frame, otherwise the combo box draws itself without any frame.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QSize iconSize()" doc="/**
&lt;p&gt;Returns the size of the icons shown in the combobox..&lt;/p&gt;
&lt;p&gt;Unless explicitly set this returns the default value of the current style. This size is the maximum size that icons can have; icons of smaller size are not scaled up.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setIconSize(com.trolltech.qt.core.QSize)&quot;&gt;&lt;tt&gt;setIconSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void insertItem(int index, com.trolltech.qt.gui.QIcon icon, java.lang.String text, java.lang.Object userData)" doc="/**
&lt;p&gt;Inserts the &lt;tt&gt;icon&lt;/tt&gt;, &lt;tt&gt;text&lt;/tt&gt; and &lt;tt&gt;userData&lt;/tt&gt; into the combobox at the given &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If the index is equal to or higher than the total number of items, the new item is appended to the list of existing items. If the index is zero or negative, the new item is prepended to the list of existing items.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#insertItems(int, java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;insertItems&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void insertItem(int index, com.trolltech.qt.gui.QIcon icon, java.lang.String text)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QComboBox.html#insertItem(int, java.lang.String, java.lang.Object)&quot;&gt;&lt;tt&gt;insertItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;index&lt;/tt&gt;, &lt;tt&gt;icon&lt;/tt&gt;, &lt;tt&gt;text&lt;/tt&gt;, QVariant()). */"/>
    <method name="public final void insertItem(int index, java.lang.String text, java.lang.Object userData)" doc="/**
&lt;p&gt;Inserts the &lt;tt&gt;text&lt;/tt&gt; and &lt;tt&gt;userData&lt;/tt&gt; into the combobox at the given &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If the index is equal to or higher than the total number of items, the new item is appended to the list of existing items. If the index is zero or negative, the new item is prepended to the list of existing items.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#insertItems(int, java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;insertItems&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void insertItem(int index, java.lang.String text)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QComboBox.html#insertItem(int, java.lang.String, java.lang.Object)&quot;&gt;&lt;tt&gt;insertItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;index&lt;/tt&gt;, &lt;tt&gt;text&lt;/tt&gt;, QVariant()). */"/>
    <method name="public final void insertItems(int index, java.util.List&lt;java.lang.String&gt; texts)" doc="/**
&lt;p&gt;Inserts the strings from the &lt;tt&gt;texts&lt;/tt&gt; into the combobox as separate items, starting at the &lt;tt&gt;index&lt;/tt&gt; specified.&lt;/p&gt;
&lt;p&gt;If the index is equal to or higher than the total number of items, the new items are appended to the list of existing items. If the index is zero or negative, the new items are prepended to the list of existing items.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#insertItem(int, java.lang.String, java.lang.Object)&quot;&gt;&lt;tt&gt;insertItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QComboBox.InsertPolicy insertPolicy()" doc="/**
&lt;p&gt;Returns the policy used to determine where user-inserted items should appear in the combobox.&lt;/p&gt;
&lt;p&gt;The default value is &lt;tt&gt;AtBottom&lt;/tt&gt;, indicating that new items will appear at the bottom of the list of items.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setInsertPolicy(com.trolltech.qt.gui.QComboBox.InsertPolicy)&quot;&gt;&lt;tt&gt;setInsertPolicy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QComboBox.html#InsertPolicy-enum&quot;&gt;&lt;tt&gt;InsertPolicy&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isEditable()" doc="/**
&lt;p&gt;Returns whether the combobox can be edited by the user.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.Object itemData(int index, int role)" doc="/**
&lt;p&gt;Returns the data for the given &lt;tt&gt;role&lt;/tt&gt; in the given &lt;tt&gt;index&lt;/tt&gt; in the combobox, or QVariant::Invalid if there is no data for this role.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setItemData(int, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setItemData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.Object itemData(int index)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QComboBox.html#itemData(int, int)&quot;&gt;&lt;tt&gt;itemData&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;index&lt;/tt&gt;, Qt::UserRole). */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractItemDelegate itemDelegate()" doc="/**
&lt;p&gt;Returns the item delegate used by the popup list view.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setItemDelegate(com.trolltech.qt.gui.QAbstractItemDelegate)&quot;&gt;&lt;tt&gt;setItemDelegate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QIcon itemIcon(int index)" doc="/**
&lt;p&gt;Returns the icon for the given &lt;tt&gt;index&lt;/tt&gt; in the combobox.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setItemIcon(int, com.trolltech.qt.gui.QIcon)&quot;&gt;&lt;tt&gt;setItemIcon&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String itemText(int index)" doc="/**
&lt;p&gt;Returns the text for the given &lt;tt&gt;index&lt;/tt&gt; in the combobox.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setItemText(int, java.lang.String)&quot;&gt;&lt;tt&gt;setItemText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QLineEdit lineEdit()" doc="/**
&lt;p&gt;Returns the line edit used to edit items in the combobox, or 0 if there is no line edit.&lt;/p&gt;
&lt;p&gt;Only editable combo boxes have a line edit.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setLineEdit(com.trolltech.qt.gui.QLineEdit)&quot;&gt;&lt;tt&gt;setLineEdit&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int maxCount()" doc="/**
&lt;p&gt;Returns the maximum number of items allowed in the combobox.&lt;/p&gt;
&lt;p&gt;Note: If you set the maximum number to be less then the current amount of items in the combobox, the extra items will be truncated. This also applies if you have set an external model on the combobox.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setMaxCount(int)&quot;&gt;&lt;tt&gt;setMaxCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int maxVisibleItems()" doc="/**
&lt;p&gt;Returns the maximum allowed size on screen of the combobox.&lt;/p&gt;
&lt;p&gt;This property is ignored for non-editable comboboxes in Mac style.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setMaxVisibleItems(int)&quot;&gt;&lt;tt&gt;setMaxVisibleItems&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int minimumContentsLength()" doc="/**
&lt;p&gt;Returns the minimum number of characters that should fit into the combobox..&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;
&lt;p&gt;If this property is set to a positive value, the &lt;a href=&quot;QComboBox.html#minimumSizeHint()&quot;&gt;&lt;tt&gt;minimumSizeHint&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QComboBox.html#sizeHint()&quot;&gt;&lt;tt&gt;sizeHint&lt;/tt&gt;&lt;/a&gt; take it into account.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setMinimumContentsLength(int)&quot;&gt;&lt;tt&gt;setMinimumContentsLength&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QComboBox.html#sizeAdjustPolicy()&quot;&gt;&lt;tt&gt;sizeAdjustPolicy&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QAbstractItemModel model()" doc="/**
&lt;p&gt;Returns the model used by the combobox.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setModel(com.trolltech.qt.core.QAbstractItemModel)&quot;&gt;&lt;tt&gt;setModel&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int modelColumn()" doc="/**
&lt;p&gt;Returns the column in the model that is visible..&lt;/p&gt;
&lt;p&gt;If set prior to populating the combobox, the popup view will not be affected and will show the first column.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setModelColumn(int)&quot;&gt;&lt;tt&gt;setModelColumn&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void removeItem(int index)" doc="/**
&lt;p&gt;Removes the item at the given &lt;tt&gt;index&lt;/tt&gt; from the combobox. This will update the current index if the index is removed.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QModelIndex rootModelIndex()" doc="/**
&lt;p&gt;Returns the root model item index for the items in the combobox.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setRootModelIndex(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;setRootModelIndex&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCompleter(com.trolltech.qt.gui.QCompleter c)" doc="/**
&lt;p&gt;Sets the &lt;tt&gt;c&lt;/tt&gt; to use instead of the current completer. If &lt;tt&gt;c&lt;/tt&gt; is 0, auto completion is disabled.&lt;/p&gt;
&lt;p&gt;By default, for an editable combo box, a &lt;a href=&quot;QCompleter.html&quot;&gt;&lt;tt&gt;QCompleter&lt;/tt&gt;&lt;/a&gt; that performs case insensitive inline completion is automatically created.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#completer()&quot;&gt;&lt;tt&gt;completer&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCurrentIndex(int index)" doc="/**
&lt;p&gt;Sets the index of the current item in the combobox. The index can change when inserting or removing items. Returns -1 if no current item is set or the combobox is empty. to &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#currentIndex()&quot;&gt;&lt;tt&gt;currentIndex&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDuplicatesEnabled(boolean enable)" doc="/**
&lt;p&gt;Sets whether the user can enter duplicate items into the combobox to &lt;tt&gt;enable&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Note that it is always possible to programatically insert duplicate items into the combobox.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#duplicatesEnabled()&quot;&gt;&lt;tt&gt;duplicatesEnabled&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setEditText(java.lang.String text)" doc="/**
&lt;p&gt;Sets the &lt;tt&gt;text&lt;/tt&gt; in the combobox's text edit.&lt;/p&gt;
 */"/>
    <method name="public final void setEditable(boolean editable)" doc="/**
&lt;p&gt;Sets whether the combobox can be edited by the user to &lt;tt&gt;editable&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#isEditable()&quot;&gt;&lt;tt&gt;isEditable&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFrame(boolean arg__1)" doc="/**
&lt;p&gt;Sets whether the combo box draws itself with a frame to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If enabled (the default) the combo box draws itself inside a frame, otherwise the combo box draws itself without any frame.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#hasFrame()&quot;&gt;&lt;tt&gt;hasFrame&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setIconSize(com.trolltech.qt.core.QSize size)" doc="/**
&lt;p&gt;Sets the size of the icons shown in the combobox. to &lt;tt&gt;size&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Unless explicitly set this returns the default value of the current style. This size is the maximum size that icons can have; icons of smaller size are not scaled up.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#iconSize()&quot;&gt;&lt;tt&gt;iconSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setInsertPolicy(com.trolltech.qt.gui.QComboBox.InsertPolicy policy)" doc="/**
&lt;p&gt;Sets the policy used to determine where user-inserted items should appear in the combobox to &lt;tt&gt;policy&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is &lt;tt&gt;AtBottom&lt;/tt&gt;, indicating that new items will appear at the bottom of the list of items.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#insertPolicy()&quot;&gt;&lt;tt&gt;insertPolicy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QComboBox.html#InsertPolicy-enum&quot;&gt;&lt;tt&gt;InsertPolicy&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setItemData(int index, java.lang.Object value, int role)" doc="/**
&lt;p&gt;Sets the data &lt;tt&gt;role&lt;/tt&gt; for the item on the given &lt;tt&gt;index&lt;/tt&gt; in the combobox to the specified &lt;tt&gt;value&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#itemData(int, int)&quot;&gt;&lt;tt&gt;itemData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setItemData(int index, java.lang.Object value)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QComboBox.html#setItemData(int, java.lang.Object, int)&quot;&gt;&lt;tt&gt;setItemData&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;index&lt;/tt&gt;, &lt;tt&gt;value&lt;/tt&gt;, Qt::UserRole). */"/>
    <method name="public final void setItemDelegate(com.trolltech.qt.gui.QAbstractItemDelegate delegate)" doc="/**
&lt;p&gt;Sets the item &lt;tt&gt;delegate&lt;/tt&gt; for the popup list view. The combobox takes ownership of the delegate.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Warning:&lt;/b&gt; You should not share the same instance of a delegate between comboboxes, widget mappers or views. Doing so can cause incorrect or unintuitive editing behavior since each view connected to a given delegate may receive the closeEditor() signal, and attempt to access, modify or close an editor that has already been closed.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#itemDelegate()&quot;&gt;&lt;tt&gt;itemDelegate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setItemIcon(int index, com.trolltech.qt.gui.QIcon icon)" doc="/**
&lt;p&gt;Sets the &lt;tt&gt;icon&lt;/tt&gt; for the item on the given &lt;tt&gt;index&lt;/tt&gt; in the combobox.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#itemIcon(int)&quot;&gt;&lt;tt&gt;itemIcon&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setItemText(int index, java.lang.String text)" doc="/**
&lt;p&gt;Sets the &lt;tt&gt;text&lt;/tt&gt; for the item on the given &lt;tt&gt;index&lt;/tt&gt; in the combobox.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#itemText(int)&quot;&gt;&lt;tt&gt;itemText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setLineEdit(com.trolltech.qt.gui.QLineEdit edit)" doc="/**
&lt;p&gt;Sets the line &lt;tt&gt;edit&lt;/tt&gt; to use instead of the current line edit widget.&lt;/p&gt;
&lt;p&gt;The combo box takes ownership of the line edit.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#lineEdit()&quot;&gt;&lt;tt&gt;lineEdit&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMaxCount(int max)" doc="/**
&lt;p&gt;Sets the maximum number of items allowed in the combobox to &lt;tt&gt;max&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Note: If you set the maximum number to be less then the current amount of items in the combobox, the extra items will be truncated. This also applies if you have set an external model on the combobox.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#maxCount()&quot;&gt;&lt;tt&gt;maxCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMaxVisibleItems(int maxItems)" doc="/**
&lt;p&gt;Sets the maximum allowed size on screen of the combobox to &lt;tt&gt;maxItems&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property is ignored for non-editable comboboxes in Mac style.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#maxVisibleItems()&quot;&gt;&lt;tt&gt;maxVisibleItems&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMinimumContentsLength(int characters)" doc="/**
&lt;p&gt;Sets the minimum number of characters that should fit into the combobox. to &lt;tt&gt;characters&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;
&lt;p&gt;If this property is set to a positive value, the &lt;a href=&quot;QComboBox.html#minimumSizeHint()&quot;&gt;&lt;tt&gt;minimumSizeHint&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QComboBox.html#sizeHint()&quot;&gt;&lt;tt&gt;sizeHint&lt;/tt&gt;&lt;/a&gt; take it into account.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#minimumContentsLength()&quot;&gt;&lt;tt&gt;minimumContentsLength&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QComboBox.html#sizeAdjustPolicy()&quot;&gt;&lt;tt&gt;sizeAdjustPolicy&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setModel(com.trolltech.qt.core.QAbstractItemModel model)" doc="/**
&lt;p&gt;Sets the model to be &lt;tt&gt;model&lt;/tt&gt;. &lt;tt&gt;model&lt;/tt&gt; must not be 0. If you want to clear the contents of a model, call &lt;a href=&quot;QComboBox.html#clear()&quot;&gt;&lt;tt&gt;clear&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#model()&quot;&gt;&lt;tt&gt;model&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QComboBox.html#clear()&quot;&gt;&lt;tt&gt;clear&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setModelColumn(int visibleColumn)" doc="/**
&lt;p&gt;Sets the column in the model that is visible. to &lt;tt&gt;visibleColumn&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If set prior to populating the combobox, the popup view will not be affected and will show the first column.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#modelColumn()&quot;&gt;&lt;tt&gt;modelColumn&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setRootModelIndex(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Sets the root model item &lt;tt&gt;index&lt;/tt&gt; for the items in the combobox.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#rootModelIndex()&quot;&gt;&lt;tt&gt;rootModelIndex&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSizeAdjustPolicy(com.trolltech.qt.gui.QComboBox.SizeAdjustPolicy policy)" doc="/**
&lt;p&gt;Sets the policy describing how the size of the combobox changes when the content changes to &lt;tt&gt;policy&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is &lt;a href=&quot;QComboBox.html#SizeAdjustPolicy-enum&quot;&gt;&lt;tt&gt;AdjustToContentsOnFirstShow&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#sizeAdjustPolicy()&quot;&gt;&lt;tt&gt;sizeAdjustPolicy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QComboBox.html#SizeAdjustPolicy-enum&quot;&gt;&lt;tt&gt;SizeAdjustPolicy&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setValidator(com.trolltech.qt.gui.QValidator v)" doc="/**
&lt;p&gt;Sets the &lt;tt&gt;v&lt;/tt&gt; to use instead of the current validator.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#validator()&quot;&gt;&lt;tt&gt;validator&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setView(com.trolltech.qt.gui.QAbstractItemView itemView)" doc="/**
&lt;p&gt;Sets the view to be used in the combobox popup to the given &lt;tt&gt;itemView&lt;/tt&gt;. The combobox takes ownership of the view.&lt;/p&gt;
&lt;p&gt;Note: If you want to use the convenience views (like &lt;a href=&quot;QListWidget.html&quot;&gt;&lt;tt&gt;QListWidget&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTableWidget.html&quot;&gt;&lt;tt&gt;QTableWidget&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QTreeWidget.html&quot;&gt;&lt;tt&gt;QTreeWidget&lt;/tt&gt;&lt;/a&gt;), make sure to call &lt;a href=&quot;QComboBox.html#setModel(com.trolltech.qt.core.QAbstractItemModel)&quot;&gt;&lt;tt&gt;setModel&lt;/tt&gt;&lt;/a&gt; on the combobox with the convenience widgets model before calling this function.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#view()&quot;&gt;&lt;tt&gt;view&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QComboBox.SizeAdjustPolicy sizeAdjustPolicy()" doc="/**
&lt;p&gt;Returns the policy describing how the size of the combobox changes when the content changes.&lt;/p&gt;
&lt;p&gt;The default value is &lt;a href=&quot;QComboBox.html#SizeAdjustPolicy-enum&quot;&gt;&lt;tt&gt;AdjustToContentsOnFirstShow&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setSizeAdjustPolicy(com.trolltech.qt.gui.QComboBox.SizeAdjustPolicy)&quot;&gt;&lt;tt&gt;setSizeAdjustPolicy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QComboBox.html#SizeAdjustPolicy-enum&quot;&gt;&lt;tt&gt;SizeAdjustPolicy&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QValidator validator()" doc="/**
&lt;p&gt;Returns the validator that is used to constrain text input for the combobox.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setValidator(com.trolltech.qt.gui.QValidator)&quot;&gt;&lt;tt&gt;setValidator&lt;/tt&gt;&lt;/a&gt;
@see editable&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractItemView view()" doc="/**
&lt;p&gt;Returns the list view used for the combobox popup.&lt;/p&gt;

@see &lt;a href=&quot;QComboBox.html#setView(com.trolltech.qt.gui.QAbstractItemView)&quot;&gt;&lt;tt&gt;setView&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void changeEvent(com.trolltech.qt.core.QEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void contextMenuEvent(com.trolltech.qt.gui.QContextMenuEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void focusInEvent(com.trolltech.qt.gui.QFocusEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void focusOutEvent(com.trolltech.qt.gui.QFocusEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void hideEvent(com.trolltech.qt.gui.QHideEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void hidePopup()" doc="/**
&lt;p&gt;Hides the list of items in the combobox if it is currently visible; otherwise this function does nothing.&lt;/p&gt;
 */"/>
    <method name="protected void inputMethodEvent(com.trolltech.qt.gui.QInputMethodEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public java.lang.Object inputMethodQuery(com.trolltech.qt.core.Qt.InputMethodQuery arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void keyPressEvent(com.trolltech.qt.gui.QKeyEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize minimumSizeHint()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mousePressEvent(com.trolltech.qt.gui.QMouseEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void paintEvent(com.trolltech.qt.gui.QPaintEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void resizeEvent(com.trolltech.qt.gui.QResizeEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void showEvent(com.trolltech.qt.gui.QShowEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void showPopup()" doc="/**
&lt;p&gt;Displays the list of items in the combobox. If the list is empty then the no items will be shown.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize sizeHint()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void wheelEvent(com.trolltech.qt.gui.QWheelEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <enum name="InsertPolicy" doc="/**
&lt;p&gt;This enum specifies what the &lt;a href=&quot;QComboBox.html#QComboBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QComboBox&lt;/tt&gt;&lt;/a&gt; should do when a new string is entered by the user.&lt;/p&gt;
 */">
        <enum-value name="NoInsert" doc="/**
&lt;p&gt;The string will not be inserted into the combobox.&lt;/p&gt;
 */"/>
        <enum-value name="InsertAtTop" doc="/**
&lt;p&gt;The string will be inserted as the first item in the combobox.&lt;/p&gt;
 */"/>
        <enum-value name="InsertAtCurrent" doc="/**
&lt;p&gt;The current item will be &lt;i&gt;replaced&lt;/i&gt; by the string.&lt;/p&gt;
 */"/>
        <enum-value name="InsertAtBottom" doc="/**
&lt;p&gt;The string will be inserted after the last item in the combobox.&lt;/p&gt;
 */"/>
        <enum-value name="InsertAfterCurrent" doc="/**
&lt;p&gt;The string is inserted after the current item in the combobox.&lt;/p&gt;
 */"/>
        <enum-value name="InsertBeforeCurrent" doc="/**
&lt;p&gt;The string is inserted before the current item in the combobox.&lt;/p&gt;
 */"/>
        <enum-value name="InsertAlphabetically" doc="/**
&lt;p&gt;The string is inserted in the alphabetic order in the combobox.&lt;/p&gt;
 */"/>
</enum>
    <enum name="SizeAdjustPolicy" doc="/**
&lt;p&gt;This enum specifies how the size hint of the &lt;a href=&quot;QComboBox.html#QComboBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QComboBox&lt;/tt&gt;&lt;/a&gt; should adjust when new content is added or content changes.&lt;/p&gt;
 */">
        <enum-value name="AdjustToContents" doc="/**
&lt;p&gt;The combobox will always adjust to the contents&lt;/p&gt;
 */"/>
        <enum-value name="AdjustToContentsOnFirstShow" doc="/**
&lt;p&gt;The combobox will adjust to its contents the first time it is show.&lt;/p&gt;
 */"/>
        <enum-value name="AdjustToMinimumContentsLength" doc="/**
&lt;p&gt;Use &lt;a href=&quot;QComboBox.html#SizeAdjustPolicy-enum&quot;&gt;&lt;tt&gt;AdjustToContents&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QComboBox.html#SizeAdjustPolicy-enum&quot;&gt;&lt;tt&gt;AdjustToContentsOnFirstShow&lt;/tt&gt;&lt;/a&gt; instead.&lt;/p&gt;
 */"/>
        <enum-value name="AdjustToMinimumContentsLengthWithIcon" doc="/**
&lt;p&gt;The combobox will adjust to &lt;a href=&quot;QComboBox.html#minimumContentsLength()&quot;&gt;&lt;tt&gt;minimumContentsLength&lt;/tt&gt;&lt;/a&gt; plus space for an icon. For performance reasons use this policy on large models.&lt;/p&gt;
 */"/>
</enum>
</class>