00001 #ifndef FOLDEROPENDIALOG_H 00002 #define FOLDEROPENDIALOG_H 00003 00004 #include <QtCore/QStringList> 00005 00006 #include "ACE/accesstocool.h" 00007 #include "ACE/ui_FolderOpenDialog_BASE.h" 00008 00009 00010 class FolderOpenDialog : public QDialog, private Ui::FolderOpenDialog_BASE 00011 { 00012 Q_OBJECT 00013 00014 public: 00015 FolderOpenDialog( QWidget* parent = 0, Qt::WindowFlags f = 0 ); 00016 ~FolderOpenDialog(); 00017 void prepare( cool::IFolderPtr fPtr, QString fName ); 00018 cool::ValidityKey getSinceIOV(); 00019 cool::ChannelSelection getChannelSelection(); 00020 QString getTag(); 00021 QString getFolderCharacteristics(); 00022 00023 private: 00024 void setConnections(); 00025 void fill(); 00026 00027 QList< QPair< bool, unsigned int > > channelList; 00028 cool::IFolderPtr folderPtr; 00029 QString folderName; 00030 QStringList tagList; 00031 00032 public slots: 00033 void slotOpen(); 00034 00035 }; 00036 00037 #endif