Documents > BPS V2 C++ API
bpsreportmenu.h
Go to the documentation of this file.
00001 
00004 #ifndef BPSREPORTMENU_H
00005 #define BPSREPORTMENU_H
00006 
00007 #include "bpsgui_global.h"
00008 #include <QMenu>
00009 #include <QStringList>
00010 
00011 class BpsDatastore;
00012 class QAction;
00013 
00017 class BPSGUI_EXPORT BpsReportMenu : public QMenu
00018 {
00019     Q_OBJECT
00020     BPS_PRIVATE(BpsReportMenu)
00021 
00022 public:
00029     BpsReportMenu(BpsDatastore* aDatastore, const QString& aApplication, const QString& aTitle, QWidget* aParent = 0);
00030 
00032     virtual ~BpsReportMenu();
00034 
00038     QAction* previewAction() const;
00039 
00043     QAction* pdfAction() const;
00044 
00048     QAction* printAction() const;
00049 
00050 protected:
00074     virtual QMap<QString,QVariantList> selections(const QStringList& aUsedSelections) const;
00075 };
00076 
00077 #endif // BPSREPORTMENU_H