Commit Graph

78 Commits

Author SHA1 Message Date
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
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
213cd5d48c Prevent compilation with empty version
Compiling the project without git installed uses a hardcoded
version with a *-dev ending in the dev versions instead of
the specific commit information after the version.
2018-04-23 20:17:34 +02:00
lupoDharkael
205cd7c87b Add basic code for the Pin tool 2018-04-17 00:06:57 +02:00
lupoDharkael
f1ec6f885e Selection refactor
New improved selection code:
- Selection decopuled into a new class
- When you drag the selection against the limits it won't become
permanently smaller, it will "bounce" trying to recover its size.
If you drop it again it will adapt its size to the borders of the
screen.
- Fixed bugs in the button position algorithm.
- Implemented selection animations for future implementations.
2018-04-15 21:29:16 +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
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
Alfredo Ramos
1bf2829217 Use single desktop file with actions (#149)
* Merge desktop files

Use Desktop Actions instead of installing three different files, this would prevent confusion (see #140) and will make easier to maintain a single desktop entry.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887466
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#extra-actions

* Desktop entry cleanup

Translations were removed to start clean and because they need to be updated to match the new Name.
2018-03-04 12:23:51 +01:00
lupoDharkael
1fa3c8f81a Add custom packaging prefix to the translation paths 2018-02-12 20:59:26 +01:00
Rafael Arellano
56957caa5c Add prefix to translations in .pro (#112) 2018-02-12 20:50:17 +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
Daniel Napora
e0d70070bd Polish translation (#104) 2018-01-26 23:52:21 +01:00
lupoDharkael
5003ec26fb Update translations in .pro 2018-01-19 23:08:59 +01:00
lupoDharkael
05da137670 Minor code fixes 2018-01-18 17:16:34 +01:00
lupoDharkael
c8d4f613ff .pro cleanup 2018-01-17 23:30:38 +01:00
lupoDharkael
37a16a9e41 Change ./translation/* to ./translations/* 2018-01-16 20:01:49 +01:00
Peter Dave Hello
338a04921e Add Traditional Chinese translation (#89) 2018-01-16 18:19:47 +01:00
lupoDharkael
af937ddd25 Update .pro 2018-01-16 17:58:04 +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
46b6485db7 Update translations 2018-01-13 15:07:19 +01:00
lupoDharkael
45538387f8 MSVC: Fix linker error 2018-01-12 17:07:14 +01:00
lupoDharkael
dc50cd9193 Fix invalid ui language name for Simplified Chinese (zh_CN) 2018-01-10 16:18:27 +01:00
Boyuan Yang
c726e06d3b appdata: Install appdata into /usr/share/metainfo (#71)
The appdata description file was installed into the legacy path /usr/share/appdata/ .

This commit would install appdata info into the canonical dir /usr/share/metainfo/ .

Refs:
 https://lintian.debian.org/tags/appstream-metadata-in-legacy-location.html
2018-01-09 17:32:35 +01:00
Vitaly Zaitsev
2d2ce8c84d Added AppData manifest file for Gnome Software. (#68)
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2018-01-08 21:31:46 +01:00
lupoDharkael
5bdaea9c1f Revert local path for translations 2018-01-08 17:05:07 +01:00
Alexander Wilms
4a11806d9c Make packaging for Flatpak easier (#57) 2018-01-07 13:14:24 +01:00
lupoDharkael
0b174e0a83 Update translations 2018-01-07 01:11:54 +01:00
lupoDharkael
619e19cf68 Fix version generation 2018-01-06 18:23:44 +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
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
77aa604127 Remove dbus from Windows build 2017-12-26 02:00:07 +01:00
lupoDharkael
10a93ad49c Update .pro 2017-12-24 13:58:05 +01:00
lupoDharkael
c7147f9131 Use single desktop files 2017-12-23 15:39:29 +01:00
lupoDharkael
91a595644f Take program version from git tag 2017-12-19 21:15:17 +01:00
lupoDharkael
8e81c3361b Automatic translation generation in builds 2017-12-19 20:48:59 +01:00
lupoDharkael
a0fdb96e44 Open App tool: design changes
- Search bar with realtime search
- Show all app categories by default
2017-12-18 15:51:00 +01:00
lupoDharkael
5ba50ebf1d Add bash-completion in the install 2017-12-14 21:10:13 +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
b0f385caf4 Add Blur tool 2017-12-04 00:28:25 +01:00
lupoDharkael
4664562728 Add OpenWith... tool 2017-12-01 21:35:07 +01:00
lupoDharkael
bb6ac04d60 Add --raw flag
Updated dbus API. Now it sends a signal with every capture, it may
be captureFailed or a captureTaken which contains the raw image
bytes in png format. You have to add an id to the screenshot calls
so it will be returned as a way to know the origin of the signal.
2017-11-09 18:14:04 +01:00
lupoDharkael
567c99a75e Add desktop enviroment checker 2017-10-28 22:22:04 +02:00
lupoDharkael
c54d327d9c Change verion model (X.X.X-dev | X.X.X) 2017-10-27 18:25:45 +02:00
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
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