[Qt-interest] how to connect popupbutton signal
chandrasekar wagmare
sekarwagmare at gmail.com
Sat Feb 7 10:43:31 CET 2009
hi friends,
please help me to solve the problem
this is my code
setupUi(this);
QMenu* pushMenu = new QMenu(diButton);
DiWindow *dishow = new DiWindow(pushMenu);
QWidgetAction* pushAction = new QWidgetAction(pushMenu);
pushAction->setDefaultWidget(dishow);
pushMenu->addAction(pushAction);
diButton->setMenu(pushMenu);
connect(diButton, SIGNAL(clicked()), this, SLOT(abcdef()));
here the clicked SIGNAL is not working ... i dont know how to replace it
with ... i try toggle and triggerd but i cant connect any slot to the popup
button ... please help
--
CHANDRU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090207/29ef66e2/attachment.html
More information about the Qt-interest-old
mailing list