Important: Please read the Qt Code of Conduct -

SOLVED: QTreeView Navigation with TAB-Key

  • Currently when pressing the TAB-key, the focus changes to the next row.

    I have here a QTreeView with multiple columns and I would like to change the behaviour to "tab" to the element in next column.

    I have done theses two, but it seems I need to set a little bit more :-(

  • Solved: Have to subclass QTreeView and reimplement
    virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers)

Log in to reply