Commit Graph

41 Commits

Author SHA1 Message Date
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
514195ff41 Don't hardcode temp path 2018-01-12 17:55:19 +01:00
lupoDharkael
f4c08dc3b9 Less error prone reset to default config 2018-01-10 17:55:57 +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
05bcf5071e Update default values 2018-01-02 01:06:39 +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
649aedd374 Fix Windows missing header 2017-12-30 16:44:38 +01:00
lupoDharkael
749b73cbb6 Add autostart option 2017-12-30 14:35:22 +01:00
lupoDharkael
500d537902 Force INI config format 2017-12-26 19:18:11 +01:00
lupoDharkael
c019e19109 Use tray notifications in Windows 2017-12-26 14:23:29 +01:00
lupoDharkael
16c959c826 Add timeout using tray notification 2017-12-26 02:06:57 +01:00
lupoDharkael
77aa604127 Remove dbus from Windows build 2017-12-26 02:00:07 +01:00
lupoDharkael
b162101cd8 Simpler desktop detection code 2017-12-24 00:00:05 +01:00
lupoDharkael
67297f1fe7 Fix Gnome Wayland detection 2017-12-23 23:46:01 +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
a5df852268 Add experimental support for captures with compositor 2017-12-15 18:16:33 +01:00
lupoDharkael
fb8112a2a4 App launcher: start in terminal when defined in desktop files 2017-12-14 19:31:41 +01:00
lupoDharkael
aca1546b1f Now you can choose to open the screenshot with more apps 2017-12-11 01:32:51 +01:00
lupoDharkael
9e6a7f76bd Fix App Opener widget 2017-12-04 18:29:52 +01:00
lupoDharkael
0357edaed8 App Launcher: add KeepOpen option 2017-12-02 11:13:11 +01:00
lupoDharkael
4664562728 Add OpenWith... tool 2017-12-01 21:35: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
567c99a75e Add desktop enviroment checker 2017-10-28 22:22:04 +02:00
lupoDharkael
85eaa7d82e Add forced button order 2017-10-28 18:29:14 +02:00
lupoDharkael
6c68d35875 Compatibility with Qt 5.3 and Debian 8 2017-08-21 23:46:30 +02:00
lupoDharkael
b966a10c09 Now you can change the thickness of the drawing tools! 2017-08-17 14:47:27 +02:00
lupoDharkael
f6cd946995 Now ConfigHandler doesn't inherits from QObjet 2017-08-16 14:41:58 +02:00
lupoDharkael
6cefead0fc delete inlines, trust the compiler 2017-08-16 14:34:16 +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
260561f074 Fix condition for desktop notifications 2017-07-28 23:04:17 +02:00
lupoDharkael
bd4b5b0def Add base system notifications class 2017-07-28 18:53:17 +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
lupoDharkael
8870fd1ed4 Add delayed capture support
Adding this option required to modify the dbus API, with this changed I've improved the logic which saves the captures.
2017-07-25 00:05:31 +02:00
dharkael
b14d3cb5f0 Add helper widget for filename configuration 2017-07-20 13:48:00 +02:00
lupoDharkael
d4e7c63cb4 Big code refactor
The design was defective and I didn't expect the popularity of the project. After these changes the code will be more mantainable and understandable.

Among the changes we can see:
- A better code structure
- Decoupled button widget from its logic
- More code reuse
- Easier way to add buttons
- Specialized classes
2017-07-19 09:49:24 +02:00
lupoDharkael
ba90513fe7 Add base code for custom filenames 2017-07-11 17:46:22 +02:00