Exemplo n.º 1
0
 def on_add(self):
     username = self.entry_user.text()
     password = self.entry_pass.text()
     if username and password:
         account_item = host_accounts.create_account_item(self.cb.currentText(), username, password) #error, since we didnt check it, yet.
         self.__model.clear()
         self.load_accounts()
         host_accounts.start_checking(account_item.host, account_item.id_account)
Exemplo n.º 2
0
 def on_add(self):
     username = self.entry_user.text()
     password = self.entry_pass.text()
     if username and password:
         account_item = host_accounts.create_account_item(
             self.cb.currentText(), username,
             password)  #error, since we didnt check it, yet.
         self.__model.clear()
         self.load_accounts()
         host_accounts.start_checking(account_item.host,
                                      account_item.id_account)
Exemplo n.º 3
0
 def on_check(self):
     row = self.get_selected_row()
     host_accounts.start_checking(self.items[row][HOST], self.items[row][ACCOUNT_ID])
Exemplo n.º 4
0
 def on_check(self):
     row = self.get_selected_row()
     host_accounts.start_checking(self.items[row][HOST],
                                  self.items[row][ACCOUNT_ID])