Isis Developer Reference
|
#include <GuiComboBoxParameter.h>
Public Types | |
enum | ParameterType { IntegerWidget, DoubleWidget, StringWidget, ListWidget, FileNameWidget, CubeWidget, BooleanWidget, ComboWidget } |
Signals | |
void | ValueChanged () |
void | HelperTrigger (const QString &) |
Public Member Functions | |
GuiComboBoxParameter (QGridLayout *grid, UserInterface &ui, int group, int param) | |
~GuiComboBoxParameter () | |
QString | Value () |
void | Set (QString newValue) |
virtual std::vector< QString > | Exclusions () |
Return list of current exclusions. More... | |
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... | |
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::GuiComboBoxParameter::GuiComboBoxParameter | ( | QGridLayout * | grid, |
UserInterface & | ui, | ||
int | group, | ||
int | param | ||
) |
Isis::GuiComboBoxParameter::~GuiComboBoxParameter | ( | ) |
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(), Isis::GuiListParameter::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(), GuiComboBoxParameter(), Isis::GuiDoubleParameter::GuiDoubleParameter(), Isis::GuiFileNameParameter::GuiFileNameParameter(), Isis::GuiIntegerParameter::GuiIntegerParameter(), Isis::GuiListParameter::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().
Referenced by Isis::Gui::Gui().
|
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(), GuiComboBoxParameter(), Isis::GuiDoubleParameter::GuiDoubleParameter(), Isis::GuiFileNameParameter::GuiFileNameParameter(), Isis::GuiIntegerParameter::GuiIntegerParameter(), Isis::GuiListParameter::GuiListParameter(), Isis::GuiStringParameter::GuiStringParameter(), Isis::GuiBooleanParameter::Set(), Set(), and Isis::GuiListParameter::Set().
|
protectedinherited |
|
protectedinherited |
Referenced by Isis::GuiParameter::AddHelpers(), Isis::GuiBooleanParameter::Exclusions(), Exclusions(), Isis::GuiListParameter::Exclusions(), Isis::GuiParameter::GuiParameter(), Isis::GuiBooleanParameter::IsModified(), Isis::GuiParameter::IsModified(), Isis::GuiFileNameParameter::SelectFile(), Set(), Isis::GuiListParameter::Set(), Isis::GuiParameter::SetToDefault(), Isis::GuiParameter::Update(), Value(), and Isis::GuiListParameter::Value().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by Isis::GuiParameter::AddHelpers(), Isis::GuiBooleanParameter::Exclusions(), Exclusions(), Isis::GuiListParameter::Exclusions(), Isis::GuiParameter::GuiParameter(), Isis::GuiBooleanParameter::IsModified(), Isis::GuiParameter::IsModified(), Isis::GuiFileNameParameter::SelectFile(), Set(), Isis::GuiListParameter::Set(), Isis::GuiParameter::SetToDefault(), Isis::GuiParameter::Update(), Value(), and Isis::GuiListParameter::Value().
|
protectedinherited |
Referenced by Isis::GuiBooleanParameter::GuiBooleanParameter(), GuiComboBoxParameter(), Isis::GuiCubeParameter::GuiCubeParameter(), Isis::GuiDoubleParameter::GuiDoubleParameter(), Isis::GuiFileNameParameter::GuiFileNameParameter(), Isis::GuiIntegerParameter::GuiIntegerParameter(), Isis::GuiListParameter::GuiListParameter(), Isis::GuiStringParameter::GuiStringParameter(), Isis::GuiParameter::SetEnabled(), and Isis::GuiParameter::Type().
|
protectedinherited |
Referenced by Isis::GuiParameter::AddHelpers(), Isis::GuiBooleanParameter::Exclusions(), Exclusions(), Isis::GuiListParameter::Exclusions(), Isis::GuiBooleanParameter::GuiBooleanParameter(), Isis::GuiDoubleParameter::GuiDoubleParameter(), Isis::GuiFileNameParameter::GuiFileNameParameter(), Isis::GuiIntegerParameter::GuiIntegerParameter(), Isis::GuiListParameter::GuiListParameter(), Isis::GuiParameter::GuiParameter(), Isis::GuiStringParameter::GuiStringParameter(), Isis::GuiBooleanParameter::IsModified(), Isis::GuiParameter::IsModified(), Isis::GuiFileNameParameter::SelectFile(), Isis::GuiBooleanParameter::Set(), Set(), Isis::GuiListParameter::Set(), Isis::GuiParameter::SetToCurrent(), Isis::GuiParameter::SetToDefault(), Isis::GuiParameter::Update(), Value(), and Isis::GuiListParameter::Value().