mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-04 23:14:57 -04:00
Try adding a lineEdit to display number of QSOs in the contest log. Not quite right, yet.
This commit is contained in:
@@ -258,6 +258,11 @@ bool CabrilloLog::dupe (Frequency frequency, QString const& call) const
|
||||
return false;
|
||||
}
|
||||
|
||||
int CabrilloLog::n_qso()
|
||||
{
|
||||
return m_->rowCount();
|
||||
}
|
||||
|
||||
void CabrilloLog::reset ()
|
||||
{
|
||||
// synchronize model
|
||||
|
||||
@@ -31,6 +31,7 @@ public:
|
||||
bool add_QSO (Frequency, QString const& mode, QDateTime const&, QString const& call
|
||||
, QString const& report_sent, QString const& report_received);
|
||||
bool dupe (Frequency, QString const& call) const;
|
||||
int n_qso();
|
||||
|
||||
QSqlTableModel * model ();
|
||||
void reset ();
|
||||
|
||||
Reference in New Issue
Block a user