Yurii Puchkov
203b5baab6
Added UploaderManager for further multiple Storage for images support ( #2142 )
...
Co-authored-by: Yuriy Puchkov <yuriy.puchkov@namecheap.com >
2021-12-07 17:19:32 -06:00
Haris Gušić
a96c3302e9
Add accept tool
...
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
2021-10-08 19:11:22 +02:00
Haris Gušić
fef7787011
Capture GUI refactor ( #1939 )
...
* Merge CTB::ButtonType into CaptureTool::Type
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Remove configshortcuts.cpp which I forgot to do earlier
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Add activeButtonTool & activeButtonToolType in CaptureWidget
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Rename slots in CaptureTool for better mnemonics
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Fix move tool bug
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Refactor ShortcutsWidget::initButtons
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Move code from CaptureWidget to SelectionWidget: part 1
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Move code from CaptureWidget to SelectionWidget: part 2
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Move code from CaptureWidget to SelectionWidget: part 3
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Move code from CaptureWidget to SelectionWidget: part 4
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Add SelectionWidget::updateCursor
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Move code from CaptureWidget to SelectionWidget: part 5
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Refactor mouse events in CaptureWidget
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Overlay message update
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Replace connect/disconnect with blockSignals
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* updateIcon on button animation finished
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Remove CaptureWidget::selectAll
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Move moveLeft and similar to SelectionWidget
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Mark update calls for removal
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Specialize CaptureWidget update to affected rects
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Tune update of tool objects
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Remove redundant CaptureTool requests
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Improve performance of update in CaptureWidget
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Fix failing builds
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Fix failing builds again
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Fix undo/redo update
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Undo/redo update workaround
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Extend capture tool update rects
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Fix circle count tool update bug
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Add 'Left Double-Click' tooltip to copy button
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Improve ColorPicker performance
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
2021-10-08 11:04:06 -05:00
crackcat
df20c7ec8f
Add a tool to take an inverted screenshot ( #1849 )
...
* Add invert tool to build commands
* Add icons for invert tool
* Integrate invert tool
* Add shortcut for invert tool
* Add invert tool
* Add translation for invert tool
* Run clang-format
* Update tool to invert a region instead of everything
* Update shortcut for invert tool
* Update button order of inverter and counter
* Update translations for invert tool
* Run clang-format
* Revert "Update translations for invert tool"
This reverts commit c1fd5a162be6c64b26790d53eab3749b3a124bcf.
* Revert "Add translation for invert tool"
This reverts commit b0c1da5f36e844fa8b5f1492f5f507d85bb7aa7b.
* Update drawSearchArea to match pixelate
* Update invert icon to one from Material Design
Co-authored-by: crackcat <>
2021-09-01 06:45:20 -05:00
Haris Gušić
2608d1ecc0
Fix issue #1794 ( #1795 )
...
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
2021-08-02 08:00:27 -05:00
Martin-Eckleben
1bf75693dd
Fixing commit for merging. This is a new feature to add a gui button for
...
chaging the global thickness.
2021-03-04 07:38:36 -06:00
Boyuan Yang
a9c7cc7b04
Use SPDX-License-Identifier
...
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.
2021-02-20 19:22:53 -05:00
Yuriy Puchkov
ebdb3743dd
Code refactoring - remove Q_OS_MAC64 (is not required, is covered by Q_OS_DARWIN)
...
(cherry picked from commit e511b521cec6edd9f77916c6ee753329326a5f91)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
dd54d028a1
Code refactoring - remove Q_OS_MACX (is not required, is covered by Q_OS_DARWIN)
...
(cherry picked from commit 00b9aae5266aaffb9a01a6f689e1829ae8218bdc)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
a893fdfc75
Code refactoring - remove Q_OS_MAC (deprecated synonym for Q_OS_DARWIN)
...
(cherry picked from commit aff1649670aa5ba64f2927933a29c62b06fee21f)
2021-02-17 18:46:12 +02:00
Jeremy Borgman
73fe772b70
resolving merge conflicts
2021-01-08 10:19:53 -06:00
Yuriy Puchkov
b4be86068d
fix - MacOS - Black screen when saving files with a hotkey
2020-12-03 16:18:30 +02:00
Yuriy Puchkov
2e7d4431ce
MacOS - disable CaptureToolButton
2020-12-03 12:03:51 +02:00
Jeremy Borgman
dec8c63f14
fixed formatting
2020-10-20 10:03:56 -05:00
Jeremy Borgman
62466d6581
Preparing for upstream merge
2020-10-20 06:53:59 -05:00
Yuriy Puchkov
9826558063
Fix issue of merge upstream repo to Namecheap one
2020-09-25 08:59:15 +03:00
Yuriy Puchkov
d4d3b9eae0
Merge branch 'master-flameshotorg' into master_nc_merge_upstream
...
# Conflicts:
# .travis.yml
# appveyor.yml
# data/graphics.qrc
# data/img/app/keyboard.svg
# data/img/material/black/delete.png
# data/img/material/black/delete.svg
# data/img/material/black/filepath.svg
# data/img/material/black/shortcut.svg
# data/img/material/white/filepath.svg
# data/img/material/white/shortcut.svg
# data/translations/Internationalization_hu.ts
# data/translations/Internationalization_ka.ts
# external/Qt-Color-Widgets/src/color_wheel.cpp
# external/singleapplication/singleapplication.cpp
# flameshot.pro
# src/cli/commandlineparser.cpp
# src/config/buttonlistview.cpp
# src/config/configwindow.cpp
# src/config/configwindow.h
# src/config/geneneralconf.cpp
# src/config/geneneralconf.h
# src/config/uicoloreditor.cpp
# src/config/uicoloreditor.h
# src/core/controller.cpp
# src/core/globalshortcutfilter.cpp
# src/main.cpp
# src/third-party/Qt-Color-Widgets/src/color_utils.cpp
# src/tools/abstractactiontool.h
# src/tools/abstractpathtool.h
# src/tools/arrow/arrowtool.cpp
# src/tools/arrow/arrowtool.h
# src/tools/blur/blurtool.cpp
# src/tools/capturetool.h
# src/tools/circle/circletool.cpp
# src/tools/circle/circletool.h
# src/tools/copy/copytool.cpp
# src/tools/copy/copytool.h
# src/tools/exit/exittool.cpp
# src/tools/exit/exittool.h
# src/tools/imgur/imguruploader.cpp
# src/tools/launcher/applaunchertool.cpp
# src/tools/launcher/applaunchertool.h
# src/tools/launcher/applauncherwidget.cpp
# src/tools/launcher/openwithprogram.cpp
# src/tools/line/linetool.cpp
# src/tools/line/linetool.h
# src/tools/marker/markertool.cpp
# src/tools/marker/markertool.h
# src/tools/move/movetool.cpp
# src/tools/pencil/penciltool.cpp
# src/tools/pencil/penciltool.h
# src/tools/pin/pintool.cpp
# src/tools/pin/pintool.h
# src/tools/pin/pinwidget.cpp
# src/tools/pixelate/pixelatetool.h
# src/tools/rectangle/rectangletool.cpp
# src/tools/rectangle/rectangletool.h
# src/tools/redo/redotool.cpp
# src/tools/redo/redotool.h
# src/tools/save/savetool.cpp
# src/tools/save/savetool.h
# src/tools/selection/selectiontool.cpp
# src/tools/selection/selectiontool.h
# src/tools/sizeindicator/sizeindicatortool.cpp
# src/tools/sizeindicator/sizeindicatortool.h
# src/tools/storage/imgur/imguruploader.h
# src/tools/storage/imgur/imguruploadertool.cpp
# src/tools/storage/imgur/imguruploadertool.h
# src/tools/text/textconfig.cpp
# src/tools/text/texttool.cpp
# src/tools/text/texttool.h
# src/tools/toolfactory.cpp
# src/tools/toolfactory.h
# src/tools/undo/undotool.cpp
# src/tools/undo/undotool.h
# src/utils/confighandler.cpp
# src/utils/confighandler.h
# src/utils/dbusutils.cpp
# src/utils/screenshotsaver.cpp
# src/utils/screenshotsaver.h
# src/widgets/capture/buttonhandler.cpp
# src/widgets/capture/buttonhandler.h
# src/widgets/capture/capturebutton.cpp
# src/widgets/capture/capturebutton.h
# src/widgets/capture/capturewidget.cpp
# src/widgets/capture/capturewidget.h
# src/widgets/capture/colorpicker.cpp
# src/widgets/capturelauncher.cpp
# src/widgets/infowindow.cpp
# src/widgets/infowindow.h
# src/widgets/panel/sidepanelwidget.cpp
# src/widgets/panel/utilitypanel.cpp
# src/widgets/panel/utilitypanel.h
# translations/Internationalization_ca.ts
# translations/Internationalization_de_DE.ts
# translations/Internationalization_es.ts
# translations/Internationalization_fr.ts
# translations/Internationalization_ja.ts
# translations/Internationalization_nl.ts
# translations/Internationalization_pl.ts
# translations/Internationalization_pt_br.ts
# translations/Internationalization_ru.ts
# translations/Internationalization_sk.ts
# translations/Internationalization_sr.ts
# translations/Internationalization_tr.ts
# translations/Internationalization_uk.ts
# translations/Internationalization_zh_CN.ts
# translations/Internationalization_zh_TW.ts
2020-09-24 18:52:49 +03:00
Jeremy Borgman
0d5386edd4
Changed clang format to new agreement
2020-09-24 07:53:28 -05:00
Yuriy Puchkov
1c67ad6345
Add ability to switch between s3 and imgur, add 'Latest uploads' to imgur
2020-09-22 11:23:31 +03:00
Yuriy Puchkov
471b25e6a8
Code Refactoring for s3 and imgur storages, create base class for both
2020-09-16 14:34:27 +03:00
Alex P
fa9ec7adba
refactor CaptureButton and use CSS for side panel button
2020-09-13 15:00:42 -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
c8d15205be
reformatted to Mozilla code style
2020-09-04 20:40:45 -05:00
Yuriy Puchkov
54812db981
Add S3 cloud storage support
2020-06-23 15:14:56 +03:00
Jeremy Borgman
9bb556acff
added circle counter and fixed issue with latest qt
2020-06-11 15:26:34 -05:00
lupoDharkael
42619158fa
Update copyright year
2019-03-04 16:38:45 +01: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
lupoDharkael
205cd7c87b
Add basic code for the Pin tool
2018-04-17 00:06:57 +02:00
lupoDharkael
5746a58582
Code refactor
...
More flexible tool API
Minor code format fixes
Clipboard freeze fixed(?)
Arrow correcly growing close to the start point
Improve maintainability
Add undo/redo stack
2018-04-10 15:33:08 +02:00