Loading [MathJax]/jax/output/NativeMML/config.js
Isis Developer Reference
Isis::GuiStringParameter Class Reference

#include <GuiStringParameter.h>

Inheritance diagram for Isis::GuiStringParameter:
Inheritance graph
Collaboration diagram for Isis::GuiStringParameter:
Collaboration graph

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.
 
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
 

Detailed Description

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

Member Enumeration Documentation

◆ ParameterType

Enumerator
IntegerWidget 
DoubleWidget 
StringWidget 
ListWidget 
FileNameWidget 
CubeWidget 
BooleanWidget 
ComboWidget 

Constructor & Destructor Documentation

◆ GuiStringParameter()

◆ ~GuiStringParameter()

Isis::GuiStringParameter::~GuiStringParameter ( )

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.

◆ HelperTrigger

void Isis::GuiParameter::HelperTrigger ( const QString & )
signalinherited

Referenced by AddHelpers().

◆ IsEnabled()

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

Is the parameter enabled.

References p_label.

Referenced by Isis::GuiBooleanParameter::IsModified(), and IsModified().

◆ IsModified()

bool Isis::GuiParameter::IsModified ( )
virtualinherited

Return if the parameter value is different from the default value.

Reimplemented in Isis::GuiBooleanParameter.

References IsEnabled(), p_group, p_param, p_ui, and Value().

◆ Name()

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

Return the name of the parameter.

References p_name.

◆ RememberWidget()

◆ Set()

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

Implements Isis::GuiParameter.

◆ SetEnabled()

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

Enable or disable the parameter.

References ComboWidget, p_label, p_type, and p_widgetList.

◆ SetToCurrent()

void Isis::GuiParameter::SetToCurrent ( )
inherited

Change the parameter to the current user interface value.

References p_name, p_ui, Set(), and SetToDefault().

◆ SetToDefault()

void Isis::GuiParameter::SetToDefault ( )
inherited

Change the parameter to the default value.

References p_group, p_param, p_ui, and Set().

Referenced by SetToCurrent().

◆ Type()

ParameterType Isis::GuiParameter::Type ( )
inlineinherited

References p_type.

◆ Update()

void Isis::GuiParameter::Update ( )
inherited

Update the value on the GUI with the value in the UI.

References p_group, p_name, p_param, p_ui, and Set().

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

◆ Value()

QString Isis::GuiStringParameter::Value ( )
virtual

Implements Isis::GuiParameter.

◆ ValueChanged

Member Data Documentation

◆ p_fileButton

◆ p_group

◆ p_label

◆ p_name

QString Isis::GuiParameter::p_name
protectedinherited

◆ p_param

◆ p_type

◆ p_ui

◆ p_widgetList

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

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