#include <DataViewer/R3DArchiver.h>
Collaboration diagram for R3DArchiver:
Protected Member Functions | |
void | closeEvent (QCloseEvent *event) |
Implements the CloseEvent to Quit the application and write settings to the preference file. | |
void | dragEnterEvent (QDragEnterEvent *) |
Drag and drop implementation. | |
void | dropEvent (QDropEvent *) |
Drag and drop implementation. | |
void | setWidgetListEnabled (bool b) |
Enables or Disables all the widgets in a list. | |
void | readSettings () |
Reads the Preferences from the users pref file. | |
void | writeSettings () |
Writes the preferences to the users pref file. | |
void | setupGui () |
Initializes some of the GUI elements with selections or other GUI related items. | |
IRequiredMetaData::Pointer | _extractRequiredMetaData () |
extracts all the meta data from the UI fields and inserts the values into an MXARequieredMetaData object | |
void | extractMetaInformation () |
Extracts the number of slices and frames in x and y. | |
bool | _checkRequiredMetaData () |
Checks to make sure the appropriate LineEdit fields are properly filled in. | |
void | _writeRequiredMetaDataToPrefs (QSettings &prefs) |
Writes the Required MetaData values to a preference file. | |
void | _readRequiredMetaDataFromPrefs (QSettings &prefs) |
Reads the required MetaData values from a preference file. | |
void | _verifyOutputPathParentExists (QString &outFilePath, QLineEdit *lineEdit) |
Verifies that a parent director exists. | |
void | _extractImageSize () |
Extracts the size of the image from the disk. |
void R3DArchiver::setWidgetListEnabled | ( | bool | b | ) | [protected] |
Enables or Disables all the widgets in a list.
b |
bool R3DArchiver::_checkRequiredMetaData | ( | ) | [protected] |
Checks to make sure the appropriate LineEdit fields are properly filled in.
void R3DArchiver::_writeRequiredMetaDataToPrefs | ( | QSettings & | prefs | ) | [protected] |
Writes the Required MetaData values to a preference file.
prefs | A QSettings object |
void R3DArchiver::_readRequiredMetaDataFromPrefs | ( | QSettings & | prefs | ) | [protected] |
Reads the required MetaData values from a preference file.
prefs | A QSettings object |
void R3DArchiver::_verifyOutputPathParentExists | ( | QString & | outFilePath, | |
QLineEdit * | lineEdit | |||
) | [protected] |
Verifies that a parent director exists.
If the parent does NOT exist then the QLineEdit is colored red
outFilePath | The path to check | |
lineEdit | The QLineEdit to check. |