Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Working with QFocusData

    General and Desktop
    1
    2
    1624
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Crazy Sage last edited by

      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).--

      1 Reply Last reply Reply Quote 0
      • C
        Crazy Sage last edited by

        Understood most problems, only problem with QFocusData remains.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post