Commit Graph

36 Commits

Author SHA1 Message Date
042b53a0be Window: addToFavourites(): Discard shortcut from system entries 2020-10-19 21:36:59 +02:00
adfb065358 Window: keyPressEvent: don't show empty shortcuts 2020-10-10 22:25:40 +02:00
59ff382856 Implement basic 'Terminal=' support for .desktop files 2020-10-04 22:19:30 +02:00
101885ffe4 window: addToFavourites(): Save non-system entries in their originating path 2020-10-04 21:48:35 +02:00
79d15fb628 Introduce EntryType. Retire userEntry boolean
Introduce EntryType, allowing to distnguish between:

- inherietd entries: Those inherit their values from
other entries, typcally system entries. They do not
allow overwriting the value, except row/col.
- system entries: those not created by the user in any way,
usually .desktop files in /usr/share/applications/...
- user entries: those that have been created by the user.
they can however also inherit, and overwrite inherited values.

inherited are used for the "favourites" feature.
2020-10-04 21:48:35 +02:00
2d79d74e06 addToFavourites: only save the minimum 2020-10-04 21:48:35 +02:00
7c2461626d rename Window::buttonClick to Window::executeConfig 2020-10-04 21:48:35 +02:00
ae7f310ab2 window: use EntryConfig, not EntryPushButton for slots
No point to implicitly convert them, in fact it was a mistake.
2020-10-04 21:48:35 +02:00
f9eff3b5b2 implement deletion of entries 2020-10-04 21:48:35 +02:00
84cf8837bd addToFavourites: catch exception when saving entry 2020-10-04 21:48:35 +02:00
47c0358a25 window: getNextFreeCell(): reimplement without refering to grid
Does not work that way since when we search, the grid has changed.
So we cannot check inside the grid which ones are free. This
would give wrong results.
2020-10-04 21:48:35 +02:00
7bae1183c6 EnrtyConfig: store iconPath, not QIcon. Keeps icon after rearranging entries 2020-10-04 21:48:35 +02:00
9daaba2543 Window: buttonClick(): Correct parameter name 2020-10-04 21:48:35 +02:00
6b924c0f53 Implement addToFavourites() and getNextFreeCell() 2020-10-04 21:48:35 +02:00
653089c475 Save rearranged EntryConfig of buttons with new EntryProvider::saveUserEntry 2020-10-04 21:48:35 +02:00
b72931cc9e GUI: Begin basic drag/drop between buttons: Allow swapping places
Issue: #7
2020-09-28 19:07:26 +02:00
5eb09540c6 window: get number of columns from config 2020-09-07 23:29:10 +02:00
416bfa6314 MINOR: window.cpp: Reformat code
No functional change.
2020-09-07 23:16:45 +02:00
45d7b930f8 Refactoring to use new entryprovider and settingsprovider classes 2020-09-06 19:43:17 +02:00
d6ec7a7e1c formating fixes / copyright update... 2019-09-30 21:58:11 +02:00
hxbrn
ea697d62ba refocus input if a single instance window is resurfaced
Signed-off-by: Albert S <mail@quitesimple.org>
2019-09-08 17:11:24 +02:00
hxbrn
19114a0b5d Esc and ctrl+Q decide if quit/hide the app based on config
Signed-off-by: Albert S <mail@quitesimple.org>
2019-09-08 16:57:05 +02:00
6c67c11481 reformating (no functional change) 2019-08-24 09:19:49 +02:00
57bed56dcd window: add scrollarea for button grid 2019-08-23 23:42:56 +02:00
84ef555774 print/show config format execption 2019-06-09 13:06:44 +02:00
51b0337ceb window: single instance handling + /reload command 2019-06-03 07:51:27 +02:00
1dc7ef935d assign numbers 1-9 as shortcuts for the first 9 results of system applications 2019-06-01 13:38:58 +02:00
45abb2bf27 calc result: remove wordwrap, instead decrea^C/increase font size as necessary 2019-06-01 12:17:28 +02:00
3970019fac Removed search functionality ( this is covered by qss now). 2018-08-12 17:15:16 +02:00
bcd38cca62 Added context menu for calculation results, don't create now label on every result 2018-07-04 17:09:21 +02:00
fe26454f85 Added context menu to copy or open paths 2018-06-29 18:16:14 +02:00
96fe3e08f6 search: show file type icons in addition to name in results 2018-02-10 13:59:27 +01:00
4b9ccc50da window.cpp: connect searchCancelled signal to proper slot 2018-01-17 22:44:20 +01:00
f60e2a068f window.cpp: remove qDebug() 2018-01-17 22:36:23 +01:00
d2354b02b8 added licence 2018-01-05 15:52:11 +01:00
f96452d669 first commit 2018-01-03 09:52:05 +01:00