Results 1 to 3 of 3

Thread: Quotation marks in QT text editing widgets

  1. #1
    Join Date
    Dec 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Quotation marks in QT text editing widgets

    I'm having problems with writing quotation marks in Qt text editing widgets. Every single or double quotation mark I enter gets inserted as a straight one. However, I'd like to input curly left and right quotation marks (and if possible, lower left at the beginning and upper right at the end, as is common in some languages - slovak or czech e.g.).

    I thought switching to the language's keyboard layout would take care of that (as is the case with left-to-right and right-to-left languages), but this doesn't change anything. I haven't found anything in the documentation regarding this, which makes me think I'm missing something. Or not.

    The same behavior was tested on 3 platforms with the same result: Ubuntu 11.4., Windows XP with czech localization, Mac OS X 10.7.

    Do you know of any way to achieve this with Qt (for C++) of version 4.7?

    Thank you

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Quotation marks in QT text editing widgets

    However, I'd like to input curly left and right quotation marks (and if possible, lower left at the beginning and upper right at the end, as is common in some languages - slovak or czech e.g.)
    I don't know much of these language scripts. Does these language keyboards have separate keys for opening and closing quotes?
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  3. #3
    Join Date
    Dec 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Quotation marks in QT text editing widgets

    No, there is always just one quotation key on these keyboards. A logic specialized for each locale is needed to quote correctly. It seems it needs to be implemented in the app code. Thanks

Similar Threads

  1. Quotation for Qt licensing
    By babygal in forum General Discussion
    Replies: 3
    Last Post: 9th December 2010, 07:10
  2. Editing text file via console app
    By cejohnsonsr in forum Newbie
    Replies: 1
    Last Post: 30th August 2010, 21:39
  3. Editing in text box of web page : QWebView
    By girishgowda in forum Qt Programming
    Replies: 0
    Last Post: 13th July 2010, 11:42
  4. QTableWidgetItem Text Editing
    By ToddAtWSU in forum Qt Programming
    Replies: 2
    Last Post: 17th March 2009, 02:23
  5. Editing properties of groups of widgets
    By Dusdan in forum Qt Tools
    Replies: 2
    Last Post: 18th August 2006, 12:51

Tags for this Thread

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.