29 self.objectBrowser.additem(self.
rootItem)
30 self.boxManager.setRootItem(self.
rootItem)
35 QMainWindow.__init__(self,parent)
47 but1=QPushButton(
"Import catalog", row2 )
48 but1.setFixedSize( but1.sizeHint())
50 self.connect( but1, SIGNAL(
"clicked()"), self.
handleBut1 )
52 self.setCentralWidget(box)
56 addr=self.browser.selected.addr+
"#Kernel.dir/ModulCatalog.object"
57 cata=pilot.getRuntime().loadCatalog(
"session",addr)
58 self.catalogTool.register(cata,self.browser.selected.addr)
60 if __name__ ==
"__main__":
61 app = QApplication(sys.argv)