1695 Commits

Author SHA1 Message Date
Haris Gušić c82a2b9a3a Final touches
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-17 19:09:23 +01:00
Haris Gušić 9f5f70b1db Rename Controller to Flameshot
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-16 21:36:57 +01:00
Haris Gušić f2a6e8789f Some cleanup
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-16 21:20:37 +01:00
Haris Gušić 5204bfebd9 Remove obsolete method Controller::doLater
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-16 20:35:42 +01:00
Haris Gušić 4d6f795e9e Move update checking to daemon
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-16 20:16:18 +01:00
Haris Gušić 11c524b2db Include missing QOperatingSystemVersion on Mac
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-16 18:14:33 +01:00
Haris Gušić 0eccdb7f5c Add missing include
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-16 00:51:21 +01:00
Haris Gušić 1cc1596459 Fix syntax errors
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-16 00:40:55 +01:00
Haris Gušić 763c7eb29e Add missing QDesktopWidget
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-15 23:47:27 +01:00
Haris Gušić 59f2123c55 Add missing trayicon.* files
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-15 23:37:54 +01:00
Haris Gušić df9e0f02d7 Merge branch 'master' into refactor
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-15 23:34:33 +01:00
Haris Gušić 22ea9aa462 Rename SystemTray to TrayIcon
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-15 23:14:47 +01:00
Haris Gušić 53891ff2dc Move functionality to daemon and tray icon
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-15 23:08:30 +01:00
Haris Gušić 8d9e125b47 Make check for updates work again
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-15 22:34:55 +01:00
Haris Gušić 9c7ec60fe9 Controller: remove unused includes
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-15 21:33:15 +01:00
Haris Gušić a926f4bc81 Fix a QObject connection
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-15 21:33:15 +01:00
Haris Gušić c74673af28 Remove Controller::handleCaptureFailed
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-15 21:33:15 +01:00
Haris Gušić f7097eb831 Extract system tray icon into separate class
The implementation is not complete and full of bugs

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-02-26 22:12:52 +01:00
Haris Gušić 5d6b529643 Remove obsolete handleCaptureTaken
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-02-26 22:12:52 +01:00
Haris Gušić abc8b34224 Change Controller interface to mimic the CLI
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-02-26 22:12:52 +01:00
borgmanJeremy a6144df367 Fix alignment bug and applied many clang format warnings (#2448)
* Fix alignment bug and applied many clang format warnings

* removed nodiscard from slot
2022-02-23 06:33:58 -06:00
Andrea 413a3f9372 Pinch gesture on pinned screenshot (#2447)
* Minor refactoring

* Pinch gesture works fine

* Consolidated Zooming in/out

* Minor refactoring

* Minor refactoring

* clang-format

* Fixed scroll phases on Linux

* clang-format

* Re-added size constraint

* clang-format
2022-02-23 06:33:40 -06:00
borgmanJeremy aa6b5eac93 allow final actions when printing geometry (#2444) 2022-02-18 12:30:10 -06:00
borgmanJeremy dc57d622a8 Weblate (#2445)
* Translated using Weblate (Turkish)

Currently translated at 99.7% (380 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/tr/

* Translated using Weblate (Slovak)

Currently translated at 93.9% (358 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/sk/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (381 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/tr/

* Translated using Weblate (Ukrainian)

Currently translated at 94.2% (359 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/uk/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (381 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/tr/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (381 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/uk/

* Translated using Weblate (Greek)

Currently translated at 100.0% (381 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/el/

* Translated using Weblate (Persian)

Currently translated at 91.0% (347 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fa/

* Translated using Weblate (German)

Currently translated at 100.0% (381 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/de/

* Translated using Weblate (Russian)

Currently translated at 100.0% (381 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ru/

* Translated using Weblate (Slovak)

Currently translated at 100.0% (381 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/sk/

* Translated using Weblate (Persian)

Currently translated at 92.6% (353 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fa/

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (381 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/id/

Co-authored-by: Bekir <bekirucarci@gmail.com>
Co-authored-by: Tomáš Kukumberg <tomas.kukumberg@centrum.sk>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Retrial <giwrgosmant@gmail.com>
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Co-authored-by: mondstern <mondstern@snopyta.org>
Co-authored-by: Andrei Stepanov <adem4ik@gmail.com>
Co-authored-by: Jose Riha <jose1711@gmail.com>
Co-authored-by: Mehrad Mahmoudian <m.mahmoudian@gmail.com>
2022-02-18 12:29:58 -06:00
Mehrad Mahmoudian 957360c5e4 fix the --print-geometry for zsh (#2437) 2022-02-18 08:57:57 -06:00
borgmanJeremy 424b7fba37 applied some clang modernize (#2435) 2022-02-16 21:15:25 -06:00
borgmanJeremy 53698bca6f Fix double clic (#2432)
* ensure copy only happens with left double click

* Added option to enable and disable copy on double click.

* Only show double click shortcut if it is enabled
2022-02-16 19:28:14 -06:00
UnkwUsr db9461650c fix: arrow tool glitches (#2395) 2022-02-12 18:05:44 -06:00
Dearsh Oberoi b4188f7ec8 Improve Colorpicker (#2403)
* Fix

* update preset functionality added

* dynamic radius

* added drag to swap

* Refactor

* Fix Bug
2022-02-12 18:04:20 -06:00
Weblate (bot) 89ce5a2ba5 Translations update from Hosted Weblate (#2392)
* Translated using Weblate (Turkish)

Currently translated at 99.7% (380 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/tr/

* Translated using Weblate (Slovak)

Currently translated at 93.9% (358 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/sk/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (381 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/tr/

* Translated using Weblate (Ukrainian)

Currently translated at 94.2% (359 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/uk/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (381 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/tr/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (381 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/uk/

* Translated using Weblate (Greek)

Currently translated at 100.0% (381 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/el/

* Translated using Weblate (Persian)

Currently translated at 91.0% (347 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fa/

* Translated using Weblate (German)

Currently translated at 100.0% (381 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/de/

* Translated using Weblate (Russian)

Currently translated at 100.0% (381 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ru/

* Translated using Weblate (Slovak)

Currently translated at 100.0% (381 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/sk/

* Translated using Weblate (Persian)

Currently translated at 92.6% (353 of 381 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fa/

Co-authored-by: Bekir <bekirucarci@gmail.com>
Co-authored-by: Tomáš Kukumberg <tomas.kukumberg@centrum.sk>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Retrial <giwrgosmant@gmail.com>
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Co-authored-by: mondstern <mondstern@snopyta.org>
Co-authored-by: Andrei Stepanov <adem4ik@gmail.com>
Co-authored-by: Jose Riha <jose1711@gmail.com>
Co-authored-by: Mehrad Mahmoudian <m.mahmoudian@gmail.com>
2022-02-12 17:54:16 -06:00
Haris Gušić fbb6d2d7a1 Fix saveAsFileExtension in example config (#2414) 2022-02-11 14:48:31 +01:00
borgmanJeremy bcb4041e0e allow numpad numers to resize and fix text artifacting on large resize (#2386) 2022-02-07 08:19:43 -06:00
Mehrad Mahmoudian 5e35f1e099 fix the nightly build URL in README (#2387) 2022-02-07 08:06:56 -06:00
borgmanJeremy 4197109bed Refreshed translation files (#2384) 2022-02-06 17:58:27 -06:00
borgmanJeremy 74db680505 fix bug on macos with save dialog (#2379)
* fix bug on macos with save dialog

* refactored Saver to not be a class since there are no member variables

* removed useless comment
2022-02-06 17:51:51 -06:00
Mehrad Mahmoudian f7315ec625 KDE Plasma khotkeys (#2383)
* Adds links to sponsors in README

* Adds AnonAddy to the sponsor list

* fix the kde shortcuts to match the current CLI
2022-02-06 17:50:41 -06:00
Mehrad Mahmoudian 6cd9d9ecc9 better zsh code completion (#2382)
* Adds links to sponsors in README

* Adds AnonAddy to the sponsor list

* adds a more comprehensive zsh completion

* fix the extra square brackets

* fix the CMakeLists to handle the new paths
2022-02-06 17:49:38 -06:00
borgmanJeremy 92ced57722 Weblate master (#2380)
* Translated using Weblate (Hebrew)

Currently translated at 100.0% (348 of 348 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/he/

* Translated using Weblate (Hebrew)

Currently translated at 100.0% (348 of 348 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/he/

* Translated using Weblate (German)

Currently translated at 100.0% (348 of 348 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/de/

* Translated using Weblate (Hungarian)

Currently translated at 91.3% (318 of 348 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/hu/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (348 of 348 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/nl/

* Translated using Weblate (Slovak)

Currently translated at 100.0% (348 of 348 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/sk/

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (348 of 348 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/id/

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (348 of 348 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/id/

* Translated using Weblate (Galician)

Currently translated at 64.6% (225 of 348 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/gl/

* Translated using Weblate (Hebrew)

Currently translated at 100.0% (348 of 348 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/he/

* Translated using Weblate (Catalan)

Currently translated at 87.0% (303 of 348 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ca/

* Translated using Weblate (Czech)

Currently translated at 80.4% (280 of 348 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/cs/

* Translated using Weblate (German)

Currently translated at 100.0% (348 of 348 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/de/

Co-authored-by: Avi Markovitz <avi.markovitz@gmail.com>
Co-authored-by: mondstern <mondstern@snopyta.org>
Co-authored-by: Aziz Ridhwan <fwindows345@gmail.com>
Co-authored-by: Aditya Rahman <adityarahman032@gmail.com>
Co-authored-by: gbrea <guilhe_gz@hotmail.com>
Co-authored-by: Anonymous <noreply@weblate.org>
2022-02-06 17:48:15 -06:00
borgmanJeremy a87d4469d4 Update README.md (#2381)
* Update README.md

* Update README.md
2022-02-06 13:33:26 -06:00
Andrea 1bacc69183 Zooming in/out happens at different speed (#2378)
* Resizing pinned screenshot

* Zooming in/out on pinned screenshot

* Minor refactoring

* clang-format
2022-02-06 12:20:58 -06:00
borgmanJeremy 0ac48f5c4b Clang tidy (#2372)
* Added missing braces

* applied some clang modernize

* clarified auto pointer

* clang-tidy
2022-02-06 12:12:09 -06:00
Mehrad Mahmoudian 3c2a2f98cf Improve tooltips texts (#2377)
* Adds links to sponsors in README

* Adds AnonAddy to the sponsor list

* minor modification on the tooltip text of some config options

* adds tooltip text for magnifier config options

* clang-format
2022-02-06 12:11:55 -06:00
Mehrad Mahmoudian 597d552588 Fix issue template (#2376) 2022-02-06 08:34:51 -06:00
SilasDo cf08755c8b Added magnifier for more precise selections (#2219)
* added a magnifierwidget

* added option to show magnifier and added option to switch to square shaped magnifier

* integrated magnifierwidget into capture

this could probably be done in a nicer way.
right now the magnifier wont show if you select via the move tool.

Co-authored-by: Silas Dohm <silas@sdohm.xyz>
2022-02-05 19:51:28 -06:00
Andrea 4affa92b91 Fixed crash selecting texttool (#2369) 2022-02-05 09:12:01 -06:00
Matthew 77ccac5640 Add alternative shortcuts file for KDE Flatpak installs (#2357) 2022-02-04 08:00:53 -06:00
borgmanJeremy 42917930ca Upload history UI (#2345)
* Refactored upload history widget to use qt ui files. Cleaned up clang
tidy warnings. Remove copied to clipboard notified.

* fixed some irregularities with the layout

* fixing forward declaration
2022-01-31 15:21:00 -06:00
borgmanJeremy 8954e0d1ed fixed freeze with copy URL to clipboard (#2348) 2022-01-31 13:01:19 -06:00
Dearsh Oberoi 259e438f96 Customizable ColorPicker (#2202)
* Added spinbox, refactored colorpicker

* Added add preset functionality

* Added delete preset

* Refactored code

* Fix
2022-01-30 13:03:07 -06:00
Affir Vega 1cc5a26292 Created basic layer movement functionality (up, down) (#2108)
* Created basic layer movement functionality (up, down)

* Replaced `and` and `or` with `&&` and `||`, added constructor initialization

* Added move icons. Added that moving layers pushes state to undo stack.

* Cleaned svgs.

* Circle counter doesn't change nubmer when reordered anymore

* Changed move arrow SVGs

* Make down arrow in size with up arrow, fix white colors from #feffff to #fff

* SVGs in unitilypanel for buttons now choose color depending on color theme

* Refactor tool removing code, removed fixme, fixed bug with minimal circleCount

* Set minimal width for buttons

Co-authored-by: Feskow Vega <affirvega@krutt.org>
2022-01-29 15:32:09 -06:00