SpikeStream Application Library  0.2
DescriptionDialog.h
Go to the documentation of this file.
00001 #ifndef DESCRIPTIONDIALOG_H
00002 #define DESCRIPTIONDIALOG_H
00003 
00004 //Qt includes
00005 #include <QDialog>
00006 #include <QLineEdit>
00007 
00008 namespace spikestream {
00009 
00011         class DescriptionDialog : public QDialog {
00012                 Q_OBJECT
00013 
00014                 public:
00015                         DescriptionDialog(const QString& description, QWidget* parent=0);
00016                         ~DescriptionDialog();
00017                         QString getDescription();
00018 
00019 
00020                 private slots:
00021                         void okButtonPressed();
00022                         void cancelButtonPressed();
00023 
00024 
00025                 private:
00026                         //====================  VARIABLES ====================
00028                         QLineEdit* descLineEdit;
00029 
00030                         //====================  METHODS  ====================
00031                         void buildGUI(const QString& description);
00032         };
00033 }
00034 
00035 #endif//DESCRIPTIONDIALOG_H
00036 
 All Classes Files Functions Variables Typedefs Friends Defines