##// END OF EJS Templates
added int ElfFile::getSymbolIndex(const QString &name)
jeandet -
r86:22540a7bc8cf default
parent child
Show More
@@ -1,5 +1,6
1 1 #!/usr/bin/lppmon -e
2 2
3
3 4 class test(PySocExplorerEngine.socexplorerplugin):
4 5 m_Layout = QtGui.QGridLayout()
5 6 m_CenterWidget = QtGui.QWidget()
@@ -9,19 +10,23 class test(PySocExplorerEngine.socexplor
9 10 m_writeQPB = QtGui.QPushButton("write")
10 11
11 12 def postInstantiationTrigger(self):
12 print "building GUI"
13 print("building GUI")
13 14 self.setWidget(self.m_CenterWidget)
14 15 self.m_CenterWidget.setLayout(self.m_Layout)
15 16 self.m_Layout.addWidget(self.m_addressQSPB,0,0,1,1)
16 17 self.m_Layout.addWidget(self.m_readQPB,0,1,1,1)
17 18 self.m_Layout.addWidget(self.m_writeQPB,0,2,1,1)
18 19 self.m_Layout.addWidget(self.m_hexviewer,1,0,1,-1)
20
19 21 def hello(self):
20 print "hello"
22 print("hello")
23
21 24 def VID(self):
22 25 return 10
26
23 27 def PID(self):
24 28 return 100
29
25 30 def readData(self):
26 31 bufferQBA = QtCore.QByteArray()
27 32 buffer = self.parentPlugin().Read(self.m_addressQSPB.value,16*1024)
General Comments 0
You need to be logged in to leave comments. Login now