Stellarium  1.2
Public Slots | Public Member Functions
CompletionListModel Class Reference

#include <SearchDialog.hpp>

Public Slots

void selectNext ()
 
void selectPrevious ()
 
void selectFirst ()
 

Public Member Functions

 CompletionListModel (QObject *parent=Q_NULLPTR)
 
 CompletionListModel (const QStringList &strings, QObject *parent=Q_NULLPTR)
 
QString getSelected (void) const
 
void setValues (const QStringList &, const QStringList &)
 
bool isEmpty () const
 
void appendValues (const QStringList &)
 
void appendRecentValues (const QStringList &)
 
void clearValues ()
 
QStringList getValues (void)
 
QStringList getRecentValues (void)
 
int getSelectedIdx ()
 
QVariant data (const QModelIndex &index, int role) const override
 

Detailed Description

Display a list of results matching the search string, and allow to tab through those selections.