Top "Qmenu" questions

The QMenu class, part of the Qt framwork, provides a menu widget for use in menu bars, context menus, and other popup menus.

How to iterate through a menu's actions in Qt?

I'm working in a project where I need to open (show or popup) automatically the items in the QMenuBar. Let's …

qt qmenu qmenubar
Is there a way to define a QToolbar with buttons and popup menus using Qt Designer?

I am wanting to have a toolbar in Qt that contains either QActions or QToolbarButtons that have popup menus attached …

qt button designer qmenu qtoolbar
Simple color fill QIcons in Qt

I need to create a menu that changes the background of a QWidget. I'd like to place a QIcon that …

c++ qt qmenu qicon
How to perform action on clicking a QMenu object only?

Here's a snapshot of the GUI. I want to perform simple actions solely by clicking on QMenu object Help. This …

qt signals-slots qmenu qaction
How to add a list of QActions to a QMenu and handle them with a single slot?

First, I have a list of QWidgets that I won't know the length of until runtime. I then create a …

c++ qt slot qmenu
how to make qmenu item checkable pyqt4 python

How can i make my qmenu checkable? from PyQt4 import QtGui app = QtGui.QApplication([]) menu = QtGui.QMenu() menu.addAction('50%…

python pyqt4 qmenu
Qt Stylesheets: How to apply style to menus? How to remove blue tinge around QTextEdit?

I am trying to make the menubar a gradient black colour and that works fine, except for the menu headings. …

qt4.7 qmenu qtstylesheets qmenubar
pyqt dynamic generate QMenu action and connect

Still learning how pyqt works. I want to dynamically generate a customContextMenu and connect with a function. So far I …

python pyqt4 signals-slots qmenu
Is there a way to add a QWidget to a QMenu in QtCreator

I'm creating a text editor and I'd like to put the QComboBox in the QMenu. I didn't find any method …

c++ qt qwidget qmenu
How to add check/Uncheck QAction in the context menu?

I have created a context menu in Qt and I need the items in the menu works in a checked/…

qt qt4 contextmenu qmenu