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. use color scheme in qtextedit
Qt 6.11 is out! See what's new in the release blog

use color scheme in qtextedit

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

    how can i use the color scheme that qt and other code editor use in qTextBrowser or qTextEdit?

    raven-worxR 1 Reply Last reply
    0
    • S saber

      how can i use the color scheme that qt and other code editor use in qTextBrowser or qTextEdit?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @saber
      about what color scheme are you talking exactly?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      S 1 Reply Last reply
      0
      • raven-worxR raven-worx

        @saber
        about what color scheme are you talking exactly?

        S Offline
        S Offline
        saber
        wrote on last edited by
        #3

        @raven-worx
        here is the how qt designer's color scheme setting.
        0_1529928678443_e.png

        like this multi-color text
        0_1529928790113_ee.png

        raven-worxR 1 Reply Last reply
        0
        • S saber

          @raven-worx
          here is the how qt designer's color scheme setting.
          0_1529928678443_e.png

          like this multi-color text
          0_1529928790113_ee.png

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by raven-worx
          #4

          @saber
          see the Syntaxhighlighter example
          I am not aware of any predefined schemes though.

          But since QtCreator is open-source you may want to check it's source.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          2

          • Login

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