GUI #70

Open
topquark12 wants to merge 17 commits from GUI into master
1 changed files with 11 additions and 1 deletions
Showing only changes of commit 06625d0716 - Show all commits

View File

@ -26,7 +26,7 @@ tec = Client()
app = pg.mkQApp()
mw = QtGui.QMainWindow()
mw.setWindowTitle('Thermostat Control Panel')
mw.resize(800,800)
mw.resize(1024,800)
cw = QtGui.QWidget()
mw.setCentralWidget(cw)
l = QtGui.QVBoxLayout()
@ -58,6 +58,16 @@ current0plot.addItem(Iset0curve)
current1plot.addItem(tecI1curve)
current1plot.addItem(Iset1curve)
temp0legend = temp0plot.getPlotItem().addLegend(brush=(50,50,200,150))
temp0legend.addItem(temp0curve, 'feedback')
temp1legend = temp1plot.getPlotItem().addLegend(brush=(50,50,200,150))
temp1legend.addItem(temp0curve, 'feedback')
current0legend = current0plot.getPlotItem().addLegend(brush=(50,50,200,150))
current0legend.addItem(tecI0curve, 'feedback')
current0legend.addItem(Iset0curve, 'setpoint')
current1legend = current1plot.getPlotItem().addLegend(brush=(50,50,200,150))
current1legend.addItem(tecI1curve, 'feedback')
current1legend.addItem(Iset1curve, 'setpoint')
cnt = 0
time_stamp = np.zeros(rec_len)