Esempio n. 1
0
    def commandExecute(self):
        command = str(self.CLineEdit.text())
        if command == 'test' :
            self.CLineEdit.setText("")
            return TooltipManage.create('Command', "test", "Some text")

        if 'https://github.com/' in command:
            return self.CLineEdit.setText(command.replace('https://github.com/', 'https://*****:*****@github.com/'))

        self.createCommand(command)
Esempio n. 2
0
 def executeCommandFinished(self, command, result):
     TooltipManage.create('Command', command, result)