Commit Graph

68 Commits

Author SHA1 Message Date
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
Alfredo Ramos
a56a58aea9 Store settings colors in hexadecimal format (#243)
This will make easier to see and edit colors in the settings file.

The format is defined by QColor::HexRgb

Fixes #142

https://doc.qt.io/qt-5/qcolor.html#NameFormat-enum

* Add config colors validation

If the user adds an invalid hexadecimal colors, defined default colors will be used instead
2018-06-07 14:23:41 +02:00
lupoDharkael
6adcfef413 Add color tools inside the capture editor 2018-05-16 23:02:30 +02:00
lupoDharkael
c766b3e048 Add capture individual screens option 2018-05-08 21:23:09 +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
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
595e778673 Fix default filename in Windows 2018-04-16 18:25:05 +02:00
lupoDharkael
1047aa0058 Make SysNotification title string translatable 2018-04-11 20:00:05 +02:00
Ahmed Zetao Yang
91bf065e82 fix translations files path (#184)
* fix translations files path

* add soft link for translation files
2018-04-11 18:54:42 +02:00
lupoDharkael
ab207d8546 Saves use datetime as default name 2018-04-10 17:02:55 +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
Boyuan Yang
986b774142 systemnotification: Fix wrong icon name (#174)
Current implementation of SystemNotification::sendMessage()
is wrongly using "flameshot.png" as icon name.

We should strip the suffix and directly use "flameshot" to comply
with Desktop Notification Specification.

This commit does so and indeed makes notifications show flameshot
icon on GNOME Shell again.

See also https://developer.gnome.org/notification-spec/ .
2018-03-26 13:17:24 +02:00
lupoDharkael
0c943d4f87 Remove Encoding entry from autostart file 2018-02-24 11:55:01 +01:00
lupoDharkael
5461b27f0e Improve content of autostart file 2018-02-22 16:39:46 +01:00
lupoDharkael
1fa3c8f81a Add custom packaging prefix to the translation paths 2018-02-12 20:59:26 +01:00
lupoDharkael
85da4a3045 Translation paths based on OS 2018-02-02 20:57:27 +01:00
lupoDharkael
cc8f697163 Improve folder organization 2018-01-30 15:23:44 +01:00
lupoDharkael
71b63dcd6a Maintain config compatibility until 1.0 2018-01-24 01:27:25 +01:00
lupoDharkael
addc3dfd8c Launch at startup now working on Windows 2018-01-24 01:11:04 +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
Peter Schuller
48106975fb Fix case statement (so we build with clang). (#101) 2018-01-22 21:15:21 +01:00
lupoDharkael
e1bc6ba9c6 Start using #pragma once 2018-01-22 20:08:21 +01:00
lupoDharkael
89ac281033 Fix whitespace consistency 2018-01-19 00:58:40 +01:00
lupoDharkael
16a082c713 Fix MSVC warnings 2018-01-18 17:26:58 +01:00
lupoDharkael
bf9892d05e Use Native File Dialog 2018-01-14 16:21:33 +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
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