1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 08:28:36 -05:00

Merge pull request #2320 from srcejon/fix_2319

Pager: Add Add notifications based on alpha and numeric columns.
This commit is contained in:
Edouard Griffiths 2024-11-10 18:05:51 +01:00 committed by GitHub
commit ca76d5fbae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,7 @@
// Map main table column numbers to combo box indices // Map main table column numbers to combo box indices
std::vector<int> PagerDemodNotificationDialog::m_columnMap = { std::vector<int> PagerDemodNotificationDialog::m_columnMap = {
PagerDemodSettings::MESSAGE_COL_ADDRESS, PagerDemodSettings::MESSAGE_COL_MESSAGE PagerDemodSettings::MESSAGE_COL_ADDRESS, PagerDemodSettings::MESSAGE_COL_MESSAGE, PagerDemodSettings::MESSAGE_COL_ALPHA, PagerDemodSettings::MESSAGE_COL_NUMERIC
}; };
PagerDemodNotificationDialog::PagerDemodNotificationDialog(PagerDemodSettings *settings, PagerDemodNotificationDialog::PagerDemodNotificationDialog(PagerDemodSettings *settings,
@ -132,6 +132,8 @@ void PagerDemodNotificationDialog::addRow(PagerDemodSettings::NotificationSettin
match->addItem("Address"); match->addItem("Address");
match->addItem("Message"); match->addItem("Message");
match->addItem("Alpha");
match->addItem("Numeric");
QTableWidgetItem *regExpItem = new QTableWidgetItem(); QTableWidgetItem *regExpItem = new QTableWidgetItem();
QTableWidgetItem *speechItem = new QTableWidgetItem(); QTableWidgetItem *speechItem = new QTableWidgetItem();