forked from M-Labs/artiq
1
0
Fork 0

gui/experiments: set icon of MDI subwindows

This commit is contained in:
Sebastien Bourdeauducq 2016-02-16 00:28:51 +01:00
parent 87574193d4
commit f0e25991fe
1 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,8 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow):
def __init__(self, manager, expurl):
QtWidgets.QMdiSubWindow.__init__(self)
self.setWindowTitle(expurl)
self.setWindowIcon(QtWidgets.QApplication.style().standardIcon(
QtWidgets.QStyle.SP_FileDialogContentsView))
self.layout = QtWidgets.QGridLayout()
top_widget = QtWidgets.QWidget()