|
|
|
@ -188,6 +188,8 @@ class QuestionAnswerWindow(QtGui.QDialog):
|
|
|
|
|
self.player = player
|
|
|
|
|
|
|
|
|
|
self._setupGui()
|
|
|
|
|
self.setWindowTitle("Seopardy - Answer by Player %s" % (self.player.name,))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# move window to bottom right of screen
|
|
|
|
|
g = QtGui.QApplication.desktop().screenGeometry()
|
|
|
|
@ -232,6 +234,7 @@ class EditAnswersWindow(QtGui.QDialog):
|
|
|
|
|
self._tries = []
|
|
|
|
|
|
|
|
|
|
self._setupGui()
|
|
|
|
|
self.setWindowTitle("Seopardy - Edit Answers")
|
|
|
|
|
|
|
|
|
|
self.installEventFilter(KeyGrabber((QtCore.Qt.Key.Key_Left, QtCore.Qt.Key.Key_Right), self))
|
|
|
|
|
|
|
|
|
@ -399,6 +402,7 @@ class PlayerStartWindow(QtGui.QDialog):
|
|
|
|
|
self._windowSetup = False
|
|
|
|
|
|
|
|
|
|
self._setupGui()
|
|
|
|
|
self.setWindowTitle("Seopardy - Start")
|
|
|
|
|
self.show()
|
|
|
|
|
MusicBox.play_music("startSong")
|
|
|
|
|
|
|
|
|
@ -489,6 +493,7 @@ class VictoryWindow(QtGui.QDialog):
|
|
|
|
|
self._parent = parent
|
|
|
|
|
|
|
|
|
|
self._setupGui()
|
|
|
|
|
self.setWindowTitle("Seopardy - Victory")
|
|
|
|
|
MusicBox.play_music("closingSong")
|
|
|
|
|
|
|
|
|
|
def _setupGui(self):
|
|
|
|
@ -530,6 +535,7 @@ class DoubleJeopardyWindow(QtGui.QDialog):
|
|
|
|
|
self._currentPoints = points
|
|
|
|
|
|
|
|
|
|
self._setupGui()
|
|
|
|
|
self.setWindowTitle("Seopardy - Double Jeopardy")
|
|
|
|
|
|
|
|
|
|
# move window to bottom right of screen
|
|
|
|
|
g = QtGui.QApplication.desktop().screenGeometry()
|
|
|
|
|