def setMaximum(self, m, update=True):
if m is not None:<EOL><INDENT>m = D(asUnicode(m))<EOL><DEDENT>self.opts['<STR_LIT>'][<NUM_LIT:1>] = m<EOL>if update:<EOL><INDENT>self.setValue()<EOL><DEDENT>
Set the maximum allowed value (or None for no limit)