Usernаme
19th May 2010, 16:56
In widget:
...
void setup()
{
button->setFocus();
}
...
in QMainWindow
...
widget->setup();
setCentralWidget(widget);
...
but focus are not on button, only if I press tab..
How can I do that focus will be on button?
...
void setup()
{
button->setFocus();
}
...
in QMainWindow
...
widget->setup();
setCentralWidget(widget);
...
but focus are not on button, only if I press tab..
How can I do that focus will be on button?