Skip to content
Snippets Groups Projects
Select Git revision
  • bb8ad358b6dfdbaa22f64f09d58057b156f19333
  • master default protected
  • develop protected
  • cmake_boost_refactor
  • ubuntu_ci
  • mmtf
  • non-orthogonal-maps
  • no_boost_filesystem
  • data_viewer
  • 2.11.1
  • 2.11.0
  • 2.10.0
  • 2.9.3
  • 2.9.2
  • 2.9.1
  • 2.9.0
  • 2.8.0
  • 2.7.0
  • 2.6.1
  • 2.6.0
  • 2.6.0-rc4
  • 2.6.0-rc3
  • 2.6.0-rc2
  • 2.6.0-rc
  • 2.5.0
  • 2.5.0-rc2
  • 2.5.0-rc
  • 2.4.0
  • 2.4.0-rc2
29 results

scoring.py

Blame
  • init_iplt.py 805 B
    from ost import gui
    import sip
    from ost.img import *
    import ost.img.alg as alg
    
    from PyQt4 import QtGui, QtCore
    from ost.gui.init_menubar import _InitMenuBar
    
    
    def Viewer(image,title=""):
      app=gui.GostyApp.Instance()
      viewer=app.CreateDataViewer(image)
      app.perspective.main_area.AddWidget(title, viewer)
      return viewer
    
    def _InitPanels(app, panels):
      panels.AddWidgetToPool('ost.gui.PythonShell', 1)
      if not panels.Restore("img/ui/perspective/panels"):
        panels.AddWidget(gui.PanelPosition.BOTTOM_PANEL, app.py_shell)
    
    def _InitIPLTNextGen():
      app=gui.GostyApp.Instance()
      app.SetAppTitle("IPLT - Iplt Next Generation")
      main_area=app.perspective.main_area
      _InitPanels(app, app.perspective.panels)
      _InitMenuBar(app.perspective.GetMenuBar())
      app.perspective.Restore()
    
    _InitIPLTNextGen()