Window titles
This commit is contained in:
parent
1b936fa028
commit
66ddb39bbe
1
game.py
1
game.py
|
@ -23,6 +23,7 @@ class SeopardyGame(QtGui.QWidget):
|
||||||
|
|
||||||
self._inOtherWindow = False
|
self._inOtherWindow = False
|
||||||
self._createGui()
|
self._createGui()
|
||||||
|
self.setWindowTitle("Seopardy - Board")
|
||||||
self.showFullScreen()
|
self.showFullScreen()
|
||||||
|
|
||||||
# initiate starting the game!
|
# initiate starting the game!
|
||||||
|
|
|
@ -188,6 +188,8 @@ class QuestionAnswerWindow(QtGui.QDialog):
|
||||||
self.player = player
|
self.player = player
|
||||||
|
|
||||||
self._setupGui()
|
self._setupGui()
|
||||||
|
self.setWindowTitle("Seopardy - Answer by Player %s" % (self.player.name,))
|
||||||
|
|
||||||
|
|
||||||
# move window to bottom right of screen
|
# move window to bottom right of screen
|
||||||
g = QtGui.QApplication.desktop().screenGeometry()
|
g = QtGui.QApplication.desktop().screenGeometry()
|
||||||
|
@ -232,6 +234,7 @@ class EditAnswersWindow(QtGui.QDialog):
|
||||||
self._tries = []
|
self._tries = []
|
||||||
|
|
||||||
self._setupGui()
|
self._setupGui()
|
||||||
|
self.setWindowTitle("Seopardy - Edit Answers")
|
||||||
|
|
||||||
self.installEventFilter(KeyGrabber((QtCore.Qt.Key.Key_Left, QtCore.Qt.Key.Key_Right), self))
|
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._windowSetup = False
|
||||||
|
|
||||||
self._setupGui()
|
self._setupGui()
|
||||||
|
self.setWindowTitle("Seopardy - Start")
|
||||||
self.show()
|
self.show()
|
||||||
MusicBox.play_music("startSong")
|
MusicBox.play_music("startSong")
|
||||||
|
|
||||||
|
@ -489,6 +493,7 @@ class VictoryWindow(QtGui.QDialog):
|
||||||
self._parent = parent
|
self._parent = parent
|
||||||
|
|
||||||
self._setupGui()
|
self._setupGui()
|
||||||
|
self.setWindowTitle("Seopardy - Victory")
|
||||||
MusicBox.play_music("closingSong")
|
MusicBox.play_music("closingSong")
|
||||||
|
|
||||||
def _setupGui(self):
|
def _setupGui(self):
|
||||||
|
@ -530,6 +535,7 @@ class DoubleJeopardyWindow(QtGui.QDialog):
|
||||||
self._currentPoints = points
|
self._currentPoints = points
|
||||||
|
|
||||||
self._setupGui()
|
self._setupGui()
|
||||||
|
self.setWindowTitle("Seopardy - Double Jeopardy")
|
||||||
|
|
||||||
# move window to bottom right of screen
|
# move window to bottom right of screen
|
||||||
g = QtGui.QApplication.desktop().screenGeometry()
|
g = QtGui.QApplication.desktop().screenGeometry()
|
||||||
|
|
Loading…
Reference in New Issue