original_docstring: demo of integrability in a form
docstring: demo of integrability in a form
docstring_tokens: demo of integrability in a form
code: def _demo():
      '''demo of integrability in a form'''
      import sys
      from taurus.qt.qtgui.panel import TaurusForm
      from taurus.qt.qtgui.application import TaurusApplication
  
      app = TaurusApplication()
  
      f = TaurusForm()
      f.model = ['sys/tg_test/1/long_scalar', 'sys/tg_test/1/long_scalar',
                 'sys/tg_test/1/boolean_scalar', 'sys/tg_test/1/boolean_scalar']
  
      f[0].setReadWidgetClass(TaurusLabelEditRW)
      f[0].setWriteWidgetClass(None)
      f[2].setReadWidgetClass(TaurusBoolRW)
      f[2].setWriteWidgetClass(None)
  
      f.show()
      sys.exit(app.exec_())
code_tokens: def _demo ( ) : import sys from taurus . qt . qtgui . panel import TaurusForm from taurus . qt . qtgui . application import TaurusApplication app = TaurusApplication ( ) f = TaurusForm ( ) f . model = [ 'sys/tg_test/1/long_scalar' , 'sys/tg_test/1/long_scalar' , 'sys/tg_test/1/boolean_scalar' , 'sys/tg_test/1/boolean_scalar' ] f [ 0 ] . setReadWidgetClass ( TaurusLabelEditRW ) f [ 0 ] . setWriteWidgetClass ( None ) f [ 2 ] . setReadWidgetClass ( TaurusBoolRW ) f [ 2 ] . setWriteWidgetClass ( None ) f . show ( ) sys . exit ( app . exec_ ( ) )
short_docstring: demo of integrability in a form
short_docstring_tokens: demo of integrability in a form
comment: '''demo of integrability in a form'''