示例#1
0
    def exportSkills(self, evt):
        skillsMap = self._buildSkillsTooltipCondensed(self.reqs, skillsMap={})

        list = ""
        for key in sorted(skillsMap):
            list += "%s %d\n" % (key, skillsMap[key][0])

        toClipboard(list)
    def exportSkills(self, evt):
        skillsMap = self._buildSkillsTooltipCondensed(self.reqs, skillsMap={})

        list = ""
        for key in sorted(skillsMap):
            list += "%s %d\n" % (key, skillsMap[key])

        toClipboard(list)
示例#3
0
    def exportSkills(self, evt):
        char = self.charEditor.entityEditor.getActiveEntity()

        skills = sorted(char.__class__.getSkillNameMap().keys())
        list = ""
        for s in skills:
            skill = char.getSkill(s)
            list += "{} {}\n".format(skill.item.name, skill.level)

        toClipboard(list)
示例#4
0
    def exportSkills(self, evt):
        char = self.charEditor.entityEditor.getActiveEntity()

        skills = sorted(char.__class__.getSkillNameMap().keys())
        list = ""
        for s in skills:
            skill = char.getSkill(s)
            list += "{} {}\n".format(skill.item.name, skill.level)

        toClipboard(list)
示例#5
0
文件: mainFrame.py 项目: copyliu/Pyfa
 def clipboardCrest(self):
     fit = db_getFit(self.getActiveFit())
     toClipboard(Port.exportCrest(fit))
示例#6
0
 def activate(self, callingWindow, fullContext, i):
     items = viewSpecMap[self.srcContext][1](callingWindow)
     export = viewSpecMap[self.srcContext][2](items)
     if export:
         toClipboard(export)
示例#7
0
 def exportPatterns(self, event):
     """Event fired when export to clipboard button is clicked"""
     sTR = TargetProfile.getInstance()
     toClipboard(sTR.exportPatterns())
     self.stNotice.SetLabel("Profiles exported to clipboard")
示例#8
0
 def clipboardXml(self):
     fit = db_getFit(self.getActiveFit())
     toClipboard(Port.exportXml(None, fit))
示例#9
0
 def clipboardDna(self):
     fit = db_getFit(self.getActiveFit())
     toClipboard(Port.exportDna(fit))
示例#10
0
    def exportPatterns(self, event):
        "Event fired when export to clipboard button is clicked"

        sTR = service.TargetResists.getInstance()
        toClipboard( sTR.exportPatterns() )
        self.stNotice.SetLabel("Patterns exported to clipboard")
 def cb(text):
     if self.waitDialog:
         del self.waitDialog
     toClipboard(text)
     self.EndModal(wx.ID_OK)
示例#12
0
 def clipboardMultiBuy(self, options):
     fit = db_getFit(self.getActiveFit())
     toClipboard(Port.exportMultiBuy(fit))
示例#13
0
 def clipboardXml(self, options):
     fit = db_getFit(self.getActiveFit())
     toClipboard(Port.exportXml(None, fit))
示例#14
0
 def clipboardEsi(self, options):
     fit = db_getFit(self.getActiveFit())
     toClipboard(Port.exportESI(fit))
示例#15
0
 def clipboardDna(self, options):
     fit = db_getFit(self.getActiveFit())
     toClipboard(Port.exportDna(fit))
示例#16
0
 def clipboardEft(self, options):
     fit = db_getFit(self.getActiveFit())
     toClipboard(Port.exportEft(fit, options))
示例#17
0
 def clipboardMultiBuy(self):
     sFit = service.Fit.getInstance()
     toClipboard(sFit.exportMultiBuy(self.getActiveFit()))
示例#18
0
文件: mainFrame.py 项目: tiniumv/Pyfa
 def clipboardMultiBuy(self):
     sFit = service.Fit.getInstance()
     toClipboard(sFit.exportMultiBuy(self.getActiveFit()))
示例#19
0
 def activate(self, callingWindow, fullContext, mainItem, i):
     export = renderMutant(mainItem, prefix='  ')
     toClipboard(export)
示例#20
0
文件: setEditor.py 项目: Sectoid/Pyfa
    def exportPatterns(self, event):
        """Event fired when export to clipboard button is clicked"""

        sIS = ImplantSets.getInstance()
        toClipboard(sIS.exportSets())
        self.stNotice.SetLabel("Sets exported to clipboard")
示例#21
0
 def clipboardEfs(self, options):
     fit = db_getFit(self.getActiveFit())
     toClipboard(EfsPort.exportEfs(fit, 0))
示例#22
0
    def exportPatterns(self, event):
        "Event fired when export to clipboard button is clicked"

        sTR = service.TargetResists.getInstance()
        toClipboard(sTR.exportPatterns())
        self.stNotice.SetLabel("Patterns exported to clipboard")
示例#23
0
 def cb(text):
     if self.waitDialog:
         del self.waitDialog
     toClipboard(text)
     self.EndModal(wx.ID_OK)
示例#24
0
 def clipboardEftImps(self):
     fit = db_getFit(self.getActiveFit())
     toClipboard(Port.exportEftImps(fit))
示例#25
0
 def activate(self, callingWindow, fullContext, selection, i):
     export = self.viewSpecMap[self.srcContext][1](selection)
     if export:
         toClipboard(export)
示例#26
0
 def clipboardCrest(self):
     fit = db_getFit(self.getActiveFit())
     toClipboard(Port.exportCrest(fit))
示例#27
0
 def clipboardDna(self):
     sFit = service.Fit.getInstance()
     toClipboard(sFit.exportDna(self.getActiveFit()))
示例#28
0
 def clipboardMultiBuy(self):
     fit = db_getFit(self.getActiveFit())
     toClipboard(Port.exportMultiBuy(fit))
示例#29
0
 def exportPatterns(self, event):
     sDP = service.DamagePattern.getInstance()
     toClipboard(sDP.exportPatterns())
     self.stNotice.SetLabel("Patterns exported to clipboard")
示例#30
0
    def exportPatterns(self, event):
        """Event fired when export to clipboard button is clicked"""

        sIS = ImplantSets.getInstance()
        toClipboard(sIS.exportSets())
        self.stNotice.SetLabel("Sets exported to clipboard")
示例#31
0
 def exportPatterns(self, event):
     sDP = DamagePattern.getInstance()
     toClipboard(sDP.exportPatterns())
     self.stNotice.SetLabel("Patterns exported to clipboard")
示例#32
0
 def clipboardXml(self):
     sFit = service.Fit.getInstance()
     toClipboard(sFit.exportXml(None, self.getActiveFit()))
示例#33
0
 def clipboardEfs(self):
     fit = db_getFit(self.getActiveFit())
     toClipboard(EfsPort.exportEfs(fit, 0))
示例#34
0
 def exportPatterns(self, event):
     sDP = service.DamagePattern.getInstance()
     toClipboard( sDP.exportPatterns() )
     self.stPercentages.SetLabel("Patterns exported to clipboard")
示例#35
0
文件: mainFrame.py 项目: wyl0706/Pyfa
 def clipboardEsi(self):
     fit = db_getFit(self.getActiveFit())
     toClipboard(Port.exportESI(fit))
示例#36
0
文件: mainFrame.py 项目: Nord001/Pyfa
 def clipboardXml(self):
     sFit = service.Fit.getInstance()
     toClipboard(sFit.exportXml(self.getActiveFit()))
示例#37
0
文件: mainFrame.py 项目: copyliu/Pyfa
 def clipboardEftImps(self):
     fit = db_getFit(self.getActiveFit())
     toClipboard(Port.exportEftImps(fit))