Added a TristateItemDelegate.