LoadWidget Class Reference

List of all members.

Public Slots

virtual void accept ()

Signals

void load (QString _filename, DataType _type, int &_id)
void save (int _id, QString _filename)

Public Member Functions

 LoadWidget (std::vector< fileTypes > &_supportedTypes, QWidget *parent=0)
 ~LoadWidget ()
 Desctructor.
int showLoad ()
 show Widget for loading Files
int showSave (int _id, QString _filename)
 show Widget for saving Files

Private Slots

void slotSetLoadFilters (int _typeIndex)
 adjust load-filters to current datatype
void slotSetSaveFilters (int _typeIndex)
 adjust save-filters to current datatype
void currentFilterChanged (QString _currentFilter)
 adjust the loadWidget / saveWidget when the selected nameFilter changed

Private Member Functions

void loadFile ()
 find suitable plugin for loading current file
void saveFile ()
 find suitable plugin for saving current file

Private Attributes

int id_
bool loadMode_
QStringList lastPaths
std::vector< fileTypes > & supportedTypes_
QComboBox * typeBox_
 combo box for choosing file type to load/save
QGroupBox * box_
 QFrame on the right.
QHBoxLayout * boxLayout_
QVector< QWidget * > boxWidgets_
bool step_

Detailed Description

Definition at line 52 of file loadWidget.hh.


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

acg pic Project OpenFlipper, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .