1 #ifndef __ACTIONPRINTPREVIEW_H__
2 #define __ACTIONPRINTPREVIEW_H__
5 #include "actioninterface.h"
9 * Default action for print preview.
11 * @author James Hammons
12 * @author Andrew Mustun
14 class ActionPrintPreview: public ActionInterface
26 ActionPrintPreview(EntityContainer & container, GraphicView & graphicView);
27 ~ActionPrintPreview();
29 virtual RS2::ActionType rtti();
30 virtual void init(int status = 0);
31 virtual void trigger();
32 virtual void mouseMoveEvent(QMouseEvent * e);
33 virtual void mousePressEvent(QMouseEvent * e);
34 virtual void mouseReleaseEvent(QMouseEvent * e);
35 virtual void coordinateEvent(Vector * e);
36 virtual void commandEvent(CommandEvent * e);
37 virtual QStringList getAvailableCommands();
38 virtual void showOptions();
39 virtual void hideOptions();
40 virtual void updateMouseButtonHints();
41 virtual void updateMouseCursor();
42 virtual void updateToolBar();
45 void setScale(double f);
47 void setBlackWhite(bool bw);
55 #endif // __ACTIONPRINTPREVIEW_H__