21 #ifndef _Tulip_SNAPSHOTDIALOG_H
22 #define _Tulip_SNAPSHOTDIALOG_H
26 #include <tulip/tulipconf.h>
29 class SnapshotDialogData;
33 class QGraphicsPixmapItem;
40 class TLP_QT_SCOPE SnapshotDialog :
public QDialog {
48 SnapshotDialog(
const View *v,QWidget *parent=NULL);
51 void setSnapshotHasViewSizeRatio(
bool snapshotHasViewSizeRatio);
59 void widthSpinBoxValueChanged(
int value);
60 void heightSpinBoxValueChanged(
int value);
62 void fileNameTextChanged(
const QString &);
67 void resizeEvent(QResizeEvent *);
69 void sizeSpinBoxValueChanged();
71 Ui::SnapshotDialogData *ui;
74 QGraphicsScene *scene;
75 QGraphicsPixmapItem *pixmapItem;
80 bool inSizeSpinBoxValueChanged;