Go to the documentation of this file.
36 #include <QCoreApplication>
39 (QEvent::Type) QEvent::registerEventType();
41 (QEvent::Type) QEvent::registerEventType();
43 (QEvent::Type) QEvent::registerEventType();
45 (QEvent::Type) QEvent::registerEventType();
47 (QEvent::Type) QEvent::registerEventType();
49 (QEvent::Type) QEvent::registerEventType();
51 (QEvent::Type) QEvent::registerEventType();
53 (QEvent::Type) QEvent::registerEventType();
55 (QEvent::Type) QEvent::registerEventType();
57 (QEvent::Type) QEvent::registerEventType();
59 (QEvent::Type) QEvent::registerEventType();
61 (QEvent::Type) QEvent::registerEventType();
72 QCoreApplication::postEvent(
dest, e);
79 QCoreApplication::postEvent(
dest, e);
87 e->ConfigurableValue(spp);
88 QCoreApplication::postEvent(
dest, e);
95 QObject::deleteLater();
116 QString msg = tr(
"Scanning");
117 if (!status.isEmpty())
118 msg = QString(
"%1 %2").arg(msg, status);
166 if (scanEvent !=
nullptr)
virtual void HandleEvent(const ScannerEvent *)=0
static constexpr int8_t TRANSPORT_PCT
Percentage to set to after the transports have been scanned.
static void error(const char *str,...)
void StatusSignalStrength(const SignalMonitorValue &val) override
Signal to be sent with an actual signal value.
int GetNormalizedValue(int newmin, int newmax) const
Returns the value normalized to the [newmin, newmax] range.
void ScanPercentComplete(int pct)
static const Type kAppendTextToLog
void customEvent(QEvent *event) override
void StatusSignalToNoise(const SignalMonitorValue &val) override
virtual void deleteLater(void)
static const Type kSetStatusText
static const Type kScanShutdown
void ScanErrored(const QString &error)
static const Type kScanComplete
int GetValue() const
Returns the value.
static const Type kSetStatusRotorPosition
static const Type kSetStatusChannelTuned
static const Type kSetStatusSignalToNoise
void StatusRotorPosition(const SignalMonitorValue &val) override
static const Type kSetStatusSignalLock
void StatusSignalLock(const SignalMonitorValue &val) override
Signal to be sent as true when it is safe to begin or continue recording, and false if it may not be ...
static const Type kSetStatusSignalStrength
void ScanAppendTextToLog(const QString &status)
void StatusChannelTuned(const SignalMonitorValue &val) override
Signal to be sent with change change status.
static const Type kSetStatusTitleText
static const Type kSetPercentComplete
static const Type kScanErrored
ChannelScanner * m_channelScanner
void ScanUpdateStatusText(const QString &status)
void post_event(QObject *dest, QEvent::Type type, int val)
Percentage to set to after the first tune.
void ScanUpdateStatusTitleText(const QString &status)