21 #ifndef _Tulip_SNAPSHOTDIALOG_H 22 #define _Tulip_SNAPSHOTDIALOG_H 26 #include <tulip/tulipconf.h> 29 class SnapshotDialogData;
33 class QGraphicsPixmapItem;
34 class QAbstractButton;
42 class TLP_QT_SCOPE SnapshotDialog :
public QDialog {
47 SnapshotDialog(
const View *v, QWidget *parent =
nullptr);
48 ~SnapshotDialog()
override;
50 void setSnapshotHasViewSizeRatio(
bool snapshotHasViewSizeRatio);
54 void accept()
override;
58 void widthSpinBoxValueChanged(
int value);
59 void heightSpinBoxValueChanged(
int value);
60 void clicked(QAbstractButton *b);
63 void resizeEvent(QResizeEvent *)
override;
65 void sizeSpinBoxValueChanged();
67 Ui::SnapshotDialogData *ui;
74 bool inSizeSpinBoxValueChanged;