34 int width,
int height,
double resolution)
36 , m_aspectRatio(((double) width) / height)
37 , m_originalWidth(width)
38 , m_originalHeight(height)
41 , m_resolution(resolution)
51 m_page->layout()->setContentsMargins(0, 0, 0, 0);
52 m_page->setObjectName(name);
64 m_page->newWidthDouble->setDisplayUnit(
false);
65 m_page->newHeightDouble->setDisplayUnit(
false);
67 m_page->newWidthDouble->setValue(width);
68 m_page->newWidthDouble->setFocus();
69 m_page->newHeightDouble->setValue(height);
73 m_page->filterCmb->allowAuto(
true);
93 m_page->newWidthUnit->setCurrentIndex(wUnitIndex);
94 m_page->newHeightUnit->setCurrentIndex(hUnitIndex);
101 connect(
this, SIGNAL(
okClicked()),
this, SLOT(accept()));
109 connect(
m_page->newWidthUnit, SIGNAL(currentIndexChanged(
int)),
_widthUnitManager, SLOT(selectApparentUnitFromIndex(
int)));
110 connect(
m_page->newHeightUnit, SIGNAL(currentIndexChanged(
int)),
_heightUnitManager, SLOT(selectApparentUnitFromIndex(
int)));
116 m_page->filterCmb->setAutoHint(filterStrategy->
name());