Results 1 to 2 of 2

Thread: Menu shortcuts in Visual Studio?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    9
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Menu shortcuts in Visual Studio?

    Hi,

    I'm creating a simple window, based on QMainWindow.. I'm developing it in visual studio, and everything seems to be working OK, but I can't get the keyboard shortcuts to work. (I don't mean the actual shortcuts like CTRL+O etc, but things like Exit)
    Im used to it working where I could use "E&xit" as text, and it would work automagically through parsing, but Ive been trying that to no avail.
    Anyone know how to do this in a new Qt version? I'm using Qt 4.1.0
    Worth noting is that in the example apps the underline in the menu doesn't seem to be working perfectly either, but atleast they work. In my own programs Im not getting it to work at all.

    Thx in advance,
    kw

  2. #2
    Join Date
    Jan 2006
    Posts
    9
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Red face Re: Menu shortcuts in Visual Studio?

    oops, never mind. I see now that the & does in fact work in the same way as it always did.. I just messed up in using it. I thought the underline was always there, but when I tested just now with other programs I remembered it only shows AFTER you pressed alt. Turns out that when I did that with my new Qt app, it already worked as expected..
    D'oh!

    -kw

Similar Threads

  1. Failing Builds in msvc2005 -> QT4.4.3
    By plitanium in forum Installation and Deployment
    Replies: 4
    Last Post: 2nd March 2009, 12:39
  2. Qt 4.4.1 Compile Error with MS Visual C++ 2008 Express SP1
    By BrainB0ne in forum Installation and Deployment
    Replies: 3
    Last Post: 19th August 2008, 15:49
  3. qtgui4.dll error in visual c++ 2005
    By Comptrol in forum Installation and Deployment
    Replies: 33
    Last Post: 19th June 2008, 07:18
  4. Qt configure with msvc.net
    By jivanr in forum Installation and Deployment
    Replies: 1
    Last Post: 11th June 2007, 08:17
  5. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15

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.