Isis Developer Reference
GuiComboBoxParameter.h
Go to the documentation of this file.
1 
6 /* SPDX-License-Identifier: CC0-1.0 */
7 #ifndef Isis_GuiComboBoxParameter_h
8 #define Isis_GuiComboBoxParameter_h
9 
10 #include <QComboBox>
11 
12 #include "GuiParameter.h"
13 
14 
15 namespace Isis {
27 
28  Q_OBJECT
29 
30  public:
31 
32  GuiComboBoxParameter(QGridLayout *grid, UserInterface &ui,
33  int group, int param);
35 
36  QString Value();
37 
38  void Set(QString newValue);
39 
40  virtual std::vector<QString> Exclusions();
41 
42  private:
43  QComboBox *p_combo;
44 
45  private slots:
46  void setOption(int option);
47  };
48 };
49 
50 
51 
52 #endif
53 
Isis::GuiParameter::RememberWidget
void RememberWidget(QWidget *w)
Add widgets to a list for enabling/disabling.
Definition: GuiParameter.cpp:212
IsisAml::ParamListSize
int ParamListSize(const int &group, const int &param) const
Returns the number of options in the specified parameter's list.
Definition: IsisAml.cpp:1601
Isis::GuiParameter::ComboWidget
@ ComboWidget
Definition: GuiParameter.h:75
IsisAml::ParamListValue
QString ParamListValue(const int &group, const int &param, const int &option) const
Returns the option value for a specific option to a parameter.
Definition: IsisAml.cpp:1615
Isis::GuiComboBoxParameter::Value
QString Value()
Definition: GuiComboBoxParameter.cpp:76
Isis::GuiParameter::p_label
QLabel * p_label
Definition: GuiParameter.h:91
Isis::GuiParameter::p_group
int p_group
Definition: GuiParameter.h:86
Isis::GuiParameter::p_type
ParameterType p_type
Definition: GuiParameter.h:95
GuiParameter.h
Isis::GuiComboBoxParameter::~GuiComboBoxParameter
~GuiComboBoxParameter()
Definition: GuiComboBoxParameter.cpp:51
IsisAml::ParamListBrief
QString ParamListBrief(const int &group, const int &param, const int &option) const
Returns the brief description for a specific option to a parameter.
Definition: IsisAml.cpp:1630
QComboBox
Isis::GuiParameter
Definition: GuiParameter.h:34
Isis::GuiComboBoxParameter::Set
void Set(QString newValue)
Definition: GuiComboBoxParameter.cpp:56
IsisAml::ParamListExcludeSize
int ParamListExcludeSize(const int &group, const int &param, const int &option) const
Returns the number of items in a parameters list exclude section.
Definition: IsisAml.cpp:1660
Isis::IString::UpCase
IString UpCase()
Converst any lower case characters in the object IString with uppercase characters.
Definition: IString.cpp:617
IsisAml::ParamListExclude
QString ParamListExclude(const int &group, const int &param, const int &option, const int &exclude) const
Returns the parameter name to be excluded if this option is selected.
Definition: IsisAml.cpp:1675
Isis::GuiParameter::p_ui
UserInterface * p_ui
Definition: GuiParameter.h:89
Isis::GuiComboBoxParameter::Exclusions
virtual std::vector< QString > Exclusions()
Return list of current exclusions.
Definition: GuiComboBoxParameter.cpp:81
Isis::UserInterface
Command Line and Xml loader, validation, and access.
Definition: UserInterface.h:140
Isis::GuiParameter::p_param
int p_param
Definition: GuiParameter.h:87
GuiComboBoxParameter.h
Isis::IString
Adds specific functionality to C++ strings.
Definition: IString.h:165
UserInterface.h
Isis::GuiComboBoxParameter::GuiComboBoxParameter
GuiComboBoxParameter(QGridLayout *grid, UserInterface &ui, int group, int param)
Definition: GuiComboBoxParameter.cpp:18
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::GuiParameter::ValueChanged
void ValueChanged()
Isis::GuiComboBoxParameter
Definition: GuiComboBoxParameter.h:26