Simple Qt Programming Question

This is a discussion on Simple Qt Programming Question within the Linux Programming forums, part of the Platform Specific Boards category; I am new to the Qt widget set, even though I have good knowledge of the GTK+ set. I have ...

  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    25

    Simple Qt Programming Question

    I am new to the Qt widget set, even though I have good knowledge of the GTK+ set. I have been going through the tutorials, but one of the points mentioned in the tutorial does not seem to work out.

    In the main form's menu bar, there is a placeholder called "new menu." Supposedly, can double-click this to select the text and change the name to whatever I want. In my case, I want a "View" menu. But when I overwite "new menu" with "View" and then move the focus away from the text, the "View" I had written changes back to "new menu." Try as I might, I cannot seem to change the text to "View" and keep it that way.

    Am I making some kind of elementary error here, or is this some kind of a known bug?

    Thanks in advance for your help.

    *****

    I am using Fedora Core 5, and the version of Qt is 3.3.5.

  2. #2
    Registered User
    Join Date
    Dec 2005
    Posts
    25
    Okay, in case there are others out there who might have run into this problem, I should mention that I have found the solution. One must press "Enter" after overwriting "new menu" with the desired menu label.

    That's it!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple class question
    By 99atlantic in forum C++ Programming
    Replies: 6
    Last Post: 04-20-2005, 11:41 PM
  2. Simple question about pausing program
    By Noid in forum C Programming
    Replies: 14
    Last Post: 04-02-2005, 08:46 AM
  3. simple question.
    By InvariantLoop in forum Windows Programming
    Replies: 4
    Last Post: 01-31-2005, 11:15 AM
  4. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  5. simple fgets question
    By theweirdo in forum C Programming
    Replies: 7
    Last Post: 01-27-2002, 05:58 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21