Esempio n. 1
0
 def senddata(self):
     data = self.tableWidget.selectedItems()
     setdata = "{} {} {}".format(data[9].text(), data[1].text(),
                                 data[0].text())
     print(setdata)
     self.hide()
     self.ui = mainUi.mainwindow()
     mainUi.cpuname = str(setdata)
     self.ui.show()
     self.ui.lblcpu.setText("{}".format(setdata))
     mainUi.cpuscore = data[10].text()
     print(mainUi.cpuscore)
Esempio n. 2
0
 def senddata(self):
     data = self.tableWidget.selectedItems()
     for item in data:
         print(item.text())
     setdata = "{}".format(data[0].text())
     print(setdata)
     self.hide()
     self.ui = mainUi.mainwindow()
     mainUi.vganame = str(setdata)
     self.ui.show()
     self.ui.lblvga.setText("{}".format(setdata))
     mainUi.gpuscore = data[9].text()
     print(mainUi.gpuscore)
Esempio n. 3
0
 def senddata(self):
     data = self.tableWidget.selectedItems()
     for item in data:
         print(item.text())
     setdata = "{} {} {}".format(data[1].text(), data[0].text(),
                                 data[3].text())
     scoredata = float(data[8].text())
     print(setdata)
     self.hide()
     self.ui = mainUi.mainwindow()
     mainUi.hdd1name = str(setdata)
     self.ui.show()
     self.ui.lblhdd.setText("{}".format(setdata))
     if mainUi.hddscore < scoredata:
         mainUi.hddscore = scoredata
     print(mainUi.hddscore)
Esempio n. 4
0
 def getBack(self):
     self.hide()
     self.ui = mainUi.mainwindow()
     self.ui.show()