Commit Graph

85 Commits

Author SHA1 Message Date
Yuriy Puchkov
efa7cb7983 Add default path configration for screenshots 2020-07-13 10:56:08 +03:00
Yuriy Puchkov
7e5b5a2775 Update message 'Close after capture' to 'Close application after capture', update russian translations 2020-07-01 18:42:20 +03:00
teryanik
62dbabc341 Add option to auto copy URL after upload (#553) 2019-10-01 19:58:29 +02:00
lupoDharkael
cbb4727786 Add option to close flameshot after every capture 2019-04-21 20:03:40 +02:00
greno4ka
7ee9a3f173 Fix problem with disabled tray icon (#495) 2019-04-18 13:41:08 +02: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
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
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
lupoDharkael
49227fac43 Solve cppcheck warnings 2018-05-26 18:38:06 +02:00
lupoDharkael
6adcfef413 Add color tools inside the capture editor 2018-05-16 23:02:30 +02:00
Alfredo Ramos
e69859dc72 Fix config export (#220)
If the user presses the Cancel button using the QFileDialog::getSaveFileName() modal file dialog, it will return null string.

Adding this condition will prevent to show an error when trying to write to disk using an invalid filename.
2018-05-13 23:46:16 +02:00
lupoDharkael
17ac6f7a35 Filename: replace colons with dashes 2018-04-23 17:09:19 +02:00
lupoDharkael
17a9000beb Define default tools
Before this change all the tools were used in the editor, now
there is a list of tools enabled by default.
2018-04-16 18:46:00 +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
lupoDharkael
f9fb7694e5 No keyboard focus in opacity slider 2018-04-05 20:37:54 +02:00
lupoDharkael
0e81c6b1f9 Fix #169: Unable to write file when exporting config 2018-03-18 13:15:09 +01:00
Gennadiy Chernyshyk
a289713cfe Remove unnecessary space symbol from one string in settings (#146) 2018-03-02 13:43:15 +01:00
lupoDharkael
cc8f697163 Improve folder organization 2018-01-30 15:23:44 +01:00
lupoDharkael
6e9a9bc69a Fix Qt5.3 build 2018-01-23 19:03:39 +01:00
lupoDharkael
ae9b8c062c Fast draw colors are now loaded from config 2018-01-23 18:58:19 +01:00
lupoDharkael
d721dcd560 Prefer prefer QVector over QList 2018-01-23 18:14:17 +01:00
lupoDharkael
e1bc6ba9c6 Start using #pragma once 2018-01-22 20:08:21 +01:00
lupoDharkael
69625f427b Show error msg after an unsuccessful config export 2018-01-20 17:58:44 +01:00
lupoDharkael
89ac281033 Fix whitespace consistency 2018-01-19 00:58:40 +01:00
lupoDharkael
1cc2161299 Fix config import with no selection 2018-01-18 18:45:58 +01:00
lupoDharkael
16a082c713 Fix MSVC warnings 2018-01-18 17:26:58 +01:00
lupoDharkael
05da137670 Minor code fixes 2018-01-18 17:16:34 +01:00
lupoDharkael
2c1080bfaa Initial work towards better dpi support 2018-01-17 23:43:22 +01:00
lupoDharkael
895ef8fa58 Opacity Config: add % symbol after the value 2018-01-13 15:02:41 +01:00
lupoDharkael
3a38abc2ab Add missing license information 2018-01-12 18:10:02 +01:00
lupoDharkael
02865322bf Update copyright 2018-01-12 17:58:30 +01:00
lupoDharkael
5f96f148d5 Show opacity slider value 2018-01-12 17:07:57 +01:00
lupoDharkael
576c64f3c6 Don't hide the icon configuring button colors 2018-01-10 18:03:19 +01:00
lupoDharkael
248c446dec Reimplement default configuration
Now it uses real default values without having to set all the
    initial values.
    I a value is not found it will use the default one.
2018-01-09 19:45:07 +01:00
lupoDharkael
2932e5930d Add configurable transparency
Now the opacity of the area outside the selection in the graphical
capture is configurable.
2017-12-31 17:46:26 +01:00
lupoDharkael
749b73cbb6 Add autostart option 2017-12-30 14:35:22 +01:00
lupoDharkael
c5d85de482 FileSystemWatcher: update after file deletion only 2017-12-26 16:50:49 +01:00
lupoDharkael
77aa604127 Remove dbus from Windows build 2017-12-26 02:00:07 +01:00
lupoDharkael
3482228aaa Group config file exporting buttons 2017-12-16 19:29:02 +01:00
lupoDharkael
0214b7f557 Add configuration import, export and reset 2017-12-15 23:11:38 +01:00
lupoDharkael
11b101570f Use QStringLiteral 2017-12-15 18:34:05 +01:00
lupoDharkael
aca1546b1f Now you can choose to open the screenshot with more apps 2017-12-11 01:32:51 +01:00
lupoDharkael
4a56f44bb9 Refactor in the mechanism of saving and exporting
- new imgur upload interface.
- rework for a better code structure. It still needs another change separating the Controller from the code dedicated to export data to the system.
- created the concept of "worker", component used to do some work based on a screenshot.
2017-08-16 13:44:33 +02:00
lupoDharkael
924d467c53 general cleanup
-use of the override keyword
-delete unused code
-const correctness
-more uniform code style
-for each with const references when possible
-getters no longer use the word 'get'
-others
2017-08-09 13:20:07 +02:00
lupoDharkael
973818c466 Add informative labels in filename editor 2017-08-08 17:59:29 +02:00
lupoDharkael
3daeab9b66 Add minor visual improvements to the menu widgets 2017-08-01 13:21:39 +02:00
lupoDharkael
8274e6817d Handle case when the update of the config ui buttons failed 2017-07-31 23:35:20 +02:00
lupoDharkael
d9c6b603bb Autoupdate config menu after config changes 2017-07-31 22:41:08 +02:00