]> Shamusworld >> Repos - architektonas/blob - src/forms/dlgimageoptions.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / dlgimageoptions.h
1 #ifndef __IMAGEOPTIONSDIALOG_H__
2 #define __IMAGEOPTIONSDIALOG_H__
3
4 #include "ui_dlgimageoptions.h"
5 #include "vector.h"
6
7 class ImageOptionsDialog: public QDialog
8 {
9         Q_OBJECT
10
11         public:
12                 ImageOptionsDialog(QWidget * parent = 0, Qt::WindowFlags flags = 0);
13                 ~ImageOptionsDialog();
14
15                 QSize getSize();
16                 bool isBackgroundBlack();
17
18         public slots:
19                 void setGraphicSize(const Vector & s);
20                 void ok();
21                 void sizeChanged();
22                 void resolutionChanged();
23
24         private:
25                 Vector graphicSize;
26                 bool updateEnabled;
27
28         private:
29                 Ui::ImageOptionsDialog ui;
30 };
31
32 #endif  // __IMAGEOPTIONSDIALOG_H__