103 """ |
103 """ |
104 self.setCurrentIndex(8) # index 8 is 100% |
104 self.setCurrentIndex(8) # index 8 is 100% |
105 self.__editingFinished() |
105 self.__editingFinished() |
106 |
106 |
107 @pyqtSlot(float) |
107 @pyqtSlot(float) |
|
108 @pyqtSlot("qreal") |
108 def setZoomFactor(self, zoomFactor): |
109 def setZoomFactor(self, zoomFactor): |
109 """ |
110 """ |
110 Public slot to set the current zoom factor. |
111 Public slot to set the current zoom factor. |
111 |
112 |
112 @param zoomFactor current zoom factor |
113 @param zoomFactor current zoom factor |