Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Qt designer and unicode

    General and Desktop
    2
    5
    6530
    Loading More Posts
    • 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
      PeterRey last edited by

      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 Reply Quote 0
      • A
        andre last edited by

        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 Reply Quote 1
        • P
          PeterRey last edited by

          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 Reply Quote 0
          • A
            andre last edited by

            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 Reply Quote 0
            • P
              PeterRey last edited by

              Thanks, i will try...

              1 Reply Last reply Reply Quote 0
              • First post
                Last post