Commit Graph

450 Commits

Author SHA1 Message Date
Boyuan Yang
e5c028ad29 translations: Update zh_CN translation (#237) 2018-06-01 12:01:15 +02:00
Alfredo Ramos
e271014253 Fix README.md (#235) 2018-06-01 10:49:40 +02:00
lupoDharkael
0481c7cc9d Fix initial index in font family combo box 2018-05-28 19:22:24 +02:00
lupoDharkael
c5498ff385 Integrate Pin widget with user defined colors 2018-05-26 18:55:05 +02:00
lupoDharkael
49227fac43 Solve cppcheck warnings 2018-05-26 18:38:06 +02:00
lupoDharkael
dcaa2e321f Add text configuration in panel 2018-05-26 17:59:44 +02:00
lupoDharkael
cf7066a33e Add cancel information in grab color button 2018-05-23 12:55:26 +02:00
Dharkael
6ab7321dc2 Update release.md 2018-05-23 12:50:34 +02:00
lupoDharkael
33377d50d5 Toggle panel with Space while grabbing a color 2018-05-19 00:55:11 +02:00
lupoDharkael
a8bb555c12 Fix negative selection geometry bug
normalize only swaps the sides if width() or height() is < 0,
but we need it to happen when it is <=0 because with QRect's
normalized method we get negative geometry and that causes a bug
when we position the buttons.
2018-05-17 22:14:02 +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
c81ee94a82 Tool: add permanent config method 2018-05-17 20:18:52 +02:00
lupoDharkael
13b0e61d36 Prevent alt+tab from stealing keyboard (#133) 2018-05-17 19:01:06 +02:00
lupoDharkael
09921d507c Replace QKeySequence::Cancel (#226) 2018-05-17 17:45:25 +02:00
lupoDharkael
0bd0ab9ba4 Add side panel help text 2018-05-16 23:20:23 +02:00
lupoDharkael
6adcfef413 Add color tools inside the capture editor 2018-05-16 23:02:30 +02:00
Andrew
4b8d9ba6b2 Fix typos in readme (#224) 2018-05-16 22:32:53 +02:00
Alfredo Ramos
51e2748fdd Update Spanish translations (#221) 2018-05-14 13:58:59 +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
ld892012
45efe136da Update Internationalization_fr.ts (#219)
New strings translated
2018-05-13 19:49:33 +02:00
lupoDharkael
c766b3e048 Add capture individual screens option 2018-05-08 21:23:09 +02:00
Boyuan Yang
888f8a1370 debian: Update deb packaging instructions (#212)
With this commit, I would expect users able to build deb packages
with instructions that is compatible from Ubuntu 16.04.x LTS.

Signed-off-by: Boyuan Yang <073plan@gmail.com>
2018-05-08 14:38:18 +02:00
Ahmed Zetao Yang
65e1ad9b57 fix flameshot.spec (#214) 2018-05-08 14:37:00 +02:00
Dharkael
337aef4c55 Update issue templates 2018-05-06 23:05:06 +02:00
Dharkael
35e3b8337e Add issue template 2018-05-06 23:03:01 +02:00
Alfredo Ramos
1e93057ceb Add delete Imgur image button (#210) 2018-05-06 22:41:52 +02:00
lupoDharkael
33d7e220fc UtilityPanel: force arrow cursor 2018-05-06 15:23:48 +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
Alfredo Ramos
40605ab6b5 Get Imgur data fom JSON object (#206) 2018-05-06 12:41:00 +02:00
Aylinux
a778426ebf Update Internationalization_tr.ts (#203) 2018-05-04 11:50:55 +02:00
lupoDharkael
2fd8bd209b Pin Tool: fix content margins in Windows 2018-05-04 11:21:20 +02:00
lupoDharkael
c68179f64c Pin tool cleanup 2018-05-03 18:53:13 +02:00
Ahmed Zetao Yang
fe8a43a02a Improvement of Pin tool (#191)
- no taskbar window for pin widget
- completely ignore the window manager
- add borderless window shadow effects
2018-05-03 18:11:06 +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
55ab65ae12 Use explicit QVector in for loop 2018-04-24 01:02:24 +02:00
David Judge
d044504322 Traslation for Hungary (#189) 2018-04-24 00:40:48 +02:00
lupoDharkael
2cd6647d4b Fix flameshot --raw wait time with delay 2018-04-23 20:21:36 +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
eb5c09b29a README: update commands and packaging info 2018-04-23 19:39:30 +02:00
lupoDharkael
73b9609c54 Command parser: Improve flameshot full error message 2018-04-23 19:30:07 +02:00
lupoDharkael
17ac6f7a35 Filename: replace colons with dashes 2018-04-23 17:09:19 +02:00
Boyuan Yang
1fd1ad3a61 Another attempt to fix zh_CN translation (#198)
* translations: update zh_cn translation

* translation: More fixes to zh_CN translation
2018-04-23 15:58:33 +02:00
lupoDharkael
c942383b00 Selection fixes 2018-04-19 09:16:30 +02:00
lupoDharkael
205cd7c87b Add basic code for the Pin tool 2018-04-17 00:06:57 +02:00
lupoDharkael
344d327528 Add autostart to config flags 2018-04-16 19:34:17 +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
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