Commit Graph

229 Commits

Author SHA1 Message Date
lupoDharkael
7b36148c05 Fix panel mouse event handling 2018-04-15 12:59:07 +02:00
lupoDharkael
522c9b1ed1 Add panel
The side panel opens with the Space key, this panel can contain
    widgets to assist the capture with more features.
    This commit fixes the preview of the tool hiding it when the
    mouse hovers a widget. This is more needed now having a new widget
    inside the CaptureWidget.
2018-04-13 20:26:24 +02:00
lupoDharkael
1047aa0058 Make SysNotification title string translatable 2018-04-11 20:00:05 +02:00
lupoDharkael
009b6fb71a Systray: add Take Screenshot menu item 2018-04-11 19:27:33 +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
7977b5a6a7 Fix arrow undo 2018-04-11 01:21:17 +02:00
lupoDharkael
0f5159a748 Prevent the selection from leaving the area 2018-04-10 18:57:03 +02:00
lupoDharkael
e18a291545 Center the buttons when they are inside of the selection 2018-04-10 18:49:29 +02:00
lupoDharkael
ab207d8546 Saves use datetime as default name 2018-04-10 17:02:55 +02:00
lupoDharkael
2fd982bed3 Remove not needed file 2018-04-10 16:07:30 +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
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
0e81c6b1f9 Fix #169: Unable to write file when exporting config 2018-03-18 13:15:09 +01:00
Boyuan Yang
0523a83722 Pop notifications after captures are saved in clipboard (#164) 2018-03-10 17:33:48 +01:00
lupoDharkael
dddd185394 Allow tray customization 2018-03-02 15:12:14 +01:00
Gennadiy Chernyshyk
a289713cfe Remove unnecessary space symbol from one string in settings (#146) 2018-03-02 13:43:15 +01:00
lupoDharkael
fff5888152 Fix full -c block 2018-02-28 14:46:53 +01: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
423bf5929f Blur tool: increase blur level 2018-02-20 23:02:32 +01:00
lupoDharkael
1fa3c8f81a Add custom packaging prefix to the translation paths 2018-02-12 20:59:26 +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
lupoDharkael
db8a483b7f Dont use applicationFilePath() before QApplication instantiation 2018-02-05 15:25:40 +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
85da4a3045 Translation paths based on OS 2018-02-02 20:57:27 +01:00
lupoDharkael
15ab748aa1 Fix build 2018-01-30 17:13:37 +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
a9b0c21304 Fix Windows multimonitor capture 2018-01-24 00:43:19 +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
55924bf37e Fix LoadSpinner size 2018-01-23 18:56:38 +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
8e777f4ac3 Fix colorpicker size in hidpi screens 2018-01-22 15:31:46 +01:00
lupoDharkael
eb2f917140 Close modal widgets before a graphical capture 2018-01-20 18:16:48 +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
54c839f673 App launcher: keep icon aspect ratio 2018-01-18 18:48:34 +01:00
lupoDharkael
1cc2161299 Fix config import with no selection 2018-01-18 18:45:58 +01:00
lupoDharkael
33ae4d9bc2 App launcher: use scaled icons 2018-01-18 18:21:40 +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
03f4801200 Scale button icons 2018-01-18 00:33:54 +01:00
lupoDharkael
2c1080bfaa Initial work towards better dpi support 2018-01-17 23:43:22 +01:00
lupoDharkael
d8d470e242 Prevent buttons going out of screens 2018-01-15 23:11:20 +01:00