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. Why ampersand sign does not work anymore in Qt-Designer 5.1
Forum Updated to NodeBB v4.3 + New Features

Why ampersand sign does not work anymore in Qt-Designer 5.1

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.1k Views 1 Watching
  • 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.
  • S Offline
    S Offline
    sunsina
    wrote on last edited by
    #1

    I am using Qt 5.1 for designing an interface of my application,
    I realised inserting ampersand symbol (&) behind a textfield character of QPushButton object , or QLabel does not work in Q 5.1 which means It does not assign a shortcut to that character and underline it so the shortcut does not get activated, so the QtDesigner just puts a & symbol behind that
    character in QPushButton or QLabel text filed.

    Even compiling does not convert ampersand to underline shortcut character.

    How can I implement this feature in Qt 5.1 Designer environment and having my "Ok" QPushButton look as "-O-k" instead of "&Ok" and get shortcut character activated .
    Thanks

    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