Important: Please read the Qt Code of Conduct -

Problem with Tab Order

  • Hi, I have a problem with ordering tabs; I've created a custom QWidget where there is combo boxes, date edit, qtable, and buttons. I want to set Tab Order between only my combox, date edit, buttons and line edits (I have also Qlabels). I use @QWidget.setTabOrder(comboBox,dateEdit)@ but it said me that QWidget::setTabOrder: 'first' and 'second' must be in the same window ....

    Note : I use my custom QWidget in a QStackedWidget which I use in a QMainWindow.

Log in to reply