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
AboutDialog Class Reference

#include <aboutdialog.h>

Inherits QDialog.

Public Member Functions

 AboutDialog (const QString &apiHost, int apiPort, const MainSettings &mainSettings, QWidget *parent=0)
 
 ~AboutDialog ()
 

Private Attributes

Ui::AboutDialog * ui
 

Detailed Description

Definition at line 14 of file aboutdialog.h.

Constructor & Destructor Documentation

◆ AboutDialog()

AboutDialog::AboutDialog ( const QString &  apiHost,
int  apiPort,
const MainSettings mainSettings,
QWidget *  parent = 0 
)
explicit

Definition at line 6 of file aboutdialog.cpp.

References arg(), MainSettings::getFileLocation(), SDR_RX_SAMP_SZ, SDR_TX_SAMP_SZ, and ui.

6  :
7  QDialog(parent),
8  ui(new Ui::AboutDialog)
9 {
10  ui->setupUi(this);
11  ui->version->setText(QString("Version %1 - Copyright (C) 2015-2019 Edouard Griffiths, F4EXB.").arg(qApp->applicationVersion()));
12  ui->build->setText(QString("Build info: Qt %1 %2 bits").arg(QT_VERSION_STR).arg(QT_POINTER_SIZE*8));
13  ui->dspBits->setText(QString("DSP Rx %1 bits Tx %2 bits").arg(SDR_RX_SAMP_SZ).arg(SDR_TX_SAMP_SZ));
14  ui->pid->setText(QString("PID: %1").arg(qApp->applicationPid()));
15  QString apiUrl = QString("http://%1:%2/").arg(apiHost).arg(apiPort);
16  ui->restApiUrl->setText(QString("REST API documentation: <a href=\"%1\">%2</a>").arg(apiUrl).arg(apiUrl));
17  ui->restApiUrl->setOpenExternalLinks(true);
18  ui->settingsFile->setText(QString("Settings: %1").arg(mainSettings.getFileLocation()));
19 }
QString getFileLocation() const
Ui::AboutDialog * ui
Definition: aboutdialog.h:22
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
Definition: fixed.h:2401
#define SDR_RX_SAMP_SZ
Definition: dsptypes.h:32
#define SDR_TX_SAMP_SZ
Definition: dsptypes.h:38
+ Here is the call graph for this function:

◆ ~AboutDialog()

AboutDialog::~AboutDialog ( )

Definition at line 21 of file aboutdialog.cpp.

References ui.

22 {
23  delete ui;
24 }
Ui::AboutDialog * ui
Definition: aboutdialog.h:22

Member Data Documentation

◆ ui

Ui::AboutDialog* AboutDialog::ui
private

Definition at line 22 of file aboutdialog.h.

Referenced by AboutDialog(), and ~AboutDialog().


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