Commit Graph

38 Commits

Author SHA1 Message Date
Yuriy Puchkov
f5aa36f1a5 Move S3 configuration to /etc for linux version 2020-07-06 11:53:19 +03:00
Yuriy Puchkov
76925b031e Remove delete button on form upload to s3 window 2020-07-03 16:14:49 +03:00
Yuriy Puchkov
ceadb0d833 Upload screenshot to S3 on Enter after capture 2020-07-02 21:21:32 +03:00
Yuriy Puchkov
c4a745d838 Message and translation fix 2020-07-02 18:26:27 +03:00
Yuriy Puchkov
46a42b4526 Make S3 bucket configurable 2020-06-30 15:37:05 +03:00
Yuriy Puchkov
54812db981 Add S3 cloud storage support 2020-06-23 15:14:56 +03: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
lupoDharkael
2fd982bed3 Remove not needed file 2018-04-10 16:07:30 +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