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
16namespace 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
Class for browsing cubes.
Definition FileDialog.h:32
Widget to save(Save As) Isis cubes(used in qview) to display the FileDialog to select the output cube...
Definition SaveAsDialog.h:38
int getSaveAsType()
Get user chosen save type.
Definition SaveAsDialog.cpp:86
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:118
saveAsType
Definition SaveAsDialog.h:45
@ ExportFullRes
Definition SaveAsDialog.h:45
@ ExportAsIs
Definition SaveAsDialog.h:45
@ FullImage
Definition SaveAsDialog.h:45
void setFullResolution(bool)
Check ExportFullRes radio button and if checked set the saveAsType to ExportFullRes.
Definition SaveAsDialog.cpp:133
void setFullImage(bool)
Check FullImage radio button and if checked set the saveAsType to FullImage.
Definition SaveAsDialog.cpp:103
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16