def __init__(self, parent=None, db=None):
QWidget.__init__(self,parent)
self.db = db
- self.l1 = QLabel("<h1>Select a task:<h1>")
+ self.l1 = QLabel("<h1>Hall Directory</h1><h1>Select a task:</h1>")
self.l1.setAlignment(QtCore.Qt.AlignCenter)
self.pb1 = QCommandLinkButton("&Add a person to the directory","If you haven't seen this program before, hit this button.")
self.pb2 = QCommandLinkButton("&Edit a directory record","If you've already added your data, but want to edit it, hit this button.")
self.hometown_lab = QLabel("Hometown:")
self.room_lab = QLabel("Room number:")
self.bday_lab = QLabel("Birthday:")
- self.dorm_lab = QLabel("Dorm:")
+ self.dorm_lab = QLabel("Hall:")
# Personal info
self.surname = QLineEdit()
self.forename = QLineEdit()