121 @type int |
121 @type int |
122 @exception RuntimeError raised when not implemented |
122 @exception RuntimeError raised when not implemented |
123 """ |
123 """ |
124 raise RuntimeError("Not implemented") |
124 raise RuntimeError("Not implemented") |
125 |
125 |
|
126 def isBackwardAvailable(self): |
|
127 """ |
|
128 Public method to check, if stepping backward through the history is |
|
129 available. |
|
130 |
|
131 @exception RuntimeError raised when not implemented |
|
132 """ |
|
133 raise RuntimeError("Not implemented") |
|
134 return False |
|
135 |
|
136 def isForwardAvailable(self): |
|
137 """ |
|
138 Public method to check, if stepping forward through the history is |
|
139 available. |
|
140 |
|
141 @exception RuntimeError raised when not implemented |
|
142 """ |
|
143 raise RuntimeError("Not implemented") |
|
144 return False |
|
145 |
126 def scaleUp(self): |
146 def scaleUp(self): |
127 """ |
147 """ |
128 Public method to zoom in. |
148 Public method to zoom in. |
129 |
149 |
130 @exception RuntimeError raised when not implemented |
150 @exception RuntimeError raised when not implemented |
133 |
153 |
134 def scaleDown(self): |
154 def scaleDown(self): |
135 """ |
155 """ |
136 Public method to zoom out. |
156 Public method to zoom out. |
137 |
157 |
|
158 @exception RuntimeError raised when not implemented |
|
159 """ |
|
160 raise RuntimeError("Not implemented") |
|
161 |
|
162 def setScale(self, scale): |
|
163 """ |
|
164 Public method to set the zoom level. |
|
165 |
|
166 @param scale zoom level to set |
|
167 @type int |
138 @exception RuntimeError raised when not implemented |
168 @exception RuntimeError raised when not implemented |
139 """ |
169 """ |
140 raise RuntimeError("Not implemented") |
170 raise RuntimeError("Not implemented") |
141 |
171 |
142 def resetScale(self): |
172 def resetScale(self): |