Logo Search packages:      
Sourcecode: hgview version File versions  Download package

def hgviewlib::qt4::blockmatcher::BlockList::linkScrollBar (   self,
  sbar 
) [inherited]

Make the block list displayer be linked to the scrollbar

Definition at line 73 of file blockmatcher.py.

00073                                  :
        """
        Make the block list displayer be linked to the scrollbar
        """
        self._sbar = sbar
        self.setUpdatesEnabled(False)
        self.setMaximum(sbar.maximum())
        self.setMinimum(sbar.minimum())
        self.setPageStep(sbar.pageStep())
        self.setValue(sbar.value())        
        self.setUpdatesEnabled(True)
        self.connect(sbar, SIGNAL('valueChanged(int)'), self.setValue)
        self.connect(sbar, SIGNAL('rangeChanged(int, int)'), self.setRange)
        self.connect(self, SIGNAL('valueChanged(int)'), sbar.setValue)
        self.connect(self, SIGNAL('rangeChanged(int, int)'), sbar.setRange)
        self.connect(self, SIGNAL('pageStepChanged(int)'), sbar.setPageStep)

    def syncPageStep(self):


Generated by  Doxygen 1.6.0   Back to index