Commit Graph

903 Commits

Author SHA1 Message Date
borgmanJeremy
001726a565 fixed seg fault (#2831) 2022-07-25 10:15:52 -05:00
borgmanJeremy
bd3431a9f5 Always show post upload actions (#2640) 2022-07-24 09:18:09 -05:00
Alaskra
d05764997d add cmake option DISABLE_UPDATE_CHECKER (#2793)
* add cmake option DISABLE_UPDATE_CHECKER

* add cmake option DISABLE_UPDATE_CHECKER to compile out
updatechecker

* format code use `clang-format -i $(git ls-files "*.cpp" "*.h")`

* fallback wrong code format

* replace `add_definitions` with `add_compile_definitions`
2022-07-24 09:15:13 -05:00
dsticks
57c8e8d893 Capture tool button looks at copy on double-click config setting and … (#2806)
* Capture tool button looks at copy on double-click config setting and sets button description accordingly.

* Ran clang-format on capturetoolbutton.cpp for code formatting.
2022-07-18 18:30:33 -05:00
El Thoro
6f6945ec23 Kde-connect share integration (#2551) (#2802) 2022-07-17 17:07:39 -05:00
wd5gnr
caf90215b4 Fixes --region to respect display scaling (#2788) 2022-07-17 10:23:25 -05:00
borgmanJeremy
d4b39c2aaa Swap size widget arguments to match --region (#2782) 2022-07-11 20:31:43 -05:00
borgmanJeremy
88f5c4745c cleaned up some PR formatting / names, removed old size indicator (#2778)
* cleaned up some PR formatting / names, removed old size indicator

* fixed clang format

* fixed clang format
2022-07-11 20:03:00 -05:00
Mikko Vedru
3898636544 Improve order and descriptions of Settings/General items (#2777)
* Improve descriptions in Settings/General

* Order Settings/General list more logically

- Startup items in the beginning
- Running and graphical items then
- Combined actions grouped together
etc
2022-07-10 19:27:10 -05:00
borgmanJeremy
8f3bf194c4 Added ability to rotate pinned imaged (#2737) 2022-07-10 13:57:04 -05:00
wd5gnr
e68183451e Add integrated WXH display and options (#2766) 2022-07-10 13:55:40 -05:00
borgmanJeremy
822d2a5eee External all cli (#2752)
* Properly constructs external app command line

* DesktopFileParser only reads .desktop files

* Replace % in AppLauncherWidget in array not string

* applied clang-format

Co-authored-by: Al Williams <al.williams@awce.com>
2022-07-03 08:34:51 -05:00
borgmanJeremy
e319beff62 Fix magnify windows (#2746)
* Fixed issue with magnifier on windows where screen numbers were not monotonically increasing

* clang format

* fixed dos line endings

* remove qt debug
2022-07-02 13:06:41 -05:00
borgmanJeremy
899af3e3a6 disable option to launch on start by default (#2735) 2022-06-30 08:01:37 -05:00
borgmanJeremy
21f2a4e487 Added option to pin menu to close pin (#2736) 2022-06-30 07:58:52 -05:00
borgmanJeremy
de5241dd4e Fix size not appearing on size tool when started from launcher (#2734)
* Fix size not appearing on size tool when started from launcher

* clang format
2022-06-29 19:22:13 -05:00
Alaskra
44b19a90e1 fix issue about externalWidget launchapp (#2698) 2022-06-29 17:59:57 -05:00
Jeremy Borgman
1f3ca56b97 Fix pin widget scrolling on windows 2022-06-28 20:00:41 -05:00
thehunmonkgroup
13c034c1e4 rename Imgur API Key to Imgur Application Client ID (#2719) 2022-06-28 16:09:52 -05:00
luzpaz
04b57e4957 Fix typos (#2705)
Found via `codespell -q 3 -S *.ts,./external`
2022-06-28 08:25:08 -05:00
borgmanJeremy
37c4ab4f2a Revert "Another way to fix Launchapp unexpectly close (#2675)" (#2691)
This reverts commit adb58e247b.
2022-06-20 09:13:45 -05:00
Alaskra
adb58e247b Another way to fix Launchapp unexpectly close (#2675)
* fix unexpected close when launch external app

* update

* another way to fix launchapp crash

* format
2022-06-18 09:18:59 -05:00
borgmanJeremy
5f751a2b7e Added missing strings to translation files (#2682)
* Added missing strings to translation files

* Added missing strings to translation files
2022-06-18 09:13:06 -05:00
Alaskra
fb42ad5c25 fix unexpected close when launch external app (#2617)
* fix unexpected close when launch external app

* update
2022-06-10 08:46:21 -05:00
Haris Gušić
98c1b029e3 Fix CloseOnLastWindow caused by tool change (#2645)
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-06-03 12:27:54 -05:00
borgmanJeremy
65e3a01360 Print info messages to stdout instead of stderr (#2639) 2022-06-02 08:38:31 -05:00
vozdeckyl
7a57268ca3 Dev bubble pointers (#2638)
* adding a simple line as a test

* replacing line with pointer

* remove commented out lines

* code format

* fixed the 'QPainterPath path' error

* make pointers more pointy

* comment and variable name

Co-authored-by: Mehrad Mahmoudian <m.mahmoudian@gmail.com>
2022-06-01 19:29:25 -05:00
borgmanJeremy
46801d933a Added the ability to cache the last region (#2615)
* Added the ability to cache the last region

* adding cli option

* addressed typo comments and applied clang-format
2022-06-01 09:18:54 -05:00
greenfoo
2582f063cc Suggest setting XDG_CURRENT_DESKTOP if DE cannot be detected (#2634) 2022-05-31 09:58:39 -05:00
Haris Gušić
0116740e54 Fix selection offset (#2630)
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-05-31 09:56:52 -05:00
vozdeckyl
14100659b9 Fix missing icon on snap (#2616)
* defined FLAMESHOT_ICON variable

* print statements

* remove print statements

* adding FLAMESHOT_ICON to snap yaml file

* code format; comment
2022-05-23 10:06:24 -05:00
borgmanJeremy
9763513a25 Added the ability to define a region for a screen shot in the launcher (#2208) 2022-05-03 19:43:52 -05:00
borgmanJeremy
972458496f apply clang tidy fix (#2579) 2022-05-03 08:09:42 -05:00
vozdeckyl
de95c357de get rid of the empty string in the options (#2552) 2022-05-01 09:16:47 -05:00
Alaskra
724a28f43a fix the cover problem when save pinned picture. (#2549) 2022-04-30 19:54:16 -05:00
Haris Gušić
03af9d807c Remove extra timer shots when moving selection with keyboard (#2545)
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-04-13 19:54:35 -05:00
borgmanJeremy
0c9a58fad0 fixed segfault when screen number exceeds screen count (#2534) 2022-04-07 10:31:32 -05:00
borgmanJeremy
e1b55d310f fix another issue with slider (#2533) 2022-04-07 10:30:51 -05:00
borgmanJeremy
50db18451c Fix sidebar slider not resizing (#2530) 2022-04-07 08:04:32 -05:00
borgmanJeremy
8028278d16 cleaned up pin widget a bit (#2531) 2022-04-07 08:04:17 -05:00
Dean
db5f8a762c pinwidget: allow copying to clipboard and saving to file (#2519)
Co-authored-by: zhangfuwen <zhangfuwen@foxmail.com>
2022-04-06 20:53:25 -05:00
Dean
850260dff6 pinwidget: allow moving widget partially outside of screen under linux (#2520)
Co-authored-by: zhangfuwen <zhangfuwen@foxmail.com>
2022-04-06 08:45:45 -05:00
borgmanJeremy
6ebd0fb9a4 fixed mismatched definition (#2525) 2022-04-05 09:55:45 -05:00
greenfoo
3cd2deca58 Make KDE use Freedesktop portal (#2495) 2022-04-04 19:34:12 -05:00
borgmanJeremy
c01ffeccf0 Allow users to override imgur key (#2503)
* Allow users to override imgur key

* Remove debug statements
2022-03-30 15:15:54 -05:00
Haris Gušić
54690d5be8 Major Controller refactor (#2295)
* Change Controller interface to mimic the CLI

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Remove obsolete handleCaptureTaken

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* 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>

* Remove Controller::handleCaptureFailed

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Fix a QObject connection

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Controller: remove unused includes

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Make check for updates work again

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Move functionality to daemon and tray icon

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Rename SystemTray to TrayIcon

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Add missing trayicon.* files

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Add missing QDesktopWidget

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Fix syntax errors

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Add missing include

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Include missing QOperatingSystemVersion on Mac

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Move update checking to daemon

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Remove obsolete method Controller::doLater

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Some cleanup

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Rename Controller to Flameshot

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Final touches

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2022-03-25 09:47:21 -05:00
borgmanJeremy
e97f733784 fixed high CPU usage on pin (#2502) 2022-03-25 08:43:51 -05: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