I have 2 TextEdit boxes and 5 buttons that are arranged in linear order.
Actually when a tab key is pressed the tab space is entered inside the TextEdit box. instead of moving to the next box. I also cannot use LineEdit Box because the input needs to be displayed in multiple lines. anyway the input wont contain enter key or '\n'
To change the behaviour of tab key you should look here:
http://doc.qt.io/qt-5/qplaintextedit.html#tabChangesFocus-prop
bool tabChangesFocus() const void setTabChangesFocus(bool b)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With