src/EditRecipeTab6.cpp

changeset 452
c4c5d02131be
parent 301
fe6346211b5b
child 454
2dfead81c72f
equal deleted inserted replaced
451:ccf00788bccc 452:c4c5d02131be
479 steptempEdit = new QDoubleSpinBox(dialog); 479 steptempEdit = new QDoubleSpinBox(dialog);
480 steptempEdit->setObjectName(QString::fromUtf8("steptempEdit")); 480 steptempEdit->setObjectName(QString::fromUtf8("steptempEdit"));
481 steptempEdit->setGeometry(QRect(160, 70, 121, 24)); 481 steptempEdit->setGeometry(QRect(160, 70, 121, 24));
482 steptempEdit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); 482 steptempEdit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
483 steptempEdit->setDecimals(1); 483 steptempEdit->setDecimals(1);
484 steptempEdit->setAccelerated(true);
485 steptempEdit->setSingleStep(0.5);
486 steptempEdit->setMaximum(82);
484 steptempEdit->setValue(recipe->mashs.at(recipe->mashs_row).step_temp); 487 steptempEdit->setValue(recipe->mashs.at(recipe->mashs_row).step_temp);
485 488
486 QLabel *endLabel = new QLabel(dialog); 489 QLabel *endLabel = new QLabel(dialog);
487 endLabel->setObjectName(QString::fromUtf8("endLabel")); 490 endLabel->setObjectName(QString::fromUtf8("endLabel"));
488 endLabel->setText(tr("Step end temp:")); 491 endLabel->setText(tr("Step end temp:"));
491 endtempEdit = new QDoubleSpinBox(dialog); 494 endtempEdit = new QDoubleSpinBox(dialog);
492 endtempEdit->setObjectName(QString::fromUtf8("endtempEdit")); 495 endtempEdit->setObjectName(QString::fromUtf8("endtempEdit"));
493 endtempEdit->setGeometry(QRect(510, 70, 121, 24)); 496 endtempEdit->setGeometry(QRect(510, 70, 121, 24));
494 endtempEdit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); 497 endtempEdit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
495 endtempEdit->setDecimals(1); 498 endtempEdit->setDecimals(1);
499 endtempEdit->setAccelerated(true);
500 endtempEdit->setSingleStep(0.5);
501 endtempEdit->setMaximum(82);
496 endtempEdit->setValue(recipe->mashs.at(recipe->mashs_row).end_temp); 502 endtempEdit->setValue(recipe->mashs.at(recipe->mashs_row).end_temp);
497 503
498 QLabel *timeLabel = new QLabel(dialog); 504 QLabel *timeLabel = new QLabel(dialog);
499 timeLabel->setObjectName(QString::fromUtf8("timeLabel")); 505 timeLabel->setObjectName(QString::fromUtf8("timeLabel"));
500 timeLabel->setText(tr("Step rest time:")); 506 timeLabel->setText(tr("Step rest time:"));
503 steptimeEdit = new QDoubleSpinBox(dialog); 509 steptimeEdit = new QDoubleSpinBox(dialog);
504 steptimeEdit->setObjectName(QString::fromUtf8("steptimeEdit")); 510 steptimeEdit->setObjectName(QString::fromUtf8("steptimeEdit"));
505 steptimeEdit->setGeometry(QRect(160, 100, 121, 24)); 511 steptimeEdit->setGeometry(QRect(160, 100, 121, 24));
506 steptimeEdit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); 512 steptimeEdit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
507 steptimeEdit->setDecimals(0); 513 steptimeEdit->setDecimals(0);
514 steptimeEdit->setAccelerated(true);
515 steptimeEdit->setMaximum(240.0);
508 steptimeEdit->setValue(recipe->mashs.at(recipe->mashs_row).step_time); 516 steptimeEdit->setValue(recipe->mashs.at(recipe->mashs_row).step_time);
509 517
510 QLabel *rampLabel = new QLabel(dialog); 518 QLabel *rampLabel = new QLabel(dialog);
511 rampLabel->setObjectName(QString::fromUtf8("rampLabel")); 519 rampLabel->setObjectName(QString::fromUtf8("rampLabel"));
512 rampLabel->setText(tr("Step ramp time:")); 520 rampLabel->setText(tr("Step ramp time:"));

mercurial