Commit Graph

61 Commits

Author SHA1 Message Date
Jeremy Borgman
0d5386edd4 Changed clang format to new agreement 2020-09-24 07:53:28 -05:00
Jeremy Borgman
7715bdeb29 adjusted to only open one window for the launcher 2020-09-18 10:38:59 -05:00
Alex P
fa9ec7adba refactor CaptureButton and use CSS for side panel button 2020-09-13 15:00:42 -05:00
Jeremy Borgman
9bc4ea5700 Fixed it so a notification is always sent when saved to clipboard 2020-09-10 10:36:50 -05:00
Jeremy Borgman
ed4ea1377b Changed menu item to match window title 2020-09-08 11:30:44 -05:00
Boyuan Yang
18f18ce7ef Fix D-Bus activation name
Originally the App uses org.dharkael.Flameshot in D-Bus.
Since we have moved the project under organization, the
name we are using now should be org.flameshot.Flameshot.
This need to be kept unified across the whole project.

This fixes D-Bus invocation problem and should fixes: #850 .
2020-09-07 11:16:03 -05:00
Jeremy Borgman
5dba3de778 Added ubuntu CI and fixed issue uncovered during CI. Also added clang-format 2020-09-04 20:40:45 -05:00
Jeremy Borgman
c8d15205be reformatted to Mozilla code style 2020-09-04 20:40:45 -05:00
Jeremy Borgman
dc77029cde Fixed most depratated warnings. 2020-07-13 15:02:18 -05:00
Jeremy Borgman
f5013df306 First pass at converting from qmake to cmake. 2020-07-10 20:10:14 -05:00
lupoDharkael
d4715750df Add basic launcher panel 2019-04-21 20:34:57 +02:00
lupoDharkael
cbb4727786 Add option to close flameshot after every capture 2019-04-21 20:03:40 +02:00
lupoDharkael
42619158fa Update copyright year 2019-03-04 16:38:45 +01:00
Alfredo Ramos
ee2f583acd Fix some issues detected by Clazy (#384)
* Fix old style connect

* Fix unneeded QString memory allocations
2018-10-24 01:04:42 +02:00
Alfredo Ramos
7ba02666d1 Fix most of the issues reported by cppcheck (#290) 2018-07-29 00:17:50 +02:00
Alfredo Ramos
228c4f15e5 Use absolute locations in translation files (#288)
They provide context when using Qt Liguist, as it shows the source code where it is being used.

Also replaced QT (capital T) with Qt, as the latter is the correct name.
2018-07-28 00:03:02 +02:00
Alfredo Ramos
d09580b873 Optimize and use SVG images where possible (#281)
SVG images have been optimized with svgo, this will slightly reduce package size though the main reason for this was to remove unneeded markup.

Image paths have been changed and merged, now the directory tree looks like this:

img
├── app
├── material
│   ├── black
│   └── white
└── preview

The reason to merge the paths is to avoid duplicate files for buttons and configuration.

SVG icons are used by default now, PNG images have not been deleted from the images directory, but they were deleted from the graphics.qrc resource file.

All image paths were updated accordingly, except in the tray icon, I could not make it work using the SVG image.
2018-07-24 00:43:01 +02:00
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
lupoDharkael
49227fac43 Solve cppcheck warnings 2018-05-26 18:38:06 +02:00
lupoDharkael
12faddff8b Revert: Prevent alt+tab from stealing keyboard
Using grabKeyboard() is not a good solution as it breaks
the text tool and causes other problems.
2018-05-17 20:56:13 +02:00
lupoDharkael
13b0e61d36 Prevent alt+tab from stealing keyboard (#133) 2018-05-17 19:01:06 +02:00
lupoDharkael
c766b3e048 Add capture individual screens option 2018-05-08 21:23:09 +02:00
lupoDharkael
5432614651 Add Text tool
closes #11
Add an initial version of the text tool.
This commit adds:
- Basic text tool.
- On demand thickness and color update.
- Generalized logic for future widget based tools.
2018-05-06 13:56:45 +02:00
lupoDharkael
801fb7ebf0 Fix windows build 2018-04-29 12:55:16 +02:00
lupoDharkael
28940f9e75 Remove dbus related header in CaptureRequest 2018-04-29 11:37:01 +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
c942383b00 Selection fixes 2018-04-19 09:16:30 +02:00
lupoDharkael
344d327528 Add autostart to config flags 2018-04-16 19:34:17 +02:00
lupoDharkael
009b6fb71a Systray: add Take Screenshot menu item 2018-04-11 19:27:33 +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
dddd185394 Allow tray customization 2018-03-02 15:12:14 +01:00
lupoDharkael
fff5888152 Fix full -c block 2018-02-28 14:46:53 +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
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
cc8f697163 Improve folder organization 2018-01-30 15:23:44 +01:00
lupoDharkael
a9b0c21304 Fix Windows multimonitor capture 2018-01-24 00:43:19 +01:00
lupoDharkael
e1bc6ba9c6 Start using #pragma once 2018-01-22 20:08:21 +01:00
lupoDharkael
eb2f917140 Close modal widgets before a graphical capture 2018-01-20 18:16:48 +01:00
lupoDharkael
bf9892d05e Use Native File Dialog 2018-01-14 16:21:33 +01:00
lupoDharkael
0c7bd9ca0c Open With tool: show native dialong on Windows 2018-01-13 17:21:40 +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
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
3258062d16 Windows fixes and adaptation
Binary will have icon
Start capture with Print key
Fix .rc generation
2017-12-28 18:18:14 +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
4664562728 Add OpenWith... tool 2017-12-01 21:35:07 +01:00
lupoDharkael
de2580e946 Redefinition of fullscreen commands 2017-11-13 16:21:46 +01:00
lupoDharkael
485bc58b9d Add desktop notification about failed captures 2017-11-10 19:56:59 +01:00