Kstars
finddialoglite.h
22 * Each SkyComponent in addition to QStringList of names holds QVector<QPair<QString, const SkyObject *>>.
23 * SkyObjectListModel is a class that holds SkyObjects together with their names (name and longname).
24 * Whenever user searches for an object we sort list of SkyObjects through QSortFilterProxyModel. The reason
25 * for this way of searching is that we don't need to search for an object again, as it was done previously.
37 Q_PROPERTY(bool isResolveEnabled READ getIsResolveEnabled WRITE setIsResolveEnabled NOTIFY isResolveEnabledChanged)
Backend for "Find Object" dialog in QML The way we are searching for the object is as follows: Each S...
Definition finddialoglite.h:32
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
Q_INVOKABLEQ_INVOKABLE
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:53:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:53:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.