def __init__(self):
        super(SettingsTab, self).__init__()

        self._neo = None
        self._name = QtGui.QLabel()
        self._serial = QtGui.QLabel()
        self._firmware = QtGui.QLabel()
        self._u2f = QtGui.QLabel()
        self._u2f.setOpenExternalLinks(True)

        layout = QtGui.QVBoxLayout()

        name_row = QtGui.QHBoxLayout()
        name_row.addWidget(self._name)
        self._name_btn = QtGui.QPushButton(m.change_name)
        self._name_btn.clicked.connect(self.change_name)
        name_row.addWidget(self._name_btn)

        details_row = QtGui.QHBoxLayout()
        details_row.addWidget(self._serial)
        details_row.addWidget(self._firmware)

        self._u2f_row = QtGui.QHBoxLayout()
        self._u2f_row.addWidget(QtGui.QLabel())
        self._u2f_row.addWidget(self._u2f)

        layout.addLayout(name_row)
        layout.addLayout(details_row)
        layout.addLayout(self._u2f_row)

        button = QtGui.QPushButton(m.manage_keys)
        button.clicked.connect(self.manage_keys)
        # TODO: Re-add when implemented:
        # layout.addWidget(button)

        self._mode_btn = QtGui.QPushButton(m.change_mode)
        self._mode_btn.clicked.connect(self.change_mode)
        layout.addWidget(self._mode_btn)

        self._mode_note = QtGui.QLabel(m.mode_note % m.note_1)
        self._mode_note.setWordWrap(True)
        layout.addWidget(self._mode_note)

        layout.addStretch()
        self.setLayout(layout)
dataset/ETHPy150Open Yubico/yubikey-neo-manager/neoman/view/neo.py/SettingsTab.__init__/swapped operands of `%`