A delegate which handles various python types.
Subclasses should provide at least an implementation of getWidget, which returns a new instance of a widget to use for editing. The delegate removes the widget frame for better style consistency.
The default implementation guesses the widget based on the data type returned from the model by EditRole, using guessWidget. If the expected data type is known, however, it is better to use one of the strictly typed delegates: FloatDelegate, DateTimeDelegate or ListDelegate.