From 14df03379a83e0e913edba1ca2ef526703cd64f7 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Sun, 3 Feb 2019 23:00:18 -0500 Subject: [PATCH] Added message to dummy data for testing --- mainwindow.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 79e2a1e..1a78da8 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1629,8 +1629,10 @@ void MainWindow::initializeDummyData(){ // qDebug() << Varicode::unpackAlphaNumeric50(Varicode::packAlphaNumeric50("@GROUP/42")); // qDebug() << Varicode::unpackAlphaNumeric50(Varicode::packAlphaNumeric50("SP1ATOM")); + + QList calls = { - "@GROUP/42", + "@GROUP42", "KN4CRD", "VE7/KN4CRD", "KN4CRD/P", @@ -1673,6 +1675,15 @@ void MainWindow::initializeDummyData(){ i++; } + CommandDetail cmd = {}; + cmd.cmd = ">"; + cmd.to = m_config.my_callsign(); + cmd.from = "N0JDS"; + cmd.relayPath = "N0JDS>OH8STN"; + cmd.text = "HELLO BRAVE SOUL"; + cmd.utcTimestamp = dt; + addCommandToMyInbox(cmd); + displayTextForFreq("KN4CRD: @ALLCALL? \u2301 ", 42, DriftingDateTime::currentDateTimeUtc().addSecs(-315), true, true, true); displayTextForFreq("J1Y: KN4CRD SNR -05 \u2301 ", 42, DriftingDateTime::currentDateTimeUtc().addSecs(-300), false, true, true); displayTextForFreq("HELLO BRAVE NEW WORLD \u2301 ", 42, DriftingDateTime::currentDateTimeUtc().addSecs(-300), false, true, true);