QT QComboBox(7)Signals activated(int index)activated(const QString &text)currentIndexChanged(int index)currentIndexChanged(const QString &text)示例[QT QComboBox(6)设定使用最大内容的宽度](https://blog.csdn.net/qq_45646951/article/details/121372150) activated(int index) void MainWindow