34 QImage
image ()
const;
37 virtual void showEvent (QShowEvent *event);
50 void createNonPdfCropping();
51 void createPreview (QGridLayout *layout,
53 void finishPanel (QWidget *subPanel);
54 void initializeFrameGeometryAndPixmap ();
55 QImage loadImage ()
const;
58 static int MINIMUM_DIALOG_WIDTH;
61 static int MINIMUM_PREVIEW_HEIGHT;
63 void saveGeometryToSettings ();
64 void updatePreview ();
66 QPushButton *m_btnCancel;
69 const QString &m_fileName;
71 QGraphicsPixmapItem *m_pixmap;
73 QGraphicsScene *m_scenePreview;