阅读背景:

PyQt4菜单acction添加新选项卡到QTabWidget。

来源:互联网 

I'm working on a small application for work w/ python and PyQt4 for the GUI. What I'm trying to accomplish is having a tabbed GUI where when a user clicks on a menu item, the action taken adds a tab to the QTabWidget. I'm currently having trouble getting an action to do such a thing. I've tried creating the GUI by hand and with QT designer, but I cant figure out how, if at all possible, to get an action to add a tab to the QTabWidget. This is my python code:I'm working on a small application for work w/




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: