Working with QFocusData



  • Hi all.

    I have folowing question:
    As I understood this->focusData() returns tabbing order list for all widgets that are childs to the parent of this.

    If this is right, then why following code goes to the infinite loop
    @QFocusData* data=this->focusData();
    data->home();
    while(data->focusWidget()!=this)
    data->next();@

    If I don't understand principles by which QFocusData works, then how can I get widget that is after or before this in tabbing order? (this can have no focus at the moment, so findNextPrevChild doesn't work).--



  • Understood most problems, only problem with QFocusData remains.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.