Home
last modified time | relevance | path

Searched refs:dropEvent (Results 1 – 25 of 3341) sorted by relevance

12345678910>>...134

/dports/devel/okteta/okteta-0.26.6/gui/controller/
H A Ddropper.cpp102 bool Dropper::handleDropEvent(QDropEvent* dropEvent) in handleDropEvent() argument
107 && mByteArrayView->canReadData(dropEvent->mimeData())) { in handleDropEvent()
112 auto* sourceByteArrayView = qobject_cast<AbstractByteArrayView*>(dropEvent->source()); in handleDropEvent()
115 handleInternalDrag(dropEvent, sourceByteArrayView); in handleDropEvent()
118 mByteArrayView->pasteData(dropEvent->mimeData()); in handleDropEvent()
125 void Dropper::handleInternalDrag(QDropEvent* dropEvent, AbstractByteArrayView* sourceByteArrayView) in handleInternalDrag() argument
136 if (dropEvent->proposedAction() == Qt::MoveAction) { in handleInternalDrag()
161 dropEvent->mimeData()->data(QLatin1String(DropperOctetStreamFormatName)); in handleInternalDrag()
H A Ddropper.hpp35 bool handleDropEvent(QDropEvent* dropEvent);
41 void handleInternalDrag(QDropEvent* dropEvent, AbstractByteArrayView* sourceByteArrayView);
/dports/graphics/qgis/qgis-3.22.3/tests/src/gui/
H A Dtestqgsfilewidget.cpp100 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
106 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
117 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
126 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
133 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
142 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
148 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
152 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
159 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
168 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
[all …]
H A Dtestqgsmapcanvas.cpp524 …std::unique_ptr< QDropEvent > dropEvent = std::make_unique< QDropEvent >( QPoint( 10, 10 ), Qt::Co… in testDragDrop() local
525 mCanvas->dropEvent( dropEvent.get() ); in testDragDrop()
526 QVERIFY( !dropEvent->isAccepted() ); in testDragDrop()
528 mCanvas->dropEvent( dropEvent.get() ); in testDragDrop()
529 QVERIFY( !dropEvent->isAccepted() ); in testDragDrop()
531 mCanvas->dropEvent( dropEvent.get() ); in testDragDrop()
533 QVERIFY( dropEvent->isAccepted() ); in testDragDrop()
/dports/graphics/qgis-ltr/qgis-3.16.16/tests/src/gui/
H A Dtestqgsfilewidget.cpp100 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
106 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
117 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
126 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
133 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
142 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
148 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
152 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
159 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
168 qobject_cast< QgsFileDropEdit * >( w->lineEdit() )->dropEvent( event.get() ); in testDroppedFiles()
[all …]
H A Dtestqgsmapcanvas.cpp506 …std::unique_ptr< QDropEvent > dropEvent = qgis::make_unique< QDropEvent >( QPoint( 10, 10 ), Qt::C… in testDragDrop() local
507 mCanvas->dropEvent( dropEvent.get() ); in testDragDrop()
508 QVERIFY( !dropEvent->isAccepted() ); in testDragDrop()
510 mCanvas->dropEvent( dropEvent.get() ); in testDragDrop()
511 QVERIFY( !dropEvent->isAccepted() ); in testDragDrop()
513 mCanvas->dropEvent( dropEvent.get() ); in testDragDrop()
515 QVERIFY( dropEvent->isAccepted() ); in testDragDrop()
/dports/x11/plasma5-plasma-workspace/plasma-workspace-5.23.5/applets/icon/
H A Diconapplet.cpp426 void IconApplet::processDrop(QObject *dropEvent) in processDrop() argument
428 Q_ASSERT(dropEvent); in processDrop()
429 Q_ASSERT(isAcceptableDrag(dropEvent)); in processDrop()
431 const auto &urls = urlsFromDrop(dropEvent); in processDrop()
464 QDropEvent de(QPointF(dropEvent->property("x").toInt(), dropEvent->property("y").toInt()), in processDrop()
467 static_cast<Qt::MouseButtons>(dropEvent->property("buttons").toInt()), in processDrop()
476 bool IconApplet::isAcceptableDrag(QObject *dropEvent) in isAcceptableDrag() argument
478 Q_ASSERT(dropEvent); in isAcceptableDrag()
480 const auto &urls = urlsFromDrop(dropEvent); in isAcceptableDrag()
505 QList<QUrl> IconApplet::urlsFromDrop(QObject *dropEvent) in urlsFromDrop() argument
[all …]
H A Diconapplet.h51 Q_INVOKABLE void processDrop(QObject *dropEvent);
54 Q_INVOKABLE bool isAcceptableDrag(QObject *dropEvent);
67 static QList<QUrl> urlsFromDrop(QObject *dropEvent);
/dports/print/scribus-devel/scribus-1.5.7/scribus/ui/
H A Dfiledialogeventcatcher.cpp67 QDropEvent *dropEvent = static_cast<QDropEvent *>(e); in eventFilter() local
68 if (dropEvent) in eventFilter()
70 if (dropEvent->mimeData()->hasFormat("text/uri-list")) in eventFilter()
73 QList<QUrl> fileUrls = dropEvent->mimeData()->urls(); in eventFilter()
/dports/net/kcalutils/kcalutils-21.12.3/src/
H A Ddndfactory.cpp193 Calendar::Ptr DndFactory::createDropCalendar(QDropEvent *dropEvent) in createDropCalendar() argument
195 Calendar::Ptr calendar(createDropCalendar(dropEvent->mimeData())); in createDropCalendar()
197 dropEvent->accept(); in createDropCalendar()
218 Event::Ptr DndFactory::createDropEvent(QDropEvent *dropEvent) in createDropEvent() argument
220 Event::Ptr event = createDropEvent(dropEvent->mimeData()); in createDropEvent()
223 dropEvent->accept(); in createDropEvent()
245 Todo::Ptr DndFactory::createDropTodo(QDropEvent *dropEvent) in createDropTodo() argument
247 Todo::Ptr todo = createDropTodo(dropEvent->mimeData()); in createDropTodo()
250 dropEvent->accept(); in createDropTodo()
/dports/devel/kf5-kio/kio-5.89.0/autotests/
H A Ddropjobtest.cpp151 … QDropEvent dropEvent(QPoint(10, 10), Qt::CopyAction, &m_mimeData, Qt::LeftButton, Qt::NoModifier); in shouldDropToDesktopFile() local
152 KIO::DropJob *job = KIO::drop(&dropEvent, destUrl, KIO::HideProgressInfo); in shouldDropToDesktopFile()
204 QDropEvent dropEvent(QPoint(10, 10), dropAction, &m_mimeData, Qt::LeftButton, modifiers); in shouldDropToDirectory() local
254 QDropEvent dropEvent(QPoint(10, 10), dropAction, &m_mimeData, Qt::LeftButton, modifiers); in shouldDropToTrash() local
255 … KIO::DropJob *job = KIO::drop(&dropEvent, QUrl(QStringLiteral("trash:/")), KIO::HideProgressInfo); in shouldDropToTrash()
297 … QDropEvent dropEvent(QPoint(10, 10), Qt::CopyAction, &m_mimeData, Qt::LeftButton, Qt::NoModifier); in shouldDropFromTrash() local
298 … KIO::DropJob *job = KIO::drop(&dropEvent, QUrl::fromLocalFile(m_srcDir), KIO::HideProgressInfo); in shouldDropFromTrash()
328 … QDropEvent dropEvent(QPoint(10, 10), Qt::CopyAction, &m_mimeData, Qt::LeftButton, Qt::NoModifier); in shouldDropTrashRootWithoutMovingAllTrashedFiles() local
329 KIO::DropJob *job = KIO::drop(&dropEvent, destUrl, KIO::HideProgressInfo); in shouldDropTrashRootWithoutMovingAllTrashedFiles()
401 KIO::DropJob *job = KIO::drop(&dropEvent, destUrl, KIO::HideProgressInfo); in shouldDropToDirectoryWithPopup()
[all …]
/dports/misc/parley/parley-21.12.3/src/editor/
H A Dimagechooserwidget.cpp91 QDropEvent *dropEvent = dynamic_cast<QDropEvent *>(event); in eventFilter() local
92 if ((dropEvent != NULL) && (dropEvent->mimeData() != NULL)) { in eventFilter()
93 const QMimeData *mimeData(dropEvent->mimeData()); in eventFilter()
H A Dmultiplechoicewidget.cpp114 QDropEvent *dropEvent = static_cast<QDropEvent *>(event); in eventFilter() local
116 if ((dropEvent->mimeData() != NULL) && dropEvent->mimeData()->hasText()) { in eventFilter()
117 QStringList choices = dropEvent->mimeData()->text().split('\n'); in eventFilter()
/dports/graphics/digikam/digikam-7.4.0/core/libs/dragdrop/
H A Ddragdropimplementations.h152 void dropEvent(QDropEvent* e);
163 void dropEvent(QDropEvent* e) override \
164 { ParentViewClass::dropEvent(e); \
165 DragDropViewImplementation::dropEvent(e); } \
/dports/devel/kf5-kio/kio-5.89.0/src/widgets/
H A Ddropjob.cpp71 …DropJobPrivate(const QDropEvent *dropEvent, const QUrl &destUrl, DropJobFlags dropjobFlags, JobFla… in DropJobPrivate() argument
73 …, m_mimeData(dropEvent->mimeData()) // Extract everything from the dropevent, since it will be del… in DropJobPrivate()
75 , m_dropAction(dropEvent->dropAction()) in DropJobPrivate()
76 , m_relativePos(dropEvent->pos()) in DropJobPrivate()
77 , m_keyboardModifiers(dropEvent->keyboardModifiers()) in DropJobPrivate()
150 …static inline DropJob *newJob(const QDropEvent *dropEvent, const QUrl &destUrl, DropJobFlags dropj… in newJob() argument
152 DropJob *job = new DropJob(*new DropJobPrivate(dropEvent, destUrl, dropjobFlags, flags)); in newJob()
603 DropJob *KIO::drop(const QDropEvent *dropEvent, const QUrl &destUrl, JobFlags flags) in drop() argument
605 return DropJobPrivate::newJob(dropEvent, destUrl, KIO::DropJobDefaultFlags, flags); in drop()
608 DropJob *KIO::drop(const QDropEvent *dropEvent, const QUrl &destUrl, DropJobFlags dropjobFlags, Job… in drop() argument
[all …]
/dports/textproc/goldendict/goldendict-73ec1b5/
H A Dtreeview.cc7 void TreeView::dropEvent( QDropEvent * event ) in dropEvent() function in TreeView
9 QTreeView::dropEvent( event ); in dropEvent()
/dports/irc/konversation/konversation-21.12.3/src/config/
H A Dhighlighttreewidget.cpp16 void HighlightTreeWidget::dropEvent(QDropEvent *event) in dropEvent() function in HighlightTreeWidget
18 QTreeWidget::dropEvent(event); in dropEvent()
/dports/databases/kexi/kexi-3.2.0/src/plugins/forms/widgets/main/
H A DKexiStandardContainerFormWidgets.cpp61 void ContainerWidget::dropEvent(QDropEvent *e) in dropEvent() function in ContainerWidget
63 QWidget::dropEvent(e); in dropEvent()
84 void GroupBox::dropEvent(QDropEvent *e) in dropEvent() function in GroupBox
86 QGroupBox::dropEvent(e); in dropEvent()
124 void KFDTabWidget::dropEvent(QDropEvent *e) in dropEvent() function in KFDTabWidget
126 TabWidgetBase::dropEvent(e); in dropEvent()
/dports/astro/qmapshack/qmapshack-V_1.16.1/src/qmapshack/gis/summary/
H A DCGisSummaryDropZone.cpp89 void CGisSummaryDropZone::dropEvent(QDropEvent* e) in dropEvent() function in CGisSummaryDropZone
99 return QLabel::dropEvent(e); in dropEvent()
106 return QLabel::dropEvent(e); in dropEvent()
/dports/audio/bambootracker/BambooTracker-0.4.5/BambooTracker/gui/
H A Ddrop_detect_list_widget.cpp35 void DropDetectListWidget::dropEvent(QDropEvent* event) in dropEvent() function in DropDetectListWidget
37 QListWidget::dropEvent(event); in dropEvent()
/dports/multimedia/shotcut/shotcut-21.03.21/src/widgets/
H A Dplaylistlistview.cpp26 void PlaylistListView::dropEvent(QDropEvent* event) in dropEvent() function in PlaylistListView
33 QListView::dropEvent(event); in dropEvent()
H A Dplaylisttable.cpp47 void PlaylistTable::dropEvent(QDropEvent* event) in dropEvent() function in PlaylistTable
54 QTableView::dropEvent(event); in dropEvent()
/dports/games/ksirk/ksirk-21.12.3/ksirkskineditor/
H A Dksirkskineditorscene.cpp66 void Scene::dropEvent ( QGraphicsSceneDragDropEvent * event ) in dropEvent() function in KsirkSkinEditor::Scene
69 QGraphicsScene::dropEvent(event); in dropEvent()
/dports/devel/okteta/okteta-0.26.6/libs/kasten/gui/shell/
H A Dtabbar.cpp68 void TabBar::dropEvent(QDropEvent* event) in dropEvent() function in Kasten::TabBar
75 QTabBar::dropEvent(event); in dropEvent()
/dports/archivers/v1541commander/v1541commander-1.1/src/bin/v1541commander/
H A Dcbmdosfslistview.cpp49 void CbmdosFsListView::dropEvent(QDropEvent *event) in dropEvent() function in CbmdosFsListView
55 QListView::dropEvent(event); in dropEvent()

12345678910>>...134