A dialog used to build a SensorManagerDialog element. More...
#include <SensorManagerDialog.h>
Public Member Functions | |
| const QString & | getSelectedSensor () const |
| Returns the selected sensor name. More... | |
| bool | isModified () |
| Returns the selected sensor paramters. More... | |
| SensorManagerDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructs a basic dialog which is a child of parent, with widget flags set to f. More... | |
| void | updateSensorParams () |
| ~SensorManagerDialog () | |
| Destructor. More... | |
Protected Slots | |
| void | onAddToolButtonClicked () |
| void | onCancelPushButtonClicked () |
| void | onHelpPushButtonClicked () |
| void | onOkPushButtonClicked () |
| void | onSavePushButtonClicked () |
| void | onSearchLineEditTextChanged (const QString &text) |
| void | onSensorTableWidgetItemChanged (QTableWidgetItem *) |
| void | onSensorTableWidgetItemClicked (QTableWidgetItem *) |
Private Member Functions | |
| void | filter (const QList< QTableWidgetItem * > &items) |
Private Attributes | |
| bool | m_edited |
| Flag to indicate if sensors were edited. More... | |
| bool | m_modified |
| std::map< std::string, te::rp::SpectralSensorParams > | m_Params |
| QString | m_sensorselected |
| Selected sensor name. More... | |
| Ui::SensorManagerDialogForm * | m_ui |
| Dialog form. More... | |
A dialog used to build a SensorManagerDialog element.
Definition at line 61 of file SensorManagerDialog.h.
| te::qt::widgets::SensorManagerDialog::SensorManagerDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructs a basic dialog which is a child of parent, with widget flags set to f.
| parent | Pointer to the dialog parent. |
| f | The dialog flags. |
Definition at line 40 of file SensorManagerDialog.cpp.
References m_edited, m_modified, m_ui, onAddToolButtonClicked(), onCancelPushButtonClicked(), onOkPushButtonClicked(), onSavePushButtonClicked(), onSearchLineEditTextChanged(), and updateSensorParams().
| te::qt::widgets::SensorManagerDialog::~SensorManagerDialog | ( | ) |
|
private |
Definition at line 88 of file SensorManagerDialog.cpp.
References m_ui.
Referenced by onSearchLineEditTextChanged().
| const QString & te::qt::widgets::SensorManagerDialog::getSelectedSensor | ( | ) | const |
Returns the selected sensor name.
Definition at line 70 of file SensorManagerDialog.cpp.
References m_sensorselected.
Referenced by te::qt::widgets::MixtureModelWizardPage::onSensorToolButtonClicked().
|
inline |
Returns the selected sensor paramters.
Definition at line 89 of file SensorManagerDialog.h.
References slots.
Referenced by te::qt::widgets::MixtureModelWizardPage::onSensorToolButtonClicked().
|
protectedslot |
Definition at line 208 of file SensorManagerDialog.cpp.
References m_Params, m_ui, and onSensorTableWidgetItemChanged().
Referenced by SensorManagerDialog().
|
protectedslot |
Definition at line 197 of file SensorManagerDialog.cpp.
References m_sensorselected.
Referenced by SensorManagerDialog().
|
protectedslot |
Definition at line 203 of file SensorManagerDialog.cpp.
|
protectedslot |
Definition at line 174 of file SensorManagerDialog.cpp.
References m_edited, m_Params, m_sensorselected, m_ui, and te::rp::SaveSensorParams().
Referenced by SensorManagerDialog().
|
protectedslot |
Definition at line 248 of file SensorManagerDialog.cpp.
References m_edited, m_Params, and te::rp::SaveSensorParams().
Referenced by SensorManagerDialog().
|
protectedslot |
Definition at line 80 of file SensorManagerDialog.cpp.
References filter(), and m_ui.
Referenced by SensorManagerDialog().
|
protectedslot |
Definition at line 107 of file SensorManagerDialog.cpp.
References m_edited, m_modified, m_Params, and m_ui.
Referenced by onAddToolButtonClicked(), and updateSensorParams().
|
protectedslot |
Definition at line 100 of file SensorManagerDialog.cpp.
References m_ui.
| void te::qt::widgets::SensorManagerDialog::updateSensorParams | ( | ) |
Definition at line 255 of file SensorManagerDialog.cpp.
References te::rp::getSensorParams(), m_Params, m_ui, and onSensorTableWidgetItemChanged().
Referenced by SensorManagerDialog().
|
private |
Flag to indicate if sensors were edited.
Definition at line 110 of file SensorManagerDialog.h.
Referenced by onOkPushButtonClicked(), onSavePushButtonClicked(), onSensorTableWidgetItemChanged(), and SensorManagerDialog().
|
private |
Definition at line 111 of file SensorManagerDialog.h.
Referenced by onSensorTableWidgetItemChanged(), SensorManagerDialog(), and ~SensorManagerDialog().
|
private |
Definition at line 112 of file SensorManagerDialog.h.
Referenced by onAddToolButtonClicked(), onOkPushButtonClicked(), onSavePushButtonClicked(), onSensorTableWidgetItemChanged(), and updateSensorParams().
|
private |
Selected sensor name.
Definition at line 109 of file SensorManagerDialog.h.
Referenced by getSelectedSensor(), onCancelPushButtonClicked(), and onOkPushButtonClicked().
|
private |
Dialog form.
Definition at line 107 of file SensorManagerDialog.h.
Referenced by filter(), onAddToolButtonClicked(), onOkPushButtonClicked(), onSearchLineEditTextChanged(), onSensorTableWidgetItemChanged(), onSensorTableWidgetItemClicked(), SensorManagerDialog(), updateSensorParams(), and ~SensorManagerDialog().