1 | NO CONTENT: new file 100644, binary diff hidden |
|
NO CONTENT: new file 100644, binary diff hidden |
@@ -12,5 +12,6 | |||||
12 | <file>icones/previous.png</file> |
|
12 | <file>icones/previous.png</file> | |
13 | <file>icones/unplot.png</file> |
|
13 | <file>icones/unplot.png</file> | |
14 | <file>icones/up.png</file> |
|
14 | <file>icones/up.png</file> | |
|
15 | <file>icones/time.png</file> | |||
15 | </qresource> |
|
16 | </qresource> | |
16 | </RCC> |
|
17 | </RCC> |
@@ -142,10 +142,8 void TimeWidget::mouseMoveEvent(QMouseEvent *event) | |||||
142 |
|
142 | |||
143 | drag->setMimeData(mimeData); |
|
143 | drag->setMimeData(mimeData); | |
144 |
|
144 | |||
145 |
auto pixmap = QPixmap |
|
145 | auto pixmap = QPixmap{":/icones/time.png"}; | |
146 | render(&pixmap); |
|
146 | drag->setPixmap(pixmap.scaledToWidth(22)); | |
147 | drag->setPixmap(pixmap); |
|
|||
148 | drag->setHotSpot(impl->m_DragStartPosition); |
|
|||
149 |
|
147 | |||
150 | sqpApp->dragDropHelper().resetDragAndDrop(); |
|
148 | sqpApp->dragDropHelper().resetDragAndDrop(); | |
151 |
|
149 |
General Comments 0
You need to be logged in to leave comments.
Login now