-
Notifications
You must be signed in to change notification settings - Fork 0
API Class CustomGraphicsView
Bo Chen edited this page Apr 23, 2026
·
1 revision
Custom Graphics View class.
- Module:
icescopy_aux - File:
src/icescopy_aux.py - Line:
180
- Bases:
QGraphicsView
Custom Graphics View class.
| Attribute | First assigned in | Line | Explanation |
|---|---|---|---|
main_window |
__init__ |
183 | Stores main window. |
preview_double_click_armed |
__init__ |
185 | Stores preview double click armed. |
preview_double_click_timer |
__init__ |
186 | Timer object used for preview double click timer. |
selected_items |
__init__ |
184 | Stores selected items. |
| Method | Line | Explanation |
|---|---|---|
__init__(scene, main_window) |
181 | Initializes the instance. |
| Method | Line | Explanation |
|---|---|---|
wheelEvent(event) |
203 | Qt wheel event handler. |
mousePressEvent(event) |
244 | Qt mouse-press event handler. |
focusInEvent(event) |
274 | Implements focus in event. |
mouseMoveEvent(event) |
278 | Qt mouse-move event handler. |
mouseDoubleClickEvent(event) |
286 | Qt mouse-double-click event handler. |
mouseReleaseEvent(event) |
310 | Qt mouse-release event handler. |
keyPressEvent(event) |
347 | Qt key-press event handler. |
| Method | Line | Explanation |
|---|---|---|
_clear_preview_double_click_arm() |
200 | Implements clear preview double click arm. |