Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. How to change the color of datatypes for the given input text?
Forum Updated to NodeBB v4.3 + New Features

How to change the color of datatypes for the given input text?

Scheduled Pinned Locked Moved Unsolved The Lounge
2 Posts 2 Posters 865 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.
  • KaviK Offline
    KaviK Offline
    Kavi
    wrote on last edited by
    #1

    We are trying to create an environment similar to code blocks.For example when we type the int datatype it gets highlighted. Similarly it should change the color of the datatype when we give input in set text.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Check this out: http://doc.qt.io/qt-5/qtwidgets-richtext-syntaxhighlighter-example.html

      (Z(:^

      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