channels = r.manager.channels #print channels for item in channels: for handler in r.manager._getHandlers(item): print handler.channels#dir(handler) if 0: import PythonQt from PythonQt.QtGui import QTreeWidgetItem, QInputDialog, QLineEdit box = r.c.widget.findChild("QVBoxLayout") print box, dir(box), box.name line = QLineEdit() box.addWidget(line) if 0: r.randomTest() #print qm, dir(qm) #~ print r.c.widget, r.c.proxywidget #~ pe = r.getPropertyEditor() #~ #print pe, pe.setObject, pe.show #~ pe.setObject(r.c.proxywidget) #~ pe.show() if 0: worldstream = r.getServerConnection() print "send drop bomb:", worldstream.SendGenericMessage("DropBomb", ["here", "soon", "BIG"]) if 0: print r.c, dir(r.c) print r.c.widget print dir(r.c.proxywidget)
channels = r.manager.channels #print channels for item in channels: for handler in r.manager._getHandlers(item): print handler.channels#dir(handler) if 0: import PythonQt from PythonQt.QtGui import QTreeWidgetItem, QInputDialog, QLineEdit box = r.c.widget.findChild("QVBoxLayout") print box, dir(box), box.name line = QLineEdit() box.addWidget(line) if 0: #a c++ side test func for api dev ret = r.randomTest() print ret print ret.map, ret.about(), ret.uuid, ret.list() l = ret.list() print dir(l) print l.count(2) for i in l: print i #print qm, dir(qm) #~ print r.c.widget, r.c.proxywidget #~ pe = r.getPropertyEditor() #~ #print pe, pe.setObject, pe.show #~ pe.setObject(r.c.proxywidget) #~ pe.show() if 0: #QRenderer
channels = r.manager.channels #print channels for item in channels: for handler in r.manager._getHandlers(item): print handler.channels #dir(handler) if 0: import PythonQt from PythonQt.QtGui import QTreeWidgetItem, QInputDialog, QLineEdit box = r.c.widget.findChild("QVBoxLayout") print box, dir(box), box.name line = QLineEdit() box.addWidget(line) if 0: #a c++ side test func for api dev ret = r.randomTest() print ret print ret.map, ret.about(), ret.uuid, ret.list() l = ret.list() print dir(l) print l.count(2) for i in l: print i #print qm, dir(qm) #~ print r.c.widget, r.c.proxywidget #~ pe = r.getPropertyEditor() #~ #print pe, pe.setObject, pe.show #~ pe.setObject(r.c.proxywidget) #~ pe.show() if 0: #QRenderer