Implemented hand dragging cursor
This commit is contained in:
1 parent
8f052e70b9
commit
05abbcbe8e
3 files changed
+5
-1
No files matched your search
@@ -94,9 +94,11 @@ void StripWidget::setOwner(const QString &owner)
|
||||
void StripWidget::beginDrag()
|
||||
{
|
||||
setGraphicsEffect(new QGraphicsOpacityEffect);
|
||||
m_ui->title->setCursor(Qt::ClosedHandCursor);
|
||||
}
|
||||
|
||||
void StripWidget::endDrag()
|
||||
{
|
||||
setGraphicsEffect(nullptr);
|
||||
m_ui->title->setCursor(Qt::OpenHandCursor);
|
||||
}
|
||||
Reference in new issue
Block a user