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. Change color of a string in the QTextEdit
Forum Updated to NodeBB v4.3 + New Features

Change color of a string in the QTextEdit

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 821 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.
  • P Offline
    P Offline
    ProkletaOpica
    wrote on 21 Feb 2016, 16:49 last edited by
    #1

    Hey guys

    Does anyone here know how can I find a string in the QTextEdit and change the color of it.

    Thanks for your help.

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Ni.Sumi
      wrote on 21 Feb 2016, 17:46 last edited by
      #2

      Hi @ProkletaOpica ,

      Text Finder is for you.
      http://doc.qt.io/qt-5/qtuitools-textfinder-example.html

      P 1 Reply Last reply 21 Feb 2016, 21:15
      1
      • N Ni.Sumi
        21 Feb 2016, 17:46

        Hi @ProkletaOpica ,

        Text Finder is for you.
        http://doc.qt.io/qt-5/qtuitools-textfinder-example.html

        P Offline
        P Offline
        ProkletaOpica
        wrote on 21 Feb 2016, 21:15 last edited by
        #3

        @Ni.Sumi Thanks! This is perfect!!!

        1 Reply Last reply
        0

        1/3

        21 Feb 2016, 16:49

        • Login

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