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

Public Member Functions

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

Private Attributes

Ui::GLScopeGUI * m_ui
 
bool m_oldStateOnlyX
 
bool m_oldStateOnlyY
 
bool m_oldStateHorizontalXY
 
bool m_oldStateVerticalXY
 
bool m_oldStatePolar
 

Detailed Description

Definition at line 124 of file glscopegui.h.

Constructor & Destructor Documentation

◆ MainUIBlocker()

GLScopeGUI::MainUIBlocker::MainUIBlocker ( Ui::GLScopeGUI *  ui)

Definition at line 1536 of file glscopegui.cpp.

References m_oldStateHorizontalXY, m_oldStateOnlyX, m_oldStateOnlyY, m_oldStatePolar, m_oldStateVerticalXY, and m_ui.

1536  :
1537  m_ui(ui)
1538 {
1539  m_oldStateOnlyX = m_ui->onlyX->blockSignals(true);
1540  m_oldStateOnlyY = m_ui->onlyY->blockSignals(true);
1541  m_oldStateHorizontalXY = m_ui->horizontalXY->blockSignals(true);
1542  m_oldStateVerticalXY = m_ui->verticalXY->blockSignals(true);
1543  m_oldStatePolar = m_ui->polar->blockSignals(true);
1544 // m_oldStateTime = m_ui->time->blockSignals(true);
1545 // m_oldStateTimeOfs = m_ui->timeOfs->blockSignals(true);
1546 // m_oldStateTraceLen = m_ui->traceLen->blockSignals(true);
1547 }
Ui::GLScopeGUI * ui
Definition: glscopegui.h:144
Ui::GLScopeGUI * m_ui
Definition: glscopegui.h:133

◆ ~MainUIBlocker()

GLScopeGUI::MainUIBlocker::~MainUIBlocker ( )

Definition at line 1549 of file glscopegui.cpp.

References unBlock().

1550 {
1551  unBlock();
1552 }
+ Here is the call graph for this function:

Member Function Documentation

◆ unBlock()

void GLScopeGUI::MainUIBlocker::unBlock ( )

Definition at line 1554 of file glscopegui.cpp.

References m_oldStateHorizontalXY, m_oldStateOnlyX, m_oldStateOnlyY, m_oldStatePolar, m_oldStateVerticalXY, and m_ui.

Referenced by ~MainUIBlocker().

1555 {
1556  m_ui->onlyX->blockSignals(m_oldStateOnlyX);
1557  m_ui->onlyY->blockSignals(m_oldStateOnlyY);
1558  m_ui->horizontalXY->blockSignals(m_oldStateHorizontalXY);
1559  m_ui->verticalXY->blockSignals(m_oldStateVerticalXY);
1560  m_ui->polar->blockSignals(m_oldStatePolar);
1561 // m_ui->time->blockSignals(m_oldStateTime);
1562 // m_ui->timeOfs->blockSignals(m_oldStateTimeOfs);
1563 // m_ui->traceLen->blockSignals(m_oldStateTraceLen);
1564 }
Ui::GLScopeGUI * m_ui
Definition: glscopegui.h:133
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_oldStateHorizontalXY

bool GLScopeGUI::MainUIBlocker::m_oldStateHorizontalXY
private

Definition at line 136 of file glscopegui.h.

Referenced by MainUIBlocker(), and unBlock().

◆ m_oldStateOnlyX

bool GLScopeGUI::MainUIBlocker::m_oldStateOnlyX
private

Definition at line 134 of file glscopegui.h.

Referenced by MainUIBlocker(), and unBlock().

◆ m_oldStateOnlyY

bool GLScopeGUI::MainUIBlocker::m_oldStateOnlyY
private

Definition at line 135 of file glscopegui.h.

Referenced by MainUIBlocker(), and unBlock().

◆ m_oldStatePolar

bool GLScopeGUI::MainUIBlocker::m_oldStatePolar
private

Definition at line 138 of file glscopegui.h.

Referenced by MainUIBlocker(), and unBlock().

◆ m_oldStateVerticalXY

bool GLScopeGUI::MainUIBlocker::m_oldStateVerticalXY
private

Definition at line 137 of file glscopegui.h.

Referenced by MainUIBlocker(), and unBlock().

◆ m_ui

Ui::GLScopeGUI* GLScopeGUI::MainUIBlocker::m_ui
private

Definition at line 133 of file glscopegui.h.

Referenced by MainUIBlocker(), and unBlock().


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