Scribus
Open source desktop publishing at your fingertips
imagedialog.h
1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 #ifndef IMAGEDIALOG_H
8 #define IMAGEDIALOG_H
9 
10 #include <QScrollArea>
11 //#include <QMessageBox>
12 
13 #include "scimage.h"
14 #include "scribusstructs.h"
15 #include "cmsettings.h"
16 
17 #include "ui_imagedialog.h"
18 
19 
20 //central class, manages gui
21 class Imagedialog : public QDialog, Ui::imagedialog
22 {
23  Q_OBJECT
24 
25  public:
26  Imagedialog ( const QString imageFile, ScribusDoc* doc, QWidget *parent = 0 );
27  void resizeEvent ( QResizeEvent * event );
28 
29  ScImage image;
30 
31  signals:
32 
33 
34  private slots:
35  void fitToWindowRadiobuttonToggled ( bool toggled );
36  void zoomRadiobuttonToggled ( bool toggled );
37  void zoomSpinboxValueChanged ( int value );
38  void showOriginalSizeButtonClicked();
39 
40 
41  private:
42  double m_hRatio;
43  double m_vRatio;
44 };
45 
46 #endif
47 
Definition: imagedialog.h:21
Definition: scimage.h:36
the Document Class
Definition: scribusdoc.h:90