Jeremy Borgman
0d5386edd4
Changed clang format to new agreement
2020-09-24 07:53:28 -05:00
Jeremy Borgman
c56bb78cf3
Added preview to circle counter and auto adjust circle count font color.
2020-09-20 12:38:33 -05:00
Jeremy Borgman
460e30c2ce
reworked pixelate to simplier method provided by @kpcee and used old blur effect when pixelate kernel < 1
2020-09-15 07:43:53 -05:00
Jeremy Borgman
6b4565cac6
Fixed visual glitch with circle count undo, rescale circle text to fit circle, set minimum circle count size
2020-09-14 15:08:24 -05:00
Alex P
fa9ec7adba
refactor CaptureButton and use CSS for side panel button
2020-09-13 15:00:42 -05:00
Alex P
3514345b68
fix text config buttons color
...
the check was incorrect, it is windowTEXT, not background
2020-09-13 15:00:24 -05:00
Jeremy Borgman
e5813d2230
Fixed memory leak and enabled sanatizers
2020-09-11 11:38:35 -05:00
Jeremy Borgman
9bc4ea5700
Fixed it so a notification is always sent when saved to clipboard
2020-09-10 10:36:50 -05:00
Jeremy Borgman
6afa3ca26a
Made undo tool aware of circle count to decrement. Refactored tool ID's to be enum
2020-09-08 11:36:30 -05:00
Ahmed Zetao Yang
793cdce37e
fix: set win32 api minimum system level as Win7
2020-09-07 07:29:31 -05:00
Jeremy Borgman
7b0888a0b0
allowed counter bubble size to be adjustable, font to autofill, and fixed issue with low DPI undo
2020-09-06 21:10:41 -05:00
Jeremy Borgman
889b688ee2
Moved TS generation behind flag, fixed more references to blur, fixed missing pixelate icon.
2020-09-06 20:21:51 -05:00
Jeremy Borgman
f34def6794
changed blur class name to pixelate to match implementation
2020-09-05 11:27:00 -05:00
Jeremy Borgman
5dba3de778
Added ubuntu CI and fixed issue uncovered during CI. Also added clang-format
2020-09-04 20:40:45 -05:00
Jeremy Borgman
c8d15205be
reformatted to Mozilla code style
2020-09-04 20:40:45 -05:00
Jeremy Borgman
286db9ff69
Fixed translations and added feedback from PR
2020-09-03 11:51:18 -05:00
Jeremy Borgman
dc77029cde
Fixed most depratated warnings.
2020-07-13 15:02:18 -05:00
Jeremy Borgman
f5013df306
First pass at converting from qmake to cmake.
2020-07-10 20:10:14 -05:00
Jeremy Borgman
f99ca6c78c
Changed blur tool to pixelate instead
2020-06-24 10:23:36 -05:00
Jeremy Borgman
9bb556acff
added circle counter and fixed issue with latest qt
2020-06-11 15:26:34 -05:00
teryanik
62dbabc341
Add option to auto copy URL after upload ( #553 )
2019-10-01 19:58:29 +02:00
gm10
f648e88cca
Add missing window icon to ImgurUploader ( #618 )
2019-10-01 19:54:40 +02:00
Nikolai Oplachko
b42f1cf01d
Add 45-multiple degree adjustment for line, arrow and marker tools ( #439 )
...
* Add 45-multiple degree adjustment for line, arrow and marker tools
* Adjustment: Ctrl press is checked + widened functionality for two-point tools
2019-03-31 12:38:31 +02:00
Magnus Groß
a653d5a6d2
Highlight with composition mode set to Multiply ( #490 )
...
This improves readability of marked text.
Fixes #485
2019-03-13 22:18:14 +01:00
lupoDharkael
42619158fa
Update copyright year
2019-03-04 16:38:45 +01:00
Alfredo Ramos
ee2f583acd
Fix some issues detected by Clazy ( #384 )
...
* Fix old style connect
* Fix unneeded QString memory allocations
2018-10-24 01:04:42 +02:00
dgw
7d91b00072
Make tools' (English) tooltip phrasing consistent ( #375 )
...
Some tooltips were written as imperatives ("Set foo to bar"), others
were written as simple present ("Performs foo action"). All should now
be consistently written in imperative form (unless I missed any…).
2018-10-21 10:22:21 +02:00
Ahmed Zetao Yang
503de1be04
Pin Tool: Improve adjustment ( #352 )
...
Fix pin widget adjustment position
2018-09-21 13:55:16 +02:00
Peter Cai
ae9d18ce9e
blur: fix HiDPI awareness ( #305 )
...
When copying from a QPixmap, the rectangle area should be scaled according to `devicePixelRatio`.
This fixes #300 .
2018-08-11 11:44:32 +02:00
Alfredo Ramos
7ba02666d1
Fix most of the issues reported by cppcheck ( #290 )
2018-07-29 00:17:50 +02:00
Alfredo Ramos
d09580b873
Optimize and use SVG images where possible ( #281 )
...
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.
2018-07-24 00:43:01 +02:00
Alfredo Ramos
b301880872
Update Spanish translation and cleanup ( #268 )
...
* Fix TextTool warning
It throws the following warning:
src/tools/text/texttool.cpp:50: Class TextTool lacks Q_OBJECT macro
* Add missing translations
* Remove obsolete translations
lupdate -no-obsolete flameshot.pro
2018-07-07 22:37:32 +02:00
Boyuan Yang
ecdd3b2e45
Fix typo; Refresh translation; Update zh-CN translation ( #267 )
...
* Fix typos found by codespell
* redotool: Mark description string as translatable
* Refresh translation; Update zh_CN translation again
2018-07-07 14:23:24 +02:00
Danilo Egêa Gondolfo
df3958e43a
Use defined(Q_OS_LINUX) || defined(Q_OS_UNIX) where applicable to support BSD OSs. ( #264 )
2018-07-01 13:45:49 +02:00
Alfredo Ramos
2efc082599
Remove hard-coded Imgur client_id ( #253 )
...
This will allow users to set their own Imgur client_id passing the IMGUR_CLIENT_ID variable to qmake.
If the users does not set this variable, it will fallback to the default value.
2018-06-15 00:14:26 +02:00
Giuseppe Burtini
a0616fa970
Fix typo ( #250 )
...
http://www.dictionary.com/browse/selection
2018-06-10 22:26:28 +02:00
lupoDharkael
0481c7cc9d
Fix initial index in font family combo box
2018-05-28 19:22:24 +02:00
lupoDharkael
c5498ff385
Integrate Pin widget with user defined colors
2018-05-26 18:55:05 +02:00
lupoDharkael
49227fac43
Solve cppcheck warnings
2018-05-26 18:38:06 +02:00
lupoDharkael
dcaa2e321f
Add text configuration in panel
2018-05-26 17:59:44 +02:00
lupoDharkael
c81ee94a82
Tool: add permanent config method
2018-05-17 20:18:52 +02:00
Alfredo Ramos
1e93057ceb
Add delete Imgur image button ( #210 )
2018-05-06 22:41:52 +02:00
lupoDharkael
5432614651
Add Text tool
...
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.
2018-05-06 13:56:45 +02:00
Alfredo Ramos
40605ab6b5
Get Imgur data fom JSON object ( #206 )
2018-05-06 12:41:00 +02:00
lupoDharkael
2fd8bd209b
Pin Tool: fix content margins in Windows
2018-05-04 11:21:20 +02:00
lupoDharkael
c68179f64c
Pin tool cleanup
2018-05-03 18:53:13 +02:00
Ahmed Zetao Yang
fe8a43a02a
Improvement of Pin tool ( #191 )
...
- no taskbar window for pin widget
- completely ignore the window manager
- add borderless window shadow effects
2018-05-03 18:11:06 +02:00
lupoDharkael
205cd7c87b
Add basic code for the Pin tool
2018-04-17 00:06:57 +02:00
lupoDharkael
522c9b1ed1
Add panel
...
The side panel opens with the Space key, this panel can contain
widgets to assist the capture with more features.
This commit fixes the preview of the tool hiding it when the
mouse hovers a widget. This is more needed now having a new widget
inside the CaptureWidget.
2018-04-13 20:26:24 +02:00
lupoDharkael
7977b5a6a7
Fix arrow undo
2018-04-11 01:21:17 +02:00