Esempio n. 1
0
 def addHost(self):
     hostDialog = HostConfigDialog(self.hosts)
     resp = hostDialog.add()
     if resp["code"]:
         self.setHostList()
     hostName = resp.get("name")
     if hostName:
         hostItem = self.findHostItemByName(hostName)
         self.slotConnectHost(hostItem)
Esempio n. 2
0
 def addHost(self):
     hostDialog = HostConfigDialog(self.hosts)
     self._processHostSubmit(hostDialog.add())
Esempio n. 3
0
 def addHost(self):
     hostDialog = HostConfigDialog(self.hosts)
     self._processHostSubmit(hostDialog.add())