Enhancements include snapping for selections, vertical space, recognized shapes, images, TeX-images and text.
Fixed bugs related to rotated selections, including undo operation and cursor.
Implements various enhancements of the LaTeX tool, including a global template file and a configuration settings panel.
Co-authored-by: rolandlo <roland_loetscher@hotmail.com>
Support "no icon" stylus cursor type #2093
Make stylus cursor type combo box entries translatable
Add warning if we get an unknown stylus cursor type in settings xml
Move stylus cursor type settings to top of cursor group
Move settings enums into new SettingsEnum.cpp
Set other cursor settings "visible" based on whether a cursor icon is chosen
apply git-clang-format-9 format changes
Support "no icon" stylus cursor type #2093
Update src/control/settings/SettingsEnums.h
Co-authored-by: Roland Lötscher <40485433+rolandlo@users.noreply.github.com>
Update src/gui/dialog/SettingsDialog.cpp
Co-authored-by: Roland Lötscher <40485433+rolandlo@users.noreply.github.com>
Update src/control/settings/SettingsEnums.cpp
Co-authored-by: Roland Lötscher <40485433+rolandlo@users.noreply.github.com>
Update src/control/settings/Settings.cpp
Co-authored-by: Roland Lötscher <40485433+rolandlo@users.noreply.github.com>
move settings enum functions to cpp and harmonise use of std::string
remove duplicate stylusCursorTypeToString added during merge
* Add option to ignore the first events of the stylus when touching the screen to avoid artifacts at the beginnings of strokes. The number of ignored events can be set in the preferences.
Explanation: There are setups with this issue: When the stylus is pressed on the screen, the accuracy and update rate of its recognized position increases. Because of the lower precision before, when hitting the screen the cursor might jump from its previous position to the more precise point (this is especially far if the pen tip was in rapid movement right before touching), while beeing recognized as writing. This can result in artifacts that e.g. make handwritten text very hard to read. To work around this, the first events since the triggering event can be ignored.
* Add requested variable
* Fix handling of deviceClassPressed and implement requested change
* Add ability to assign specific classes to devices
Back GUI with settings
Remodel settings to work with increased number of tabs
* Fix saving of settings for devices with two roles
* Take care of GTK dependencies that are too new for some systems
* Update device listing in settings dialog for newer gdk versions (2)
* Fix typo
* Add ability to assign specific classes to devices
Back GUI with settings
Remodel settings to work with increased number of tabs
* Fix saving of settings for devices with two roles
* Take care of GTK dependencies that are too new for some systems
* Update device listing in settings dialog for newer gdk versions (2)
* Fix typo
* Fix cursor not reappearing after editing text in new input system
* Move to new InputEvent abstraction layer
* Update merged in changes to use new InputEvent abstraction
* Fix memory leak
Outline some method implementations to cpp
Update debug output to include device class
* convert stroke filter to length in mm instead of points.
* Change ui and variable names to better reflect implementation.
* Refactor double click event handling
* Make double clicks on text editors select the current word
* Fix double-click selection edit not working after moving the selection
* cleanup, prepare for use with FloatingToolbox
* Allow StrokeFilterLengths <1mm just in case (user exaggerates dpi settings?)
* Initial testing for overlay popup menu
* testing floating Toolbox
* basic functionality done
* Refactor TextEditor text selection into a single function
* Handle triple clicks
Note that there is an issue in that GTK considers a "paragraph" to be a section
of text between two line breaks (xournalpp does not wrap lines)
* Properly implement text editor paragraph-on-cursor selection
* Disable kinetic scrolling if touchscreen device was mapped to other device
* Do not reset kinetic scrolling when Widget is instantiated as it leads to a crash
* Add restart request to setting
Disable kinetic scrolling for ignored touchscreens
* Fix crash if touchscreen device is ignored but input occurs
* Revert "Do not reset kinetic scrolling when Widget is instantiated as it leads to a crash"
This reverts commit 70dbe87d637cc2951dceb70c77e20d255fb3ddd6.
Remove restart request for touchscreens
* Revert "Do not reset kinetic scrolling when Widget is instantiated as it leads to a crash"
This reverts commit 70dbe87d
* add Floating Toolbox option to mouse button options and make it work.
* dynamic sizing for sleeker floatingtoolBox
* floating_toolbox: feel free to draw a better one ;)
* FloatingToolbox.cpp/.h: Move FloatingToolbox code into own class.
* Cleanup for Experimental use. Do not show floating toolbar when configuring if empty and user is not able to access it otherwise.
* Add Default Toolbar definition: Floating Toolbox, change gui widget names from Overlay* to Floating* where appropriate.
* fixes - thanks to Technius for review.
* Fix memory leak in LoadHandler
* Add ability to assign specific classes to devices
Back GUI with settings
Remodel settings to work with increased number of tabs
* Fix saving of settings for devices with two roles
* Take care of GTK dependencies that are too new for some systems
* Update device listing in settings dialog for newer gdk versions (2)
* Fix typo
* Move to new InputEvent abstraction layer
* Update merged in changes to use new InputEvent abstraction
* Fix memory leak
Outline some method implementations to cpp
Update debug output to include device class
* Disable kinetic scrolling if touchscreen device was mapped to other device
* Do not reset kinetic scrolling when Widget is instantiated as it leads to a crash
* Add restart request to setting
Disable kinetic scrolling for ignored touchscreens
* Fix crash if touchscreen device is ignored but input occurs
* Revert "Do not reset kinetic scrolling when Widget is instantiated as it leads to a crash"
This reverts commit 70dbe87d637cc2951dceb70c77e20d255fb3ddd6.
Remove restart request for touchscreens
* Revert "Do not reset kinetic scrolling when Widget is instantiated as it leads to a crash"
This reverts commit 70dbe87d
* Add BUTTON_3_PRESS_EVENT to internal events
* Fix uint
* Removed merge conflict
* Fix stylus buttons
* Change tools even if stylus is not touching the surface
* Change tools even if stylus is not touching the surface (2)
* Use arrow cursor when using mouse