equal
deleted
inserted
replaced
274 QHBoxLayout * winResLayout = new QHBoxLayout(winResContainer); |
274 QHBoxLayout * winResLayout = new QHBoxLayout(winResContainer); |
275 winResLayout->setSpacing(0); |
275 winResLayout->setSpacing(0); |
276 groupGame->layout()->addWidget(winResContainer, 2, 1); |
276 groupGame->layout()->addWidget(winResContainer, 2, 1); |
277 |
277 |
278 QLabel *winLabelX = new QLabel(groupGame); |
278 QLabel *winLabelX = new QLabel(groupGame); |
279 winLabelX->setText("x"); // decorational x |
279 //: Multiplication sign, to be used between two numbers. Note the “x” is only a dummy character, we recommend to use “×” if your language permits it |
|
280 winLabelX->setText(tr("x")); |
280 winLabelX->setFixedWidth(40); |
281 winLabelX->setFixedWidth(40); |
281 winLabelX->setAlignment(Qt::AlignCenter); |
282 winLabelX->setAlignment(Qt::AlignCenter); |
282 |
283 |
283 // TODO: less random max. also: |
284 // TODO: less random max. also: |
284 // make some min/max-consts, shared with engine? |
285 // make some min/max-consts, shared with engine? |
795 |
796 |
796 widthEdit = new QLineEdit(groupVideoRec); |
797 widthEdit = new QLineEdit(groupVideoRec); |
797 widthEdit->setValidator(new QIntValidator(this)); |
798 widthEdit->setValidator(new QIntValidator(this)); |
798 groupVideoRec->layout()->addWidget(widthEdit, 5, 1); |
799 groupVideoRec->layout()->addWidget(widthEdit, 5, 1); |
799 |
800 |
800 // x |
801 // multiplication sign |
801 |
802 |
802 QLabel *labelX = new QLabel(groupVideoRec); |
803 QLabel *labelX = new QLabel(groupVideoRec); |
803 labelX->setText("X"); |
804 labelX->setText(tr("x")); |
804 groupVideoRec->layout()->addWidget(labelX, 5, 2); |
805 groupVideoRec->layout()->addWidget(labelX, 5, 2); |
805 |
806 |
806 // height |
807 // height |
807 |
808 |
808 heightEdit = new QLineEdit(groupVideoRec); |
809 heightEdit = new QLineEdit(groupVideoRec); |