##// END OF EJS Templates
show a clock icon during the drag of the TimeWidget
trabillard -
r976:c96194eb986e
parent child
Show More
1 NO CONTENT: new file 100644, binary diff hidden
@@ -12,5 +12,6
12 12 <file>icones/previous.png</file>
13 13 <file>icones/unplot.png</file>
14 14 <file>icones/up.png</file>
15 <file>icones/time.png</file>
15 16 </qresource>
16 17 </RCC>
@@ -142,10 +142,8 void TimeWidget::mouseMoveEvent(QMouseEvent *event)
142 142
143 143 drag->setMimeData(mimeData);
144 144
145 auto pixmap = QPixmap(size());
146 render(&pixmap);
147 drag->setPixmap(pixmap);
148 drag->setHotSpot(impl->m_DragStartPosition);
145 auto pixmap = QPixmap{":/icones/time.png"};
146 drag->setPixmap(pixmap.scaledToWidth(22));
149 147
150 148 sqpApp->dragDropHelper().resetDragAndDrop();
151 149
General Comments 1
Under Review
author

Auto status change to "Under Review"

You need to be logged in to leave comments. Login now