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. Menu not working
QtWS25 Last Chance

Menu not working

Scheduled Pinned Locked Moved General and Desktop
menuclick
2 Posts 2 Posters 1.3k Views
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #1

    Hi there,
    I created a project with QtCreator / QtDesigner under version 4.x. Since 5.x the top left menu (which is generally called "File") is not responding to clicks any more. Clicking the menu to the right (would be "Edit") brings the second menu up and if the mouse pointer is moved to the left, the contents of the first menu are shown correctly. But as said, the first menu does not repond to clicks.
    EDIT: This is actually not directly concerning a specific menu but about the 100 most left pixels of the menu bar. It's like there is a completely transparent something on top of it, but I never added such a thing.
    I have googled and didn't find anything. Has anyone experienced / solved a similar problem?
    Cheers,
    Kalsan

    1 Reply Last reply
    0
    • Chris KawaC Online
      Chris KawaC Online
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by Chris Kawa
      #2

      Maybe there's a widget that you didn't put into a layout? The default position of such widget is in the upper left corner and the 100px sound like some default size.

      Try adding this in your main:

         qApp->setStyleSheet("QWidget { border: 2px solid red;}");
      

      This should put a red frame around every widget so you'll see if anything's there.

      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