Isis 3 Programmer Reference
|
#include <GuiIntegerParameter.h>
Public Types | |
enum | ParameterType { IntegerWidget, DoubleWidget, StringWidget, ListWidget, FileNameWidget, CubeWidget, BooleanWidget, ComboWidget } |
Signals | |
void | ValueChanged () |
void | HelperTrigger (const QString &) |
Public Member Functions | |
GuiIntegerParameter (QGridLayout *grid, UserInterface &ui, int group, int param) | |
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 |
Private Attributes | |
QLineEdit * | p_lineEdit |
QMenu * | p_helperMenu |
Definition at line 23 of file GuiIntegerParameter.h.
Sets up helper button.
Definition at line 245 of file GuiParameter.cpp.
References Isis::FileName::expanded(), IsisAml::HelperBrief(), IsisAml::HelperButtonName(), IsisAml::HelperDescription(), IsisAml::HelperFunction(), IsisAml::HelperIcon(), IsisAml::HelpersSize(), Isis::IException::Programmer, and Isis::GuiParameter::RememberWidget().
Referenced by Isis::GuiFileNameParameter::GuiFileNameParameter().
|
virtualinherited |
Return list of current exclusions.
Reimplemented in Isis::GuiListParameter, Isis::GuiComboBoxParameter, and Isis::GuiBooleanParameter.
Definition at line 239 of file GuiParameter.cpp.
Referenced by Isis::Gui::UpdateExclusions().
|
inlineinherited |
Is the parameter enabled.
Definition at line 59 of file GuiParameter.h.
Referenced by Isis::Gui::InvokeHelper(), Isis::GuiBooleanParameter::IsModified(), Isis::GuiParameter::IsModified(), Isis::Gui::StartProcess(), and Isis::Gui::UpdateCommandLine().
|
virtualinherited |
Return if the parameter value is different from the default value.
Reimplemented in Isis::GuiBooleanParameter.
Definition at line 181 of file GuiParameter.cpp.
References Isis::GuiParameter::IsEnabled(), IsisAml::ParamDefault(), and IsisAml::ParamInternalDefault().
Referenced by Isis::Gui::InvokeHelper(), Isis::Gui::StartProcess(), Isis::Gui::UpdateCommandLine(), Isis::GuiCubeParameter::ViewCube(), and Isis::GuiCubeParameter::ViewLabel().
|
inlineinherited |
Return the name of the parameter.
Definition at line 44 of file GuiParameter.h.
Referenced by Isis::Gui::InvokeHelper(), Isis::Gui::ResetParameters(), Isis::Gui::StartProcess(), Isis::Gui::UpdateCommandLine(), and Isis::Gui::UpdateExclusions().
|
inherited |
Add widgets to a list for enabling/disabling.
Definition at line 212 of file GuiParameter.cpp.
Referenced by Isis::GuiParameter::AddHelpers(), and Isis::GuiFileNameParameter::GuiFileNameParameter().
|
inherited |
Enable or disable the parameter.
Definition at line 217 of file GuiParameter.cpp.
Referenced by Isis::Gui::UpdateExclusions().
|
inherited |
Change the parameter to the current user interface value.
Definition at line 171 of file GuiParameter.cpp.
References IsisAml::GetAsString(), Isis::GuiParameter::SetToDefault(), and IsisAml::WasEntered().
|
inherited |
Change the parameter to the default value.
Definition at line 158 of file GuiParameter.cpp.
References IsisAml::ParamDefault(), and IsisAml::ParamInternalDefault().
Referenced by Isis::GuiParameter::SetToCurrent().
|
inherited |
Update the value on the GUI with the value in the UI.
Definition at line 196 of file GuiParameter.cpp.
References IsisAml::GetAsString(), IsisAml::ParamDefault(), IsisAml::ParamInternalDefault(), and IsisAml::WasEntered().
Referenced by Isis::Gui::Gui(), Isis::Gui::ResetParameters(), Isis::Gui::StartProcess(), Isis::Gui::UpdateHistory(), and Isis::Gui::UpdateParameters().