[bugfix] AutoPickLog is now directly attached to the MainWindow on the LeftDockWidgetArea and autoscrolls to the bottom
This commit is contained in:
parent
5f8569c7d9
commit
d29c57ab4b
10
QtPyLoT.py
10
QtPyLoT.py
@ -664,11 +664,11 @@ class MainWindow(QMainWindow):
|
|||||||
def autoPick(self):
|
def autoPick(self):
|
||||||
self.listWidget = QListWidget()
|
self.listWidget = QListWidget()
|
||||||
self.setDirty(True)
|
self.setDirty(True)
|
||||||
logDockWidget = QDockWidget("AutoPickLog", self)
|
self.logDockWidget = QDockWidget("AutoPickLog", self)
|
||||||
logDockWidget.setObjectName("LogDockWidget")
|
self.logDockWidget.setObjectName("LogDockWidget")
|
||||||
logDockWidget.setAllowedAreas(Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea)
|
self.logDockWidget.setAllowedAreas(Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea)
|
||||||
logDockWidget.setWidget(self.listWidget)
|
self.logDockWidget.setWidget(self.listWidget)
|
||||||
self.addDockWidget(Qt.LeftDockWidgetArea, logDockWidget)
|
self.addDockWidget(Qt.LeftDockWidgetArea, self.logDockWidget)
|
||||||
self.addListItem('loading default values for local data ...')
|
self.addListItem('loading default values for local data ...')
|
||||||
autopick_parameter = AutoPickParameter('autoPyLoT_local.in')
|
autopick_parameter = AutoPickParameter('autoPyLoT_local.in')
|
||||||
self.addListItem(str(autopick_parameter))
|
self.addListItem(str(autopick_parameter))
|
||||||
|
Loading…
Reference in New Issue
Block a user