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. How to create a QTextEdit with Bold & Italic buttons
Forum Updated to NodeBB v4.3 + New Features

How to create a QTextEdit with Bold & Italic buttons

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 3 Posters 670 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.
  • A Offline
    A Offline
    ARASHz4
    wrote on last edited by
    #1

    Hi
    How to create a QTextEdit with Bold & Italic buttons?
    QTextEdit have any option for show this buttons?
    I want somting like this :
    alt text

    jsulmJ 1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      You can use: https://github.com/Anchakor/MRichTextEditor

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      3
      • A ARASHz4

        Hi
        How to create a QTextEdit with Bold & Italic buttons?
        QTextEdit have any option for show this buttons?
        I want somting like this :
        alt text

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @ARASHz4 Why should QTextEdit provide buttons? You already have QPushButton/QToolButton.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1

        • Login

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