Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 24621 → Rev 24622

/trunk/Scribus/scribus/ui/newdocdialog.cpp
242,13 → 242,13
 
TextLabel1_2 = new QLabel( tr( "&Width:" ), pageSizeGroupBox );
pageSizeGroupBoxLayout->addWidget(TextLabel1_2, 2, 1 );
widthSpinBox = new ScrSpinBox( 1, 16777215, pageSizeGroupBox, m_unitIndex );
widthSpinBox = new ScrSpinBox(pts2value(1.0, m_unitIndex), 16777215, pageSizeGroupBox, m_unitIndex );
widthSpinBox->setSuffix(m_unitSuffix);
TextLabel1_2->setBuddy(widthSpinBox);
pageSizeGroupBoxLayout->addWidget(widthSpinBox, 2, 2 );
TextLabel2_2 = new QLabel( tr( "&Height:" ), pageSizeGroupBox );
pageSizeGroupBoxLayout->addWidget(TextLabel2_2, 3, 1 );
heightSpinBox = new ScrSpinBox( 1, 16777215, pageSizeGroupBox, m_unitIndex );
heightSpinBox = new ScrSpinBox( pts2value(1.0, m_unitIndex), 16777215, pageSizeGroupBox, m_unitIndex );
heightSpinBox->setSuffix(m_unitSuffix);
TextLabel2_2->setBuddy(heightSpinBox);
pageSizeGroupBoxLayout->addWidget(heightSpinBox, 3, 2 );
/trunk/Scribus/scribus/ui/pagepropertiesdialog.cpp
72,13 → 72,13
oldOri = doc->currentPage()->orientation();
TextLabel2->setBuddy(orientationQComboBox);
dsGroupBox7Layout->addWidget( orientationQComboBox, 1, 2, 1, 2 );
widthSpinBox = new ScrSpinBox( 1, 16777215, dsGroupBox7, doc->unitIndex() );
widthSpinBox = new ScrSpinBox(pts2value(1.0, doc->unitIndex()), 16777215, dsGroupBox7, doc->unitIndex());
widthQLabel = new QLabel( tr( "&Width:" ), dsGroupBox7 );
widthSpinBox->setValue(doc->currentPage()->width() * doc->unitRatio());
widthQLabel->setBuddy(widthSpinBox);
dsGroupBox7Layout->addWidget( widthQLabel, 2, 0 );
dsGroupBox7Layout->addWidget( widthSpinBox, 2, 1 );
heightSpinBox = new ScrSpinBox( 1, 16777215, dsGroupBox7, doc->unitIndex() );
heightSpinBox = new ScrSpinBox(pts2value(1.0, doc->unitIndex()), 16777215, dsGroupBox7, doc->unitIndex());
heightSpinBox->setValue(doc->currentPage()->height() * doc->unitRatio());
heightQLabel = new QLabel( tr( "&Height:" ), dsGroupBox7 );
heightQLabel->setBuddy(heightSpinBox);