attribute editor: return NULL QVariant instead of invalid QVariant
[ftools] More SIP API updates