21 #ifndef _Tulip_SNAPSHOTDIALOG_H 22 #define _Tulip_SNAPSHOTDIALOG_H 26 #include <tulip/tulipconf.h> 29 class SnapshotDialogData;
33 class QGraphicsPixmapItem;
34 class QAbstractButton;
41 class TLP_QT_SCOPE SnapshotDialog :
public QDialog {
49 SnapshotDialog(
const View *v,QWidget *parent=NULL);
52 void setSnapshotHasViewSizeRatio(
bool snapshotHasViewSizeRatio);
60 void widthSpinBoxValueChanged(
int value);
61 void heightSpinBoxValueChanged(
int value);
62 void clicked(QAbstractButton* b);
66 void resizeEvent(QResizeEvent *);
68 void sizeSpinBoxValueChanged();
70 Ui::SnapshotDialogData *ui;
73 QGraphicsScene *scene;
74 QGraphicsPixmapItem *pixmapItem;
79 bool inSizeSpinBoxValueChanged;