Skip to content

Commit

Permalink
update interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei committed Jul 12, 2024
1 parent dea7281 commit 8e69d1e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions agrolib/criteria1DWidget/criteria1DWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,17 +171,23 @@ Criteria1DWidget::Criteria1DWidget()
waterContentGroup->setFixedWidth(this->width() * widthRatio);
carbonNitrogenGroup->setFixedWidth(this->width() * widthRatio);

infoCaseGroup->setTitle("Case");
infoCropGroup->setTitle("Crop");
QFont normalFont, boldFont;
boldFont.setBold(true);
normalFont.setBold(false);

infoCaseGroup->setFont(boldFont);
infoCaseGroup->setTitle("Case study");
infoMeteoGroup->setTitle("Meteo");
infoSoilGroup->setTitle("Soil");
infoCropGroup->setTitle("Crop");
laiParametersGroup->setTitle("Crop parameters");
rootParametersGroup->setTitle("Root parameters");
irrigationParametersGroup->setTitle("Irrigation parameters");
waterStressParametersGroup->setTitle("Water Stress parameters");
waterContentGroup->setTitle("Water Content variable");
carbonNitrogenGroup->setTitle("Carbon Nitrogen variable");

caseListComboBox.setFont(normalFont);
caseInfoLayout->addWidget(&caseListComboBox);

cropInfoLayout->addWidget(cropId, 0, 0);
Expand Down Expand Up @@ -435,9 +441,9 @@ Criteria1DWidget::Criteria1DWidget()
carbonNitrogenGroup->setLayout(carbonNitrogenLayout);

infoLayout->addWidget(infoCaseGroup);
infoLayout->addWidget(infoCropGroup);
infoLayout->addWidget(infoMeteoGroup);
infoLayout->addWidget(infoSoilGroup);
infoLayout->addWidget(infoCropGroup);
infoLayout->addWidget(laiParametersGroup);
infoLayout->addWidget(rootParametersGroup);
infoLayout->addWidget(irrigationParametersGroup);
Expand Down

0 comments on commit 8e69d1e

Please sign in to comment.