0

I have multiple QLineEdit-objects in my user interface, designed with QtDesigner. Now I want to set a pattern in which I can circle through them using the tab-key. Is that possible using code?

arc_lupus
  • 3,942
  • 5
  • 45
  • 81
  • 3
    You can go through each lineedit with QWidget::setTabOrder() function. http://doc.qt.io/qt-5/qwidget.html#setTabOrder – Ankur Mar 14 '16 at 12:15
  • Possible duplicate of [Qt: define Tab Order programmatically](http://stackoverflow.com/questions/3307758/qt-define-tab-order-programmatically) – Murphy Mar 14 '16 at 13:33

1 Answers1

1

Qt Designer provides a tab order edit mode, or you use QWidget::setTabOrder() to set it programmatically as @Ankur already said.

Murphy
  • 3,827
  • 4
  • 21
  • 35