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