Kstars
finddialoglite.cpp
47 KStarsLite::Instance()->qmlEngine()->rootContext()->setContextProperty("SortModel", m_sortModel);
149 // If it is an NGC/IC/M catalog number, as in "M 76" or "NGC 5139", check for absence of the space
162 // If it is a IAU standard three letter abbreviation for a constellation, then go to that constellation
Q_INVOKABLE void filterByType(uint typeIndex)
pre-filter the list of objects according to the selected object type.
Definition finddialoglite.cpp:55
Q_INVOKABLE bool isInList(QString searchQuery)
Definition finddialoglite.cpp:168
Q_INVOKABLE void selectObject(int index)
Open context menu for object with given index from m_sortModel.
Definition finddialoglite.cpp:133
Q_INVOKABLE void filterList(QString searchQuery)
When Text is entered in the QLineEdit, filter the List of objects so that only objects which start wi...
Definition finddialoglite.cpp:124
Q_INVOKABLE void resolveInInternet(QString searchQuery)
searches for the object in internet (adopted to KStars Lite version of FindDialog::finishProcessing()
Definition finddialoglite.cpp:186
void setIsResolveEnabled(bool isResolveEnabled)
Setter for isResolveEnabled.
Definition finddialoglite.cpp:191
void slotSelectObject(SkyObject *skyObj)
centres skyObj in SkyMap and opens context drawer with skyObj Used in FindDialogLite
Definition skymaplite.cpp:590
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
QString i18n(const char *text, const TYPE &arg...)
QList< Key > keys() const const
void append(QList< T > &&value)
void setContextProperty(const QString &name, QObject *value)
QQmlContext * rootContext() const const
CaseInsensitiveOption
void setPattern(const QString &pattern)
void setPatternOptions(PatternOptions options)
virtual QVariant data(const QModelIndex &index, int role) const const override
void setDynamicSortFilter(bool enable)
void setFilterCaseSensitivity(Qt::CaseSensitivity cs)
void setFilterRole(int role)
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const override
virtual int rowCount(const QModelIndex &parent) const const override
void setFilterFixedString(const QString &pattern)
virtual void setSourceModel(QAbstractItemModel *sourceModel) override
virtual void sort(int column, Qt::SortOrder order) override
void setSortRole(int role)
bool contains(QChar ch, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
QString & remove(QChar ch, Qt::CaseSensitivity cs)
QString & replace(QChar before, QChar after, Qt::CaseSensitivity cs)
CaseInsensitive
DisplayRole
QString toString() const const
T value() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.