Thread: Simple Qt Programming Question

  1. #1
    Registered User
    Join Date
    Dec 2005

    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
    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, 09:46 AM
  3. simple question.
    By InvariantLoop in forum Windows Programming
    Replies: 4
    Last Post: 01-31-2005, 12:15 PM
  4. Binary Search Trees Part III
    By Prelude in forum A Brief History of
    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, 06:58 PM