qmenubar Questions

2

Solved

Is there a way to change default menu title for native menu on MacOS for a simple pyqt5 app? I'm trying to change "Python" menu entry on above image. Is there a way to rename it? Can I h...
Pontiff asked 6/1, 2021 at 6:20

6

I have been having problems adding a menu item to the built in menu bar in a Qt desktop application. I copied the code provided in the QMainWindow class reference documentation for creating a menu ...
Wellwisher asked 12/8, 2014 at 10:15

4

I'm working in a project where I need to open (show or popup) automatically the items in the QMenuBar. Let's say I have the next menu bar: File Edit Help -op1 -op1 -op1 -op2 -op2 -op2 To set ...
Portuguese asked 22/2, 2012 at 17:24

4

Solved

I am trying to make the menubar a gradient black colour and that works fine, except for the menu headings. Here's the stylesheet i'm using: QString styleSheet = "QMenuBar{background: qlineargrad...
Selinaselinda asked 2/1, 2012 at 21:44

6

I am writing a GUI application using python and Qt. When I launch my application on Mac, the first menu item in the Mac menu bar at the top of the screen is "Python". I would prefer the application...
Villalba asked 19/10, 2011 at 20:4

2

Using the following example code the native menu on MacOS 10.9.5 using Qt 5.3.2 does not show up when starting the application. The former menu remains visible but no actions can be performed with ...
Affliction asked 24/9, 2014 at 21:54

2

Solved

My application uses a QTabWidget for multiple 'pages', where the top-level menu changes depending on what page the user is on. My issue is that attempting to re-create the contents of the menu bar...
Joist asked 23/9, 2014 at 21:13

2

Solved

My problem is that when I click on an item in a QMenuBar, the corresponding slot gets called twice. I'm using Qt 4.8.1. I'm not using Qt Designer nor the "auto-connection" feature. Here is my code ...
Distefano asked 6/5, 2012 at 19:50

1

Solved

I know its very basic question but I am little bit confused, probably I am forgetting something. I am trying to add a sub menu "Preview" to the "Tools" in the QMenuBar() so far this is what I am...
Poultice asked 5/2, 2013 at 11:50

2

Solved

I want to stack some QPushButton objects on the other side of my QMenuBar. This is how my window looks now: And this is how I want it to look like (I've photoshopped the image): I know that in...
Rourke asked 1/2, 2013 at 11:45

1

Solved

I'm using Qt 4.7.4 on Mac OS X 10.7.4, and I'm trying to add a QMenuBar and a QMenu to my application without success. When looking for examples, I found the Basic Layouts and the screenshot of th...
Handout asked 7/7, 2012 at 12:56
1

© 2022 - 2024 — McMap. All rights reserved.