Craig Watson
575d14a5c2
Updated headers
9 years ago
Craig Watson
798dfb113f
Don't antialias bitmap images (=> screenshots now look quite a bit better)
9 years ago
Craig Watson
81ad100610
Fix for window being placed badly on the screen when returning to board mode from desktop mode on some environments
9 years ago
Craig Watson
70b2fd960b
Fix for desktop mode partial screen capture taking an offset image of the desktop
9 years ago
Craig Watson
43e0e414c9
Draw last (half-) segment of stroke to make drawing feel smoother
...
Also, clarified the difference between received and drawn points
in UBGraphicsStroke
9 years ago
Craig Watson
b55ab7c92c
Corrected stroke drawing when no interpolation is used (so
...
UBGraphicsScene::drawCurve can be used either way)
9 years ago
Craig Watson
f82a0a32d3
Fixed calculation of minimum distance for stroke polygons' drawing
9 years ago
Craig Watson
999fcec917
Removed spline interpolators
9 years ago
Craig Watson
1ef73a70b8
Strokes: corrected tracking of last received point
9 years ago
Craig Watson
4811d35017
Improved drawing of interpolated strokes:
...
- Added a curveToPolygon function that creates a curved polygon,
eliminating the need to generate lots of small ones to make a curve look
smooth.
- Cleaned up the rest of the code a bit
9 years ago
Craig Watson
19cfe0ac1c
Revert "Remove polygonItems from their Stroke when added to a StrokesGroup"
...
This reverts commit 177571ca79cbd92f6544c80ce36ded88ce64fa7a.
9 years ago
Craig Watson
4491341a4d
(WIP) Interpolation of strokes. Progress so far:
...
- UBGraphicsScene calls UBGraphicsStroke::addPoint, which returns a list
of points that can be drawn. It may be none (e.g we discard very small
segments), one (if we do no interpolation) or several.
- Added a UBInterpolator base, abstract class. Various interpolation
methods can be added easily.
- Current methods: Basic spline (custom), Catmull-Rom spline (based on
alglib), and Bézier
- Added a setting to toggle interpolation. Added this to the UI as well
9 years ago
Craig Watson
fb6bc855e9
Remove polygonItems from their Stroke when added to a StrokesGroup
9 years ago
Craig Watson
b1c2d010c1
Removed remaining occurences of Q_WS_*
9 years ago
Craig Watson
5f97b1cf62
Fixed indexing of control and display screens
...
Caused problems e.g with podcast mode, where if the control and display
views were swapped in the preferences, the wrong screen would be recorded
when switching to desktop mode during recording of the podcast.
This happened even if only one screen was plugged in, so a black screen
was recorded in that case (at least on OS X 10.10)
9 years ago
Craig Watson
e6f6f2e323
Fix for bad positioning of some objects (text boxes) after duplication
9 years ago
Craig Watson
f4b1079d81
Revert "Revert changes pushed to wrong branch"
...
This reverts commit 4aa0ee6197
.
9 years ago
Craig Watson
e811f73da8
Fix for stroke transparency issue
...
(when an opque stroke was in the vicinity of a translucent one, it
became translucent itself)
9 years ago
Craig Watson
2c6ec356ea
Don't scale text items when importing a document
...
Just commented out the line since I'm not 100% sure it can be removed
(though I can't find a case where it is useful)
9 years ago
Craig Watson
4f5cf9d1a5
When exporting to PDF merger, make sure to scale PDF items on the page if necessary
9 years ago
Craig Watson
6ad13d8a4b
Fix scroll speed with hand tool when zoomed in/out
9 years ago
Craig Watson
a4cb76a7e2
UBSettings::pageDpi is not persisted anymore. Fixes issue #14
9 years ago
Craig Watson
1eb22f1a67
Clean-up and minor changes:
...
- "Importer" folder renamed "importer"
- corrected detecting of 64bit architecture
- build context file is created in build.sh
9 years ago
Craig Watson
f70ff4acf9
OSX: allow OSK to be shown even if user didn't first enable it in system prefs
...
also added error handling and displaying to the user.
9 years ago
Craig Watson
7f3b790328
Removed some old, unused settings
9 years ago
Craig Watson
e690b96eb8
Fix compilation error on Windows (variable defined only for OSX/Linux used in wrong places)
9 years ago
Craig Watson
a74d840fa4
Fix built-in applications' icons not being set when added to favorites
9 years ago
Craig Watson
37dcd6c45b
Fix for issue #21
9 years ago
Craig Watson
d6295358a6
Fix text box title bar height/spacing when zooming
9 years ago
Craig Watson
0491ce9e0b
Don't select images when adding them to the board
9 years ago
Craig Watson
8fa01c9baf
Fix for application not full-screening when unminimized on Cinnamon
9 years ago
Craig Watson
ea85856c8d
Reload page thumbnails when adding a PDF to the document
9 years ago
Craig Watson
d1eefcf507
Fixed widget full-screening on OS X
...
(widgets' size and position weren't necessarily calculated based on
their current screen, but on the entire desktop geometry)
This also fixes the skewing observed during podcast recording
9 years ago
Craig Watson
17a08d35e4
Clean-up of OS X podcast recording; fixed frames sometimes carrying over from one video to the next
9 years ago
Craig Watson
e32d193cd7
Tweaked eraser & marker preview circle colors
9 years ago
Craig Watson
dcb20ca251
Fix documents not being renamed correctly (new name wasn't persisted)
9 years ago
Craig Watson
cab1d0cacf
Hide software update setting in preferences window
9 years ago
Craig Watson
8098679b23
Cleaned up exporter classes (to remove excessive code duplication)
9 years ago
Craig Watson
fea02af4d6
Fixed a few warnings
9 years ago
Craig Watson
1423458afc
Preferences: hide built-in OSK settings when system OSK is selected
9 years ago
Craig Watson
2c68edd548
Fix delete key not working as shortcut in Document view
9 years ago
Craig Watson
3f73f25f6f
Improved error handling for media items
...
- Display a meaningful error message to the user when adding or trying
to play a video
- Make sure the video placeholder is visible even after switching pages
9 years ago
Craig Watson
9d5105bad9
Check if location is writable before exporting to PDF
9 years ago
Craig Watson
97b8ff496b
Check if location is writable before exporting to .ubz
9 years ago
Craig Watson
53aa4f4928
Remove multiple calls to QuazipFile::close() on the same file
9 years ago
Craig Watson
3c1415e4ed
Fixed saving of settings
9 years ago
Craig Watson
ec2ae56171
Fix items not being movable after being ungrouped
9 years ago
Craig Watson
5231e4268d
Select a new document when trashing a multiple selection
...
(Not doing so resulted in either a trashed item being selected when
returning to board mode, or a crash if the item had been permanently
deleted)
9 years ago
Craig Watson
ec6725debc
Comments clean-up
9 years ago
Craig Watson
241f672d3c
Fixed force load of all settings
...
The previous solution didn't really have any effect; only a handful of
settings were in the mUserSettings or mAppSettings at the moment it was
called. The better solution is to just call value() in the constructor
of UBSetting, which means the setting is cached as soon as it is
created.
9 years ago