def METHOD_NAME(self):
    self.modes.setCurrentIndex(self.cfg['mode'])
    self.modebox.setVisible(True)
    self.helpmsg.setText(helpTxt[self.cfg['mode']])
    self.helpmsg.setMinimumHeight(180 if self.txdata['confirmationType'] == 1 else 100)
    self.helpmsg.setVisible(True)
    self.pinbox.setVisible(self.cfg['mode'] == 0)
    self.cardbox.setVisible(self.cfg['mode'] == 1)
    self.pintxt.setFocus(True) if self.cfg['mode'] == 0 else self.cardtxt.setFocus(True)
    self.setMaximumHeight(200)