34
34
struct PrintOptionsPagePrivate;
35
class PrintOptionsPage : public QWidget {
35
class PrintOptionsPage : public QWidget
44
// Order should match the content of the unit combbox in the ui file
51
PrintOptionsPage(const QSize& imageSize);
54
Qt::Alignment alignment() const;
55
ScaleMode scaleMode() const;
56
bool enlargeSmallerImages() const;
57
Unit scaleUnit() const;
58
double scaleWidth() const;
59
double scaleHeight() const;
45
// Order should match the content of the unit combbox in the ui file
52
PrintOptionsPage(const QSize& imageSize);
55
Qt::Alignment alignment() const;
56
ScaleMode scaleMode() const;
57
bool enlargeSmallerImages() const;
58
Unit scaleUnit() const;
59
double scaleWidth() const;
60
double scaleHeight() const;
65
void adjustWidthToRatio();
66
void adjustHeightToRatio();
66
void adjustWidthToRatio();
67
void adjustHeightToRatio();
69
PrintOptionsPagePrivate* const d;
70
PrintOptionsPagePrivate* const d;
75
75
#endif /* PRINTOPTIONSPAGE_H */