00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef QTS_DATARETRIEVALDIALOG_H
00010 #define QTS_DATARETRIEVALDIALOG_H
00011
00012 #include <qvariant.h>
00013 #include <qdialog.h>
00014 #include <qmessagebox.h>
00015 #include "qfiledialog.h"
00016 class QVBoxLayout;
00017 class QHBoxLayout;
00018 class QGridLayout;
00019 class QComboBox;
00020 class QDateEdit;
00021 class QGroupBox;
00022 class QLabel;
00023 class QLineEdit;
00024 class QPushButton;
00025
00026 class QTS_DataRetrievalDialog : public QDialog
00027 {
00028 Q_OBJECT
00029
00030 public:
00031 QTS_DataRetrievalDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00032 ~QTS_DataRetrievalDialog();
00033
00034 QGroupBox* gbSource;
00035 QLabel* lSymbol;
00036 QComboBox* cbSymbol;
00037 QLabel* lSource;
00038 QComboBox* cbService;
00039 QGroupBox* gbPeriod;
00040 QLabel* lStart;
00041 QDateEdit* deStart;
00042 QLabel* lEnd;
00043 QDateEdit* deEnd;
00044 QPushButton* bOk;
00045 QPushButton* bCancel;
00046 QGroupBox* gbDest;
00047 QLabel* lFile;
00048 QLineEdit* leFile;
00049 QPushButton* bChoose;
00050
00051
00052 public slots:
00053 virtual void init();
00054 virtual void chooseFile();
00055 virtual QString getFile();
00056 virtual QString getSymbol();
00057 virtual QDate getStartDate();
00058 virtual QDate getEndDate();
00059 virtual void validate();
00060
00061 protected:
00062 QHBoxLayout* layout2;
00063 QHBoxLayout* layout3;
00064 QHBoxLayout* layout5;
00065 QHBoxLayout* layout6;
00066 QHBoxLayout* layout1;
00067 QHBoxLayout* layout4;
00068 };
00069
00070 #endif // QTS_DATARETRIEVALDIALOG_H