-# self.tr()
-# self.songTitle = self.createLabel(u' ')
-# self.td(self.songTitle, colspan=2, style = STYLE)
-#
-# # choix du niveau
-# self.tr()
-# self.td(self.createLabel("Niveau :"))
-# self.modeSelect = Select('NORMAL')
-# for k, caption in PLAYING_MODES :
-# self.modeSelect.add(self.createLabel(caption), k)
-# self.td(self.modeSelect,colspan=3)
-#
-# #self.tr()
-# #self.td(Spacer(*self.spaceSize))
-#
-# # choix des wiimotes
-# self.tr()
-# self.td(self.createLabel("Wiimote :", self.font))
-# playerTable = Table()
-#
-# self.selectedWiimote = Group(name='selectedWiimote', value=0)
-# for i in range(self.nwiimotes):
-# r = Radio(self.selectedWiimote, i)
-# playerTable.td(r)
-# playerTable.td(self.createLabel(" %d " % (i+1)))
-# self.td(playerTable,colspan = 3)
-#
-# #self.tr()
-# #self.td(Spacer(*self.spaceSize))
-#
-# # boutons jouer / quitter
-# self.tr()
-# self.quitButton = Button(self.createLabel("Quitter"))
-# self.td(self.quitButton)
-# self.playButton = Button(self.createLabel("Jouer"), disabled=True)
-# self.td(self.playButton,colspan=3)
+ self.tr()
+ caption = '' if not self.songFile else FileOpenDialog.getSongTitle(self.songFile)
+ self.songTitle = self.createLabel(caption)
+ st = STYLE_RIGHT_COL.copy()
+ del st['padding_top']
+ self.td(self.songTitle, style = st)
+
+ # choix du mode de jeu
+ self.tr()
+ self.td(self.createLabel("Mode :"), style=STYLE_LEFT_COL)
+ self.modeSelect = Select('NORMAL')
+ for k, caption in PLAYING_MODES :
+ self.modeSelect.add(self.createLabel(caption), k)
+ self.td(self.modeSelect,colspan=3, style=STYLE_RIGHT_COL)
+
+ # choix des wiimotes
+ self.tr()
+ self.td(self.createLabel("Wiimote :", self.font), style=STYLE_LEFT_COL)
+ playerTable = Table()
+
+ self.selectedWiimote = Group(name='selectedWiimote', value=0)
+ for i in range(self.nwiimotes):
+ r = Radio(self.selectedWiimote, i)
+ playerTable.td(r)
+ playerTable.td(self.createLabel(" %d " % (i+1)))
+ self.td(playerTable, style=STYLE_RIGHT_COL)