libs/libkdcraw/libkdcraw
squeezedcombobox.cpp
Go to the documentation of this file.
86 for (QMap<int, QString>::const_iterator it = d->originalItems.constBegin() ; it != d->originalItems.constEnd(); ++it)
151 for (QMap<int, QString>::iterator it = d->originalItems.begin() ; it != d->originalItems.end(); ++it)
QString itemHighlighted() const
This method returns the full text (not squeezed) of the currently highlighted item.
Definition: squeezedcombobox.cpp:188
void setCurrent(const QString &itemText)
Set the current item to the one matching the given text.
Definition: squeezedcombobox.cpp:135
virtual QSize sizeHint() const
Sets the sizeHint() of this widget.
Definition: squeezedcombobox.cpp:95
void addSqueezedItem(const QString &newItem, const QVariant &userData=QVariant())
Append an item.
Definition: squeezedcombobox.cpp:129
void insertSqueezedItem(const QString &newItem, int index, const QVariant &userData=QVariant())
This inserts a item to the list.
Definition: squeezedcombobox.cpp:109
SqueezedComboBox(QWidget *const parent=0, const char *name=0)
Constructor.
Definition: squeezedcombobox.cpp:60
bool contains(const QString &text) const
Returns true if the combobox contains the original (not-squeezed) version of text.
Definition: squeezedcombobox.cpp:81
QString item(int index) const
This method returns the full text (not squeezed) for the index.
Definition: squeezedcombobox.cpp:194
void insertSqueezedList(const QStringList &newItems, int index)
This inserts items to the list.
Definition: squeezedcombobox.cpp:120
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:16 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:16 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.