create a working MainWindow

This commit is contained in:
2014-12-08 11:38:24 +01:00
parent ef8bd6572e
commit 9e7f20a9fb
3 changed files with 9 additions and 6 deletions

View File

@@ -1 +1 @@
9603-dirty
ef8b-dirty

View File

@@ -21,7 +21,7 @@ def layoutStationButtons(data, comp):
stationButtons.append(QPushButton('%s'.format(stat)))
except:
for n in range(5):
stationButtons.append(QPushButton('ST%02d'.format(n)))
stationButtons.append(QPushButton('ST{0:02d}'.format(n+1)))
for button in stationButtons:
layout.addWidget(button)
return layout