Isis 3 Programmer Reference
SaveAsDialog.h
1 #ifndef SaveAsDialog_h
2 #define SaveAsDialog_h
3 
22 #include <QCheckBox>
23 #include <QRadioButton>
24 #include "FileDialog.h"
25 
26 namespace Isis {
27 
48  class SaveAsDialog : public FileDialog {
49  Q_OBJECT
50  public:
51  SaveAsDialog(QString pTitle, QStringList &pFilterList, QDir &pDir, QWidget *pParent = 0);
55  enum saveAsType {FullImage, ExportAsIs, ExportFullRes};
56  int getSaveAsType();
57 
58  public slots:
59  void setFullImage(bool);
60  void setAsIs(bool);
61  void setFullResolution(bool);
62 
63  private:
64  QDir &p_dir;
65  QRadioButton *p_fullImage;
66  QRadioButton *p_exportAsIs;
67  QRadioButton *p_exportFullRes;
69  };
70 };
71 
72 #endif
SaveAsDialog(QString pTitle, QStringList &pFilterList, QDir &pDir, QWidget *pParent=0)
Constructor - Displays FileDialog with different save options.
QRadioButton * p_fullImage
FullImage Button.
Definition: SaveAsDialog.h:65
void setAsIs(bool)
Check ExportAsIs radio button and if checked set the saveAsType to ExportAsIs.
void setFullImage(bool)
Check FullImage radio button and if checked set the saveAsType to FullImage.
Class for browsing cubes.
Definition: FileDialog.h:32
void setFullResolution(bool)
Check ExportFullRes radio button and if checked set the saveAsType to ExportFullRes.
Widget to save(Save As) Isis cubes(used in qview) to display the FileDialog to select the output cube...
Definition: SaveAsDialog.h:48
QRadioButton * p_exportAsIs
ExportAsIs Button.
Definition: SaveAsDialog.h:66
QDir & p_dir
The directory to open the dialog with.
Definition: SaveAsDialog.h:64
saveAsType p_saveAsType
Current Save Type.
Definition: SaveAsDialog.h:68
int getSaveAsType()
Get user chosen save type.
QRadioButton * p_exportFullRes
ExportFullRes Button.
Definition: SaveAsDialog.h:67
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31