Skip to content
  • jcfr's avatar
    ENH: Re-factor WebChannelTransport initialization · 2cc81605
    jcfr authored
    Since only one web channel can be installed per page, this commit introduces
    initializeWebChannelTransport() function allowing both base and derived class
    to customize the WebChannelTransport initialization callback code.
    
    Instead of systematically re-installing a QWebChannel, this commit
    also ensure that the object `window.slicerPython` is set.
    
    List of DataStore changes:
    
    $ git shortlog e6278c076..8053b0283 --no-merges
    Jean-Christophe Fillion-Robin (1):
          ENH: Refactor WebChannelTransport initialization
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@27941 3bd1e089-480b-0410-8dfb-8563597acbee
    2cc81605