src/EditProductTab7.cpp

changeset 452
c4c5d02131be
parent 437
e6b5510ca1d9
child 454
2dfead81c72f
equal deleted inserted replaced
451:ccf00788bccc 452:c4c5d02131be
584 steptempEdit = new QDoubleSpinBox(dialog); 584 steptempEdit = new QDoubleSpinBox(dialog);
585 steptempEdit->setObjectName(QString::fromUtf8("steptempEdit")); 585 steptempEdit->setObjectName(QString::fromUtf8("steptempEdit"));
586 steptempEdit->setGeometry(QRect(160, 70, 121, 24)); 586 steptempEdit->setGeometry(QRect(160, 70, 121, 24));
587 steptempEdit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); 587 steptempEdit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
588 steptempEdit->setDecimals(1); 588 steptempEdit->setDecimals(1);
589 steptempEdit->setAccelerated(true);
590 steptempEdit->setSingleStep(0.5);
591 steptempEdit->setMaximum(82);
589 steptempEdit->setValue(product->mashs.at(product->mashs_row).step_temp); 592 steptempEdit->setValue(product->mashs.at(product->mashs_row).step_temp);
590 593
591 QLabel *endLabel = new QLabel(dialog); 594 QLabel *endLabel = new QLabel(dialog);
592 endLabel->setObjectName(QString::fromUtf8("endLabel")); 595 endLabel->setObjectName(QString::fromUtf8("endLabel"));
593 endLabel->setText(tr("Step end temp:")); 596 endLabel->setText(tr("Step end temp:"));
596 endtempEdit = new QDoubleSpinBox(dialog); 599 endtempEdit = new QDoubleSpinBox(dialog);
597 endtempEdit->setObjectName(QString::fromUtf8("endtempEdit")); 600 endtempEdit->setObjectName(QString::fromUtf8("endtempEdit"));
598 endtempEdit->setGeometry(QRect(510, 70, 121, 24)); 601 endtempEdit->setGeometry(QRect(510, 70, 121, 24));
599 endtempEdit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); 602 endtempEdit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
600 endtempEdit->setDecimals(1); 603 endtempEdit->setDecimals(1);
604 endtempEdit->setAccelerated(true);
605 endtempEdit->setSingleStep(0.5);
606 endtempEdit->setMaximum(82);
601 endtempEdit->setValue(product->mashs.at(product->mashs_row).end_temp); 607 endtempEdit->setValue(product->mashs.at(product->mashs_row).end_temp);
602 608
603 QLabel *timeLabel = new QLabel(dialog); 609 QLabel *timeLabel = new QLabel(dialog);
604 timeLabel->setObjectName(QString::fromUtf8("timeLabel")); 610 timeLabel->setObjectName(QString::fromUtf8("timeLabel"));
605 timeLabel->setText(tr("Step rest time:")); 611 timeLabel->setText(tr("Step rest time:"));
608 steptimeEdit = new QDoubleSpinBox(dialog); 614 steptimeEdit = new QDoubleSpinBox(dialog);
609 steptimeEdit->setObjectName(QString::fromUtf8("steptimeEdit")); 615 steptimeEdit->setObjectName(QString::fromUtf8("steptimeEdit"));
610 steptimeEdit->setGeometry(QRect(160, 100, 121, 24)); 616 steptimeEdit->setGeometry(QRect(160, 100, 121, 24));
611 steptimeEdit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); 617 steptimeEdit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
612 steptimeEdit->setDecimals(0); 618 steptimeEdit->setDecimals(0);
619 steptimeEdit->setAccelerated(true);
620 steptimeEdit->setMaximum(240.0);
613 steptimeEdit->setValue(product->mashs.at(product->mashs_row).step_time); 621 steptimeEdit->setValue(product->mashs.at(product->mashs_row).step_time);
614 622
615 QLabel *rampLabel = new QLabel(dialog); 623 QLabel *rampLabel = new QLabel(dialog);
616 rampLabel->setObjectName(QString::fromUtf8("rampLabel")); 624 rampLabel->setObjectName(QString::fromUtf8("rampLabel"));
617 rampLabel->setText(tr("Step ramp time:")); 625 rampLabel->setText(tr("Step ramp time:"));

mercurial