#include <GuiParameter.h>
|
| | GuiParameter (QGridLayout *grid, UserInterface &ui, int group, int param) |
| | Constructor.
|
| |
| virtual | ~GuiParameter () |
| | Destructor.
|
| |
| QString | Name () const |
| | Return the name of the parameter.
|
| |
| void | SetToDefault () |
| | Change the parameter to the default value.
|
| |
| void | SetToCurrent () |
| | Change the parameter to the current user interface value.
|
| |
| virtual QString | Value ()=0 |
| |
| virtual void | Set (QString newValue)=0 |
| |
| void | SetEnabled (bool enabled, bool isParentCombo=false) |
| | Enable or disable the parameter.
|
| |
| bool | IsEnabled () const |
| | Is the parameter enabled.
|
| |
| virtual bool | IsModified () |
| | Return if the parameter value is different from the default value.
|
| |
| void | Update () |
| | Update the value on the GUI with the value in the UI.
|
| |
| void | RememberWidget (QWidget *w) |
| | Add widgets to a list for enabling/disabling.
|
| |
| QWidget * | AddHelpers (QObject *lo) |
| | Sets up helper button.
|
| |
| virtual std::vector< QString > | Exclusions () |
| | Return list of current exclusions.
|
| |
| ParameterType | Type () |
| |
◆ ParameterType
| Enumerator |
|---|
| IntegerWidget | |
| DoubleWidget | |
| StringWidget | |
| ListWidget | |
| FileNameWidget | |
| CubeWidget | |
| BooleanWidget | |
| ComboWidget | |
◆ GuiParameter()
| Isis::GuiParameter::GuiParameter |
( |
QGridLayout * | grid, |
|
|
UserInterface & | ui, |
|
|
int | group, |
|
|
int | param ) |
Constructor.
References p_fileButton, p_group, p_label, p_lineEdit, p_name, p_param, p_ui, and IsisAml::ParamName().
Referenced by Isis::GuiBooleanParameter::GuiBooleanParameter(), Isis::GuiComboBoxParameter::GuiComboBoxParameter(), Isis::GuiDoubleParameter::GuiDoubleParameter(), Isis::GuiFileNameParameter::GuiFileNameParameter(), Isis::GuiIntegerParameter::GuiIntegerParameter(), Isis::GuiListParameter::GuiListParameter(), and Isis::GuiStringParameter::GuiStringParameter().
◆ ~GuiParameter()
| Isis::GuiParameter::~GuiParameter |
( |
| ) |
|
|
virtual |
◆ AddHelpers()
Sets up helper button.
References _FILEINFO_, Isis::FileName::expanded(), HelperTrigger(), p_group, p_param, p_ui, Isis::IException::Programmer, and RememberWidget().
Referenced by Isis::GuiBooleanParameter::GuiBooleanParameter(), Isis::GuiDoubleParameter::GuiDoubleParameter(), Isis::GuiFileNameParameter::GuiFileNameParameter(), Isis::GuiIntegerParameter::GuiIntegerParameter(), Isis::GuiListParameter::GuiListParameter(), and Isis::GuiStringParameter::GuiStringParameter().
◆ Exclusions()
| std::vector< QString > Isis::GuiParameter::Exclusions |
( |
| ) |
|
|
virtual |
◆ HelperTrigger
| void Isis::GuiParameter::HelperTrigger |
( |
const QString & | | ) |
|
|
signal |
◆ IsEnabled()
| bool Isis::GuiParameter::IsEnabled |
( |
| ) |
const |
|
inline |
◆ IsModified()
| bool Isis::GuiParameter::IsModified |
( |
| ) |
|
|
virtual |
◆ Name()
| QString Isis::GuiParameter::Name |
( |
| ) |
const |
|
inline |
Return the name of the parameter.
References p_name.
◆ RememberWidget()
| void Isis::GuiParameter::RememberWidget |
( |
QWidget * | w | ) |
|
◆ Set()
| virtual void Isis::GuiParameter::Set |
( |
QString | newValue | ) |
|
|
pure virtual |
◆ SetEnabled()
| void Isis::GuiParameter::SetEnabled |
( |
bool | enabled, |
|
|
bool | isParentCombo = false ) |
◆ SetToCurrent()
| void Isis::GuiParameter::SetToCurrent |
( |
| ) |
|
◆ SetToDefault()
| void Isis::GuiParameter::SetToDefault |
( |
| ) |
|
◆ Type()
◆ Update()
| void Isis::GuiParameter::Update |
( |
| ) |
|
◆ Value()
| virtual QString Isis::GuiParameter::Value |
( |
| ) |
|
|
pure virtual |
◆ ValueChanged
| void Isis::GuiParameter::ValueChanged |
( |
| ) |
|
|
signal |
◆ p_fileButton
| QToolButton* Isis::GuiParameter::p_fileButton |
|
protected |
◆ p_group
| int Isis::GuiParameter::p_group |
|
protected |
Referenced by AddHelpers(), Isis::GuiBooleanParameter::Exclusions(), Isis::GuiComboBoxParameter::Exclusions(), Isis::GuiListParameter::Exclusions(), GuiParameter(), Isis::GuiBooleanParameter::IsModified(), IsModified(), Isis::GuiFileNameParameter::SelectFile(), Isis::GuiComboBoxParameter::Set(), Isis::GuiListParameter::Set(), SetToDefault(), Update(), Isis::GuiComboBoxParameter::Value(), and Isis::GuiListParameter::Value().
◆ p_label
| QLabel* Isis::GuiParameter::p_label |
|
protected |
◆ p_lineEdit
| QLineEdit* Isis::GuiParameter::p_lineEdit |
|
protected |
◆ p_name
| QString Isis::GuiParameter::p_name |
|
protected |
◆ p_param
| int Isis::GuiParameter::p_param |
|
protected |
Referenced by AddHelpers(), Isis::GuiBooleanParameter::Exclusions(), Isis::GuiComboBoxParameter::Exclusions(), Isis::GuiListParameter::Exclusions(), GuiParameter(), Isis::GuiBooleanParameter::IsModified(), IsModified(), Isis::GuiFileNameParameter::SelectFile(), Isis::GuiComboBoxParameter::Set(), Isis::GuiListParameter::Set(), SetToDefault(), Update(), Isis::GuiComboBoxParameter::Value(), and Isis::GuiListParameter::Value().
◆ p_type
◆ p_ui
Referenced by AddHelpers(), Isis::GuiBooleanParameter::Exclusions(), Isis::GuiComboBoxParameter::Exclusions(), Isis::GuiListParameter::Exclusions(), Isis::GuiBooleanParameter::GuiBooleanParameter(), Isis::GuiDoubleParameter::GuiDoubleParameter(), Isis::GuiFileNameParameter::GuiFileNameParameter(), Isis::GuiIntegerParameter::GuiIntegerParameter(), Isis::GuiListParameter::GuiListParameter(), GuiParameter(), Isis::GuiStringParameter::GuiStringParameter(), Isis::GuiBooleanParameter::IsModified(), IsModified(), Isis::GuiFileNameParameter::SelectFile(), Isis::GuiBooleanParameter::Set(), Isis::GuiComboBoxParameter::Set(), Isis::GuiListParameter::Set(), SetToCurrent(), SetToDefault(), Update(), Isis::GuiComboBoxParameter::Value(), and Isis::GuiListParameter::Value().
◆ p_widgetList
The documentation for this class was generated from the following files: