class CCheckBoxHeaderView : public QHeaderView { Q_OBJECT public: CCheckBoxHeaderView( int checkColumnIndex, Qt::Orientation orientation, QWidget * parent = 0) : QHeaderView(orientation, parent) { m_checkColIdx = checkColumnIndex; isChecked =