casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
casa::FileLoader Class Reference

#include <FileLoader.qo.h>

Inheritance diagram for casa::FileLoader:

Public Slots

void saveStateChanged (int checked)
 

Signals

void imageFilesChanged ()
 

Public Member Functions

 FileLoader (QWidget *parent=0)
 
 ~FileLoader ()
 
QString getFilePathLowResolution () const
 
QString getFilePathHighResolution () const
 
QString getFilePathOutput () const
 
QString getFileDirty () const
 
bool isOutputSaved () const
 
void updateOutput (const QString &directory, const QString &file)
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event)
 

Private Slots

void filesChanged ()
 
void filesReset ()
 
void directoryChanged (const QModelIndex &modelIndex)
 
void fileLowResolutionChanged ()
 
void fileHighResolutionChanged ()
 
void outputDirectoryChanged ()
 
void dirtyImageChanged ()
 
void validateDirectory (const QString &str)
 

Private Member Functions

bool validatePath (QLineEdit *lineEdit, const QString &errorPrefix, bool file, QString &destination)
 
void fileChanged (QLineEdit *destinationLineEdit, const QString &emptyWarning, bool directory)
 

Private Attributes

QString lowResolutionImageFile
 
QString highResolutionImageFile
 
QString outputFile
 
QString outputDirectory
 
QString dirtyImageFile
 
QFileSystemModel * fileModel
 
bool saveOutput
 
Ui::FileLoaderClass ui
 

Detailed Description

Definition at line 36 of file FileLoader.qo.h.

Constructor & Destructor Documentation

casa::FileLoader::FileLoader ( QWidget *  parent = 0)
casa::FileLoader::~FileLoader ( )

Member Function Documentation

void casa::FileLoader::directoryChanged ( const QModelIndex &  modelIndex)
privateslot
void casa::FileLoader::dirtyImageChanged ( )
privateslot
void casa::FileLoader::fileChanged ( QLineEdit *  destinationLineEdit,
const QString &  emptyWarning,
bool  directory 
)
private
void casa::FileLoader::fileHighResolutionChanged ( )
privateslot
void casa::FileLoader::fileLowResolutionChanged ( )
privateslot
void casa::FileLoader::filesChanged ( )
privateslot
void casa::FileLoader::filesReset ( )
privateslot
QString casa::FileLoader::getFileDirty ( ) const
QString casa::FileLoader::getFilePathHighResolution ( ) const
QString casa::FileLoader::getFilePathLowResolution ( ) const
QString casa::FileLoader::getFilePathOutput ( ) const
void casa::FileLoader::imageFilesChanged ( )
signal
bool casa::FileLoader::isOutputSaved ( ) const
void casa::FileLoader::keyPressEvent ( QKeyEvent *  event)
protected
void casa::FileLoader::outputDirectoryChanged ( )
privateslot
void casa::FileLoader::saveStateChanged ( int  checked)
slot
void casa::FileLoader::updateOutput ( const QString &  directory,
const QString &  file 
)
void casa::FileLoader::validateDirectory ( const QString &  str)
privateslot
bool casa::FileLoader::validatePath ( QLineEdit *  lineEdit,
const QString &  errorPrefix,
bool  file,
QString &  destination 
)
private

Member Data Documentation

QString casa::FileLoader::dirtyImageFile
private

Definition at line 76 of file FileLoader.qo.h.

QFileSystemModel* casa::FileLoader::fileModel
private

Definition at line 77 of file FileLoader.qo.h.

QString casa::FileLoader::highResolutionImageFile
private

Definition at line 73 of file FileLoader.qo.h.

QString casa::FileLoader::lowResolutionImageFile
private

Definition at line 72 of file FileLoader.qo.h.

QString casa::FileLoader::outputDirectory
private

Definition at line 75 of file FileLoader.qo.h.

QString casa::FileLoader::outputFile
private

Definition at line 74 of file FileLoader.qo.h.

bool casa::FileLoader::saveOutput
private

Definition at line 78 of file FileLoader.qo.h.

Ui::FileLoaderClass casa::FileLoader::ui
private

Definition at line 79 of file FileLoader.qo.h.


The documentation for this class was generated from the following file: