From 240a517dd6691d45253b5863b54b4b035aaea8f1 Mon Sep 17 00:00:00 2001
From: Maxim Slipenko <no-reply@maxim.slipenko.com>
Date: Sat, 3 Feb 2024 16:20:23 +0300
Subject: [PATCH] =?UTF-8?q?fix:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?=
 =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BB=D0=B5=D0=B3=D0=B5=D0=BD=D0=B4=D0=B0?=
 =?UTF-8?q?=20=D0=B3=D1=80=D0=B0=D1=84=D0=B8=D0=BA=D0=B0=20(#104)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Closes #101
---
 statapp/ui/polynom_window.ui    | 9 ++++++++-
 statapp/ui/ui_polynom_window.py | 7 +++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/statapp/ui/polynom_window.ui b/statapp/ui/polynom_window.ui
index 30f988e..0385254 100644
--- a/statapp/ui/polynom_window.ui
+++ b/statapp/ui/polynom_window.ui
@@ -124,10 +124,17 @@
       <attribute name="title">
        <string>График</string>
       </attribute>
-      <layout class="QGridLayout" name="gridLayout_5">
+      <layout class="QGridLayout" name="gridLayout_5" rowstretch="1,0">
        <item row="0" column="0">
         <layout class="QGridLayout" name="plotContainer"/>
        </item>
+       <item row="1" column="0">
+        <widget class="QLabel" name="label">
+         <property name="text">
+          <string>Точки - отклик. Линия - прогноз</string>
+         </property>
+        </widget>
+       </item>
       </layout>
      </widget>
     </widget>
diff --git a/statapp/ui/ui_polynom_window.py b/statapp/ui/ui_polynom_window.py
index 494416c..31f3e73 100644
--- a/statapp/ui/ui_polynom_window.py
+++ b/statapp/ui/ui_polynom_window.py
@@ -126,6 +126,12 @@ class Ui_PolynomWindow(object):
 
         self.gridLayout_5.addLayout(self.plotContainer, 0, 0, 1, 1)
 
+        self.label = QLabel(self.tab)
+        self.label.setObjectName(u"label")
+
+        self.gridLayout_5.addWidget(self.label, 1, 0, 1, 1)
+
+        self.gridLayout_5.setRowStretch(0, 1)
         self.tabWidget.addTab(self.tab, "")
 
         self.gridLayout_2.addWidget(self.tabWidget, 0, 6, 1, 1)
@@ -151,5 +157,6 @@ class Ui_PolynomWindow(object):
         self.rSquaredValueLabel.setText(QCoreApplication.translate("PolynomWindow", u"undefined", None))
         self.tabWidget.setTabText(self.tabWidget.indexOf(self.model), QCoreApplication.translate("PolynomWindow", u"\u041c\u043e\u0434\u0435\u043b\u044c", None))
         self.tabWidget.setTabText(self.tabWidget.indexOf(self.prediction), QCoreApplication.translate("PolynomWindow", u"\u041f\u0440\u043e\u0433\u043d\u043e\u0437", None))
+        self.label.setText(QCoreApplication.translate("PolynomWindow", u"\u0422\u043e\u0447\u043a\u0438 - \u043e\u0442\u043a\u043b\u0438\u043a. \u041b\u0438\u043d\u0438\u044f - \u043f\u0440\u043e\u0433\u043d\u043e\u0437", None))
         self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QCoreApplication.translate("PolynomWindow", u"\u0413\u0440\u0430\u0444\u0438\u043a", None))
     # retranslateUi