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.
Public Member Functions | Private Attributes | List of all members
GLScopeGUI::TraceUIBlocker Class Reference

Public Member Functions

 TraceUIBlocker (Ui::GLScopeGUI *ui)
 
 ~TraceUIBlocker ()
 
void unBlock ()
 

Private Attributes

Ui::GLScopeGUI * m_ui
 
bool m_oldStateTrace
 
bool m_oldStateTraceAdd
 
bool m_oldStateTraceDel
 
bool m_oldStateTraceMode
 
bool m_oldStateAmp
 
bool m_oldStateOfsCoarse
 
bool m_oldStateOfsFine
 
bool m_oldStateTraceDelayCoarse
 
bool m_oldStateTraceDelayFine
 
bool m_oldStateTraceColor
 

Detailed Description

Definition at line 102 of file glscopegui.h.

Constructor & Destructor Documentation

◆ TraceUIBlocker()

GLScopeGUI::TraceUIBlocker::TraceUIBlocker ( Ui::GLScopeGUI *  ui)

Definition at line 1502 of file glscopegui.cpp.

References m_oldStateAmp, m_oldStateOfsCoarse, m_oldStateOfsFine, m_oldStateTrace, m_oldStateTraceAdd, m_oldStateTraceColor, m_oldStateTraceDel, m_oldStateTraceDelayCoarse, m_oldStateTraceDelayFine, m_oldStateTraceMode, and m_ui.

1502  :
1503  m_ui(ui)
1504 {
1505  m_oldStateTrace = m_ui->trace->blockSignals(true);
1506  m_oldStateTraceAdd = m_ui->traceAdd->blockSignals(true);
1507  m_oldStateTraceDel = m_ui->traceDel->blockSignals(true);
1508  m_oldStateTraceMode = m_ui->traceMode->blockSignals(true);
1509  m_oldStateAmp = m_ui->amp->blockSignals(true);
1510  m_oldStateOfsCoarse = m_ui->ofsCoarse->blockSignals(true);
1511  m_oldStateOfsFine = m_ui->ofsFine->blockSignals(true);
1512  m_oldStateTraceDelayCoarse = m_ui->traceDelayCoarse->blockSignals(true);
1513  m_oldStateTraceDelayFine = m_ui->traceDelayFine->blockSignals(true);
1514  m_oldStateTraceColor = m_ui->traceColor->blockSignals(true);
1515 }
Ui::GLScopeGUI * ui
Definition: glscopegui.h:144
Ui::GLScopeGUI * m_ui
Definition: glscopegui.h:111

◆ ~TraceUIBlocker()

GLScopeGUI::TraceUIBlocker::~TraceUIBlocker ( )

Definition at line 1517 of file glscopegui.cpp.

References unBlock().

1518 {
1519  unBlock();
1520 }
+ Here is the call graph for this function:

Member Function Documentation

◆ unBlock()

void GLScopeGUI::TraceUIBlocker::unBlock ( )

Definition at line 1522 of file glscopegui.cpp.

References m_oldStateAmp, m_oldStateOfsCoarse, m_oldStateOfsFine, m_oldStateTrace, m_oldStateTraceAdd, m_oldStateTraceColor, m_oldStateTraceDel, m_oldStateTraceDelayCoarse, m_oldStateTraceDelayFine, m_oldStateTraceMode, and m_ui.

Referenced by ~TraceUIBlocker().

1523 {
1524  m_ui->trace->blockSignals(m_oldStateTrace);
1525  m_ui->traceAdd->blockSignals(m_oldStateTraceAdd);
1526  m_ui->traceDel->blockSignals(m_oldStateTraceDel);
1527  m_ui->traceMode->blockSignals(m_oldStateTraceMode);
1528  m_ui->amp->blockSignals(m_oldStateAmp);
1529  m_ui->ofsCoarse->blockSignals(m_oldStateOfsCoarse);
1530  m_ui->ofsFine->blockSignals(m_oldStateOfsFine);
1531  m_ui->traceDelayCoarse->blockSignals(m_oldStateTraceDelayCoarse);
1532  m_ui->traceDelayFine->blockSignals(m_oldStateTraceDelayFine);
1533  m_ui->traceColor->blockSignals(m_oldStateTraceColor);
1534 }
Ui::GLScopeGUI * m_ui
Definition: glscopegui.h:111
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_oldStateAmp

bool GLScopeGUI::TraceUIBlocker::m_oldStateAmp
private

Definition at line 116 of file glscopegui.h.

Referenced by TraceUIBlocker(), and unBlock().

◆ m_oldStateOfsCoarse

bool GLScopeGUI::TraceUIBlocker::m_oldStateOfsCoarse
private

Definition at line 117 of file glscopegui.h.

Referenced by TraceUIBlocker(), and unBlock().

◆ m_oldStateOfsFine

bool GLScopeGUI::TraceUIBlocker::m_oldStateOfsFine
private

Definition at line 118 of file glscopegui.h.

Referenced by TraceUIBlocker(), and unBlock().

◆ m_oldStateTrace

bool GLScopeGUI::TraceUIBlocker::m_oldStateTrace
private

Definition at line 112 of file glscopegui.h.

Referenced by TraceUIBlocker(), and unBlock().

◆ m_oldStateTraceAdd

bool GLScopeGUI::TraceUIBlocker::m_oldStateTraceAdd
private

Definition at line 113 of file glscopegui.h.

Referenced by TraceUIBlocker(), and unBlock().

◆ m_oldStateTraceColor

bool GLScopeGUI::TraceUIBlocker::m_oldStateTraceColor
private

Definition at line 121 of file glscopegui.h.

Referenced by TraceUIBlocker(), and unBlock().

◆ m_oldStateTraceDel

bool GLScopeGUI::TraceUIBlocker::m_oldStateTraceDel
private

Definition at line 114 of file glscopegui.h.

Referenced by TraceUIBlocker(), and unBlock().

◆ m_oldStateTraceDelayCoarse

bool GLScopeGUI::TraceUIBlocker::m_oldStateTraceDelayCoarse
private

Definition at line 119 of file glscopegui.h.

Referenced by TraceUIBlocker(), and unBlock().

◆ m_oldStateTraceDelayFine

bool GLScopeGUI::TraceUIBlocker::m_oldStateTraceDelayFine
private

Definition at line 120 of file glscopegui.h.

Referenced by TraceUIBlocker(), and unBlock().

◆ m_oldStateTraceMode

bool GLScopeGUI::TraceUIBlocker::m_oldStateTraceMode
private

Definition at line 115 of file glscopegui.h.

Referenced by TraceUIBlocker(), and unBlock().

◆ m_ui

Ui::GLScopeGUI* GLScopeGUI::TraceUIBlocker::m_ui
private

Definition at line 111 of file glscopegui.h.

Referenced by TraceUIBlocker(), and unBlock().


The documentation for this class was generated from the following files: