GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Slots | Private Attributes | List of all members
QGoLsmToMegaExportDialog Class Reference

#include <Code/GUI/lib/QGoLsmToMegaExportDialog.h>

Inheritance diagram for QGoLsmToMegaExportDialog:
Inheritance graph
[legend]
Collaboration diagram for QGoLsmToMegaExportDialog:
Collaboration graph
[legend]

Public Member Functions

 QGoLsmToMegaExportDialog (QWidget *parent=0)
 Constructor. More...
 
 ~QGoLsmToMegaExportDialog ()
 Desctructor. More...
 

Public Attributes

ConversionLsmToMegaThreadConversionLsmToMegaThreadSend
 

Protected Slots

void CanceledReceived ()
 Catch thread, cancel the conversion. More...
 
void ConversionTerminatedReceived ()
 Catch thread, close progress bar and dialog box. More...
 
void InitialisationProgressReceived ()
 Catch thread, initialize the progress bar. More...
 
void on_convert_clicked ()
 Disable buttons and send thread to launch conversion. More...
 
void on_outputFormat_activated (int index)
 Select the output format. More...
 
void on_selectLsmFile_clicked ()
 Get the name of the lsm file selected. More...
 
void on_selectMegaPath_clicked ()
 Get the location to store MegaCapture file. More...
 
void ProgressReceived ()
 Catch thread, update the progress bar content. More...
 

Private Attributes

int m_Counter
 
bool m_FileFormatIsPNG
 
QString m_LsmName
 
QString m_LsmPath
 
QString m_MegaPath
 
QProgressDialog * m_ProgressDialog
 

Detailed Description

Definition at line 50 of file QGoLsmToMegaExportDialog.h.

Constructor & Destructor Documentation

QGoLsmToMegaExportDialog::QGoLsmToMegaExportDialog ( QWidget *  parent = 0)
explicit

Constructor.

Definition at line 41 of file QGoLsmToMegaExportDialog.cxx.

QGoLsmToMegaExportDialog::~QGoLsmToMegaExportDialog ( )

Desctructor.

Definition at line 65 of file QGoLsmToMegaExportDialog.cxx.

Member Function Documentation

void QGoLsmToMegaExportDialog::CanceledReceived ( )
protectedslot

Catch thread, cancel the conversion.

Definition at line 218 of file QGoLsmToMegaExportDialog.cxx.

void QGoLsmToMegaExportDialog::ConversionTerminatedReceived ( )
protectedslot

Catch thread, close progress bar and dialog box.

Definition at line 173 of file QGoLsmToMegaExportDialog.cxx.

void QGoLsmToMegaExportDialog::InitialisationProgressReceived ( )
protectedslot

Catch thread, initialize the progress bar.

Todo:
check values for progress bar...(ubuntu bug..?)

Definition at line 187 of file QGoLsmToMegaExportDialog.cxx.

void QGoLsmToMegaExportDialog::on_convert_clicked ( )
protectedslot

Disable buttons and send thread to launch conversion.

Todo:
use QMessageBox

Definition at line 124 of file QGoLsmToMegaExportDialog.cxx.

void QGoLsmToMegaExportDialog::on_outputFormat_activated ( int  index)
protectedslot

Select the output format.

Parameters
[in]index0: PNG, 1:TIFF

Definition at line 108 of file QGoLsmToMegaExportDialog.cxx.

void QGoLsmToMegaExportDialog::on_selectLsmFile_clicked ( )
protectedslot

Get the name of the lsm file selected.

Definition at line 74 of file QGoLsmToMegaExportDialog.cxx.

void QGoLsmToMegaExportDialog::on_selectMegaPath_clicked ( )
protectedslot

Get the location to store MegaCapture file.

Definition at line 93 of file QGoLsmToMegaExportDialog.cxx.

void QGoLsmToMegaExportDialog::ProgressReceived ( )
protectedslot

Catch thread, update the progress bar content.

Definition at line 208 of file QGoLsmToMegaExportDialog.cxx.

Member Data Documentation

ConversionLsmToMegaThread* QGoLsmToMegaExportDialog::ConversionLsmToMegaThreadSend

Definition at line 65 of file QGoLsmToMegaExportDialog.h.

int QGoLsmToMegaExportDialog::m_Counter
private

Definition at line 114 of file QGoLsmToMegaExportDialog.h.

bool QGoLsmToMegaExportDialog::m_FileFormatIsPNG
private

Definition at line 112 of file QGoLsmToMegaExportDialog.h.

QString QGoLsmToMegaExportDialog::m_LsmName
private

Definition at line 110 of file QGoLsmToMegaExportDialog.h.

QString QGoLsmToMegaExportDialog::m_LsmPath
private

Definition at line 109 of file QGoLsmToMegaExportDialog.h.

QString QGoLsmToMegaExportDialog::m_MegaPath
private

Definition at line 111 of file QGoLsmToMegaExportDialog.h.

QProgressDialog* QGoLsmToMegaExportDialog::m_ProgressDialog
private

Definition at line 113 of file QGoLsmToMegaExportDialog.h.


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