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
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
6 years ago
Clément Fauconnier
e084bdbfb9
Revert "preventing bad behavior when playing with eraser"
...
This reverts commit 8fec7b23c3
.
7 years ago
Clément Fauconnier
8fec7b23c3
preventing bad behavior when playing with eraser
7 years ago
Clément Fauconnier
2a92fc1ba1
fade grid opacity on zooms lower than 0.7
7 years ago
Clément Fauconnier
1dcd59e307
changed old compass behavior to match with new strokes simplification
7 years ago
Clément Fauconnier
c2e16e5c87
fixed a bug where erasing a pen stroke with simplifyPenStrokes=true ereased every overlapping polygons of it
7 years ago
Clément Fauconnier
7ba25e9d5e
adapted image transformation when setting an image as a background
7 years ago
Clément Fauconnier
0d66ec255d
revert on composition mode on polygon items
7 years ago
Clément Fauconnier
b2f7c0c46d
(finished) fixed some bugs where 'Locked' and 'Visible on extended screen' properties were not persisted for groups
7 years ago
Clément Fauconnier
80a7b898be
(WIP) fixed some bugs where 'Locked' and 'Visible on extended screen' properties were not persisted for groups'
7 years ago
Clément Fauconnier
773dab5cf7
persist view position on each scene of a document (only during session)
7 years ago
Clément Fauconnier
120ec4c37f
added an icon for 'set as background' action
7 years ago
Clément Fauconnier
3c6b06e332
fixed a bug where preview circles were not removed when changing stylus tool
7 years ago
Clément Fauconnier
68521209c3
missing fix on pickFont + DontUseNativeDialog on pickColor
7 years ago
Clément Fauconnier
f2b72c44cb
missing include
7 years ago
Clément Fauconnier
f76de41c64
fix an error where color/font pickers were attached to the wrong view
7 years ago
Clément Fauconnier
8a9edb36cc
fixed a crash on desktop mode
7 years ago
Craig Watson
7954499950
Initialize forgotten member variable
...
This ensures distance from previous point is calculated correctly
8 years ago
Clément Fauconnier
7b1f64eabf
merge 1.4-dev + thumbnail views & fixes
8 years ago
Craig Watson
f1f96fd3ac
Fix for crash when erasing center cross of compass arc
...
Erasing part of (but not the entire) center cross of an arc drawn with
the compass caused a crash.
8 years ago
Craig Watson
6ba89a09d3
Commented out debug messages
8 years ago
Craig Watson
d67046f003
Small improvements to stroke simplifying
8 years ago
Craig Watson
1a075c057d
Moved bezier calculations to UBGeometryUtils
...
-> also deleted obsolete UBInterpolator classes
8 years ago
Craig Watson
123ebf1d95
Improved drawing of end of current stroke
...
Distance between the last drawn point and the current point is
calculated to be able to discard very short stroke segments (i.e we only
add to the current stroke if the input device has moved more than a
certain distance since the last drawn point).
This commit moves this code from the stroke to the scene, which allows
to calculate distance more accurately: it is now calculated as the
total, absolute distance traveled since the last point, rather than simply the
length of a line between the last point and current one.
8 years ago
Craig Watson
c7951401fe
Save one-polygon strokes as polygons, not polylines
...
This solves an issue where erasing a stroke to the point that only one
(truncated) polygon was left resulted in this polygon reappearing after
reloading the document.
This should not affect any strokes containing more than one polygon.
8 years ago