KDEUI
Go to the documentation of this file.
23 #ifndef KCOMPLETIONBOX_H
24 #define KCOMPLETIONBOX_H
46 Q_PROPERTY(
bool isTabHandling READ isTabHandling WRITE setTabHandling )
47 Q_PROPERTY(
QString cancelledText READ cancelledText WRITE setCancelledText)
48 Q_PROPERTY(
bool activateOnSelect READ activateOnSelect WRITE setActivateOnSelect )
64 virtual
QSize sizeHint() const;
69 bool activateOnSelect() const;
82 void insertItems( const
QStringList& items,
int index = -1 );
100 virtual
void popup();
112 void setTabHandling(
bool enable );
122 bool isTabHandling() const;
134 void setCancelledText( const
QString& txt);
147 void setActivateOnSelect(
bool state);
184 virtual
void setVisible(
bool visible );
191 void activated( const
QString& );
197 void userCancelled( const QString& );
205 QRect calculateGeometry() const;
210 void sizeAndPosition();
216 virtual
bool eventFilter(
QObject *, QEvent * );
222 virtual
QPoint globalPositionHint() const;
229 virtual
void slotActivated( QListWidgetItem * );
233 void slotItemClicked( QListWidgetItem * );
236 class KCompletionBoxPrivate;
237 KCompletionBoxPrivate* const d;
241 #endif // KCOMPLETIONBOX_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Mon Jul 15 2013 05:10:32 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.