[ create a new paste ] login | about

Project: OSGeo
Link: http://osgeo.codepad.org/Gb8nUknr    [ raw code | output | fork ]

Python, pasted on Jul 29:
1
2
3
4
from PyQt4 import QtCore
qgis.utils.iface.mapNavToolToolBar().setAllowedAreas(QtCore.Qt.TopToolBarArea) # Toolbar can only be "attached" to the top area
qgis.utils.iface.mapNavToolToolBar().setIconSize(QtCore.QSize(200,200)) # Adapt to your screen resolution, you just have to see the toolbar here, and move it anywhere in the screen
qgis.utils.iface.mapNavToolToolBar().setIconSize(QtCore.QSize(20,20)) #Back to normal


Output:
1
2
3
4
Traceback (most recent call last):
  Line 1, in <module>
    from PyQt4 import QtCore
ImportError: No module named PyQt4


Create a new paste based on this one


Comments: