SilentEye 0.4.1
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Private Member Functions

SilentEye::OptionDialog Class Reference

Mother class for encode and decode dialog. More...

#include <optiondialog.h>

Inheritance diagram for SilentEye::OptionDialog:
SilentEye::DecodeDialog SilentEye::EncodeDialog

List of all members.

Public Member Functions

 OptionDialog (QWidget *parent=0)
 ~OptionDialog ()
void setMedia (QPointer< Media >)

Protected Slots

virtual void ok ()=0
void rejected ()
void selectFolder ()
void selectFile ()
void addFile (const QString &)
void removeFile ()
void formatChanged (const QString &)
void cryptoStatusChanged (int)
void cryptoPwd1TextEdited (QString)
void cryptoPwd2TextEdited (QString)
void valueChanged ()

Protected Member Functions

void setupDialog ()
void updateDialogSize ()
void loadFormats ()
void loadEncryptionTypes ()
bool isDialogReady ()
bool checkCryptoPassword ()
FormatModuleInterfacecurrentFormatModule ()
CryptoModuleInterfacecurrentCryptoModule ()
Data::DataFormat currentCharset ()
int dataSizeRemaining (FormatModuleInterface *module=NULL, QPointer< Media >=QPointer< Media >())
void displayException (const QString &title, const SilentEyeException e)
virtual QWidget * currentFormatWidget (FormatModuleInterface *)=0

Protected Attributes

QPointer< Loggerm_logger
QPointer< Mediam_md
QString m_filePath
QWidget * m_optionWidget
bool m_checkSize
int m_originalHeight

Private Member Functions

void connectSignals ()

Detailed Description

Mother class for encode and decode dialog.

Definition at line 32 of file optiondialog.h.


Constructor & Destructor Documentation

SilentEye::OptionDialog::OptionDialog ( QWidget *  parent = 0)
SilentEye::OptionDialog::~OptionDialog ( )

Definition at line 40 of file optiondialog.cpp.

References m_logger, and m_md.


Member Function Documentation

void SilentEye::OptionDialog::addFile ( const QString &  filename) [protected, slot]

Definition at line 123 of file optiondialog.cpp.

References m_filePath, and valueChanged().

Referenced by SilentEye::EncodeDialog::dropEvent(), and selectFile().

bool SilentEye::OptionDialog::checkCryptoPassword ( ) [protected]
void SilentEye::OptionDialog::connectSignals ( ) [private]
void SilentEye::OptionDialog::cryptoPwd1TextEdited ( QString  ) [protected, slot]

Definition at line 311 of file optiondialog.cpp.

References checkCryptoPassword().

Referenced by connectSignals().

void SilentEye::OptionDialog::cryptoPwd2TextEdited ( QString  ) [protected, slot]

Definition at line 316 of file optiondialog.cpp.

References checkCryptoPassword().

Referenced by connectSignals().

void SilentEye::OptionDialog::cryptoStatusChanged ( int  status) [protected, slot]

Definition at line 295 of file optiondialog.cpp.

References checkCryptoPassword(), and updateDialogSize().

Referenced by connectSignals().

Data::DataFormat SilentEye::OptionDialog::currentCharset ( ) [protected]

Definition at line 218 of file optiondialog.cpp.

Referenced by dataSizeRemaining(), and SilentEye::EncodeDialog::ok().

CryptoModuleInterface * SilentEye::OptionDialog::currentCryptoModule ( ) [protected]
FormatModuleInterface * SilentEye::OptionDialog::currentFormatModule ( ) [protected]
virtual QWidget* SilentEye::OptionDialog::currentFormatWidget ( FormatModuleInterface ) [protected, pure virtual]
int SilentEye::OptionDialog::dataSizeRemaining ( FormatModuleInterface module = NULL,
QPointer< Media media = QPointer<Media>() 
) [protected]
void SilentEye::OptionDialog::displayException ( const QString &  title,
const SilentEyeException  e 
) [protected]
void SilentEye::OptionDialog::formatChanged ( const QString &  imageFormat) [protected, slot]
bool SilentEye::OptionDialog::isDialogReady ( ) [protected]
void SilentEye::OptionDialog::loadEncryptionTypes ( ) [protected]
void SilentEye::OptionDialog::loadFormats ( ) [protected]
virtual void SilentEye::OptionDialog::ok ( ) [protected, pure virtual, slot]
void SilentEye::OptionDialog::rejected ( ) [protected, slot]

Definition at line 158 of file optiondialog.cpp.

Referenced by connectSignals().

void SilentEye::OptionDialog::removeFile ( ) [protected, slot]
void SilentEye::OptionDialog::selectFile ( ) [protected, slot]

Definition at line 91 of file optiondialog.cpp.

References addFile(), SilentEye::Controller::instance(), m_filePath, and m_md.

void SilentEye::OptionDialog::selectFolder ( ) [protected, slot]

Definition at line 67 of file optiondialog.cpp.

References SilentEye::Controller::instance().

Referenced by connectSignals().

void SilentEye::OptionDialog::setMedia ( QPointer< Media md)
void SilentEye::OptionDialog::setupDialog ( ) [protected]
void SilentEye::OptionDialog::updateDialogSize ( ) [protected]
void SilentEye::OptionDialog::valueChanged ( ) [protected, slot]

Member Data Documentation

Definition at line 43 of file optiondialog.h.

Referenced by currentFormatModule(), isDialogReady(), OptionDialog(), and valueChanged().

QPointer<Media> SilentEye::OptionDialog::m_md [protected]

Definition at line 41 of file optiondialog.h.

Referenced by formatChanged(), and OptionDialog().

Definition at line 44 of file optiondialog.h.

Referenced by OptionDialog(), and updateDialogSize().


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