Isis Developer Reference
|
#include <GuiListParameter.h>
Public Types | |
enum | ParameterType { IntegerWidget , DoubleWidget , StringWidget , ListWidget , FileNameWidget , CubeWidget , BooleanWidget , ComboWidget } |
Signals | |
void | ValueChanged () |
void | HelperTrigger (const QString &) |
Public Member Functions | |
GuiListParameter (QGridLayout *grid, UserInterface &ui, int group, int param) | |
~GuiListParameter () | |
QString | Value () |
void | Set (QString newValue) |
virtual std::vector< QString > | Exclusions () |
Return list of current exclusions. | |
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. | |
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. | |
ParameterType | Type () |
Protected Attributes | |
QToolButton * | p_fileButton |
QLineEdit * | p_lineEdit |
int | p_group |
int | p_param |
QString | p_name |
UserInterface * | p_ui |
QLabel * | p_label |
QList< QWidget * > | p_widgetList |
ParameterType | p_type |
|
inherited |
Isis::GuiListParameter::GuiListParameter | ( | QGridLayout * | grid, |
UserInterface & | ui, | ||
int | group, | ||
int | param ) |
Isis::GuiListParameter::~GuiListParameter | ( | ) |
Sets up helper button.
References _FILEINFO_, Isis::FileName::expanded(), IsisAml::HelperBrief(), IsisAml::HelperButtonName(), IsisAml::HelperDescription(), IsisAml::HelperFunction(), IsisAml::HelperIcon(), IsisAml::HelpersSize(), Isis::GuiParameter::HelperTrigger(), Isis::GuiParameter::p_group, Isis::GuiParameter::p_param, Isis::GuiParameter::p_ui, Isis::IException::Programmer, and Isis::GuiParameter::RememberWidget().
Referenced by Isis::GuiBooleanParameter::GuiBooleanParameter(), Isis::GuiDoubleParameter::GuiDoubleParameter(), Isis::GuiFileNameParameter::GuiFileNameParameter(), Isis::GuiIntegerParameter::GuiIntegerParameter(), GuiListParameter(), and Isis::GuiStringParameter::GuiStringParameter().
|
virtual |
Return list of current exclusions.
Reimplemented from Isis::GuiParameter.
References Isis::GuiParameter::p_group, Isis::GuiParameter::p_param, Isis::GuiParameter::p_ui, IsisAml::ParamListExclude(), and IsisAml::ParamListExcludeSize().
|
signalinherited |
Referenced by Isis::GuiParameter::AddHelpers().
|
inlineinherited |
Is the parameter enabled.
References Isis::GuiParameter::p_label.
Referenced by Isis::GuiBooleanParameter::IsModified(), and Isis::GuiParameter::IsModified().
|
virtualinherited |
Return if the parameter value is different from the default value.
Reimplemented in Isis::GuiBooleanParameter.
References Isis::GuiParameter::IsEnabled(), Isis::GuiParameter::p_group, Isis::GuiParameter::p_param, Isis::GuiParameter::p_ui, IsisAml::ParamDefault(), IsisAml::ParamInternalDefault(), and Isis::GuiParameter::Value().
|
inlineinherited |
Return the name of the parameter.
References Isis::GuiParameter::p_name.
|
inherited |
Add widgets to a list for enabling/disabling.
References Isis::GuiParameter::p_widgetList.
Referenced by Isis::GuiParameter::AddHelpers(), Isis::GuiBooleanParameter::GuiBooleanParameter(), Isis::GuiComboBoxParameter::GuiComboBoxParameter(), Isis::GuiDoubleParameter::GuiDoubleParameter(), Isis::GuiFileNameParameter::GuiFileNameParameter(), Isis::GuiIntegerParameter::GuiIntegerParameter(), GuiListParameter(), and Isis::GuiStringParameter::GuiStringParameter().
|
virtual |
|
inherited |
Enable or disable the parameter.
References Isis::GuiParameter::ComboWidget, Isis::GuiParameter::p_label, Isis::GuiParameter::p_type, and Isis::GuiParameter::p_widgetList.
|
inherited |
Change the parameter to the current user interface value.
References IsisAml::GetAsString(), Isis::GuiParameter::p_name, Isis::GuiParameter::p_ui, Isis::GuiParameter::Set(), Isis::GuiParameter::SetToDefault(), and IsisAml::WasEntered().
|
inherited |
Change the parameter to the default value.
References Isis::GuiParameter::p_group, Isis::GuiParameter::p_param, Isis::GuiParameter::p_ui, IsisAml::ParamDefault(), IsisAml::ParamInternalDefault(), and Isis::GuiParameter::Set().
Referenced by Isis::GuiParameter::SetToCurrent().
|
inlineinherited |
References Isis::GuiParameter::p_type.
|
inherited |
Update the value on the GUI with the value in the UI.
References IsisAml::GetAsString(), Isis::GuiParameter::p_group, Isis::GuiParameter::p_name, Isis::GuiParameter::p_param, Isis::GuiParameter::p_ui, IsisAml::ParamDefault(), IsisAml::ParamInternalDefault(), Isis::GuiParameter::Set(), and IsisAml::WasEntered().
|
virtual |
Implements Isis::GuiParameter.
References Isis::GuiParameter::p_group, Isis::GuiParameter::p_param, Isis::GuiParameter::p_ui, and IsisAml::ParamListValue().
|
signalinherited |
Referenced by Isis::GuiBooleanParameter::GuiBooleanParameter(), Isis::GuiComboBoxParameter::GuiComboBoxParameter(), Isis::GuiDoubleParameter::GuiDoubleParameter(), Isis::GuiFileNameParameter::GuiFileNameParameter(), Isis::GuiIntegerParameter::GuiIntegerParameter(), GuiListParameter(), Isis::GuiStringParameter::GuiStringParameter(), Isis::GuiBooleanParameter::Set(), Isis::GuiComboBoxParameter::Set(), and Set().
|
protectedinherited |
|
protectedinherited |
Referenced by Isis::GuiParameter::AddHelpers(), Isis::GuiBooleanParameter::Exclusions(), Isis::GuiComboBoxParameter::Exclusions(), Exclusions(), Isis::GuiParameter::GuiParameter(), Isis::GuiBooleanParameter::IsModified(), Isis::GuiParameter::IsModified(), Isis::GuiFileNameParameter::SelectFile(), Isis::GuiComboBoxParameter::Set(), Set(), Isis::GuiParameter::SetToDefault(), Isis::GuiParameter::Update(), Isis::GuiComboBoxParameter::Value(), and Value().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by Isis::GuiParameter::AddHelpers(), Isis::GuiBooleanParameter::Exclusions(), Isis::GuiComboBoxParameter::Exclusions(), Exclusions(), Isis::GuiParameter::GuiParameter(), Isis::GuiBooleanParameter::IsModified(), Isis::GuiParameter::IsModified(), Isis::GuiFileNameParameter::SelectFile(), Isis::GuiComboBoxParameter::Set(), Set(), Isis::GuiParameter::SetToDefault(), Isis::GuiParameter::Update(), Isis::GuiComboBoxParameter::Value(), and Value().
|
protectedinherited |
Referenced by Isis::GuiBooleanParameter::GuiBooleanParameter(), Isis::GuiComboBoxParameter::GuiComboBoxParameter(), Isis::GuiCubeParameter::GuiCubeParameter(), Isis::GuiDoubleParameter::GuiDoubleParameter(), Isis::GuiFileNameParameter::GuiFileNameParameter(), Isis::GuiIntegerParameter::GuiIntegerParameter(), GuiListParameter(), Isis::GuiStringParameter::GuiStringParameter(), Isis::GuiParameter::SetEnabled(), and Isis::GuiParameter::Type().
|
protectedinherited |
Referenced by Isis::GuiParameter::AddHelpers(), Isis::GuiBooleanParameter::Exclusions(), Isis::GuiComboBoxParameter::Exclusions(), Exclusions(), Isis::GuiBooleanParameter::GuiBooleanParameter(), Isis::GuiDoubleParameter::GuiDoubleParameter(), Isis::GuiFileNameParameter::GuiFileNameParameter(), Isis::GuiIntegerParameter::GuiIntegerParameter(), GuiListParameter(), Isis::GuiParameter::GuiParameter(), Isis::GuiStringParameter::GuiStringParameter(), Isis::GuiBooleanParameter::IsModified(), Isis::GuiParameter::IsModified(), Isis::GuiFileNameParameter::SelectFile(), Isis::GuiBooleanParameter::Set(), Isis::GuiComboBoxParameter::Set(), Set(), Isis::GuiParameter::SetToCurrent(), Isis::GuiParameter::SetToDefault(), Isis::GuiParameter::Update(), Isis::GuiComboBoxParameter::Value(), and Value().