25 #ifndef SUIT_VIEWWINDOW_H
26 #define SUIT_VIEWWINDOW_H
31 #include <QMainWindow>
55 virtual QImage dumpView();
56 bool dumpViewToFormat(
const QString& fileName,
const QString& format );
58 bool onAccelAction(
int );
60 bool closable()
const;
61 bool setClosable(
const bool );
63 virtual QString getVisualParameters();
64 virtual void setVisualParameters(
const QString& parameters );
66 void setDestructiveClose(
const bool );
72 virtual void setDropDownButtons(
bool );
73 bool dropDownButtons()
const;
78 virtual void onDumpView();
90 void contextMenuRequested( QContextMenuEvent *e );
94 void closeEvent( QCloseEvent* );
95 virtual void contextMenuEvent( QContextMenuEvent* );
96 virtual QString filter()
const;
97 virtual bool action(
const int );
98 virtual bool dumpViewToFormat(
const QImage&,
const QString& fileName,
const QString& format );
100 virtual QAction* synchronizeAction();
107 void updateSyncViews();
108 void onSynchronizeView(
bool);
110 void emitViewModified();
121 #endif // SUIT_VIEWWINDOW_H