21 #ifndef _Tulip_SNAPSHOTDIALOG_H
22 #define _Tulip_SNAPSHOTDIALOG_H
24 #include <tulip/tulipconf.h>
26 #include <QtGui/QDialog>
31 class SnapshotDialogData;
35 class QGraphicsPixmapItem;
42 class TLP_QT_SCOPE SnapshotDialog :
public QDialog {
50 SnapshotDialog(View &v,QWidget *parent=NULL);
59 void widthSpinBoxValueChanged(
int value);
60 void heightSpinBoxValueChanged(
int value);
62 void fileNameTextChanged(
const QString &);
63 QString browseClicked();
68 void resizeEvent(QResizeEvent *);
70 void sizeSpinBoxValueChanged();
72 Ui::SnapshotDialogData *ui;
75 QGraphicsScene *scene;
76 QGraphicsPixmapItem *pixmapItem;
81 bool inSizeSpinBoxValueChanged;