When you press the tab key it causes focus to move to the next widget. So I'm asking where does the focus move to during the action you described here:
but when i press tab again it takes 5 to 6 tabs to go on to next push button.
When you press the tab key it causes focus to move to the next widget. So I'm asking where does the focus move to during the action you described here:
but when i press tab again it takes 5 to 6 tabs to go on to next push button.
Hi
I have four push buttons. I have set tab order of all four of them.
setTabOrder(pushButton,pushButton_2);
setTabOrder(pushButton_2,pushButton_3);
setTabOrder(pushButton_3,pushButton_4);
setTabOrder(pushButton_4,pushButton);
When i press tab first it selects fist push button, but when i press tab focus just disappears.
And after pressing 4 to 5 tabs it selects second push button. Than if i press tab again it directly selects push button 3 and so on. But between first and second push button it takes more tabs. Can you please tell why these happen.
One more thing i want to tell. I have one form on that i have take stack widget and on that its graphics view and after that i have put push buttons.
So because of these problem occurs or what?
Please reply me.
It doesn't dissapear. It moves to another widget. It might not be one of the push buttons you have. In doubt check QApplication::focusWidget().
Hi
thanks so much for your support.
I have solve the problem......
once again thanks so much........
Hi
I have attach one png file here. I want to create screen like in that image. how can i create menus
hi ,
Please try this :
u have any widget other than push button like(graphic view)?
If u have widget other than push button than go every widget in .ui file and set no focus property in the property of that particular widgets.
all the push button has strong focus property..
kinjal.
Bookmarks