* fix - General Configuration widget has big spaces between last few options
(cherry picked from commit 48b9135a8d654a388fd4d0a266e9097456d00ab7)
* Set limit for Latest Uploads Max Size to 50
(cherry picked from commit ef1d83529c5e33ec3819820f3231e5c503aebf61)
* Completely reworked undo/redo stack with fixes (object that was created after deleted one disappears when undo last object creating and deleting the first one and try to undo deletion)
(cherry picked from commit 8d8c0b0d4a5ba8ecd7dc1c367c220642975c95d1)
* - Save font on new text object creation
- Remove unused variable context.circleCount
(cherry picked from commit 26f7bf620849c68062838d503f8731feea8d4987)
* Code refactoring - remove unused m_context.widgetDimensions
(cherry picked from commit 76abc09ce07a71ae42f1826a5a1e1e35902960d5)
* Make font size other tools thickness independent
(cherry picked from commit 5633799fb07acaa50cae5373953e40fa85f700bc)
* fix - Font parameters doesn't disappear in panel on click text item in it
(cherry picked from commit 8322cbb1acae75c77d4c24b74bc366ba93497d46)
* fix - Save thickness if no tool selected
(cherry picked from commit 862f2f4806a0c8d1309daae6a3371f6bd2fc5e5c)
* fix - Line thickness has not required padding after saving configuration, code refactoring remove number of unused '#define PADDING_VALUE'
(cherry picked from commit 294c89ad4fc9d1230942f8b7aa0a13deff7ab1eb)
Co-authored-by: Yuriy Puchkov <yuriy.puchkov@namecheap.com>
* Edit existing text objects
(cherry picked from commit 3d6edca21b5615481d0ab409801baeafb523ce72)
* Add 'info' to the panel for the text tool object
(cherry picked from commit 2b633f560e46a0112d70653f6c55da5e97ce4cc8)
* Add 'info' to the panel for the CircleCount tool object
(cherry picked from commit 5ff5b667c1d6c534fe447618f9938a4581f0c9f2)
* Set text settings active in the Tool Settings panel on edit text
(cherry picked from commit a020a3504c0d02bbca4bb870e12e80ee87d64f75)
* Set font family in the Tool Settings panel on edit text object
(cherry picked from commit 70fe9bd5e79f39d544ed2d7848d05492da9b52bd)
Co-authored-by: Yuriy Puchkov <yuriy.puchkov@namecheap.com>
closes: #1374 .
Use SPDX short-form identifiers instead of lengthy copyright
header to document per-file license and copyright.
This commit updates all files under src/ directory where applicable
as well as org.flameshot.Flameshot.metainfo.xml.
SVG images have been optimized with svgo, this will slightly reduce package size though the main reason for this was to remove unneeded markup.
Image paths have been changed and merged, now the directory tree looks like this:
img
├── app
├── material
│ ├── black
│ └── white
└── preview
The reason to merge the paths is to avoid duplicate files for buttons and configuration.
SVG icons are used by default now, PNG images have not been deleted from the images directory, but they were deleted from the graphics.qrc resource file.
All image paths were updated accordingly, except in the tray icon, I could not make it work using the SVG image.
closes#11
Add an initial version of the text tool.
This commit adds:
- Basic text tool.
- On demand thickness and color update.
- Generalized logic for future widget based tools.