dashboard: style

This commit is contained in:
Robert Jördens 2016-07-18 16:51:17 +02:00
parent 6a7377244b
commit 1877329fd1

View File

@ -76,7 +76,8 @@ class MainWindow(QtWidgets.QMainWindow):
class MdiArea(QtWidgets.QMdiArea):
def __init__(self):
QtWidgets.QMdiArea.__init__(self)
self.pixmap = QtGui.QPixmap(os.path.join(artiq_dir, "gui", "logo20.svg"))
self.pixmap = QtGui.QPixmap(os.path.join(
artiq_dir, "gui", "logo20.svg"))
def paintEvent(self, event):
QtWidgets.QMdiArea.paintEvent(self, event)
@ -194,7 +195,8 @@ def main():
if d_log0 is not None:
main_window.tabifyDockWidget(d_schedule, d_log0)
logging.info("ARTIQ dashboard %s connected to %s", artiq_version, args.server)
logging.info("ARTIQ dashboard %s connected to %s",
artiq_version, args.server)
# run
main_window.show()