KDEUI
kcombobox.h
Go to the documentation of this file.
148 class KDEUI_EXPORT KComboBox : public QComboBox, public KCompletionBase //krazy:exclude=qclasses
void setLineEdit(QLineEdit *edit)
void insertURL(const KUrl &url, int index=-1)
Deprecated to reflect Qt api changes.
Definition: kcombobox.h:185
A helper widget for "completion-widgets" (KLineEdit, KComboBox))
Definition: kcompletionbox.h:43
void setCurrentItem(int index)
const KShortcut & substringCompletion()
Find a string within another string or list of strings.
Definition: kstandardshortcut.cpp:368
virtual void wheelEvent(QWheelEvent *e)
virtual void setCompletedText(const QString &text)=0
A pure virtual function that must be implemented by all inheriting classes.
void setEditable(bool editable)
void changeURL(const QPixmap &pixmap, const KUrl &url, int index)
Definition: kcombobox.h:191
int count() const
virtual QSize minimumSizeHint() const
const KShortcut & insert()
Toggle insert/overwrite (with visual feedback, e.g.
Definition: kstandardguiitem.cpp:264
virtual bool eventFilter(QObject *watched, QEvent *event)
An abstract base class for adding a completion feature into widgets.
Definition: kcompletion.h:645
void insertURL(const QPixmap &pixmap, const KUrl &url, int index=-1)
Definition: kcombobox.h:187
KAction * create(StandardAction id, const QObject *recvr, const char *slot, QObject *parent)
Creates an action corresponding to one of the KStandardAction::StandardAction actions, which is connected to the given object and slot, and is owned by parent.
Definition: kstandardaction.cpp:82
Completion
This enum describes the completion mode used for by the KCompletion class.
Definition: kglobalsettings.h:179
KeyBindingType
Constants that represent the items whose short-cut key-binding is programmable.
Definition: kcompletion.h:653
void setAutoCompletion(bool enable)
virtual void setCompletedItems(const QStringList &items, bool autoSuggest=true)=0
A pure virtual function that must be implemented by all inheriting classes.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.