Commit Graph

178 Commits

Author SHA1 Message Date
lupoDharkael
b966a10c09 Now you can change the thickness of the drawing tools! 2017-08-17 14:47:27 +02:00
lupoDharkael
321ec1b555 Add a resource exporter module 2017-08-16 21:00:29 +02:00
lupoDharkael
a28104d60c Add config desktop entry 2017-08-16 18:23:56 +02:00
lupoDharkael
25135b92a0 CaptureButton cleanup and add shadow effect 2017-08-16 15:54:09 +02:00
lupoDharkael
f6cd946995 Now ConfigHandler doesn't inherits from QObjet 2017-08-16 14:41:58 +02:00
lupoDharkael
b6c1b8f047 Fix disable selection when you click outside 2017-08-16 14:36:17 +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
6ed8ad5597 Add some micro-optimizations in the painting process 2017-08-10 14:57:34 +02:00
lupoDharkael
c3bb1814c4 Only hide buttons drawing behind them when inside the area 2017-08-10 14:03:08 +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
4d0b4d7b51 Fix button's emerge animation while hovering 2017-08-08 20:27:12 +02:00
lupoDharkael
16c99994d6 Hide buttons while drawing behind them 2017-08-08 20:19:58 +02:00
lupoDharkael
973818c466 Add informative labels in filename editor 2017-08-08 17:59:29 +02:00
lupoDharkael
8addcbfb16 New command line parser
A new, more flexible and restrictive parser to improve the
usage and experience of Flameshot in the command line.
This parser is based on a parent-child node model and is very easy
to define relationships between arguments and options with
informative error checking. You can define lambdas to check the
received values for every option and custom error messages
2017-08-08 17:06:34 +02:00
lupoDharkael
303606a138 Creation of 'third-party' directory 2017-08-02 14:04:51 +02:00
lupoDharkael
a8b143a303 More uniform button's hover color 2017-08-02 11:48:46 +02:00
lupoDharkael
2ca525326e Add horizontal adjustment in marker and line tools 2017-08-01 21:28:39 +02:00
lupoDharkael
2ea32e061b Info window with more adaptative layout 2017-08-01 14:32:59 +02:00
lupoDharkael
3daeab9b66 Add minor visual improvements to the menu widgets 2017-08-01 13:21:39 +02:00
lupoDharkael
ebd5272dd9 Add error check parsing cli color settings 2017-08-01 00:14:56 +02:00
lupoDharkael
8274e6817d Handle case when the update of the config ui buttons failed 2017-07-31 23:35:20 +02:00
lupoDharkael
a57373c6c0 Adaptative color wheel's selector based on system's theme 2017-07-31 23:00:17 +02:00
lupoDharkael
d9c6b603bb Autoupdate config menu after config changes 2017-07-31 22:41:08 +02:00
lupoDharkael
3e7e6d1652 Improve expanding layout in UI config 2017-07-31 18:07:27 +02:00
lupoDharkael
162bd5f543 Add update values slot for config widget 2017-07-31 01:00:14 +02:00
lupoDharkael
37acf9383c Improve CLI commands
- Add configuration commands
- Improve error handling
- Update DBus interface
2017-07-30 18:08:25 +02:00
lupoDharkael
6bb7746d17 Fix problem with save dialog and clipboard copy 2017-07-30 18:08:02 +02:00
lupoDharkael
e94ef2bd3b Add graphical option to disable the trayicon 2017-07-28 23:58:40 +02:00
lupoDharkael
260561f074 Fix condition for desktop notifications 2017-07-28 23:04:17 +02:00
lupoDharkael
1c56baa00f Add in-app version information 2017-07-28 21:23:25 +02:00
lupoDharkael
bd4b5b0def Add base system notifications class 2017-07-28 18:53:17 +02:00
lupoDharkael
d7f19a6fcf Remove partial translation in cli 2017-07-28 18:34:00 +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
165939c88f The menus are now resizable 2017-07-26 17:53:20 +02:00
lupoDharkael
cfcd900114 Update license information 2017-07-26 14:47:11 +02:00
lupoDharkael
e96ae28cb8 Improve cursor update 2017-07-26 14:16:55 +02:00
lupoDharkael
7ff9013a6f Shrink the selection area when pushing against the borders of the screen 2017-07-25 19:12:39 +02:00
lupoDharkael
abedbdc749 Add a information message in the filename editor window 2017-07-25 12:51:02 +02:00
lupoDharkael
dc005f6cf0 Fix logging format 2017-07-25 12:09:09 +02:00
lupoDharkael
443e3bd674 Fix default status value in graphical save 2017-07-25 11:45:28 +02:00
lupoDharkael
25fb92388a Add delay info to the Readme 2017-07-25 11:35:20 +02:00
lupoDharkael
1f8243c48a Set focus in lineEdit after adding variables to the filename pattern 2017-07-25 00:12:47 +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
lupoDharkael
8d76deaa5a Add post-refactor translations 2017-07-23 17:14:56 +02:00
lupoDharkael
e1169ae79e Add size indicator icon 2017-07-23 17:14:48 +02:00
lupoDharkael
30491887d5 Fix buttons hide in capture mode
When clicking inside the selection area repeatedly the buttons were hiding and appearing for every click. Now the wont disappear if you click inside the area.
2017-07-23 17:14:43 +02:00
lupoDharkael
096eb88770 Add full selection of buttonsoption 2017-07-23 17:14:37 +02:00
lupoDharkael
346607bc34 Redesign of the config menu 2017-07-23 17:13:35 +02:00
dharkael
b14d3cb5f0 Add helper widget for filename configuration 2017-07-20 13:48:00 +02:00