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
Clément Fauconnier
ebae317723
change mode of magnifier on display view too
4 years ago
Clément Fauconnier
ba1bef4ab3
(should not happen but) prevent segfault if itemDelegate is null
4 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
4 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
4 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 !
4 years ago
Clément Fauconnier
cd4a66f90c
fixed an issue where font style would not be persisted correctly
4 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.
5 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).
5 years ago
Clément Fauconnier
275096f1f5
prevent focus loose without resizing textbox on each change
5 years ago
Clément Fauconnier
c81138d9be
detect scene modifications (object translations for exemple) even if object controls are not visible
5 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 )
6 years ago
Clément Fauconnier
fdecd32ec7
workaround for QFontDialog issue locking current font ( https://bugreports.qt.io/browse/QTBUG-79637 )
6 years ago
Clément Fauconnier
288b21c17f
improved behavior on font style changes
6 years ago
Clément Fauconnier
8081ab134b
fix an issue where the text could be in interaction mode without being selected
6 years ago
Clément Fauconnier
87892b6e61
recolor function of UBGraphicsTextItem should use scene's isDarkBackground instead of settings
6 years ago
Clément Fauconnier
b7095072b3
fixed autocompletion error in hasSelection()
6 years ago
Clément Fauconnier
80c63726f2
Revert "fixed autocompletion error in hasSelection()"
...
This reverts commit 63e5e8ecf4
.
6 years ago
Clément Fauconnier
63e5e8ecf4
fixed autocompletion error in hasSelection()
6 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))
6 years ago
Clément Fauconnier
a8fa4b0caa
fixed an issue where the cursor was no longer blinking after a color change
6 years ago
Clément Fauconnier
7e324283b4
fixed an issue where font family styles of a block with the same font family were lost when changing size
6 years ago
Clément Fauconnier
e228fb19e5
updated Copyright to 2018
7 years ago
Clément Fauconnier
e084bdbfb9
Revert "preventing bad behavior when playing with eraser"
...
This reverts commit 8fec7b23c3
.
8 years ago
Clément Fauconnier
8fec7b23c3
preventing bad behavior when playing with eraser
8 years ago
Clément Fauconnier
2a92fc1ba1
fade grid opacity on zooms lower than 0.7
8 years ago
Clément Fauconnier
1dcd59e307
changed old compass behavior to match with new strokes simplification
8 years ago
Clément Fauconnier
c2e16e5c87
fixed a bug where erasing a pen stroke with simplifyPenStrokes=true ereased every overlapping polygons of it
8 years ago
Clément Fauconnier
7ba25e9d5e
adapted image transformation when setting an image as a background
8 years ago
Clément Fauconnier
0d66ec255d
revert on composition mode on polygon items
8 years ago
Clément Fauconnier
b2f7c0c46d
(finished) fixed some bugs where 'Locked' and 'Visible on extended screen' properties were not persisted for groups
8 years ago
Clément Fauconnier
80a7b898be
(WIP) fixed some bugs where 'Locked' and 'Visible on extended screen' properties were not persisted for groups'
8 years ago
Clément Fauconnier
773dab5cf7
persist view position on each scene of a document (only during session)
8 years ago
Clément Fauconnier
120ec4c37f
added an icon for 'set as background' action
8 years ago
Clément Fauconnier
3c6b06e332
fixed a bug where preview circles were not removed when changing stylus tool
8 years ago
Clément Fauconnier
68521209c3
missing fix on pickFont + DontUseNativeDialog on pickColor
8 years ago
Clément Fauconnier
f2b72c44cb
missing include
8 years ago
Clément Fauconnier
f76de41c64
fix an error where color/font pickers were attached to the wrong view
8 years ago