From 9eb18064ae6b744d53463571ba06b210b3ff4b03 Mon Sep 17 00:00:00 2001
From: Paolo Cinquegrana <paolo.conquegrana@elettra.eu>
Date: Wed, 8 Jul 2020 09:40:13 +0200
Subject: [PATCH] pulizia codice

---
 src/slu-totem-compressor.py | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/src/slu-totem-compressor.py b/src/slu-totem-compressor.py
index 31fd48f..48deb5b 100644
--- a/src/slu-totem-compressor.py
+++ b/src/slu-totem-compressor.py
@@ -41,12 +41,6 @@ class MainWindow(QDialog):
         self.comune_f.clicked.connect(self.comando_comune_f)
         self.comune_stop = QPushButton("STOP")
         self.comune_stop.clicked.connect(self.comando_comune_stop)
-        #self.cb_stimaritardo = QCheckBox("Start delay record")
-        #self.cb_stimaritardo.clicked.connect(self.comando_delay_record)
-        #self.stimaritardo = QLineEdit("")
-        #self.stimaritardo.setReadOnly(1)
-        #self.stimaritardo.setStyleSheet("background-color: rgb(237, 237, 237)")
-        #self.stimaritardo.setDisabled(1)
         self.motore1_pos = QLineEdit("")
         self.motore1_pos.setReadOnly(1)
         self.motore1_pos.setStyleSheet("background-color: rgb(237, 237, 237)")
@@ -99,11 +93,9 @@ class MainWindow(QDialog):
         self.tab1 = QWidget()
         self.tab2 = QWidget()
         self.tab3 = QWidget()
-        #self.tab4 = QWidget()
         self.contienitab.addTab(self.tab1, "Compressor")
         self.contienitab.addTab(self.tab2, "trls_slu.02")
         self.contienitab.addTab(self.tab3, "trls_slu.04")
-        #self.contienitab.addTab(self.tab4, "Info")
         lot1 = QGridLayout()
         lot1.addWidget(QLabel("ABSOLUTE Movement"), 0, 0, 1, 4)
         lot1.addWidget(self.comune_inputabs, 0, 4, 1, 3)
@@ -113,9 +105,6 @@ class MainWindow(QDialog):
         lot1.addWidget(self.comune_b, 1, 4, 1, 2)
         lot1.addWidget(self.comune_inputrel, 1, 6, 1, 3)
         lot1.addWidget(self.comune_f, 1, 9, 1, 2)
-        #lot1.addWidget(QLabel("Delay"), 2, 0, 1, 4)
-        #lot1.addWidget(self.cb_stimaritardo, 2, 4, 1, 3)
-        #lot1.addWidget(self.stimaritardo, 2, 7, 1, 3)
         self.tab1.setLayout(lot1)
         self.tab1.layout().setSizeConstraint(QLayout.SetFixedSize)
         lot2 = QGridLayout()
@@ -278,9 +267,6 @@ class MainWindow(QDialog):
         devprodic['motor1'].axisstop()
         devprodic['motor2'].axisstop()
 
-    #def comando_delay_record(self):
-        #self.stimaritardo.setDisabled(0)
-
     def comando_motor1_change(self):
         gol = float(self.motore1_offset_write.text())
         devprodic['ranges'].write_attribute('Totem_compressor_Motor_1_offset', gol)
-- 
GitLab