Commit Graph

92 Commits

Author SHA1 Message Date
Yuriy Puchkov
45daae51e9 Fix - missprints, update to more clear messages 2020-07-24 16:28:11 +03:00
Yuriy Puchkov
b6e3fb9b9c Small UI fixes, translation updates, missprint fixes 2020-07-23 16:45:04 +03:00
Yuriy Puchkov
415711d975 Add local history for last screenshots 2020-07-21 17:05:03 +03:00
Yuriy Puchkov
5861b21fcf Add local history for last screenshots 2020-07-21 13:09:24 +03:00
Yuriy Puchkov
988aa26d4b Add local history for last screenshots 2020-07-20 20:38:42 +03:00
Jeremy Borgman
dc77029cde Fixed most depratated warnings. 2020-07-13 15:02:18 -05:00
lupoDharkael
d4715750df Add basic launcher panel 2019-04-21 20:34:57 +02:00
lupoDharkael
cbb4727786 Add option to close flameshot after every capture 2019-04-21 20:03:40 +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
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
12faddff8b Revert: Prevent alt+tab from stealing keyboard
Using grabKeyboard() is not a good solution as it breaks
the text tool and causes other problems.
2018-05-17 20:56:13 +02:00
lupoDharkael
13b0e61d36 Prevent alt+tab from stealing keyboard (#133) 2018-05-17 19:01:06 +02:00
lupoDharkael
c766b3e048 Add capture individual screens option 2018-05-08 21:23:09 +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
lupoDharkael
801fb7ebf0 Fix windows build 2018-04-29 12:55:16 +02:00
lupoDharkael
48c058782a Implement single method capture request
The core now has a method requestCapture, which receives a
CaptureRequest object with all the needed information.
This reduces code duplication in future features.
2018-04-29 11:27:55 +02:00
lupoDharkael
c942383b00 Selection fixes 2018-04-19 09:16:30 +02:00
lupoDharkael
009b6fb71a Systray: add Take Screenshot menu item 2018-04-11 19:27:33 +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
dddd185394 Allow tray customization 2018-03-02 15:12:14 +01:00
lupoDharkael
b1174a1e05 Fix Windows capture with a screen on the left of the main screen 2018-02-12 20:46:59 +01:00
Ahmed Zetao Yang
23db806f4b fix "setWindowFlags": Can not find identifier (#111) 2018-02-04 14:00:02 +01:00
lupoDharkael
e02063f3e0 CaptureWidget: define flags outside of the constructor 2018-02-03 19:33:26 +01:00
lupoDharkael
cc8f697163 Improve folder organization 2018-01-30 15:23:44 +01:00
lupoDharkael
a9b0c21304 Fix Windows multimonitor capture 2018-01-24 00:43:19 +01:00
lupoDharkael
eb2f917140 Close modal widgets before a graphical capture 2018-01-20 18:16:48 +01:00
lupoDharkael
02865322bf Update copyright 2018-01-12 17:58:30 +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
3258062d16 Windows fixes and adaptation
Binary will have icon
Start capture with Print key
Fix .rc generation
2017-12-28 18:18:14 +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
bb6ac04d60 Add --raw flag
Updated dbus API. Now it sends a signal with every capture, it may
be captureFailed or a captureTaken which contains the raw image
bytes in png format. You have to add an id to the screenshot calls
so it will be returned as a way to know the origin of the signal.
2017-11-09 18:14:04 +01:00
lupoDharkael
2a899eb404 Fix default configuration on first launch 2017-09-17 17:45:16 +02:00
lupoDharkael
f0b1aceaf6 Compatibility with Qt5.5 2017-08-19 14:49:29 +02:00
lupoDharkael
321ec1b555 Add a resource exporter module 2017-08-16 21:00:29 +02: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
d9c6b603bb Autoupdate config menu after config changes 2017-07-31 22:41:08 +02:00
lupoDharkael
162bd5f543 Add update values slot for config widget 2017-07-31 01:00:14 +02:00
lupoDharkael
3199059ede The controller is globally accesible
The controller class has some important methods which may be
required in multiple parts of the code. Now that class is a
singleton (that may change in the future).
The core parts have been moved to src/core.
Now the tray Icon can be disabled by the controller.
I need to reimplement a new notification system due to its
dependency with the tray icon, they are disabled in this actual
commit.
2017-07-28 11:34:39 +02:00