Commits

João Felipe Santos committed 04da2a9

Changes on layout and font size.

Comments (0)

Files changed (1)

MainInterfaceQt.py

     def __init__(self):
         QtGui.QWidget.__init__(self)
         self.setWindowTitle('Speech Intelligibility Test')
-        self.resize(400,100)
+        self.resize(800,100)
         self.media = Phonon.MediaObject(self)
         self.audio = Phonon.AudioOutput(Phonon.MusicCategory, self)
         Phonon.createPath(self.media, self.audio)
         self.slider.setAudioOutput(self.audio)
         self.entry = QtGui.QLineEdit()
         self.entry.setEnabled(False)
+        entryFont = QtGui.QFont("Times", 18)
+        self.entry.setFont(entryFont)
         layout = QtGui.QGridLayout(self)
         layout.addWidget(self.entry, 0, 0, 1, 2)
         layout.addWidget(self.buttonStart, 1, 1)
-        layout.addWidget(self.slider, 2, 0, 1, 2)
+        layout.addWidget(self.slider, 1, 0)
         layout.setRowStretch(0, 1)
         self.media.stateChanged.connect(self.handleStateChanged)
         self.media.finished.connect(self.handleSampleFinished)