Added copyright notices
Implemented paint and sizehint methods for delegate
Added expandCollapse checkbox