拿出一个按钮
修改属性的width 和 height
修改stylesheet内容
效果
额外参考:
https://blog.csdn.net/weixin_42066185/article/details/82225197
https://blog.csdn.net/weixin_42066185/article/details/82225197
#new_Button是一個新建的按鈕 menu = QMenu(self) menu.addAction(_translate("f_1", "文件")) menu.addAction(_tran