拿出一個按鈕
修改屬性的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