Commit Graph

74 Commits

Author SHA1 Message Date
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
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
e94ef2bd3b Add graphical option to disable the trayicon 2017-07-28 23:58:40 +02:00
lupoDharkael
165939c88f The menus are now resizable 2017-07-26 17:53:20 +02:00
lupoDharkael
abedbdc749 Add a information message in the filename editor window 2017-07-25 12:51:02 +02:00
lupoDharkael
1f8243c48a Set focus in lineEdit after adding variables to the filename pattern 2017-07-25 00:12:47 +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
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