#include <OpenMS/VISUAL/VISUALIZER/SourceFileVisualizer.h>
This class provides all functionality to view the meta information of an object of type SourceFile.
Public Member Functions | |
SourceFileVisualizer (bool editable=FALSE, QWidget *parent=0) | |
Default constructor. | |
void | load (SourceFile &h) |
Loads the meta data from the object to the viewer. | |
Private Slots | |
void | store_ () |
Saves the changes made to the meta data into the object. | |
void | reject_ () |
Deletes all changes made in the viewer and restores the original meta data. | |
Private Attributes | |
SourceFile * | ptr_ |
Pointer to current object to keep track of the actual object. | |
SourceFile | tempSourceFile_ |
Copy of current object for restoring the original values. | |
Edit fields and buttons | |
QLineEdit * | name_of_file_ |
QLineEdit * | path_to_file_ |
QLineEdit * | file_size_ |
QLineEdit * | file_type_ |
QLineEdit * | sha1_ |
SourceFileVisualizer | ( | bool | editable = FALSE , |
|
QWidget * | parent = 0 | |||
) |
Default constructor.
void load | ( | SourceFile & | h | ) |
Loads the meta data from the object to the viewer.
void store_ | ( | ) | [private, virtual, slot] |
void reject_ | ( | ) | [private, virtual, slot] |
Deletes all changes made in the viewer and restores the original meta data.
Implements BaseVisualizer.
QLineEdit* name_of_file_ [private] |
QLineEdit* path_to_file_ [private] |
QLineEdit* file_size_ [private] |
QLineEdit* file_type_ [private] |
QLineEdit* sha1_ [private] |
SourceFile* ptr_ [private] |
Pointer to current object to keep track of the actual object.
SourceFile tempSourceFile_ [private] |
Copy of current object for restoring the original values.
Generated Tue Apr 1 15:36:49 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |