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. left mouse double click generates what SIGNAL?
Qt 6.11 is out! See what's new in the release blog

left mouse double click generates what SIGNAL?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 368 Views 2 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1

    I think I may have asked this before ...

    I can "left mouse double click" on word /text in either QEditText or plain text widget and it highlights the whole text / word ....

    Which "goto slot" in QDesigner should process this ?

    PS it does not work / highlights the word when I select MAC address text.

    Pl45m4P JonBJ 2 Replies Last reply
    0
    • A Anonymous_Banned275

      I think I may have asked this before ...

      I can "left mouse double click" on word /text in either QEditText or plain text widget and it highlights the whole text / word ....

      Which "goto slot" in QDesigner should process this ?

      PS it does not work / highlights the word when I select MAC address text.

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @AnneRanch said in left mouse double click generates what SIGNAL?:

      Which "goto slot" in QDesigner should process this ?

      There is no slot for this.
      Double click or single click creates a QMouseEvent

      • https://doc.qt.io/qt-6/qtextedit.html#mouseDoubleClickEvent

      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      1
      • A Anonymous_Banned275

        I think I may have asked this before ...

        I can "left mouse double click" on word /text in either QEditText or plain text widget and it highlights the whole text / word ....

        Which "goto slot" in QDesigner should process this ?

        PS it does not work / highlights the word when I select MAC address text.

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @AnneRanch said in left mouse double click generates what SIGNAL?:

        I can "left mouse double click" on word /text in either QEditText or plain text widget and it highlights the whole text / word ....

        I would imagine that would emit void QTextEdit::selectionChanged()?

        A 1 Reply Last reply
        1
        • JonBJ JonB

          @AnneRanch said in left mouse double click generates what SIGNAL?:

          I can "left mouse double click" on word /text in either QEditText or plain text widget and it highlights the whole text / word ....

          I would imagine that would emit void QTextEdit::selectionChanged()?

          A Offline
          A Offline
          Anonymous_Banned275
          wrote on last edited by
          #4

          @JonB I should expand on the original title.

          Single left click generates "text changed " SIGNAL when in actuality NO text has changed and the word or character does not get highlighted , while left double click highlights the word.

          What causes (left double click) the word to be highlighted ?

          And the right click pops up ":standard" " cut / paste etc. menu.

          Where is that documented and what SIGNAL was generated?

          These are "mysterious defaults "....hope they are documented somewhere.

          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