Пример #1
0
 def checkboxsignal_udp(self):
     fg = bool(self.checkBox_4.isChecked())
     share.new_change_flag("UDP", fg)
     if fg and self.fnotification:
         notification(['Event Trigger', 'UDP Verbose Start'])
         self.addBottomText('Event Trigger : ' + 'UDP Verbose Start')
     if not fg:
         notification(['Event Trigger', 'UDP Verbose Stop'])
         self.addBottomText('Event Trigger : ' + 'UDP Verbose Stop')
     self.sniff.verbose_udp = fg
Пример #2
0
 def makeStat(self):
     background = bool(self.uiWindow1.checkBox.checkState())
     autoblocking = bool(self.uiWindow1.checkBox_2.checkState())
     notification = bool(self.uiWindow1.checkBox_3.checkState())
     #change_flag(background=background, autoblocking=autoblocking, notification=notification)
     new_change_flag("BACKGROUND", background)
     new_change_flag("AUTOBLOCKING", autoblocking)
     new_change_flag("NOTIFICAIION", notification)