From 8e69d1e642763fd4ea2839edef062bfb389defe3 Mon Sep 17 00:00:00 2001 From: ftomei Date: Fri, 12 Jul 2024 17:13:23 +0200 Subject: [PATCH] update interface --- agrolib/criteria1DWidget/criteria1DWidget.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/agrolib/criteria1DWidget/criteria1DWidget.cpp b/agrolib/criteria1DWidget/criteria1DWidget.cpp index c6eadb70..ce837a15 100644 --- a/agrolib/criteria1DWidget/criteria1DWidget.cpp +++ b/agrolib/criteria1DWidget/criteria1DWidget.cpp @@ -171,10 +171,15 @@ 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"); @@ -182,6 +187,7 @@ Criteria1DWidget::Criteria1DWidget() waterContentGroup->setTitle("Water Content variable"); carbonNitrogenGroup->setTitle("Carbon Nitrogen variable"); + caseListComboBox.setFont(normalFont); caseInfoLayout->addWidget(&caseListComboBox); cropInfoLayout->addWidget(cropId, 0, 0); @@ -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);