Isis Developer Reference
Isis::GuiBooleanParameter Class Reference

#include <GuiBooleanParameter.h>

Inheritance diagram for Isis::GuiBooleanParameter:
Inheritance graph
Collaboration diagram for Isis::GuiBooleanParameter:
Collaboration graph

Public Types

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

Signals

void ValueChanged ()
 
void HelperTrigger (const QString &)
 

Public Member Functions

 GuiBooleanParameter (QGridLayout *grid, UserInterface &ui, int group, int param)
 
 ~GuiBooleanParameter ()
 
QString Value ()
 
void Set (QString newValue)
 
virtual std::vector< QString > Exclusions ()
 Return list of current exclusions.
 
bool IsModified ()
 Return if the parameter value is different from the default value.
 
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.
 
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.
 
ParameterType Type ()
 

Protected Attributes

QToolButton * p_fileButton
 
QLineEdit * p_lineEdit
 
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

◆ GuiBooleanParameter()

◆ ~GuiBooleanParameter()

Isis::GuiBooleanParameter::~GuiBooleanParameter ( )

Member Function Documentation

◆ AddHelpers()

◆ Exclusions()

std::vector< QString > Isis::GuiBooleanParameter::Exclusions ( )
virtual

◆ HelperTrigger

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

◆ IsEnabled()

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

Is the parameter enabled.

References Isis::GuiParameter::p_label.

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

◆ IsModified()

bool Isis::GuiBooleanParameter::IsModified ( )
virtual

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

Reimplemented from Isis::GuiParameter.

References Isis::GuiParameter::IsEnabled(), Isis::GuiParameter::p_group, Isis::GuiParameter::p_param, Isis::GuiParameter::p_ui, IsisAml::ParamDefault(), and Value().

◆ Name()

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

Return the name of the parameter.

References Isis::GuiParameter::p_name.

◆ RememberWidget()

◆ Set()

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

◆ SetEnabled()

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

◆ SetToCurrent()

void Isis::GuiParameter::SetToCurrent ( )
inherited

◆ SetToDefault()

void Isis::GuiParameter::SetToDefault ( )
inherited

◆ Type()

ParameterType Isis::GuiParameter::Type ( )
inlineinherited

◆ Update()

◆ Value()

QString Isis::GuiBooleanParameter::Value ( )
virtual

Implements Isis::GuiParameter.

Referenced by Exclusions(), and IsModified().

◆ ValueChanged

Member Data Documentation

◆ p_fileButton

◆ p_group

◆ p_label

◆ p_lineEdit

◆ p_name

◆ 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: