Isis Developer Reference
GuiCubeParameter.h
Go to the documentation of this file.
1 #ifndef Isis_GuiCubeParameter_h
2 #define Isis_GuiCubeParameter_h
3 
9 /* SPDX-License-Identifier: CC0-1.0 */
10 
11 #include "GuiFilenameParameter.h" //parent
12 
13 namespace Isis {
14 
34 
35  Q_OBJECT
36 
37  public:
38 
39  GuiCubeParameter(QGridLayout *grid, UserInterface &ui,
40  int group, int param);
42 
43  protected slots:
44  // Method identical to parent method GuiFileNameParameter::SelectFile()
45  // Removed from this class 2010-07-15
46  // Previous documentation:
47  // * @internal
48  // * @history 2007-05-16 Tracie Sucharski - For cubes located in CWD, do
49  // * not include path in the lineEdit.
50  // * @history 2007-06-05 Steven Koechle - Corrected problem where
51  // * output cube was being opened not
52  // * saved.
53  // virtual void SelectFile();
54 
55  private:
56  QMenu *p_menu;
57 
58  private slots:
59  void SelectAttribute();
60  void ViewCube();
61  void ViewLabel();
62  };
63 };
64 
65 
66 
67 #endif
68 
Isis::iApp
Application * iApp
Definition: Application.cpp:51
FileName.h
GuiOutputAttribute.h
GuiFilenameParameter.h
Cube.h
Isis::GuiParameter::CubeWidget
@ CubeWidget
Definition: GuiParameter.h:74
Isis::Application::GuiLog
static void GuiLog(const Pvl &results)
Writes the Pvl results to the sessionlog, but not to the printfile.
Definition: Application.cpp:395
Isis::ProgramLauncher::RunSystemCommand
static void RunSystemCommand(QString commandLine)
This runs arbitrary system commands.
Definition: ProgramLauncher.cpp:207
Isis::GuiOutputAttribute::GetAttributes
QString GetAttributes()
Definition: GuiOutputAttribute.cpp:197
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
QMenu
Isis::GuiParameter::p_group
int p_group
Definition: GuiParameter.h:86
Isis::Cube::close
void close(bool remove=false)
Closes the cube and updates the labels.
Definition: Cube.cpp:260
Isis::GuiInputAttribute::GetAttributes
QString GetAttributes()
Definition: GuiInputAttribute.cpp:103
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::CubeAttributeOutput
Manipulate and parse attributes of output cube filenames.
Definition: CubeAttribute.h:473
Isis::GuiParameter::p_type
ParameterType p_type
Definition: GuiParameter.h:95
Isis::GuiParameter::IsModified
virtual bool IsModified()
Return if the parameter value is different from the default value.
Definition: GuiParameter.cpp:181
Isis::GuiFileNameParameter::Value
QString Value()
Gets the value found in the line edit text box.
Definition: GuiFilenameParameter.cpp:82
GuiCubeParameter.h
Isis::GuiFileNameParameter
Definition: GuiFilenameParameter.h:32
Pvl.h
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::Application::GuiReportError
void GuiReportError(IException &e)
Loads the error message into the gui, but does not write it to the session log.
Definition: Application.cpp:708
Isis::GuiCubeParameter
Definition: GuiCubeParameter.h:33
Application.h
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::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
IsisAml::PixelType
QString PixelType(const int &group, const int &param) const
Returns the default pixel type from the XML.
Definition: IsisAml.cpp:1743
Isis::GuiCubeParameter::GuiCubeParameter
GuiCubeParameter(QGridLayout *grid, UserInterface &ui, int group, int param)
Constructs GuiCubeParameter object.
Definition: GuiCubeParameter.cpp:43
Isis::GuiParameter::p_lineEdit
QLineEdit * p_lineEdit
Definition: GuiParameter.h:84
Isis::GuiParameter::p_fileButton
QToolButton * p_fileButton
Definition: GuiParameter.h:79
IException.h
ProgramLauncher.h
Isis::UserInterface
Command Line and Xml loader, validation, and access.
Definition: UserInterface.h:140
Isis::Cube::label
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Definition: Cube.cpp:1701
Isis::GuiParameter::p_param
int p_param
Definition: GuiParameter.h:87
Isis::CubeAttributeInput
Manipulate and parse attributes of input cube filenames.
Definition: CubeAttribute.h:381
UserInterface.h
GuiInputAttribute.h
Isis::Cube::open
void open(const QString &cfile, QString access="r")
This method will open an isis cube for reading or reading/writing.
Definition: Cube.cpp:627
QAction
IsisAml::ParamName
QString ParamName(const int &group, const int &param) const
Returns the parameter name.
Definition: IsisAml.cpp:1219
Isis::GuiCubeParameter::~GuiCubeParameter
~GuiCubeParameter()
Destructor of GuiCubeParameter object.
Definition: GuiCubeParameter.cpp:82
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::IException::User
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126