|
VR-Engage
2.3
|
Overrides startDrag() so that when the user drags a station card the cursor shows a compact rounded label with just the station name, making it easy to read which station is being dragged over the entity/role tree.
#include <stationListView.h>
Public Member Functions | |
| DtStationListView (QWidget *parent=nullptr) | |
Protected Member Functions | |
| void | mousePressEvent (QMouseEvent *event) override |
| void | mouseMoveEvent (QMouseEvent *event) override |
| void | startDrag (Qt::DropActions supportedActions) override |
Private Attributes | |
| QPoint | myDragStartPos |
| QPersistentModelIndex | myPressedIndex |
|
inlineexplicit |
References myDragStartPos, and myPressedIndex.
|
inlineoverrideprotected |
References myDragStartPos, and myPressedIndex.
|
inlineoverrideprotected |
References myDragStartPos, myPressedIndex, and startDrag().
|
inlineoverrideprotected |
References myPressedIndex, and makVre::StationNameRole.
Referenced by mouseMoveEvent().
|
private |
Referenced by DtStationListView(), mouseMoveEvent(), and mousePressEvent().
|
private |
Referenced by DtStationListView(), mouseMoveEvent(), mousePressEvent(), and startDrag().