public class DeviceBrowserScene extends TileScene
com.trolltech.qt.gui.QGraphicsScene.ItemIndexMethod, com.trolltech.qt.gui.QGraphicsScene.SceneLayer, com.trolltech.qt.gui.QGraphicsScene.SceneLayers
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 |
---|---|
com.trolltech.qt.QSignalEmitter.Signal1<Tile> |
updateTile |
cols, currX, currY, cursorPen, device, drawnTiles, highlit, lineWidth, mousePressed, prevX, prevY, qImage, rows, sceneSize, tileOccupantCount, tileSize, tileXMap, tileYMap, updateStatus
Constructor and Description |
---|
DeviceBrowserScene(Device device,
boolean hideTiles,
boolean drawPrimitives,
DeviceBrowser browser) |
Modifier and Type | Method and Description |
---|---|
void |
clearCurrentLines() |
void |
drawConnectingWires(Tile tile,
int wire) |
void |
drawWire(Tile src,
int wireSrc,
Tile dst,
int wireDst) |
void |
drawWire(Tile src,
Tile dst) |
void |
mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent event) |
void |
mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent event) |
drawBackground, getCurrX, getCurrY, getDesign, getDevice, getDrawnTileX, getDrawnTileY, getSceneSize, getTile, getTile, getTileSize, initializeScene, isUseImage, mouseMoveEvent, setDesign, setDevice, setUseImage, updateCurrXY, updateCursor
activeWindow, addEllipse, addEllipse, addEllipse, addEllipse, addEllipse, addEllipse, addItem, addLine, addLine, addLine, addLine, addPath, addPath, addPath, addPixmap, addPolygon, addPolygon, addPolygon, addRect, addRect, addRect, addRect, addRect, addRect, addSimpleText, addSimpleText, addText, addText, addWidget, addWidget, addWidget, advance, backgroundBrush, bspTreeDepth, clear, clearFocus, clearSelection, collidingItems, collidingItems, createItemGroup, destroyItemGroup, event, eventFilter, focusItem, font, foregroundBrush, fromNativePointer, hasFocus, height, inputMethodQuery, invalidate, invalidate, invalidate, invalidate, invalidate, invalidate, invalidate, isSortCacheEnabled, itemAt, itemAt, itemIndexMethod, items, items, items, items, items, items, items, items, items, items, itemsBoundingRect, mouseGrabberItem, palette, removeItem, render, render, render, render, sceneRect, selectedItems, selectionArea, setActiveWindow, setBackgroundBrush, setBspTreeDepth, setFocus, setFocus, setFocusItem, setFocusItem, setFont, setForegroundBrush, setItemIndexMethod, setPalette, setSceneRect, setSceneRect, setSelectionArea, setSelectionArea, setSortCacheEnabled, setStickyFocus, setStyle, stickyFocus, style, update, update, update, views, width
blockSignals, children, connectSlotsByName, disposeLater, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, 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 com.trolltech.qt.QSignalEmitter.Signal1<Tile> updateTile
public DeviceBrowserScene(Device device, boolean hideTiles, boolean drawPrimitives, DeviceBrowser browser)
public void clearCurrentLines()
public void drawConnectingWires(Tile tile, int wire)
public void mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent event)
mouseDoubleClickEvent
in class TileScene
public void mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent event)
mouseReleaseEvent
in class com.trolltech.qt.gui.QGraphicsScene