Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
3c5d10e0
Commit
3c5d10e0
authored
Nov 03, 2017
by
Clément Fauconnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable movePage icons + drag and drop thumbnail sized correctly
parent
ae559ac3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
UBBoardThumbnailsView.cpp
src/gui/UBBoardThumbnailsView.cpp
+1
-1
UBThumbnailWidget.cpp
src/gui/UBThumbnailWidget.cpp
+2
-1
No files found.
src/gui/UBBoardThumbnailsView.cpp
View file @
3c5d10e0
...
...
@@ -219,7 +219,7 @@ void UBBoardThumbnailsView::mousePressAndHoldEvent(QPoint pos)
mDropSource
=
item
;
mDropTarget
=
item
;
QPixmap
pixmap
=
item
->
widget
()
->
grab
().
scaledToWidth
(
UBSettings
::
defaultThumbnailWidth
);
QPixmap
pixmap
=
item
->
widget
()
->
grab
().
scaledToWidth
(
mThumbnailWidth
/
2
);
QDrag
*
drag
=
new
QDrag
(
this
);
drag
->
setMimeData
(
new
QMimeData
());
...
...
src/gui/UBThumbnailWidget.cpp
View file @
3c5d10e0
...
...
@@ -901,10 +901,11 @@ void UBDraggableThumbnail::mousePressEvent(QGraphicsSceneMouseEvent *event)
deletePage
();
else
if
(
getIcon
(
"duplicate"
)
->
triggered
(
p
.
x
()))
duplicatePage
();
/*
else if(movableUp() && getIcon("moveUp")->triggered(p.x()))
moveUpPage();
else if (movableDown() && getIcon("moveDown")->triggered(p.x()))
moveDownPage
();
moveDownPage();
*/
}
event
->
accept
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment