#include <complexfactorgui.h>
Inherits QWidget.
|
Ui::ComplexFactorGUI * | ui |
|
Definition at line 34 of file complexfactorgui.h.
◆ ComplexFactorGUI()
ComplexFactorGUI::ComplexFactorGUI |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Definition at line 21 of file complexfactorgui.cpp.
References ui.
23 ui(
new Ui::ComplexFactorGUI)
26 ui->automatic->setChecked(
false);
Ui::ComplexFactorGUI * ui
◆ ~ComplexFactorGUI()
ComplexFactorGUI::~ComplexFactorGUI |
( |
| ) |
|
◆ argumentChanged
void ComplexFactorGUI::argumentChanged |
( |
double |
value | ) |
|
|
signal |
◆ automaticChanged
void ComplexFactorGUI::automaticChanged |
( |
bool |
value | ) |
|
|
signal |
◆ getArgument()
double ComplexFactorGUI::getArgument |
( |
| ) |
const |
◆ getAutomatic()
bool ComplexFactorGUI::getAutomatic |
( |
| ) |
const |
◆ getModule()
double ComplexFactorGUI::getModule |
( |
| ) |
const |
Definition at line 34 of file complexfactorgui.cpp.
References ui.
36 return ui->module->value() / 100.0;
Ui::ComplexFactorGUI * ui
◆ moduleChanged
void ComplexFactorGUI::moduleChanged |
( |
double |
value | ) |
|
|
signal |
◆ on_arg_valueChanged
void ComplexFactorGUI::on_arg_valueChanged |
( |
int |
value | ) |
|
|
privateslot |
Definition at line 96 of file complexfactorgui.cpp.
References arg(), argumentChanged(), and ui.
98 ui->argText->setText(tr(
"%1").
arg(value));
Ui::ComplexFactorGUI * ui
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
void argumentChanged(double value)
◆ on_automatic_toggled
void ComplexFactorGUI::on_automatic_toggled |
( |
bool |
set | ) |
|
|
privateslot |
◆ on_module_valueChanged
void ComplexFactorGUI::on_module_valueChanged |
( |
int |
value | ) |
|
|
privateslot |
Definition at line 90 of file complexfactorgui.cpp.
References arg(), moduleChanged(), and ui.
92 ui->moduleText->setText(tr(
"%1").
arg(value/100.0f, 0,
'f', 2));
Ui::ComplexFactorGUI * ui
void moduleChanged(double value)
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
◆ setArgument()
void ComplexFactorGUI::setArgument |
( |
double |
value | ) |
|
◆ setAutomatic()
void ComplexFactorGUI::setAutomatic |
( |
bool |
automatic | ) |
|
◆ setAutomaticEnable()
void ComplexFactorGUI::setAutomaticEnable |
( |
bool |
enable | ) |
|
◆ setLabel()
void ComplexFactorGUI::setLabel |
( |
const QString & |
text | ) |
|
◆ setModule()
void ComplexFactorGUI::setModule |
( |
double |
value | ) |
|
◆ setToolTip()
void ComplexFactorGUI::setToolTip |
( |
const QString & |
text | ) |
|
◆ ui
Ui::ComplexFactorGUI* ComplexFactorGUI::ui |
|
private |
Definition at line 64 of file complexfactorgui.h.
Referenced by ComplexFactorGUI(), getArgument(), getAutomatic(), getModule(), on_arg_valueChanged(), on_automatic_toggled(), on_module_valueChanged(), setArgument(), setAutomatic(), setAutomaticEnable(), setLabel(), setModule(), setToolTip(), and ~ComplexFactorGUI().
The documentation for this class was generated from the following files: