动态插入menu的方式总结 class CCheckBoxHeaderView : public QHeaderView { Q_OBJECT public: CCheckBoxHeaderView( int checkColumnIndex, Qt::Orientation orientation, QWidget * pa