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 Slots | Private Attributes | List of all members
AMDemodSSBDialog Class Reference

#include <amdemodssbdialog.h>

Inherits QDialog.

Public Member Functions

 AMDemodSSBDialog (bool usb, QWidget *parent=0)
 
 ~AMDemodSSBDialog ()
 
bool isUsb () const
 

Private Slots

void accept ()
 

Private Attributes

Ui::AMDemodSSBDialog * ui
 
bool m_usb
 

Detailed Description

Definition at line 27 of file amdemodssbdialog.h.

Constructor & Destructor Documentation

◆ AMDemodSSBDialog()

AMDemodSSBDialog::AMDemodSSBDialog ( bool  usb,
QWidget *  parent = 0 
)
explicit

Definition at line 21 of file amdemodssbdialog.cpp.

References ui.

21  :
22  QDialog(parent),
23  ui(new Ui::AMDemodSSBDialog),
24  m_usb(usb)
25 {
26  ui->setupUi(this);
27  ui->usb->setChecked(usb);
28  ui->lsb->setChecked(!usb);
29 }
Ui::AMDemodSSBDialog * ui

◆ ~AMDemodSSBDialog()

AMDemodSSBDialog::~AMDemodSSBDialog ( )

Definition at line 31 of file amdemodssbdialog.cpp.

References ui.

32 {
33  delete ui;
34 }
Ui::AMDemodSSBDialog * ui

Member Function Documentation

◆ accept

void AMDemodSSBDialog::accept ( )
privateslot

Definition at line 36 of file amdemodssbdialog.cpp.

References m_usb, and ui.

37 {
38  m_usb = ui->usb->isChecked();
39  QDialog::accept();
40 }
Ui::AMDemodSSBDialog * ui

◆ isUsb()

bool AMDemodSSBDialog::isUsb ( ) const
inline

Definition at line 34 of file amdemodssbdialog.h.

Referenced by AMDemodGUI::samSSBSelect().

34 { return m_usb; }
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_usb

bool AMDemodSSBDialog::m_usb
private

Definition at line 38 of file amdemodssbdialog.h.

Referenced by accept().

◆ ui

Ui::AMDemodSSBDialog* AMDemodSSBDialog::ui
private

Definition at line 37 of file amdemodssbdialog.h.

Referenced by accept(), AMDemodSSBDialog(), and ~AMDemodSSBDialog().


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