def setOpts(self, **opts):
<EOL>for k in opts:<EOL><INDENT>if k == '<STR_LIT>':<EOL><INDENT>self.setMinimum(opts[k][<NUM_LIT:0>], update=False)<EOL>self.setMaximum(opts[k][<NUM_LIT:1>], update=False)<EOL><DEDENT>elif k in ['<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>self.opts[k] = D(asUnicode(opts[k]))<EOL><DEDENT>elif k == '<STR_LIT:value>':<EOL><INDENT>pass   <EOL><DEDENT>else:<EOL><INDENT>self.opts[k] = opts[k]<EOL><DEDENT><DEDENT>if '<STR_LIT:value>' in opts:<EOL><INDENT>self.setValue(opts['<STR_LIT:value>'])<EOL><DEDENT>if '<STR_LIT>' in opts and '<STR_LIT:value>' not in opts:<EOL><INDENT>self.setValue()   <EOL><DEDENT>if self.opts['<STR_LIT:int>']:<EOL><INDENT>if '<STR_LIT>' in opts:<EOL><INDENT>step = opts['<STR_LIT>']<EOL><DEDENT>else:<EOL><INDENT>self.opts['<STR_LIT>'] = int(self.opts['<STR_LIT>'])<EOL><DEDENT>if '<STR_LIT>' in opts:<EOL><INDENT>step = opts['<STR_LIT>']<EOL>if int(step) != step:<EOL><INDENT>raise Exception('<STR_LIT>')<EOL><DEDENT><DEDENT>else:<EOL><INDENT>ms = int(self.opts.get('<STR_LIT>', <NUM_LIT:1>))<EOL>if ms < <NUM_LIT:1>:<EOL><INDENT>ms = <NUM_LIT:1><EOL><DEDENT>self.opts['<STR_LIT>'] = ms<EOL><DEDENT><DEDENT>if '<STR_LIT>' in opts:<EOL><INDENT>self.proxy.setDelay(opts['<STR_LIT>'])<EOL><DEDENT>self.updateText()<EOL>
Changes the behavior of the SpinBox. Accepts most of the arguments 
allowed in :func:`__init__ <pyqtgraph.SpinBox.__init__>`.