Isis Developer Reference
GuiFilenameParameter.h
Go to the documentation of this file.
1 #ifndef Isis_GuiFileNameParameter_h
2 #define Isis_GuiFileNameParameter_h
3 
9 /* SPDX-License-Identifier: CC0-1.0 */
10 
11 #include "GuiParameter.h" // parent
12 
13 namespace Isis {
14 
33 
34  Q_OBJECT
35 
36  public:
37 
38  GuiFileNameParameter(QGridLayout *grid, UserInterface &ui,
39  int group, int param);
41 
42  QString Value();
43 
44  void Set(QString newValue);
45 
46  protected slots:
47  virtual void SelectFile();
48  };
49 };
50 
51 
52 
53 #endif
54 
Isis::GuiParameter::RememberWidget
void RememberWidget(QWidget *w)
Add widgets to a list for enabling/disabling.
Definition: GuiParameter.cpp:212
GuiFilenameParameter.h
Isis::FileName::name
QString name() const
Returns the name of the file excluding the path and the attributes in the file name.
Definition: FileName.cpp:162
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
QFlags
Definition: AbstractFilter.h:19
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::GuiParameter::p_type
ParameterType p_type
Definition: GuiParameter.h:95
GuiParameter.h
IString.h
Isis::GuiFileNameParameter::~GuiFileNameParameter
~GuiFileNameParameter()
Destructor of GuiFileNameParameter object.
Definition: GuiFilenameParameter.cpp:64
Isis::GuiParameter
Definition: GuiParameter.h:34
IsisAml::ParamInternalDefault
QString ParamInternalDefault(const int &group, const int &param) const
Returns the internal default for a parameter in a specified group.
Definition: IsisAml.cpp:1524
IsisAml::ParamPath
QString ParamPath(const int &group, const int &param) const
Returns the default path for a filename/cube parameter.
Definition: IsisAml.cpp:1562
Isis::GuiFileNameParameter::Value
QString Value()
Gets the value found in the line edit text box.
Definition: GuiFilenameParameter.cpp:82
Isis::FileName::expanded
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
Isis::GuiFileNameParameter
Definition: GuiFilenameParameter.h:32
Isis::FileName::dir
QDir dir() const
Returns the path of the file's parent directory as a QDir object.
Definition: FileName.cpp:465
IsisAml::ParamFileMode
QString ParamFileMode(const int &group, const int &param) const
Returns the file mode for a parameter in a specified group.
Definition: IsisAml.cpp:1581
Isis::GuiParameter::p_ui
UserInterface * p_ui
Definition: GuiParameter.h:89
Isis::GuiFileNameParameter::SelectFile
virtual void SelectFile()
Gets an input/output file from a GUI filechooser or typed in filename.
Definition: GuiFilenameParameter.cpp:105
Isis::GuiParameter::p_lineEdit
QLineEdit * p_lineEdit
Definition: GuiParameter.h:84
Isis::GuiParameter::p_fileButton
QToolButton * p_fileButton
Definition: GuiParameter.h:79
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
IsisAml::ParamFilter
QString ParamFilter(const int &group, const int &param) const
Returns the parameter filter for a parameter in a specified group.
Definition: IsisAml.cpp:1543
UserInterface.h
QAction
Isis::GuiFileNameParameter::GuiFileNameParameter
GuiFileNameParameter(QGridLayout *grid, UserInterface &ui, int group, int param)
Construct a GuiFileNameParameter object.
Definition: GuiFilenameParameter.cpp:29
Isis::GuiFileNameParameter::Set
void Set(QString newValue)
Sets the line edit text box to value passed in by this method.
Definition: GuiFilenameParameter.cpp:72
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::GuiParameter::FileNameWidget
@ FileNameWidget
Definition: GuiParameter.h:74
Isis::GuiParameter::ValueChanged
void ValueChanged()
Isis::GuiParameter::AddHelpers
QWidget * AddHelpers(QObject *lo)
Sets up helper button.
Definition: GuiParameter.cpp:245