SynchroTime
Public Slots | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
SettingsDialog Class Reference

The SettingsDialog class. More...

#include <settingsdialog.h>

Inheritance diagram for SettingsDialog:
Inheritance graph
Collaboration diagram for SettingsDialog:
Collaboration graph

Public Slots

void show ()
 SettingsDialog::show. More...
 

Public Member Functions

 SettingsDialog (QWidget *parent=0)
 SettingsDialog::SettingsDialog. More...
 
 ~SettingsDialog ()
 SettingsDialog::~SettingsDialog. More...
 
Settings settings () const
 SettingsDialog::settings. More...
 
SettingsserialPortSettings ()
 SettingsDialog::serialPortSettings. More...
 
void fillSettingsUi ()
 SettingsDialog::fillSettingsUi. More...
 

Private Slots

void showPortInfo (int idx)
 SettingsDialog::showPortInfo. More...
 
void apply ()
 SettingsDialog::apply. More...
 
void cansel ()
 SettingsDialog::cansel. More...
 
void reset ()
 SettingsDialog::reset. More...
 
void checkCustomBaudRatePolicy (int idx)
 SettingsDialog::checkCustomBaudRatePolicy. More...
 
void checkCustomDevicePathPolicy (int idx)
 SettingsDialog::checkCustomDevicePathPolicy. More...
 
void on_statusControlCheckBox_clicked (bool checked)
 SettingsDialog::on_statusControlCheckBox_clicked The slot receives the clicked signal and manages the associated user interface objects. More...
 

Private Member Functions

void fillPortsParameters ()
 SettingsDialog::fillPortsParameters. More...
 
void fillPortsInfo ()
 SettingsDialog::fillPortsInfo. More...
 
void updateSettings ()
 SettingsDialog::updateSettings. More...
 

Private Attributes

Ui::SettingsDialog * ui
 
Settings currentSettings
 
QIntValidator * intValidator
 

Detailed Description

The SettingsDialog class.

The SettingsDialog class is an implementation of a dialog with a user to control and select parameters for connecting via a serial port.

Constructor & Destructor Documentation

SettingsDialog::SettingsDialog ( QWidget *  parent = 0)
explicit
SettingsDialog::~SettingsDialog ( )

Member Function Documentation

void SettingsDialog::apply ( )
privateslot

SettingsDialog::apply.

References currentSettings, Settings::isChanged, and updateSettings().

Referenced by SettingsDialog().

Here is the call graph for this function:

Here is the caller graph for this function:

void SettingsDialog::cansel ( )
privateslot

SettingsDialog::cansel.

References fillSettingsUi().

Referenced by SettingsDialog().

Here is the call graph for this function:

Here is the caller graph for this function:

void SettingsDialog::checkCustomBaudRatePolicy ( int  idx)
privateslot

SettingsDialog::checkCustomBaudRatePolicy.

Parameters
idx

References intValidator, and ui.

Referenced by SettingsDialog().

Here is the caller graph for this function:

void SettingsDialog::checkCustomDevicePathPolicy ( int  idx)
privateslot

SettingsDialog::checkCustomDevicePathPolicy.

Parameters
idx

References ui.

Referenced by SettingsDialog().

Here is the caller graph for this function:

void SettingsDialog::fillPortsInfo ( )
private

SettingsDialog::fillPortsInfo.

References blankString, and ui.

Referenced by SettingsDialog(), and show().

Here is the caller graph for this function:

void SettingsDialog::fillPortsParameters ( )
private

SettingsDialog::fillPortsParameters.

References ui.

Referenced by SettingsDialog().

Here is the caller graph for this function:

void SettingsDialog::fillSettingsUi ( )
void SettingsDialog::on_statusControlCheckBox_clicked ( bool  checked)
privateslot

SettingsDialog::on_statusControlCheckBox_clicked The slot receives the clicked signal and manages the associated user interface objects.

Parameters
checkedof the type bool, clicked state?

References ui.

void SettingsDialog::reset ( )
privateslot

SettingsDialog::reset.

References ui.

Referenced by SettingsDialog().

Here is the caller graph for this function:

Settings_t * SettingsDialog::serialPortSettings ( )

SettingsDialog::serialPortSettings.

Returns
currentSettings ot the type Settings_t*

References currentSettings.

Referenced by MainWindow::readSettings().

Here is the caller graph for this function:

Settings_t SettingsDialog::settings ( ) const

SettingsDialog::settings.

Returns
currentSettings of the type Settings_t

References currentSettings.

Referenced by MainWindow::connectRTC(), MainWindow::putRate(), and MainWindow::writeSettings().

Here is the caller graph for this function:

void SettingsDialog::show ( )
slot

SettingsDialog::show.

References fillPortsInfo().

Referenced by MainWindow::MainWindow().

Here is the call graph for this function:

Here is the caller graph for this function:

void SettingsDialog::showPortInfo ( int  idx)
privateslot

SettingsDialog::showPortInfo.

Parameters
idx

References blankString, and ui.

Referenced by SettingsDialog().

Here is the caller graph for this function:

void SettingsDialog::updateSettings ( )
private

Member Data Documentation

Settings SettingsDialog::currentSettings
private
QIntValidator* SettingsDialog::intValidator
private
Ui::SettingsDialog* SettingsDialog::ui
private

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