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. Is there an event for a titlelbar being clicked on/interacted with?
QtWS25 Last Chance

Is there an event for a titlelbar being clicked on/interacted with?

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 222 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.
  • Dummie1138D Offline
    Dummie1138D Offline
    Dummie1138
    wrote on last edited by
    #1

    A followup to this question from 2011.

    According to that post,

    Because the titlebar belongs to the OS,so I cant catch mouse click event on titlebar area of QMainWindow.

    Is this still true in Qt 5.15?

    The reason I ask this is because I have recently encountered an issue with a QSerialPort stopping sending when I interact (move, or hold) with the title bar, and as part of my investigation efforts I want to see whether Qt in the code itself notices at what point in clicking on the title bar does it stop transmitting through QSerialPort.

    Please let me know if more info is required.

    SGaistS 1 Reply Last reply
    0
    • Dummie1138D Dummie1138

      A followup to this question from 2011.

      According to that post,

      Because the titlebar belongs to the OS,so I cant catch mouse click event on titlebar area of QMainWindow.

      Is this still true in Qt 5.15?

      The reason I ask this is because I have recently encountered an issue with a QSerialPort stopping sending when I interact (move, or hold) with the title bar, and as part of my investigation efforts I want to see whether Qt in the code itself notices at what point in clicking on the title bar does it stop transmitting through QSerialPort.

      Please let me know if more info is required.

      SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Yes it is still relevant.

      See this comment with regard to your issue.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Dummie1138D Dummie1138 has marked this topic as solved on

      • Login

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