SynchroTime
|
The SettingsDialog class. More...
#include <settingsdialog.h>
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... | |
Settings * | serialPortSettings () |
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 |
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.
|
explicit |
SettingsDialog::SettingsDialog.
parent |
References apply(), cansel(), checkCustomBaudRatePolicy(), checkCustomDevicePathPolicy(), fillPortsInfo(), fillPortsParameters(), intValidator, reset(), showPortInfo(), ui, and updateSettings().
SettingsDialog::~SettingsDialog | ( | ) |
SettingsDialog::~SettingsDialog.
References ui.
|
privateslot |
References currentSettings, Settings::isChanged, and updateSettings().
Referenced by SettingsDialog().
|
privateslot |
References fillSettingsUi().
Referenced by SettingsDialog().
|
privateslot |
SettingsDialog::checkCustomBaudRatePolicy.
idx |
References intValidator, and ui.
Referenced by SettingsDialog().
|
privateslot |
SettingsDialog::checkCustomDevicePathPolicy.
idx |
References ui.
Referenced by SettingsDialog().
|
private |
SettingsDialog::fillPortsInfo.
References blankString, and ui.
Referenced by SettingsDialog(), and show().
|
private |
SettingsDialog::fillPortsParameters.
References ui.
Referenced by SettingsDialog().
void SettingsDialog::fillSettingsUi | ( | ) |
SettingsDialog::fillSettingsUi.
References Settings::accessRateEnabled, Settings::baudRate, Settings::correctionFactor, currentSettings, Settings::name, Settings::requestRate, Settings::statusControlEnabled, Settings::stringBaudRate, Settings::stringDataBits, Settings::stringFlowControl, Settings::stringParity, Settings::stringStopBits, and ui.
Referenced by cansel(), and MainWindow::MainWindow().
|
privateslot |
SettingsDialog::on_statusControlCheckBox_clicked The slot receives the clicked signal and manages the associated user interface objects.
checked | of the type bool, clicked state? |
References ui.
|
privateslot |
Settings_t * SettingsDialog::serialPortSettings | ( | ) |
SettingsDialog::serialPortSettings.
References currentSettings.
Referenced by MainWindow::readSettings().
Settings_t SettingsDialog::settings | ( | ) | const |
References currentSettings.
Referenced by MainWindow::connectRTC(), MainWindow::putRate(), and MainWindow::writeSettings().
|
slot |
References fillPortsInfo().
Referenced by MainWindow::MainWindow().
|
privateslot |
idx |
References blankString, and ui.
Referenced by SettingsDialog().
|
private |
SettingsDialog::updateSettings.
References Settings::accessRateEnabled, Settings::baudRate, Settings::correctionFactor, currentSettings, Settings::dataBits, Settings::flowControl, Settings::name, Settings::parity, Settings::requestRate, Settings::statusControlEnabled, Settings::stopBits, Settings::stringBaudRate, Settings::stringDataBits, Settings::stringFlowControl, Settings::stringParity, Settings::stringStopBits, and ui.
Referenced by apply(), and SettingsDialog().
|
private |
Referenced by apply(), fillSettingsUi(), serialPortSettings(), settings(), and updateSettings().
|
private |
Referenced by checkCustomBaudRatePolicy(), and SettingsDialog().
|
private |