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. Qt designer and unicode
QtWS25 Last Chance

Qt designer and unicode

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 7.3k 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.
  • P Offline
    P Offline
    PeterRey
    wrote on last edited by
    #1

    Hi everybody,
    I new here.
    I have the following issue . I would like to entry a char as unicode code in qtdesigner-qpushbutton in text property.
    it is two day i am looking in internet and your forums etc.
    i have tried some of these:
    \u2211, '\u2211', 0x2211,'0x2211',\u2211,'\u2211', u+2211,'u+2211',ࢣ, etc etc..... but without success.
    i know how to do it in the code , but i prefer to do it in qtdesigner.
    i have qtcreator 2.4.1 and qt 4.8.0.
    any suggestion is welcome
    Thanks

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      As Designer is unicode aware, there is no need for escape sequences. Just type in whatever you need there directly, or copy/paste from your Character Map application (or equivalent).

      1 Reply Last reply
      1
      • P Offline
        P Offline
        PeterRey
        wrote on last edited by
        #3

        Thanks . it works with cut and paste
        But if i really want to entry a unicode code of a char for example u0419. what have i to write in the property text of qpushbutton ?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          Qt doesn't provide its own keyboard mappings for that, but usually you can enter codes in an OS using something like keeping your ALT key pressed and typing the code in on the numeric pad of your keyboard.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            PeterRey
            wrote on last edited by
            #5

            Thanks, i will try...

            1 Reply Last reply
            0

            • Login

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