45 if (editable != QComboBox::isEditable()) {
46 QComboBox::setEditable(editable);
51 connect(lineEdit(), SIGNAL(editingFinished()),
this,
62 int index = findText(url);
69 setCurrentIndex(index);
UrlComboBox(QWidget *parent=0)
void currentUrlChanged(const QString &url)
UrlCompleter * completer_
void activated(int index)
bool isCurrentUrlSelectable() const
void setEditable(bool editable)
UrlCompleter * getCompleter() const
void lineEditEditingFinished()
void currentIndexChanged(const QString &text)
void setCurrentUrl(const QString &url)
QString getCurrentUrl() const