Isis 3.0
Back | Home
Isis::GuiBooleanParameter Class Reference

#include <GuiBooleanParameter.h>

Inherits Isis::GuiParameter.

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. More...
 
bool IsModified ()
 Return if the parameter value is different from the default value. 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...
 
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...
 
QWidgetAddHelpers (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
 
UserInterfacep_ui
 
QLabel * p_label
 
QList< QWidget * > p_widgetList
 
ParameterType p_type
 

Detailed Description

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

Member Enumeration Documentation

Enumerator
IntegerWidget 
DoubleWidget 
StringWidget 
ListWidget 
FileNameWidget 
CubeWidget 
BooleanWidget 
ComboWidget 

Constructor & Destructor Documentation

Isis::GuiBooleanParameter::~GuiBooleanParameter ( )

Member Function Documentation

std::vector< QString > Isis::GuiBooleanParameter::Exclusions ( )
virtual
void Isis::GuiParameter::HelperTrigger ( const QString &  _t1)
signalinherited
bool Isis::GuiParameter::IsEnabled ( ) const
inlineinherited

Is the parameter enabled.

References Isis::GuiParameter::p_label.

Referenced by IsModified(), and Isis::GuiParameter::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().

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

Return the name of the parameter.

References Isis::GuiParameter::p_name.

void Isis::GuiBooleanParameter::Set ( QString  newValue)
virtual
void Isis::GuiParameter::SetEnabled ( bool  enabled,
bool  isParentCombo = false 
)
inherited
void Isis::GuiParameter::SetToCurrent ( )
inherited
void Isis::GuiParameter::SetToDefault ( )
inherited
ParameterType Isis::GuiParameter::Type ( )
inlineinherited
QString Isis::GuiBooleanParameter::Value ( )
virtual

Implements Isis::GuiParameter.

Referenced by Exclusions(), and IsModified().

Member Data Documentation

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

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

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:37:51