Results 1 to 2 of 2

Thread: Problem Euro Sign with QLineEdit

  1. #1
    Join Date
    Jul 2007
    Posts
    8
    Qt products
    Qt3
    Platforms
    Unix/X11

    Question Problem Euro Sign with QLineEdit

    Hi All,

    i have qlineedit object and qlabel object,
    both objects filled with euro sign character.
    the qlineedit failed, the euro sign become white space,
    but for qlabel is correct,
    both object filled with setText(QString& txt) method.
    how do i make it correct for qlineedit.

    thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Problem Euro Sign with QLineEdit

    Did you make sure you used Unicode encoding within setText()?

Similar Threads

  1. Problem with QLineEdit and setText
    By Elmo23x in forum Qt Programming
    Replies: 8
    Last Post: 12th April 2007, 12:35

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.