21 import browser_session
22 import browser_catalog
28 Main window of Catalog Tool
31 QMainWindow.__init__(self,parent)
38 cata=pilot.getRuntime().getBuiltinCatalog()
39 self.
register(cata,
"Builtin Catalog")
58 menubar = self.menuBar()
71 fn = QFileDialog.getOpenFileName(QString.null,QString.null,self)
73 self.statusBar().message(
'Loading aborted',2000)
76 cata=pilot.getRuntime().loadCatalog(
"proc",filename)
79 for name,node
in cata._nodeMap.items():
84 """Add a catalog in the catalog tool list"""
87 self.tabWidget.addTab( panel,name)
88 self.tabWidget.showPage(panel)
100 QWhatsThis.add(self.
SBfile,
"""<p>Message""")
101 self.SBfile.setText(
"")