Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cpp qmenu add custom widget action

QWidgetAction *widgetAction = new QWidgetAction(this);
widgetAction->setDefaultWidget(new QProgressBar(this));
menubar.addAction(widgetAction);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cpp #qmenu #add #custom #widget #action
ADD COMMENT
Topic
Name
5+2 =