Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Working with QFocusData

Working with QFocusData

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.8k Views
  • 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 Offline
    C Offline
    Crazy Sage
    wrote on last edited by
    #1

    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
    0
    • C Offline
      C Offline
      Crazy Sage
      wrote on last edited by
      #2

      Understood most problems, only problem with QFocusData remains.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved