def METHOD_NAME(self, event):
    rect = self.rect()
    w = rect.width()
    h = rect.height()
    margin = 5
    j = h / 4
    p = QtGui.QPainter(self)
    update_font(p, italic=True)
    pal = QtGui.QPalette()
    bg_brush = pal.brush(QtGui.QPalette.Active, QtGui.QPalette.Light)
    p.fillRect(rect, bg_brush)
    p.setPen(QtCore.Qt.DotLine)
    p.drawLine(0, j, w, j)
    p.drawLine(0, j * 2, w, j * 2)
    p.drawLine(0, j * 3, w, j * 3)
    p.setPen(pal.color(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText))
    p.drawText(margin, j - margin, "days")
    p.drawText(margin, j * 2 - margin, "hours")
    p.drawText(margin, j * 3 - margin, "minutes")
    p.drawText(margin, j * 4 - margin, "seconds")