lupoDharkael
c3bb1814c4
Only hide buttons drawing behind them when inside the area
2017-08-10 14:03:08 +02:00
lupoDharkael
924d467c53
general cleanup
...
-use of the override keyword
-delete unused code
-const correctness
-more uniform code style
-for each with const references when possible
-getters no longer use the word 'get'
-others
2017-08-09 13:20:07 +02:00
lupoDharkael
16c99994d6
Hide buttons while drawing behind them
2017-08-08 20:19:58 +02:00
lupoDharkael
6bb7746d17
Fix problem with save dialog and clipboard copy
2017-07-30 18:08:02 +02:00
lupoDharkael
bd4b5b0def
Add base system notifications class
2017-07-28 18:53:17 +02:00
lupoDharkael
3199059ede
The controller is globally accesible
...
The controller class has some important methods which may be
required in multiple parts of the code. Now that class is a
singleton (that may change in the future).
The core parts have been moved to src/core.
Now the tray Icon can be disabled by the controller.
I need to reimplement a new notification system due to its
dependency with the tray icon, they are disabled in this actual
commit.
2017-07-28 11:34:39 +02:00
lupoDharkael
e96ae28cb8
Improve cursor update
2017-07-26 14:16:55 +02:00
lupoDharkael
7ff9013a6f
Shrink the selection area when pushing against the borders of the screen
2017-07-25 19:12:39 +02:00
lupoDharkael
443e3bd674
Fix default status value in graphical save
2017-07-25 11:45:28 +02:00
lupoDharkael
8870fd1ed4
Add delayed capture support
...
Adding this option required to modify the dbus API, with this changed I've improved the logic which saves the captures.
2017-07-25 00:05:31 +02:00
lupoDharkael
30491887d5
Fix buttons hide in capture mode
...
When clicking inside the selection area repeatedly the buttons were hiding and appearing for every click. Now the wont disappear if you click inside the area.
2017-07-23 17:14:43 +02:00
lupoDharkael
58f0b12112
Merge branch 'button-refactor'
2017-07-19 10:31:54 +02:00
lupoDharkael
d4e7c63cb4
Big code refactor
...
The design was defective and I didn't expect the popularity of the project. After these changes the code will be more mantainable and understandable.
Among the changes we can see:
- A better code structure
- Decoupled button widget from its logic
- More code reuse
- Easier way to add buttons
- Specialized classes
2017-07-19 09:49:24 +02:00
lupoDharkael
9357312855
Remove unsupported tools
2017-07-12 15:41:36 +02:00
lupoDharkael
aed0800aac
Delete all mouse-visibility references
2017-07-12 02:06:08 +02:00
lupoDharkael
07e1df1c50
Fix non-virtual monitor support
2017-07-11 22:59:54 +02:00
lupoDharkael
7ab1afb8b1
capture widget cleanup
2017-07-11 17:53:41 +02:00
lupoDharkael
9084b74bbe
Non blocking error messages
2017-07-06 21:44:29 +02:00
lupoDharkael
0525abe17c
Add error notification for image upload
2017-07-06 13:11:00 +02:00
lupoDharkael
4277af806f
Unified binary with new DBus API
2017-06-15 20:31:06 +02:00
lupoDharkael
b1c86b9ba8
Add option to disable notifications in desktop
2017-06-14 19:52:29 +02:00
lupoDharkael
ad044fbc93
Modify classes to be QObjects
2017-06-14 01:02:43 +02:00
lupoDharkael
8d27dc6660
Fix crash and lag using the File Dialog
2017-06-12 03:31:13 +02:00
lupoDharkael
11b0e2db4b
Capture window showing when mouse events are holded
2017-06-06 12:38:34 +02:00
lupoDharkael
1802d05fde
Add option to disable help message
2017-06-02 01:27:31 +02:00
lupoDharkael
25f63c0098
Fix minor bug in help message
2017-05-31 18:37:33 +02:00
lupoDharkael
469c6cd20e
Add help message in capture
2017-05-31 17:34:46 +02:00
lupoDharkael
78b27e3780
Fix button color assignation on creation
2017-05-31 14:40:55 +02:00
lupoDharkael
0a5ed273fc
Fixed problem with screen capture size
2017-05-28 03:05:42 +02:00
lupoDharkael
0f30529c77
Delete the no more needed BypassWindowManagerHint
2017-05-28 02:24:13 +02:00
lupoDharkael
8cbe8e0c88
Add comments and minor changes
2017-05-27 13:08:09 +02:00
lupoDharkael
4bf24a4598
Huge change in color configuration
2017-05-26 02:08:55 +02:00
lupoDharkael
88c00f0cc3
Code cleanup
2017-05-24 21:05:59 +02:00
lupoDharkael
515c979e41
Add color for selected button
2017-05-24 14:43:09 +02:00
lupoDharkael
5b65583e49
Minor fixes and arrow point fix
2017-05-24 13:11:28 +02:00
lupoDharkael
3593332781
Move code to ./src
2017-05-22 23:24:18 +02:00