src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py

branch
eric7
changeset 10690
fab36645aa7d
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10689:3ede487187f2 10690:fab36645aa7d
537 @type str 537 @type str
538 """ 538 """
539 EricMessageBox.critical(self, self.tr("Subversion Error"), msg) 539 EricMessageBox.critical(self, self.tr("Subversion Error"), msg)
540 540
541 @pyqtSlot(QDate) 541 @pyqtSlot(QDate)
542 def on_fromDate_dateChanged(self, date): 542 def on_fromDate_dateChanged(self, _date):
543 """ 543 """
544 Private slot called, when the from date changes. 544 Private slot called, when the from date changes.
545 545
546 @param date new date 546 @param _date new date (unused)
547 @type QDate 547 @type QDate
548 """ 548 """
549 self.__filterLogs() 549 self.__filterLogs()
550 550
551 @pyqtSlot(QDate) 551 @pyqtSlot(QDate)
552 def on_toDate_dateChanged(self, date): 552 def on_toDate_dateChanged(self, _date):
553 """ 553 """
554 Private slot called, when the from date changes. 554 Private slot called, when the from date changes.
555 555
556 @param date new date 556 @param _date new date (unused)
557 @type QDate 557 @type QDate
558 """ 558 """
559 self.__filterLogs() 559 self.__filterLogs()
560 560
561 @pyqtSlot(int) 561 @pyqtSlot(int)
562 def on_fieldCombo_activated(self, index): 562 def on_fieldCombo_activated(self, _index):
563 """ 563 """
564 Private slot called, when a new filter field is selected. 564 Private slot called, when a new filter field is selected.
565 565
566 @param index index of the selected entry 566 @param _index index of the selected entry (unused)
567 @type int 567 @type int
568 """ 568 """
569 self.__filterLogs() 569 self.__filterLogs()
570 570
571 @pyqtSlot(str) 571 @pyqtSlot(str)
572 def on_rxEdit_textChanged(self, txt): 572 def on_rxEdit_textChanged(self, _txt):
573 """ 573 """
574 Private slot called, when a filter expression is entered. 574 Private slot called, when a filter expression is entered.
575 575
576 @param txt filter expression 576 @param _txt filter expression (unused)
577 @type str 577 @type str
578 """ 578 """
579 self.__filterLogs() 579 self.__filterLogs()
580 580
581 def __filterLogs(self): 581 def __filterLogs(self):
616 if topItem is currentItem: 616 if topItem is currentItem:
617 self.messageEdit.clear() 617 self.messageEdit.clear()
618 self.filesTree.clear() 618 self.filesTree.clear()
619 619
620 @pyqtSlot(bool) 620 @pyqtSlot(bool)
621 def on_stopCheckBox_clicked(self, checked): 621 def on_stopCheckBox_clicked(self, _checked):
622 """ 622 """
623 Private slot called, when the stop on copy/move checkbox is clicked. 623 Private slot called, when the stop on copy/move checkbox is clicked.
624 624
625 @param checked flag indicating the check box state 625 @param _checked flag indicating the check box state (unused)
626 @type bool 626 @type bool
627 """ 627 """
628 self.vcs.getPlugin().setPreferences( 628 self.vcs.getPlugin().setPreferences(
629 "StopLogOnCopy", int(self.stopCheckBox.isChecked()) 629 "StopLogOnCopy", int(self.stopCheckBox.isChecked())
630 ) 630 )

eric ide

mercurial