窗体部件之QActionGroup

如果要实现action的互斥效果,可以用QActionGroup的addAction方法,并且前提设置action的checkable属性为true。action的本质是toolbutton,可以用setToolButtonStyle设置文本环绕方式。

相关文章:

  • 2022-12-23
  • 2021-10-24
  • 2021-12-28
  • 2021-11-09
  • 2022-12-23
  • 2022-12-23
  • 2021-06-13
  • 2022-12-23
猜你喜欢
  • 2021-07-21
  • 2021-06-25
  • 2022-12-23
  • 2022-12-23
  • 2021-05-11
  • 2021-04-10
相关资源
相似解决方案