SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <rollupwidget.h>
Signals | |
void | widgetRolled (QWidget *widget, bool rollDown) |
Public Member Functions | |
RollupWidget (QWidget *parent=NULL) | |
void | setTitleColor (const QColor &c) |
void | setHighlighted (bool highlighted) |
Protected Types | |
enum | { VersionMarker = 0xff } |
enum | ContextMenuType { ContextMenuNone, ContextMenuChannelSettings, ContextMenuStreamSettings } |
Protected Member Functions | |
int | arrangeRollups () |
QByteArray | saveState (int version=0) const |
bool | restoreState (const QByteArray &state, int version=0) |
void | paintEvent (QPaintEvent *) |
int | paintRollup (QWidget *rollup, int pos, QPainter *p, bool last, const QColor &frame) |
void | resizeEvent (QResizeEvent *size) |
void | mousePressEvent (QMouseEvent *event) |
bool | event (QEvent *event) |
bool | eventFilter (QObject *object, QEvent *event) |
void | resetContextMenuType () |
void | setStreamIndicator (const QString &indicator) |
Protected Attributes | |
QColor | m_titleColor |
QColor | m_titleTextColor |
bool | m_highlighted |
ContextMenuType | m_contextMenuType |
QString | m_streamIndicator |
Definition at line 7 of file rollupwidget.h.
|
protected |
Enumerator | |
---|---|
VersionMarker |
Definition at line 19 of file rollupwidget.h.
|
protected |
Enumerator | |
---|---|
ContextMenuNone | |
ContextMenuChannelSettings | |
ContextMenuStreamSettings |
Definition at line 23 of file rollupwidget.h.
RollupWidget::RollupWidget | ( | QWidget * | parent = NULL | ) |
Definition at line 7 of file rollupwidget.cpp.
References m_titleColor, and m_titleTextColor.
|
protected |
Definition at line 114 of file rollupwidget.cpp.
References i.
Referenced by event(), eventFilter(), mousePressEvent(), and resizeEvent().
|
protected |
Definition at line 358 of file rollupwidget.cpp.
References arrangeRollups().
|
protected |
Definition at line 370 of file rollupwidget.cpp.
References arrangeRollups(), and widgetRolled().
|
protected |
Definition at line 307 of file rollupwidget.cpp.
References arrangeRollups(), ContextMenuChannelSettings, ContextMenuStreamSettings, i, and m_contextMenuType.
|
protected |
Definition at line 149 of file rollupwidget.cpp.
References m_highlighted, m_streamIndicator, m_titleColor, m_titleTextColor, and paintRollup().
|
protected |
Definition at line 242 of file rollupwidget.cpp.
Referenced by paintEvent().
|
inlineprotected |
Definition at line 50 of file rollupwidget.h.
Referenced by WFMDemodGUI::onMenuDialogCalled(), NFMDemodGUI::onMenuDialogCalled(), AMDemodGUI::onMenuDialogCalled(), FreqTrackerGUI::onMenuDialogCalled(), LocalSinkGUI::onMenuDialogCalled(), SSBDemodGUI::onMenuDialogCalled(), LocalSourceGUI::onMenuDialogCalled(), RemoteSourceGUI::onMenuDialogCalled(), UDPSourceGUI::onMenuDialogCalled(), RemoteSinkGUI::onMenuDialogCalled(), FileSourceGUI::onMenuDialogCalled(), FreeDVDemodGUI::onMenuDialogCalled(), BFMDemodGUI::onMenuDialogCalled(), UDPSinkGUI::onMenuDialogCalled(), ChannelAnalyzerGUI::onMenuDialogCalled(), AMModGUI::onMenuDialogCalled(), FreeDVModGUI::onMenuDialogCalled(), NFMModGUI::onMenuDialogCalled(), WFMModGUI::onMenuDialogCalled(), SSBModGUI::onMenuDialogCalled(), ATVModGUI::onMenuDialogCalled(), and DSDDemodGUI::onMenuDialogCalled().
|
protected |
Definition at line 301 of file rollupwidget.cpp.
References arrangeRollups().
|
protected |
Definition at line 54 of file rollupwidget.cpp.
References i, and VersionMarker.
|
protected |
Definition at line 25 of file rollupwidget.cpp.
References i, and VersionMarker.
void RollupWidget::setHighlighted | ( | bool | highlighted | ) |
Definition at line 105 of file rollupwidget.cpp.
References m_highlighted.
Referenced by WFMDemodGUI::channelMarkerHighlightedByCursor(), AMDemodGUI::channelMarkerHighlightedByCursor(), NFMDemodGUI::channelMarkerHighlightedByCursor(), SSBDemodGUI::channelMarkerHighlightedByCursor(), BFMDemodGUI::channelMarkerHighlightedByCursor(), FreqTrackerGUI::channelMarkerHighlightedByCursor(), ATVDemodGUI::channelMarkerHighlightedByCursor(), UDPSinkGUI::channelMarkerHighlightedByCursor(), ChannelAnalyzerGUI::channelMarkerHighlightedByCursor(), FreeDVDemodGUI::channelMarkerHighlightedByCursor(), DSDDemodGUI::channelMarkerHighlightedByCursor(), and DATVDemodGUI::channelMarkerHighlightedByCursor().
|
protected |
Definition at line 389 of file rollupwidget.cpp.
References m_streamIndicator.
Referenced by AMDemodGUI::displayStreamIndex().
void RollupWidget::setTitleColor | ( | const QColor & | c | ) |
Definition at line 97 of file rollupwidget.cpp.
References m_titleColor, and m_titleTextColor.
Referenced by AMDemodGUI::AMDemodGUI(), LoRaDemodGUI::applySettings(), RemoteSinkGUI::applySettings(), LocalSourceGUI::applySettings(), LocalSinkGUI::applySettings(), AMModGUI::applySettings(), RemoteSourceGUI::applySettings(), WFMModGUI::applySettings(), FileSourceGUI::applySettings(), DATVDemodGUI::applySettings(), ATVDemodGUI::ATVDemodGUI(), ATVModGUI::ATVModGUI(), BFMDemodGUI::BFMDemodGUI(), ChannelAnalyzerGUI::ChannelAnalyzerGUI(), WFMDemodGUI::displaySettings(), LoRaDemodGUI::displaySettings(), NFMDemodGUI::displaySettings(), AMDemodGUI::displaySettings(), SSBDemodGUI::displaySettings(), FreqTrackerGUI::displaySettings(), RemoteSinkGUI::displaySettings(), LocalSourceGUI::displaySettings(), LocalSinkGUI::displaySettings(), BFMDemodGUI::displaySettings(), UDPSourceGUI::displaySettings(), NFMModGUI::displaySettings(), AMModGUI::displaySettings(), RemoteSourceGUI::displaySettings(), ATVModGUI::displaySettings(), WFMModGUI::displaySettings(), UDPSinkGUI::displaySettings(), ChannelAnalyzerGUI::displaySettings(), FreeDVModGUI::displaySettings(), FreeDVDemodGUI::displaySettings(), SSBModGUI::displaySettings(), FileSourceGUI::displaySettings(), DSDDemodGUI::displaySettings(), FreqTrackerGUI::FreqTrackerGUI(), WFMDemodGUI::onMenuDialogCalled(), NFMDemodGUI::onMenuDialogCalled(), AMDemodGUI::onMenuDialogCalled(), SSBDemodGUI::onMenuDialogCalled(), LocalSourceGUI::onMenuDialogCalled(), LocalSinkGUI::onMenuDialogCalled(), FreqTrackerGUI::onMenuDialogCalled(), RemoteSourceGUI::onMenuDialogCalled(), UDPSourceGUI::onMenuDialogCalled(), RemoteSinkGUI::onMenuDialogCalled(), FileSourceGUI::onMenuDialogCalled(), FreeDVDemodGUI::onMenuDialogCalled(), BFMDemodGUI::onMenuDialogCalled(), UDPSinkGUI::onMenuDialogCalled(), ChannelAnalyzerGUI::onMenuDialogCalled(), AMModGUI::onMenuDialogCalled(), NFMModGUI::onMenuDialogCalled(), FreeDVModGUI::onMenuDialogCalled(), WFMModGUI::onMenuDialogCalled(), SSBModGUI::onMenuDialogCalled(), ATVModGUI::onMenuDialogCalled(), DSDDemodGUI::onMenuDialogCalled(), SSBDemodGUI::SSBDemodGUI(), SSBModGUI::SSBModGUI(), UDPSinkGUI::UDPSinkGUI(), and WFMDemodGUI::WFMDemodGUI().
|
signal |
Referenced by AMDemodGUI::AMDemodGUI(), AMModGUI::AMModGUI(), ATVDemodGUI::ATVDemodGUI(), ATVModGUI::ATVModGUI(), BFMDemodGUI::BFMDemodGUI(), ChannelAnalyzerGUI::ChannelAnalyzerGUI(), DATVDemodGUI::DATVDemodGUI(), DSDDemodGUI::DSDDemodGUI(), eventFilter(), FileSourceGUI::FileSourceGUI(), FreeDVDemodGUI::FreeDVDemodGUI(), FreeDVModGUI::FreeDVModGUI(), FreqTrackerGUI::FreqTrackerGUI(), LocalSinkGUI::LocalSinkGUI(), LocalSourceGUI::LocalSourceGUI(), LoRaDemodGUI::LoRaDemodGUI(), NFMDemodGUI::NFMDemodGUI(), NFMModGUI::NFMModGUI(), RemoteSinkGUI::RemoteSinkGUI(), RemoteSourceGUI::RemoteSourceGUI(), SSBDemodGUI::SSBDemodGUI(), SSBModGUI::SSBModGUI(), UDPSinkGUI::UDPSinkGUI(), UDPSourceGUI::UDPSourceGUI(), WFMDemodGUI::WFMDemodGUI(), and WFMModGUI::WFMModGUI().
|
protected |
Definition at line 33 of file rollupwidget.h.
Referenced by mousePressEvent(), WFMDemodGUI::onMenuDialogCalled(), NFMDemodGUI::onMenuDialogCalled(), AMDemodGUI::onMenuDialogCalled(), FreqTrackerGUI::onMenuDialogCalled(), LocalSinkGUI::onMenuDialogCalled(), SSBDemodGUI::onMenuDialogCalled(), LocalSourceGUI::onMenuDialogCalled(), RemoteSourceGUI::onMenuDialogCalled(), UDPSourceGUI::onMenuDialogCalled(), RemoteSinkGUI::onMenuDialogCalled(), FileSourceGUI::onMenuDialogCalled(), FreeDVDemodGUI::onMenuDialogCalled(), BFMDemodGUI::onMenuDialogCalled(), UDPSinkGUI::onMenuDialogCalled(), ChannelAnalyzerGUI::onMenuDialogCalled(), AMModGUI::onMenuDialogCalled(), FreeDVModGUI::onMenuDialogCalled(), NFMModGUI::onMenuDialogCalled(), WFMModGUI::onMenuDialogCalled(), SSBModGUI::onMenuDialogCalled(), ATVModGUI::onMenuDialogCalled(), and DSDDemodGUI::onMenuDialogCalled().
|
protected |
Definition at line 32 of file rollupwidget.h.
Referenced by paintEvent(), and setHighlighted().
|
protected |
Definition at line 34 of file rollupwidget.h.
Referenced by paintEvent(), and setStreamIndicator().
|
protected |
Definition at line 30 of file rollupwidget.h.
Referenced by paintEvent(), RollupWidget(), and setTitleColor().
|
protected |
Definition at line 31 of file rollupwidget.h.
Referenced by paintEvent(), RollupWidget(), and setTitleColor().