Isis 3 Programmer Reference
Isis::GuiDoubleParameter Class Reference

#include <GuiDoubleParameter.h>

Inheritance diagram for Isis::GuiDoubleParameter:
Inheritance graph
Collaboration diagram for Isis::GuiDoubleParameter:
Collaboration graph

Public Types

enum  ParameterType {
  IntegerWidget , DoubleWidget , StringWidget , ListWidget ,
  FileNameWidget , CubeWidget , BooleanWidget , ComboWidget
}
 

Signals

void ValueChanged ()
 
void HelperTrigger (const QString &)
 

Public Member Functions

 GuiDoubleParameter (QGridLayout *grid, UserInterface &ui, int group, int param)
 
QString Value ()
 
void Set (QString newValue)
 
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.
 
QWidgetAddHelpers (QObject *lo)
 Sets up helper button.
 
virtual std::vector< QString > Exclusions ()
 Return list of current exclusions.
 
ParameterType Type ()
 

Protected Attributes

QToolButton * p_fileButton
 
int p_group
 
int p_param
 
QString p_name
 
UserInterfacep_ui
 
QLabel * p_label
 
QList< QWidget * > p_widgetList
 
ParameterType p_type
 

Private Attributes

QLineEdit * p_lineEdit
 
QMenup_helperMenu
 

Detailed Description

Author
????-??-?? Unknown

Definition at line 23 of file GuiDoubleParameter.h.

Member Enumeration Documentation

◆ ParameterType

enum Isis::GuiParameter::ParameterType
inherited

Definition at line 73 of file GuiParameter.h.

Constructor & Destructor Documentation

◆ GuiDoubleParameter()

Isis::GuiDoubleParameter::GuiDoubleParameter ( QGridLayout * grid,
UserInterface & ui,
int group,
int param )

Definition at line 16 of file GuiDoubleParameter.cpp.

◆ ~GuiDoubleParameter()

Isis::GuiDoubleParameter::~GuiDoubleParameter ( )

Definition at line 35 of file GuiDoubleParameter.cpp.

Member Function Documentation

◆ AddHelpers()

◆ Exclusions()

std::vector< QString > Isis::GuiParameter::Exclusions ( )
virtualinherited

Return list of current exclusions.

Reimplemented in Isis::GuiBooleanParameter, Isis::GuiComboBoxParameter, and Isis::GuiListParameter.

Definition at line 239 of file GuiParameter.cpp.

Referenced by Isis::Gui::UpdateExclusions().

◆ IsEnabled()

bool Isis::GuiParameter::IsEnabled ( ) const
inlineinherited

Is the parameter enabled.

Definition at line 59 of file GuiParameter.h.

Referenced by Isis::GuiParameter::IsModified().

◆ IsModified()

bool Isis::GuiParameter::IsModified ( )
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::GuiCubeParameter::ViewCube(), and Isis::GuiCubeParameter::ViewLabel().

◆ Name()

QString Isis::GuiParameter::Name ( ) const
inlineinherited

Return the name of the parameter.

Definition at line 44 of file GuiParameter.h.

Referenced by Isis::Gui::UpdateCommandLine(), and Isis::Gui::UpdateExclusions().

◆ RememberWidget()

void Isis::GuiParameter::RememberWidget ( QWidget * w)
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().

◆ Set()

void Isis::GuiDoubleParameter::Set ( QString newValue)
virtual

Implements Isis::GuiParameter.

Definition at line 38 of file GuiDoubleParameter.cpp.

◆ SetEnabled()

void Isis::GuiParameter::SetEnabled ( bool enabled,
bool isParentCombo = false )
inherited

Enable or disable the parameter.

Definition at line 217 of file GuiParameter.cpp.

Referenced by Isis::Gui::UpdateExclusions().

◆ SetToCurrent()

void Isis::GuiParameter::SetToCurrent ( )
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().

◆ SetToDefault()

void Isis::GuiParameter::SetToDefault ( )
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().

◆ Type()

ParameterType Isis::GuiParameter::Type ( )
inlineinherited

Definition at line 77 of file GuiParameter.h.

◆ Update()

void Isis::GuiParameter::Update ( )
inherited

◆ Value()

QString Isis::GuiDoubleParameter::Value ( )
virtual

Implements Isis::GuiParameter.

Definition at line 43 of file GuiDoubleParameter.cpp.

Member Data Documentation

◆ p_fileButton

QToolButton* Isis::GuiParameter::p_fileButton
protectedinherited

Definition at line 83 of file GuiParameter.h.

◆ p_group

int Isis::GuiParameter::p_group
protectedinherited

Definition at line 86 of file GuiParameter.h.

◆ p_helperMenu

QMenu* Isis::GuiParameter::p_helperMenu
privateinherited

Definition at line 98 of file GuiParameter.h.

◆ p_label

QLabel* Isis::GuiParameter::p_label
protectedinherited

Definition at line 91 of file GuiParameter.h.

◆ p_lineEdit

QLineEdit* Isis::GuiDoubleParameter::p_lineEdit
private

Definition at line 38 of file GuiDoubleParameter.h.

◆ p_name

QString Isis::GuiParameter::p_name
protectedinherited

Definition at line 88 of file GuiParameter.h.

◆ p_param

int Isis::GuiParameter::p_param
protectedinherited

Definition at line 87 of file GuiParameter.h.

◆ p_type

ParameterType Isis::GuiParameter::p_type
protectedinherited

Definition at line 95 of file GuiParameter.h.

◆ p_ui

UserInterface* Isis::GuiParameter::p_ui
protectedinherited

Definition at line 89 of file GuiParameter.h.

◆ p_widgetList

QList<QWidget *> Isis::GuiParameter::p_widgetList
protectedinherited

Definition at line 93 of file GuiParameter.h.


The documentation for this class was generated from the following files: