Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py

changeset 2223
054c285dab38
parent 1764
ba0c21fd61f6
child 2302
f29e9405c851
equal deleted inserted replaced
2222:105f425944a2 2223:054c285dab38
16 from E5Gui import E5MessageBox 16 from E5Gui import E5MessageBox
17 17
18 from .SvnDiffDialog import SvnDiffDialog 18 from .SvnDiffDialog import SvnDiffDialog
19 19
20 from .Ui_SvnLogBrowserDialog import Ui_SvnLogBrowserDialog 20 from .Ui_SvnLogBrowserDialog import Ui_SvnLogBrowserDialog
21
22 import UI.PixmapCache
23 21
24 import Preferences 22 import Preferences
25 23
26 24
27 class SvnLogBrowserDialog(QDialog, Ui_SvnLogBrowserDialog): 25 class SvnLogBrowserDialog(QDialog, Ui_SvnLogBrowserDialog):
53 self.fromDate.setDisplayFormat("yyyy-MM-dd") 51 self.fromDate.setDisplayFormat("yyyy-MM-dd")
54 self.toDate.setDisplayFormat("yyyy-MM-dd") 52 self.toDate.setDisplayFormat("yyyy-MM-dd")
55 self.fromDate.setDate(QDate.currentDate()) 53 self.fromDate.setDate(QDate.currentDate())
56 self.toDate.setDate(QDate.currentDate()) 54 self.toDate.setDate(QDate.currentDate())
57 self.fieldCombo.setCurrentIndex(self.fieldCombo.findText(self.trUtf8("Message"))) 55 self.fieldCombo.setCurrentIndex(self.fieldCombo.findText(self.trUtf8("Message")))
58 self.clearRxEditButton.setIcon(UI.PixmapCache.getIcon("clearLeft.png"))
59 self.limitSpinBox.setValue(self.vcs.getPlugin().getPreferences("LogLimit")) 56 self.limitSpinBox.setValue(self.vcs.getPlugin().getPreferences("LogLimit"))
60 self.stopCheckBox.setChecked(self.vcs.getPlugin().getPreferences("StopLogOnCopy")) 57 self.stopCheckBox.setChecked(self.vcs.getPlugin().getPreferences("StopLogOnCopy"))
61 58
62 self.__messageRole = Qt.UserRole 59 self.__messageRole = Qt.UserRole
63 self.__changesRole = Qt.UserRole + 1 60 self.__changesRole = Qt.UserRole + 1
576 topItem.setHidden(True) 573 topItem.setHidden(True)
577 if topItem is currentItem: 574 if topItem is currentItem:
578 self.messageEdit.clear() 575 self.messageEdit.clear()
579 self.filesTree.clear() 576 self.filesTree.clear()
580 577
581 @pyqtSlot()
582 def on_clearRxEditButton_clicked(self):
583 """
584 Private slot called by a click of the clear RX edit button.
585 """
586 self.rxEdit.clear()
587
588 @pyqtSlot(bool) 578 @pyqtSlot(bool)
589 def on_stopCheckBox_clicked(self, checked): 579 def on_stopCheckBox_clicked(self, checked):
590 """ 580 """
591 Private slot called, when the stop on copy/move checkbox is clicked 581 Private slot called, when the stop on copy/move checkbox is clicked
592 """ 582 """

eric ide

mercurial