thomas_lucky13
fd4852c6a4
fix Delegate item
2 years ago
thomas_lucky13
ed46bc6121
vector styles
2 years ago
thomas_lucky13
a4a299a84c
vectorItem draw/erase/undo
2 years ago
thomas_lucky13
c6ca99f84b
Draw dashed and dotted lines
2 years ago
thomas_lucky13
5530f91744
toolbar
2 years ago
thomas_lucky13
0eab8cd019
images
2 years ago
thomas_lucky13
c42433e400
New libpalette
2 years ago
thomas_lucky13
a6ba17dbc7
New cursors
2 years ago
letsfindaway
29861cab73
fix: handling of active ruler
...
- make UBDrawingController::mActiveRuler private
- use guarded pointer to avoid dangling pointer dereferencing
- provide public accessor functions
- consider a ruler active only if it is visible
2 years ago
Clément Fauconnier
d95a408683
updated copyright
3 years ago
Clément Fauconnier
d562cd103e
ticker would not always be updated on osx
3 years ago
Clément Fauconnier
2118671a14
remove register keyword (in unused code) as it is no longer accpted in C++17 with clang
3 years ago
Clément Fauconnier
d206b31a0b
fixed an issue where the rotate cursor would not update correctly after deselection/selection
3 years ago
Clément Fauconnier
eedf2867a1
fixed an issue where the ticker would not update after clicking stop + fixed an issue on linux where play button would have to be clicked several times to replay a video that has been watched entirely (the RessourceError message remains but the user just need to click play once now)
3 years ago
Clément Fauconnier
1374fb3698
don't call play/pause on osx to display the first frame (the video won't pause)
3 years ago
Clément Fauconnier
bbf134d1fe
fixed a bug where grouped items with file dependencies would not be properly copied when copying a page from a document to another
3 years ago
Clément Fauconnier
22acd9888a
fixed a bug where by calling createDefaultFont at every UBGraphicsTextItem instanciation, some fonts styles could be overridden
3 years ago
Clément Fauconnier
e33fc007c7
prevent a crash when clearBackground then undo then redo then clearBackground
3 years ago
letsfindaway
136297d695
fix: cursow shown on a ruler using pen tool
...
- when using the pen tool on a ruler the "normal" cursor was shown
- instead the special drawRulerLine cursor should be shown
- UBGraphicsScene::drawPenCircle update cursor only with no active ruler
3 years ago
Clément Fauconnier
ebae317723
change mode of magnifier on display view too
3 years ago
Clément Fauconnier
ba1bef4ab3
(should not happen but) prevent segfault if itemDelegate is null
3 years ago
Clément Fauconnier
a76d0d85c1
fixed an issue where eraseBackground then undo would make a PDF being partly attached as a background and behave as an object
3 years ago
Clément Fauconnier
ec5f202ef1
always verify movingItem is not null + don't call QGraphicsView::mouseMoveEvent if movingItem is null + don't display grey rectangle with the magic finger
3 years ago
Clément Fauconnier
61721b7f3b
clear the error message after displaying it as it prevents any attempt to play the media if mError is not empty !
3 years ago
Clément Fauconnier
cd4a66f90c
fixed an issue where font style would not be persisted correctly
3 years ago
Clément Fauconnier
026ddb3c56
fixed some issues where change align state could result on loosing last changes (color, size, content)
4 years ago
letsfindaway
19d74900a4
take systemScaleFactor into account for pointer diameter
4 years ago
letsfindaway
f2fce3cc0f
detect and handle change of stylusTool while device pressed
...
- Basically simulate a device release with the previous tool and a
device press with the new tool to correctly terminate the previous
action.
- Hide the eraser when switching to another tool.
4 years ago
letsfindaway
e0c5832200
Disable axes and intermediate lines by default, capture axes
4 years ago
letsfindaway
541083a972
add option to draw intermediate grid lines
4 years ago
letsfindaway
b30b3fd522
add cpp tool to draw a coordinate system
4 years ago
Clément Fauconnier
36a9cdaccd
prevent segfault if strokesgroup is null
4 years ago
Clément Fauconnier
07eb67ace9
fixed an issue where widget items would not have the correct OperationMode
4 years ago
jpapale
4293bfa51f
Ported to QT5.9, which fixes 'MAC desktop mode not forwarding events'.
...
Cleanup related to QWebkit.
4 years ago
John Papale
a1074cc7d6
Added 'ZoomBehavior=3' (compromise loss vs speed) and 'ZoomBehavior=4' (multithreaded). Made sure pdf image cache is skipped in non GUI cases (ex. exporting pdf).
4 years ago
Clément Fauconnier
275096f1f5
prevent focus loose without resizing textbox on each change
4 years ago
Clément Fauconnier
c81138d9be
detect scene modifications (object translations for exemple) even if object controls are not visible
4 years ago
Victor "multun" Collod
a21fc24b75
initialize isResizing in UBGraphicsDelegateFrame
5 years ago
Victor "multun" Collod
038f9ed07b
initialise mDrawWithCompass in UBGraphicsScene
...
Detected using valgrind
5 years ago
Victor "multun" Collod
ab51a2eb24
fix uninitialized variable uses
...
I did a valgrind run to try and figure out why it OpenBoard crashes from
time to time, and found these two uninitialized variable uses.
5 years ago
Clément Fauconnier
54c800e467
workaround for QFontDialog issue locking current font ( https://bugreports.qt.io/browse/QTBUG-79637 )
5 years ago
Clément Fauconnier
fdecd32ec7
workaround for QFontDialog issue locking current font ( https://bugreports.qt.io/browse/QTBUG-79637 )
5 years ago
Clément Fauconnier
288b21c17f
improved behavior on font style changes
5 years ago
Clément Fauconnier
8081ab134b
fix an issue where the text could be in interaction mode without being selected
5 years ago
Clément Fauconnier
87892b6e61
recolor function of UBGraphicsTextItem should use scene's isDarkBackground instead of settings
5 years ago
Clément Fauconnier
b7095072b3
fixed autocompletion error in hasSelection()
5 years ago
Clément Fauconnier
80c63726f2
Revert "fixed autocompletion error in hasSelection()"
...
This reverts commit 63e5e8ecf4
.
5 years ago
Clément Fauconnier
63e5e8ecf4
fixed autocompletion error in hasSelection()
5 years ago
Clément Fauconnier
40c334c144
reuse last used color for newer text boxes (only if applied globally) + recolor text boxes on background changes (white text becomes black and black text becomes white (like for polygons))
5 years ago
Clément Fauconnier
a8fa4b0caa
fixed an issue where the cursor was no longer blinking after a color change
5 years ago