Isis Developer Reference
GuiBooleanParameter.h
Go to the documentation of this file.
1 #ifndef Isis_GuiBooleanParameter_h
2 #define Isis_GuiBooleanParameter_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include <QCheckBox>
11 
12 #include "GuiParameter.h"
13 
14 
15 namespace Isis {
22 
23  Q_OBJECT
24 
25  public:
26 
27  GuiBooleanParameter(QGridLayout *grid, UserInterface &ui,
28  int group, int param);
30 
31  QString Value();
32 
33  void Set(QString newValue);
34 
35  virtual std::vector<QString> Exclusions();
36 
37  bool IsModified();
38 
39  private:
40  QCheckBox *p_checkBox;
41  };
42 };
43 
44 
45 
46 #endif
47 
Isis::GuiParameter::RememberWidget
void RememberWidget(QWidget *w)
Add widgets to a list for enabling/disabling.
Definition: GuiParameter.cpp:212
Isis::GuiBooleanParameter::~GuiBooleanParameter
~GuiBooleanParameter()
Definition: GuiBooleanParameter.cpp:35
Isis::GuiBooleanParameter::Set
void Set(QString newValue)
Definition: GuiBooleanParameter.cpp:38
Isis::GuiParameter::IsEnabled
bool IsEnabled() const
Is the parameter enabled.
Definition: GuiParameter.h:59
Isis::GuiParameter::BooleanWidget
@ BooleanWidget
Definition: GuiParameter.h:75
GuiBooleanParameter.h
Isis::GuiBooleanParameter::IsModified
bool IsModified()
Return if the parameter value is different from the default value.
Definition: GuiBooleanParameter.cpp:69
IsisAml::ParamBrief
QString ParamBrief(const int &group, const int &param) const
Returns the brief description of a parameter in a specified group.
Definition: IsisAml.cpp:1232
Isis::GuiParameter::p_group
int p_group
Definition: GuiParameter.h:86
IsisAml::HelpersSize
int HelpersSize(const int &group, const int &param) const
Returns the number of helpers the parameter has.
Definition: IsisAml.cpp:1755
Isis::GuiBooleanParameter
Definition: GuiBooleanParameter.h:21
Isis::GuiParameter::p_type
ParameterType p_type
Definition: GuiParameter.h:95
GuiParameter.h
IsisAml::ParamDefault
QString ParamDefault(const int &group, const int &param) const
Returns the default for a parameter in a specified group.
Definition: IsisAml.cpp:1505
IsisAml::ParamIncludeSize
int ParamIncludeSize(const int &group, const int &param) const
Returns the number of parameters included in this parameter's inclusions.
Definition: IsisAml.cpp:1731
Isis::GuiBooleanParameter::Exclusions
virtual std::vector< QString > Exclusions()
Return list of current exclusions.
Definition: GuiBooleanParameter.cpp:48
Isis::GuiParameter
Definition: GuiParameter.h:34
Isis::GuiBooleanParameter::Value
QString Value()
Definition: GuiBooleanParameter.cpp:44
IsisAml::ParamExclude
QString ParamExclude(const int &group, const int &param, const int &exclude) const
Returns the name of the specified excluded parameter.
Definition: IsisAml.cpp:1462
IsisAml::ParamExcludeSize
int ParamExcludeSize(const int &group, const int &param) const
Returns the number of parameters excluded in this parameter's exclusions.
Definition: IsisAml.cpp:1719
Isis::GuiParameter::p_ui
UserInterface * p_ui
Definition: GuiParameter.h:89
IsisAml::ParamInclude
QString ParamInclude(const int &group, const int &param, const int &include) const
Returns the name of the specified included parameter.
Definition: IsisAml.cpp:1477
IsisAml::StringToBool
bool StringToBool(QString value) const
Returns a boolean value based on the QString contents.
Definition: IsisAml.cpp:2867
Isis::UserInterface
Command Line and Xml loader, validation, and access.
Definition: UserInterface.h:140
Isis::GuiBooleanParameter::GuiBooleanParameter
GuiBooleanParameter(QGridLayout *grid, UserInterface &ui, int group, int param)
Definition: GuiBooleanParameter.cpp:16
Isis::GuiParameter::p_param
int p_param
Definition: GuiParameter.h:87
UserInterface.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::GuiParameter::ValueChanged
void ValueChanged()
Isis::GuiParameter::AddHelpers
QWidget * AddHelpers(QObject *lo)
Sets up helper button.
Definition: GuiParameter.cpp:245