
Originally Posted by
nleverin
Hi,
Im using Qt3 Designer and when i select the option to list the tab order, blue numbered circles appear to identify the tab order.
does anyone know if i can remove a widget from being able to be tabbed to.
i.e. i only want to tab from "OK" to "Cancel" and not the rest of the widgets on my form.
thanks in advance
nlev.
QWidget::setTabOrder(widget, pushButtonOk
);
QWidget::setTabOrder(pushButtonOk, pushButtonCancel
);
QWidget::setTabOrder(widget, pushButtonOk);
QWidget::setTabOrder(pushButtonOk, pushButtonCancel);
To copy to clipboard, switch view to plain text mode
use this code on constructor.
or edit tab order of OK with 1 and cancel with 2 & leave the rest of them. Or You can set setDefault property TRUE of OK pushButton.
Bookmarks