开发者

shortcut icon of QAction on qtoolbar disappeared after closing the triggered dialog [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific开发者_开发问答 moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 11 years ago.

I added a QAction to the QToolBar as a shortcut with an icon, when the icon is clicked(QAction emitts signal triggered()),an dialog will popup.The strange thing is when I close that dialog,both the icon on the QToolBar and QAction in the Qmenu are disappeared.Have anybody encountered this situation?

shortcut icon of QAction on qtoolbar disappeared after closing the triggered dialog [closed]

shortcut icon of QAction on qtoolbar disappeared after closing the triggered dialog [closed]

Finally I find why.I delete a non-NULL pointer in the dialog!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜