overview.core

Overview pannel for GDAL raster bands.

Functions

overrideCursor(func)

Classes

BandOverviewDock(app[, flags])
NavigationGraphicsView([parent]) Graphics view for dataset navigation.
OverviewController(app, **kwargs)
class overview.core.BandOverviewDock(app, flags=<PyQt4.QtCore.WindowFlags object at 0x48667c0>, **kwargs)[source]

Bases: PyQt4.QtGui.QDockWidget

OVRMAXSIZE = 10485760
centerMainViewOn(scenepos)[source]
reset()[source]
setItem(*args, **kwargs)[source]
updateMainViewBox(srcview=None)[source]
class overview.core.NavigationGraphicsView(parent=None, **kwargs)[source]

Bases: PyQt4.QtGui.QGraphicsView

Graphics view for dataset navigation.

The view usually displays an auto-scalled low resolution overview of the scene with a red box indicating the area currently displayed in the high resolution view.

Signals :
BOXCOLOR = <PyQt4.QtGui.QColor object at 0x4866750>
autoscale
drawForeground(painter, rect)[source]
fitInView(rect=None, aspectRatioMode=1)[source]
getbox()[source]
mouseMoveEvent(event)[source]
mouseMoved

SIGNAL: it is emitted when the mouse is moved on the view

Parameters:
  • point – the scene position
  • mousebutton – the ID of the pressed button
  • dragmode – current darg mode
C++ signature:

void mouseMoved(QPointF, Qt::MouseButtons, QGraphicsView::DragMode)

mousePressEvent(event)[source]
mousePressed

SIGNAL: it is emitted when a mouse button is presses on the view

Parameters:
  • point – the scene position
  • mousebutton – the ID of the pressed button
  • dragmode – current darg mode
C++ signature:

void mousePressed(QPointF, Qt::MouseButtons, QGraphicsView::DragMode)

resizeEvent(event)[source]
setbox(box)[source]
viewbox

viewport box in scene coordinates

class overview.core.OverviewController(app, **kwargs)[source]

Bases: PyQt4.QtCore.QObject

onItemChanged(item)[source]
onNewPos(pos, buttons, dragmode)[source]
onSubWindowChanged(subwin=None)[source]
onWindowClosed()[source]

Get GSDView at SourceForge.net. Fast, secure and Free Open Source software downloads

Previous topic

overview.info

Next topic

positiontracker

This Page