Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. how can i add that little window to my textEdit, that will show up while typing?
Forum Updated to NodeBB v4.3 + New Features

how can i add that little window to my textEdit, that will show up while typing?

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
5 Posts 2 Posters 612 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.
  • vavanio22V Offline
    vavanio22V Offline
    vavanio22
    wrote on last edited by
    #1

    0_1548075879167_Spell-checker-for-Noteapad-and-Wordpad-Picture2.jpg

    aha_1980A 1 Reply Last reply
    0
    • vavanio22V vavanio22

      0_1548075879167_Spell-checker-for-Noteapad-and-Wordpad-Picture2.jpg

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @vavanio22

      Looks like a QMenu will do the job. It's your task to fill it with useful items, and to position it on the screen, though.

      Qt has to stay free or it will die.

      vavanio22V 1 Reply Last reply
      2
      • aha_1980A aha_1980

        @vavanio22

        Looks like a QMenu will do the job. It's your task to fill it with useful items, and to position it on the screen, though.

        vavanio22V Offline
        vavanio22V Offline
        vavanio22
        wrote on last edited by
        #3

        @aha_1980 i am new to Qt, so i will be happy if you say what exact function will make that little window appear for every word in textEdit.

        aha_1980A 1 Reply Last reply
        0
        • vavanio22V vavanio22

          @aha_1980 i am new to Qt, so i will be happy if you say what exact function will make that little window appear for every word in textEdit.

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @vavanio22

          I'd start by connecting the signal textChanged to a slot. There you can check the latest word with QTextCursor.

          Everything else is up to you.

          Qt has to stay free or it will die.

          vavanio22V 1 Reply Last reply
          1
          • aha_1980A aha_1980

            @vavanio22

            I'd start by connecting the signal textChanged to a slot. There you can check the latest word with QTextCursor.

            Everything else is up to you.

            vavanio22V Offline
            vavanio22V Offline
            vavanio22
            wrote on last edited by
            #5

            @aha_1980

            Fine. Thank you.

            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