Пример #1
0
void ScenarioView::dropEvent(QGraphicsSceneDragDropEvent* event)
{
  dropReceived(event->pos(), *event->mimeData());

  event->accept();
}
Пример #2
0
 void EnhancedWorkspace::dropEvent(QDropEvent * event)
 {
   emit dropReceived(event->mimeData(), dynamic_cast<QWidget*>(event->source()), -1);
   event->acceptProposedAction();
 }
Пример #3
0
void LayerView::dropEvent(QGraphicsSceneDragDropEvent *event)
{
    emit dropReceived(event->mimeData());
}
Пример #4
0
void TemporalScenarioView::dropEvent(QGraphicsSceneDragDropEvent *event)
{
    emit dropReceived(event->scenePos(), event->mimeData());

    event->accept();
}
Пример #5
0
void EventView::dropEvent(QGraphicsSceneDragDropEvent *event)
{
    emit dropReceived(event->scenePos(), event->mimeData());
}
Пример #6
0
void StateView::dropEvent(QGraphicsSceneDragDropEvent* event)
{
  dropReceived(*event->mimeData());
  setDilatation(m_selected);
}