Документ взят из кэша поисковой машины. Адрес оригинального документа : http://astro.uni-altai.ru/~aw/stellarium/api/classSatellitesListFilterModel.html
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 07:56:55 2014
Кодировка:

Поисковые слова: water
Stellarium: SatellitesListFilterModel Class Reference
Stellarium 0.12.3
List of all members | Public Member Functions | Protected Member Functions | Properties
SatellitesListFilterModel Class Reference

Custom proxy model allowing filtering by satellite group and flag. More...

#include <SatellitesListFilterModel.hpp>

Public Member Functions

 SatellitesListFilterModel (QObject *parent=0)
 
SatFlag getFilterFlag () const
 
void setFilterFlag (const SatFlag &flag)
 
QString getFilterGroup () const
 
void setFilterGroup (const QString &groupId)
 
void setSecondaryFilters (const QString &groupId, const SatFlag &flag)
 

Protected Member Functions

bool filterAcceptsRow (int source_row, const QModelIndex &source_parent) const
 Reimplementation of the filtering method. More...
 

Properties

SatFlag filterFlag
 Only satellites with this flag raised will be returned. More...
 
QString filterGroup
 Only satellites belonging to this group will be returned. More...
 

Detailed Description

Custom proxy model allowing filtering by satellite group and flag.

Definition at line 27 of file SatellitesListFilterModel.hpp.

Member Function Documentation

bool SatellitesListFilterModel::filterAcceptsRow ( int  source_row,
const QModelIndex &  source_parent 
) const
protected

Reimplementation of the filtering method.

Property Documentation

SatFlag SatellitesListFilterModel::filterFlag
readwrite

Only satellites with this flag raised will be returned.

Use Satellite::NoFlags for no filtering. Setting the flag with setFilterFlag() or setSecondaryFilters() will cause the model to be re-filtered.

Definition at line 37 of file SatellitesListFilterModel.hpp.

QString SatellitesListFilterModel::filterGroup
readwrite

Only satellites belonging to this group will be returned.

Use an empty group ID for no filtering. Setting the group with setFilterGroup() or setSecondaryFilters() will cause the model to be re-filtered.

Definition at line 45 of file SatellitesListFilterModel.hpp.


The documentation for this class was generated from the following file: