Isis Developer Reference
SaveAsDialog.h
Go to the documentation of this file.
1 #ifndef SaveAsDialog_h
2 #define SaveAsDialog_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include <QCheckBox>
13 #include <QRadioButton>
14 #include "FileDialog.h"
15 
16 namespace Isis {
17 
38  class SaveAsDialog : public FileDialog {
39  Q_OBJECT
40  public:
41  SaveAsDialog(QString pTitle, QStringList &pFilterList, QDir &pDir, QWidget *pParent = 0);
46  int getSaveAsType();
47 
48  public slots:
49  void setFullImage(bool);
50  void setAsIs(bool);
51  void setFullResolution(bool);
52 
53  private:
54  QDir &p_dir;
55  QRadioButton *p_fullImage;
56  QRadioButton *p_exportAsIs;
57  QRadioButton *p_exportFullRes;
58  saveAsType p_saveAsType;
59  };
60 };
61 
62 #endif
QWidget
QList< QPushButton * >
Isis::FileDialog
Class for browsing cubes.
Definition: FileDialog.h:32
Isis::SaveAsDialog::getSaveAsType
int getSaveAsType()
Get user chosen save type.
Definition: SaveAsDialog.cpp:86
QStringList
Isis::SaveAsDialog::ExportFullRes
@ ExportFullRes
Definition: SaveAsDialog.h:45
Isis::SaveAsDialog::SaveAsDialog
SaveAsDialog(QString pTitle, QStringList &pFilterList, QDir &pDir, QWidget *pParent=0)
Constructor - Displays FileDialog with different save options.
Definition: SaveAsDialog.cpp:24
Isis::SaveAsDialog::ExportAsIs
@ ExportAsIs
Definition: SaveAsDialog.h:45
Isis::SaveAsDialog
Widget to save(Save As) Isis cubes(used in qview) to display the FileDialog to select the output cube...
Definition: SaveAsDialog.h:38
FileDialog.h
Isis::SaveAsDialog::setFullResolution
void setFullResolution(bool)
Check ExportFullRes radio button and if checked set the saveAsType to ExportFullRes.
Definition: SaveAsDialog.cpp:133
Isis::SaveAsDialog::saveAsType
saveAsType
Definition: SaveAsDialog.h:45
Isis::SaveAsDialog::setAsIs
void setAsIs(bool)
Check ExportAsIs radio button and if checked set the saveAsType to ExportAsIs.
Definition: SaveAsDialog.cpp:118
std
Namespace for the standard library.
Isis::SaveAsDialog::setFullImage
void setFullImage(bool)
Check FullImage radio button and if checked set the saveAsType to FullImage.
Definition: SaveAsDialog.cpp:103
SaveAsDialog.h
Isis::SaveAsDialog::FullImage
@ FullImage
Definition: SaveAsDialog.h:45
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16