#include <ddtSaveAsDialog.hpp>
Classes | |
| struct | SaveAsEntry |
Public Member Functions | |
| DdtSaveAsDialog (QWidget *const parent=nullptr, const std::vector< SaveAsEntry > types_={}) | |
| QString | GetFilepath (const QString start_filepath) |
Static Public Attributes | |
| static const SaveAsEntry | JPEG_TYPE |
| static const SaveAsEntry | FITS_TYPE |
Class for the file selection dialog when saving a file.
| DdtSaveAsDialog::DdtSaveAsDialog | ( | QWidget *const | parent = nullptr, |
| const std::vector< SaveAsEntry > | types_ = {} ) |
Constructor
| parent | Pointer to the parent widget. |
| types_ | File selection filters that are allowed. |
| QString DdtSaveAsDialog::GetFilepath | ( | const QString | start_filepath | ) |
Function starts a file selection dialog and returns it's path.
| start_filepath | Path for the file selection dialog to start in. If empty, default path in the home directory will be used. |
|
inlinestatic |
FITS type SaveAsEntry. Provides default extension and filter.
|
inlinestatic |
JPEG type SaveAsEntry. Provides default extension and filter.