00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 #ifndef SYMBOLBUTTON_HPP
00023 #define SYMBOLBUTTON_HPP
00024 
00025 #include <qwidget.h>
00026 #include <qpushbutton.h>
00027 #include <qstring.h>
00028 
00029 class SymbolButton : public QPushButton
00030 {
00031   Q_OBJECT
00032   
00033   signals:
00034     void symbolChanged ();
00035 
00036   public:
00037     SymbolButton (QWidget *, QString &, QString &);
00038     ~SymbolButton ();
00039     void getSymbol (QString &);
00040     void getPath (QString &);
00041     void setSymbol (QString &);
00042 
00043   public slots:
00044     void fileDialog ();
00045         
00046   private:
00047     QString symbol;
00048     QString path;
00049     QString dirPath;
00050     QString baseDir;
00051 };
00052 
00053 #endif