QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
NTRIPSourceTableSortModel Class Reference

#include <NTRIPSourceTable.h>

Inheritance diagram for NTRIPSourceTableSortModel:
Collaboration diagram for NTRIPSourceTableSortModel:

Signals

void countChanged ()

Public Member Functions

 NTRIPSourceTableSortModel (NTRIPSourceTableModel *source, QObject *parent=nullptr)
int count () const

Protected Member Functions

bool lessThan (const QModelIndex &left, const QModelIndex &right) const override

Detailed Description

Distance-ordered view of a source table: known distances ascending, unknown distances last, and caster order among equal distances. Distance updates reorder rows without resetting the view.

Definition at line 96 of file NTRIPSourceTable.h.

Constructor & Destructor Documentation

◆ NTRIPSourceTableSortModel()

NTRIPSourceTableSortModel::NTRIPSourceTableSortModel ( NTRIPSourceTableModel * source,
QObject * parent = nullptr )
explicit

Member Function Documentation

◆ count()

int NTRIPSourceTableSortModel::count ( ) const
inline

Definition at line 104 of file NTRIPSourceTable.h.

◆ countChanged

void NTRIPSourceTableSortModel::countChanged ( )
signal

◆ lessThan()

bool NTRIPSourceTableSortModel::lessThan ( const QModelIndex & left,
const QModelIndex & right ) const
overrideprotected

Definition at line 150 of file NTRIPSourceTable.cc.


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