Isis 3.0
Back | Home
SaveAsDialog.h
Go to the documentation of this file.
1 #ifndef SaveAsDialog_h
2 #define SaveAsDialog_h
3 
22 #include <QCheckBox>
23 #include <QRadioButton>
24 #include "FileDialog.h"
25 
26 namespace Isis {
27 
46  class SaveAsDialog : public FileDialog {
47  Q_OBJECT
48  public:
49  SaveAsDialog(QString pTitle, QStringList &pFilterList, QDir &pDir, QWidget *pParent = 0);
51  int getSaveAsType();
52 
53  public slots:
54  void setFullImage(bool);
55  void setAsIs(bool);
56  void setFullResolution(bool);
57 
58  private:
59  QDir &p_dir;
60  QRadioButton *p_fullImage;
61  QRadioButton *p_exportAsIs;
62  QRadioButton *p_exportFullRes;
63  saveAsType p_saveAsType;
64  };
65 };
66 
67 #endif
saveAsType
Definition: SaveAsDialog.h:50
SaveAsDialog(QString pTitle, QStringList &pFilterList, QDir &pDir, QWidget *pParent=0)
Constructor - Displays FileDialog with different save options.
Definition: SaveAsDialog.cpp:24
void setAsIs(bool)
Check ExportAsIs radio button and if checked set the saveAsType to ExportAsIs.
Definition: SaveAsDialog.cpp:117
void setFullImage(bool)
Check FullImage radio button and if checked set the saveAsType to FullImage.
Definition: SaveAsDialog.cpp:102
Class for browsing cubes.
Definition: FileDialog.h:32
void setFullResolution(bool)
Check ExportFullRes radio button and if checked set the saveAsType to ExportFullRes.
Definition: SaveAsDialog.cpp:132
Widget to save(Save As) Isis cubes(used in qview) to display the FileDialog to select the output cube...
Definition: SaveAsDialog.h:46
Definition: SaveAsDialog.h:50
int getSaveAsType()
Get user chosen save type.
Definition: SaveAsDialog.cpp:85
Definition: SaveAsDialog.h:50
Definition: SaveAsDialog.h:50

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:28:15