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
Forum Update on Monday, May 27th 2025

use color scheme in qtextedit

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 529 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.
  • S Offline
    S Offline
    saber
    wrote on 25 Jun 2018, 11:40 last edited by
    #1

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

    R 1 Reply Last reply 25 Jun 2018, 12:04
    0
    • S saber
      25 Jun 2018, 11:40

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

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 25 Jun 2018, 12:04 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 25 Jun 2018, 12:13
      0
      • R raven-worx
        25 Jun 2018, 12:04

        @saber
        about what color scheme are you talking exactly?

        S Offline
        S Offline
        saber
        wrote on 25 Jun 2018, 12:13 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

        R 1 Reply Last reply 25 Jun 2018, 12:15
        0
        • S saber
          25 Jun 2018, 12:13

          @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

          R Offline
          R Offline
          raven-worx
          Moderators
          wrote on 25 Jun 2018, 12:15 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

          1/4

          25 Jun 2018, 11:40

          • Login

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