UI fix
This commit is contained in:
parent
6bbf93bf7d
commit
334644d431
4
HVGUI.py
4
HVGUI.py
|
@ -110,14 +110,14 @@ class MyWindow(QMainWindow):
|
|||
|
||||
lb1 = QLabel("Refresh period [sec] :", self)
|
||||
lb1.setAlignment(Qt.AlignmentFlag.AlignRight)
|
||||
gLayout.addWidget(lb1, 1, 0)
|
||||
gLayout.addWidget(lb1, 0, 0)
|
||||
|
||||
self.txtRefresh = QLineEdit(self)
|
||||
self.txtRefresh.setText(str(updateTime))
|
||||
self.txtRefresh.textChanged.connect(partial(self.TextChange, self.txtRefresh))
|
||||
self.txtRefresh.returnPressed.connect(self.SetTimer)
|
||||
self.txtRefresh.returnPressed.connect(partial(self.UnSetTextColor, self.txtRefresh))
|
||||
gLayout.addWidget(self.txtRefresh, 1, 1)
|
||||
gLayout.addWidget(self.txtRefresh, 0, 1)
|
||||
|
||||
self.chkDB = QCheckBox("Enable DataBase Output", self)
|
||||
gLayout.addWidget(self.chkDB, 0, 2)
|
||||
|
|
Loading…
Reference in New Issue
Block a user