Results 1 to 4 of 4

Thread: QTextEdit with asterisks

  1. #1
    Join Date
    Nov 2014
    Location
    Germany
    Posts
    69
    Thanks
    1
    Qt products
    Qt4 Qt5
    Platforms
    Windows Android

    Default QTextEdit with asterisks

    Hi,

    is it possible to mask characters in a QTextEdit with asterisks (like bullets or asterisks)?

    I only know this feature for QLineEdit, but I need it in a QTextEdit...

    Thank you in anticipation!

    Binary

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QTextEdit with asterisks

    There is no simple to use feature.

    Do you mean the whole text or just selected parts?
    Does it have to avoid being copied with, for example, Control-C?

  3. #3
    Join Date
    Nov 2014
    Location
    Germany
    Posts
    69
    Thanks
    1
    Qt products
    Qt4 Qt5
    Platforms
    Windows Android

    Default Re: QTextEdit with asterisks

    Hi Chris,
    Do you mean the whole text or just selected parts?
    The whole text, but if you know both variants, feel free to tell me

    Does it have to avoid being copied with, for example, Control-C?
    Doesn't matter, but if you know both...

  4. #4
    Join Date
    Nov 2014
    Location
    Germany
    Posts
    69
    Thanks
    1
    Qt products
    Qt4 Qt5
    Platforms
    Windows Android

    Default Re: QTextEdit with asterisks

    Hi again,

    sorry for the double post, but I think this thread is going out of focus..

    Is there no way to mask user input in a QTextEdit?

Similar Threads

  1. Replies: 0
    Last Post: 24th April 2014, 08:54
  2. QTextEdit - margins, indents within QTextEdit
    By Acamapichtli in forum Newbie
    Replies: 12
    Last Post: 9th April 2014, 17:37
  3. Replies: 19
    Last Post: 12th February 2014, 07:32
  4. QTextEdit
    By deeee in forum Qt Programming
    Replies: 5
    Last Post: 24th May 2010, 09:06
  5. Replies: 1
    Last Post: 16th February 2007, 07:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.