void activated ( int index )
void activated ( const QString & text )

信号activated是只要单击选择框即使所选内容选择前后没有变化也会触发此信号。

 

 

void currentIndexChanged ( int index )
void currentIndexChanged ( const QString & text )

信号currentIndexChanged 是在单击选择框仅当所选内容前后有变化时才会出发此信号。

 

转载: QComboBox的activated与currentIndexChanged的区别-http://blog.chinaunix.net/uid-22237858-id-68324.html

相关文章:

  • 2022-12-23
  • 2021-10-22
  • 2022-12-23
  • 2021-12-16
  • 2021-12-27
  • 2021-09-10
  • 2021-12-04
  • 2022-02-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2021-06-08
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案