    def setButtonSettings(self, btn, h, w, fontSize, color):
        targetButton = btn
        targetButton.setMaximumSize(h, w)
        targetButton.setStyleSheet("color:{}".format(color))

    def createOperationButtons(self, text, action):
        opButton = QPushButton(text)
        opButton.clicked.connect(action)
        self.setButtonSettings(opButton, 50, 50, 8, 'red')
        return opButton