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::TrigUIBlocker Class Reference

Public Member Functions

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

Private Attributes

Ui::GLScopeGUI * m_ui
 
bool m_oldStateTrigMode
 
bool m_oldStateTrigCount
 
bool m_oldStateTrigPos
 
bool m_oldStateTrigNeg
 
bool m_oldStateTrigBoth
 
bool m_oldStateTrigLevelCoarse
 
bool m_oldStateTrigLevelFine
 
bool m_oldStateTrigDelayCoarse
 
bool m_oldStateTrigDelayFine
 

Detailed Description

Definition at line 81 of file glscopegui.h.

Constructor & Destructor Documentation

◆ TrigUIBlocker()

GLScopeGUI::TrigUIBlocker::TrigUIBlocker ( Ui::GLScopeGUI *  ui)

Definition at line 1470 of file glscopegui.cpp.

References m_oldStateTrigBoth, m_oldStateTrigCount, m_oldStateTrigDelayCoarse, m_oldStateTrigDelayFine, m_oldStateTrigLevelCoarse, m_oldStateTrigLevelFine, m_oldStateTrigMode, m_oldStateTrigNeg, and m_oldStateTrigPos.

1470  :
1471  m_ui(ui)
1472 {
1473  m_oldStateTrigMode = ui->trigMode->blockSignals(true);
1474  m_oldStateTrigCount = ui->trigCount->blockSignals(true);
1475  m_oldStateTrigPos = ui->trigPos->blockSignals(true);
1476  m_oldStateTrigNeg = ui->trigNeg->blockSignals(true);
1477  m_oldStateTrigBoth = ui->trigBoth->blockSignals(true);
1478  m_oldStateTrigLevelCoarse = ui->trigLevelCoarse->blockSignals(true);
1479  m_oldStateTrigLevelFine = ui->trigLevelFine->blockSignals(true);
1480  m_oldStateTrigDelayCoarse = ui->trigDelayCoarse->blockSignals(true);
1481  m_oldStateTrigDelayFine = ui->trigDelayFine->blockSignals(true);
1482 }
Ui::GLScopeGUI * ui
Definition: glscopegui.h:144
Ui::GLScopeGUI * m_ui
Definition: glscopegui.h:90

◆ ~TrigUIBlocker()

GLScopeGUI::TrigUIBlocker::~TrigUIBlocker ( )

Definition at line 1484 of file glscopegui.cpp.

References unBlock().

1485 {
1486  unBlock();
1487 }
+ Here is the call graph for this function:

Member Function Documentation

◆ unBlock()

void GLScopeGUI::TrigUIBlocker::unBlock ( )

Definition at line 1489 of file glscopegui.cpp.

References m_oldStateTrigBoth, m_oldStateTrigCount, m_oldStateTrigDelayCoarse, m_oldStateTrigDelayFine, m_oldStateTrigLevelCoarse, m_oldStateTrigLevelFine, m_oldStateTrigMode, m_oldStateTrigNeg, m_oldStateTrigPos, and m_ui.

Referenced by ~TrigUIBlocker().

1490 {
1491  m_ui->trigMode->blockSignals(m_oldStateTrigMode);
1492  m_ui->trigCount->blockSignals(m_oldStateTrigCount);
1493  m_ui->trigPos->blockSignals(m_oldStateTrigPos);
1494  m_ui->trigNeg->blockSignals(m_oldStateTrigNeg);
1495  m_ui->trigBoth->blockSignals(m_oldStateTrigBoth);
1496  m_ui->trigLevelCoarse->blockSignals(m_oldStateTrigLevelCoarse);
1497  m_ui->trigLevelFine->blockSignals(m_oldStateTrigLevelFine);
1498  m_ui->trigDelayCoarse->blockSignals(m_oldStateTrigDelayCoarse);
1499  m_ui->trigDelayFine->blockSignals(m_oldStateTrigDelayFine);
1500 }
Ui::GLScopeGUI * m_ui
Definition: glscopegui.h:90
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_oldStateTrigBoth

bool GLScopeGUI::TrigUIBlocker::m_oldStateTrigBoth
private

Definition at line 95 of file glscopegui.h.

Referenced by TrigUIBlocker(), and unBlock().

◆ m_oldStateTrigCount

bool GLScopeGUI::TrigUIBlocker::m_oldStateTrigCount
private

Definition at line 92 of file glscopegui.h.

Referenced by TrigUIBlocker(), and unBlock().

◆ m_oldStateTrigDelayCoarse

bool GLScopeGUI::TrigUIBlocker::m_oldStateTrigDelayCoarse
private

Definition at line 98 of file glscopegui.h.

Referenced by TrigUIBlocker(), and unBlock().

◆ m_oldStateTrigDelayFine

bool GLScopeGUI::TrigUIBlocker::m_oldStateTrigDelayFine
private

Definition at line 99 of file glscopegui.h.

Referenced by TrigUIBlocker(), and unBlock().

◆ m_oldStateTrigLevelCoarse

bool GLScopeGUI::TrigUIBlocker::m_oldStateTrigLevelCoarse
private

Definition at line 96 of file glscopegui.h.

Referenced by TrigUIBlocker(), and unBlock().

◆ m_oldStateTrigLevelFine

bool GLScopeGUI::TrigUIBlocker::m_oldStateTrigLevelFine
private

Definition at line 97 of file glscopegui.h.

Referenced by TrigUIBlocker(), and unBlock().

◆ m_oldStateTrigMode

bool GLScopeGUI::TrigUIBlocker::m_oldStateTrigMode
private

Definition at line 91 of file glscopegui.h.

Referenced by TrigUIBlocker(), and unBlock().

◆ m_oldStateTrigNeg

bool GLScopeGUI::TrigUIBlocker::m_oldStateTrigNeg
private

Definition at line 94 of file glscopegui.h.

Referenced by TrigUIBlocker(), and unBlock().

◆ m_oldStateTrigPos

bool GLScopeGUI::TrigUIBlocker::m_oldStateTrigPos
private

Definition at line 93 of file glscopegui.h.

Referenced by TrigUIBlocker(), and unBlock().

◆ m_ui

Ui::GLScopeGUI* GLScopeGUI::TrigUIBlocker::m_ui
private

Definition at line 90 of file glscopegui.h.

Referenced by unBlock().


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