Try adding a lineEdit to display number of QSOs in the contest log. Not quite right, yet.

This commit is contained in:
Joe Taylor
2022-07-14 12:42:55 -04:00
parent fffc88de69
commit e1fde92ea2
6 changed files with 36 additions and 0 deletions
+5
View File
@@ -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
+1
View File
@@ -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 ();