public class TileView
extends com.trolltech.qt.gui.QGraphicsView
com.trolltech.qt.gui.QGraphicsView.CacheMode, com.trolltech.qt.gui.QGraphicsView.CacheModeFlag, com.trolltech.qt.gui.QGraphicsView.DragMode, com.trolltech.qt.gui.QGraphicsView.OptimizationFlag, com.trolltech.qt.gui.QGraphicsView.OptimizationFlags, com.trolltech.qt.gui.QGraphicsView.ViewportAnchor, com.trolltech.qt.gui.QGraphicsView.ViewportUpdateMode
com.trolltech.qt.gui.QFrame.Shadow, com.trolltech.qt.gui.QFrame.Shape, com.trolltech.qt.gui.QFrame.StyleMask
com.trolltech.qt.gui.QWidget.RenderFlag, com.trolltech.qt.gui.QWidget.RenderFlags
com.trolltech.qt.QSignalEmitter.AbstractSignal, com.trolltech.qt.QSignalEmitter.PrivateSignal0, com.trolltech.qt.QSignalEmitter.PrivateSignal1<A>, com.trolltech.qt.QSignalEmitter.PrivateSignal2<A,B>, com.trolltech.qt.QSignalEmitter.PrivateSignal3<A,B,C>, com.trolltech.qt.QSignalEmitter.PrivateSignal4<A,B,C,D>, com.trolltech.qt.QSignalEmitter.PrivateSignal5<A,B,C,D,E>, com.trolltech.qt.QSignalEmitter.PrivateSignal6<A,B,C,D,E,F>, com.trolltech.qt.QSignalEmitter.PrivateSignal7<A,B,C,D,E,F,G>, com.trolltech.qt.QSignalEmitter.PrivateSignal8<A,B,C,D,E,F,G,H>, com.trolltech.qt.QSignalEmitter.PrivateSignal9<A,B,C,D,E,F,G,H,I>, com.trolltech.qt.QSignalEmitter.Signal0, com.trolltech.qt.QSignalEmitter.Signal1<A>, com.trolltech.qt.QSignalEmitter.Signal2<A,B>, com.trolltech.qt.QSignalEmitter.Signal3<A,B,C>, com.trolltech.qt.QSignalEmitter.Signal4<A,B,C,D>, com.trolltech.qt.QSignalEmitter.Signal5<A,B,C,D,E>, com.trolltech.qt.QSignalEmitter.Signal6<A,B,C,D,E,F>, com.trolltech.qt.QSignalEmitter.Signal7<A,B,C,D,E,F,G>, com.trolltech.qt.QSignalEmitter.Signal8<A,B,C,D,E,F,G,H>, com.trolltech.qt.QSignalEmitter.Signal9<A,B,C,D,E,F,G,H,I>
Modifier and Type | Field and Description |
---|---|
boolean |
hasPanned |
Constructor and Description |
---|
TileView(com.trolltech.qt.gui.QGraphicsScene scene)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addPBlockMode(boolean b) |
void |
keyPressEvent(com.trolltech.qt.gui.QKeyEvent event)
This method gets called when a key on the keyboard is pressed.
|
void |
mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent event)
This method is called when the mouse moves in the window.
|
void |
mousePressEvent(com.trolltech.qt.gui.QMouseEvent event)
This method is called when any mouse button is pressed.
|
void |
mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent event)
This method is called when any mouse button is released.
|
void |
wheelEvent(com.trolltech.qt.gui.QWheelEvent event)
This method is called when the mouse wheel or scroll is used.
|
void |
zoomIn() |
void |
zoomOut() |
alignment, backgroundBrush, cacheMode, centerOn, centerOn, centerOn, dragMode, ensureVisible, ensureVisible, ensureVisible, ensureVisible, ensureVisible, ensureVisible, ensureVisible, ensureVisible, ensureVisible, event, fitInView, fitInView, fitInView, fitInView, fitInView, fitInView, foregroundBrush, fromNativePointer, inputMethodQuery, invalidateScene, invalidateScene, invalidateScene, invalidateScene, isInteractive, itemAt, itemAt, items, items, items, items, items, items, items, items, items, items, items, mapFromScene, mapFromScene, mapFromScene, mapFromScene, mapFromScene, mapFromScene, mapToScene, mapToScene, mapToScene, mapToScene, mapToScene, mapToScene, matrix, optimizationFlags, render, render, render, render, renderHints, resetCachedContent, resetMatrix, resetTransform, resizeAnchor, rotate, rubberBandSelectionMode, scale, scene, sceneRect, setAlignment, setAlignment, setBackgroundBrush, setCacheMode, setCacheMode, setDragMode, setForegroundBrush, setInteractive, setMatrix, setMatrix, setOptimizationFlag, setOptimizationFlag, setOptimizationFlags, setOptimizationFlags, setRenderHint, setRenderHint, setRenderHints, setRenderHints, setResizeAnchor, setRubberBandSelectionMode, setScene, setSceneRect, setSceneRect, setTransform, setTransform, setTransformationAnchor, setViewportUpdateMode, shear, sizeHint, transform, transformationAnchor, translate, updateScene, updateSceneRect, viewportTransform, viewportUpdateMode
addScrollBarWidget, addScrollBarWidget, cornerWidget, horizontalScrollBar, horizontalScrollBarPolicy, maximumViewportSize, minimumSizeHint, paintEngine, scrollBarWidgets, scrollBarWidgets, setCornerWidget, setHorizontalScrollBar, setHorizontalScrollBarPolicy, setVerticalScrollBar, setVerticalScrollBarPolicy, setViewport, verticalScrollBar, verticalScrollBarPolicy, viewport
frameRect, frameShadow, frameShape, frameStyle, frameWidth, lineWidth, midLineWidth, setFrameRect, setFrameShadow, setFrameShape, setFrameStyle, setLineWidth, setMidLineWidth
__qt_cast_to_QPaintDevice, acceptDrops, accessibleDescription, accessibleName, actions, activateWindow, addAction, addActions, adjustSize, autoFillBackground, backgroundRole, baseSize, childAt, childAt, childrenRect, childrenRegion, clearFocus, clearMask, close, contentsRect, contextMenuPolicy, createWinId, cursor, depth, devType, effectiveWinId, ensurePolished, focusPolicy, focusProxy, focusWidget, font, fontInfo, fontMetrics, foregroundRole, frameGeometry, frameSize, geometry, getContentsMargins, grabKeyboard, grabMouse, grabMouse, grabShortcut, grabShortcut, graphicsProxyWidget, hasFocus, hasMouseTracking, height, heightForWidth, heightMM, hide, inputContext, insertAction, insertActions, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isVisible, isVisibleTo, isWindow, isWindowModified, keyboardGrabber, layout, layoutDirection, locale, logicalDpiX, logicalDpiY, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, metric, minimumHeight, minimumSize, minimumWidth, mouseGrabber, move, move, nativeParentWidget, nextInFocusChain, normalGeometry, numColors, overrideWindowFlags, overrideWindowFlags, overrideWindowState, overrideWindowState, paintingActive, palette, parentWidget, physicalDpiX, physicalDpiY, pos, raise, rect, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, render, render, render, render, render, render, render, render, render, repaint, repaint, repaint, repaint, resize, resize, restoreGeometry, saveGeometry, scroll, scroll, setAcceptDrops, setAccessibleDescription, setAccessibleName, setAttribute, setAttribute, setAutoFillBackground, setBackgroundRole, setBaseSize, setBaseSize, setContentsMargins, setContentsMargins, setContextMenuPolicy, setCursor, setDisabled, setEnabled, setFixedHeight, setFixedSize, setFixedSize, setFixedWidth, setFocus, setFocus, setFocusPolicy, setFocusProxy, setFont, setForegroundRole, setGeometry, setGeometry, setHidden, setInputContext, setLayout, setLayoutDirection, setLocale, setMask, setMask, setMaximumHeight, setMaximumSize, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumSize, setMinimumWidth, setMouseTracking, setPalette, setParent, setParent, setParent, setShortcutAutoRepeat, setShortcutAutoRepeat, setShortcutEnabled, setShortcutEnabled, setSizeIncrement, setSizeIncrement, setSizePolicy, setSizePolicy, setStatusTip, setStyle, setStyleSheet, setTabOrder, setToolTip, setUpdatesEnabled, setVisible, setWhatsThis, setWindowFilePath, setWindowFlags, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModality, setWindowModified, setWindowOpacity, setWindowRole, setWindowState, setWindowState, setWindowTitle, show, showFullScreen, showMaximized, showMinimized, showNormal, size, sizeIncrement, sizePolicy, stackUnder, statusTip, style, styleSheet, testAttribute, toolTip, underMouse, unsetCursor, unsetLayoutDirection, unsetLocale, update, update, update, update, updateGeometry, updatesEnabled, visibleRegion, whatsThis, width, widthMM, window, windowFilePath, windowFlags, windowIcon, windowIconText, windowModality, windowOpacity, windowRole, windowState, windowTitle, windowType, winId, x, y
blockSignals, children, connectSlotsByName, disposeLater, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, eventFilter, findChild, findChild, findChild, findChildren, findChildren, findChildren, findChildren, indexOfProperty, installEventFilter, isWidgetType, killTimer, moveToThread, objectName, parent, properties, property, removeEventFilter, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, toString, userProperty
public TileView(com.trolltech.qt.gui.QGraphicsScene scene)
scene
- The DeviceBrowser scenepublic void mousePressEvent(com.trolltech.qt.gui.QMouseEvent event)
mousePressEvent
in class com.trolltech.qt.gui.QGraphicsView
public void mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent event)
mouseReleaseEvent
in class com.trolltech.qt.gui.QGraphicsView
public void mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent event)
mouseMoveEvent
in class com.trolltech.qt.gui.QGraphicsView
public void wheelEvent(com.trolltech.qt.gui.QWheelEvent event)
wheelEvent
in class com.trolltech.qt.gui.QGraphicsView
public void keyPressEvent(com.trolltech.qt.gui.QKeyEvent event)
keyPressEvent
in class com.trolltech.qt.gui.QGraphicsView
public void zoomIn()
public void zoomOut()
public void addPBlockMode(boolean b)
b
-