自定义的枚举从Qt::UserRole开始,如:
enum CustomHeaderRole { ColumnSpanRole = Qt::UserRole + 1, RowSpanRole };
enum CustomHeaderRole
{
ColumnSpanRole = Qt::UserRole + 1,
RowSpanRole
};