Lines Matching refs:topR

37 	topR = new ScrSpinBox( 0, 1000, marginPage, unitIndex );  in MarginWidget()
44 tText->setBuddy(topR); in MarginWidget()
65 GroupLayout->addWidget( topR, 3, 1 ); in MarginWidget()
147topR->setToolTip( "<qt>" + tr( "Distance between the top margin guide and the edge of the page" ) … in MarginWidget()
154 connect(topR, SIGNAL(valueChanged(double)), this, SLOT(setTop())); in MarginWidget()
251 topR->setMaximum(qMax(0.0, height * m_unitRatio - bottomR->value())); in setPageWidthHeight()
252 bottomR->setMaximum(qMax(0.0, height * m_unitRatio - topR->value())); in setPageWidthHeight()
267 topR->setMaximum(qMax(0.0, height * m_unitRatio - bottomR->value())); in setPageHeight()
268 bottomR->setMaximum(qMax(0.0,height * m_unitRatio - topR->value())); in setPageHeight()
275 double newVal=topR->value() / m_unitRatio; in setTop()
276 bottomR->setMaximum(qMax(0.0, m_pageHeight * m_unitRatio - topR->value())); in setTop()
290 topR->setMaximum(qMax(0.0, m_pageHeight * m_unitRatio - bottomR->value())); in setBottom()
331 disconnect(topR, SIGNAL(valueChanged(double)), this, SLOT(setTop())); in setNewUnit()
337 topR->setNewUnit(newUnitIndex); in setNewUnit()
357 connect(topR, SIGNAL(valueChanged(double)), this, SLOT(setTop())); in setNewUnit()
365 disconnect(topR, SIGNAL(valueChanged(double)), this, SLOT(setTop())); in setPreset()
387 bottomR->setMaximum(qMax(0.0, m_pageHeight * m_unitRatio - topR->value())); in setPreset()
388 topR->setMaximum(qMax(0.0, m_pageHeight * m_unitRatio - bottomR->value())); in setPreset()
392 topR->setEnabled(restoringValues); in setPreset()
398 topR->setEnabled(true); in setPreset()
407 connect(topR, SIGNAL(valueChanged(double)), this, SLOT(setTop())); in setPreset()
437 topR->setMaximum((qMax(0.0, m_pageHeight - b) * m_unitRatio)); in setMarginsToPrinterMargins()
442 topR->setEnabled(true); in setMarginsToPrinterMargins()
468 disconnect(topR, SIGNAL(valueChanged(double)), this, SLOT(setTop())); in setNewMargins()
474 connect(topR, SIGNAL(valueChanged(double)), this, SLOT(setTop())); in setNewMargins()
497 topR->setEnabled(restoringValues); in setMarginPreset()
503 topR->setEnabled(true); in setMarginPreset()
573 disconnect(topR, SIGNAL(valueChanged(double)), this, SLOT(setTop())); in slotLinkMargins()
589 if (topR->hasFocus()) in slotLinkMargins()
591 topR->clearFocus(); in slotLinkMargins()
592 marginValue = topR->value(); in slotLinkMargins()
604 topR->setValue(marginValue); in slotLinkMargins()
610 connect(topR, SIGNAL(valueChanged(double)), this, SLOT(setTop())); in slotLinkMargins()
619 topR->setValue(marginData.top() * m_unitRatio); in updateMarginSpinValues()