diff -r b0dd75e285d2 -r 0954f5dd2cd0 ginebra2/ContentViews/SuperPageView.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ginebra2/ContentViews/SuperPageView.h Tue Jun 29 00:46:29 2010 -0400 @@ -0,0 +1,40 @@ +/* + * SuperPageView.h + * + * Created on: Jun 11, 2010 + * Author: lewontin + */ + +#include "controllableviewimpl.h" + +#ifndef SUPERPAGEVIEW_H_ +#define SUPERPAGEVIEW_H_ + +namespace GVA { + +class GWebContentView; + +class SuperPageView : public ControllableViewBase +{ + Q_OBJECT + + public: + SuperPageView(GWebContentView * contentView, QObject * parent = 0, const QString &objectName = QString::null); + virtual ~SuperPageView(); + //Reimplement ControllableViewBase methods + static QString Type() { return "superPage"; } + virtual QString type() const { return Type(); } + QGraphicsWidget* widget() const; + virtual QList getContext(); + virtual void show(); + virtual void hide() {;} + public slots: + void addAction(const QString& action, const QString & script = QString()); + private slots: + void invokeScriptAction(); + private: + GWebContentView * m_contentView; + QMap m_actions; +}; +} +#endif /* SUPERPAGEVIEW_H_ */