marble
SearchInputWidget.cpp
Go to the documentation of this file.
43 connect( m_completer, SIGNAL(activated(QModelIndex)), this, SLOT(centerOnSearchSuggestion(QModelIndex)) );
void centerOn(const GeoDataCoordinates &coordinates)
void setSortRole(int role)
void setCaseSensitivity(Qt::CaseSensitivity caseSensitivity)
void setCompletionRole(int role)
virtual void sort(int column, Qt::SortOrder order)
QString text() const
virtual void setSourceModel(QAbstractItemModel *sourceModel)
void setChecked(bool)
Definition: google-search.qml:12
void setModel(QAbstractItemModel *model)
QPoint mapToGlobal(const QPoint &pos) const
T value() const
Search a certain region of a planet (e.g. visible region)
Definition: MarbleGlobal.h:185
QString tr(const char *sourceText, const char *disambiguation, int n)
void setDecorator(const QPixmap &decorator)
Definition: MarbleLineEdit.cpp:111
QSize size() const
bool isEmpty() const
void setDynamicSortFilter(bool enable)
void setCompletionModel(QAbstractItemModel *completionModel)
Definition: SearchInputWidget.cpp:46
virtual QVariant data(const QModelIndex &index, int role) const =0
void setPlaceholderText(const QString &)
bool isNull() const
void disableSearchAnimation()
Definition: SearchInputWidget.cpp:60
void setCheckable(bool)
The popularity index.
Definition: MarblePlacemarkModel.h:60
The GeoDataCoordinates coordinate.
Definition: MarblePlacemarkModel.h:53
void returnPressed()
QAbstractItemModel * completionModel() const
QCompleter * completer() const
void decoratorButtonClicked()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
SearchInputWidget(QWidget *parent=0)
Definition: SearchInputWidget.cpp:21
int height() const
void setCompleter(QCompleter *c)
void clearButtonClicked()
The clear button was clicked with the left mouse button.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 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:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.