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. Qt Assistant focus problem
Forum Updated to NodeBB v4.3 + New Features

Qt Assistant focus problem

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.6k Views 1 Watching
  • 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.
  • V Offline
    V Offline
    vojtech.turek
    wrote on last edited by
    #1

    Hi,

    I use assistant for remote help display. I use code similar to simpletextviewer example (ie. access assistant through QProcess, not QAssistantClient), and everytime I set page with SetSource command, the application loses focus, which then get assistant. Old QAssistantClient class didn't do this. I want to setup assistant somehow to not get focus.

    I use help as continuous helper, eg. I click an control and help shows page with detailed description of that control. But that way application loses focus for help, and user has to switch back in order to edit an control.

    Do somebody has an idea how to solve it, properly? I don't mean an hackish checking of application focus, or doing my fork of assitant.

    Thank you in advance.

    OpenSuse C++/Qt Developer

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vojtech.turek
      wrote on last edited by
      #2

      It seems that problem occurs on twm and xfce, KDE don't change focus. So it's solved in a way.

      OpenSuse C++/Qt Developer

      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