|
Isis 3 Programmer Reference
|
1 #ifndef ProjectionConfigDialog_h
2 #define ProjectionConfigDialog_h
13 class MosaicSceneWidget;
41 void showEvent(QShowEvent *);
QPointer< MosaicSceneWidget > m_scene
The mosaic scene we're configuring the projection for.
void applySettings()
Take the settings that have been configured and apply them to the mosaic scene.
bool m_quick
Should we minimize the user interaction?
void loadFromFile()
Read mapping parameters from a file (prompts user for the file name).
QPointer< QPushButton > m_readFromFileButton
This button corresponds to 'Load Map File...' and causes a prompt for file input.
Container for cube-like labels.
QPointer< QPushButton > m_applyButton
This button applies the current projection to the scene.
Pvl addMissingKeywords(Pvl mappingPvl)
Get a modified mapping pvl that the mosaic scene will be compatible with.
Projection * createProjection()
Convert the current text in the text edit to a projection.
void saveToFile()
Save mapping parameters to the given file.
QPointer< QLabel > m_errorsLabel
This shows errors generated by trying to create a projection from the current mapping pvl.
QPointer< QTextEdit > m_mapFileEdit
This is the text area that a user can type in for editing the projection.
void setQuickConfig(bool quick)
Enable/disable minimal interaction mode.
void readSettings()
Update the current widgets' states with the current settings in the mosaic scene.
void refreshWidgetStates()
Update the enabled/disabled states of the various widgets based on the current user inputs' states.
bool m_dirty
To reduce redundant computations, keep track of dirty state of the dialog.
QPointer< QPushButton > m_okayButton
This button applies the current projection to the scene and closes the dialog.
void beginQuickLoad()
If using quick load, this will prompt the user for an input file right after the show event.
void showErrors(int)
This is called when "Show Errors" is checked.
ProjectionConfigDialog(MosaicSceneWidget *scene, QWidget *parent=NULL)
Create a projection configuration dialog.
Base class for Map Projections.
This is the configuration dialog for the MosaicSceneWidget's projection parameters (map file).
QPointer< QLabel > m_stateLabel
This shows a general idea of the current state of the mapping pvl (always shown)
This is free and unencumbered software released into the public domain.