Commit Graph

43 Commits

Author SHA1 Message Date
Albert S. 7c15d7b145 Window: executeConfig: Fix after refactoring for Qt 5.15
Refactoring for 5.15 broke this (d9b0be5063),
so fix it.
2021-05-08 20:54:19 +02:00
Albert S. d9b0be5063 Fix some Qt deprication warnings 2021-04-29 09:33:57 +02:00
Albert S. f1b17c0842 Ranking: Prioritizee name before command/binary name
This seems to work better for flatpak apps and should
argueably be more natural.
2021-04-29 09:33:31 +02:00
Albert S. f0387db468 Add a basic ranking of system entries and show most relevant first 2021-03-16 22:29:26 +01:00
Albert S. 6e4f0ecabf Window: filterGridFor: Search button Command too 2021-03-05 20:51:14 +01:00
Albert S. b13815a924 executeConfig: Open terminal if Shift pressed 2020-10-19 21:45:33 +02:00
Albert S. bb74d156c9 Introduce new button type 'DYNAMIC' for PATH suggestions
Fixes #23
2020-10-19 21:45:33 +02:00
Albert S. 042b53a0be Window: addToFavourites(): Discard shortcut from system entries 2020-10-19 21:36:59 +02:00
Albert S. adfb065358 Window: keyPressEvent: don't show empty shortcuts 2020-10-10 22:25:40 +02:00
Albert S. 59ff382856 Implement basic 'Terminal=' support for .desktop files 2020-10-04 22:19:30 +02:00
Albert S. 101885ffe4 window: addToFavourites(): Save non-system entries in their originating path 2020-10-04 21:48:35 +02:00
Albert S. 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
Albert S. 2d79d74e06 addToFavourites: only save the minimum 2020-10-04 21:48:35 +02:00
Albert S. 7c2461626d rename Window::buttonClick to Window::executeConfig 2020-10-04 21:48:35 +02:00
Albert S. 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
Albert S. f9eff3b5b2 implement deletion of entries 2020-10-04 21:48:35 +02:00
Albert S. 84cf8837bd addToFavourites: catch exception when saving entry 2020-10-04 21:48:35 +02:00
Albert S. 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
Albert S. 7bae1183c6 EnrtyConfig: store iconPath, not QIcon. Keeps icon after rearranging entries 2020-10-04 21:48:35 +02:00
Albert S. 9daaba2543 Window: buttonClick(): Correct parameter name 2020-10-04 21:48:35 +02:00
Albert S. 6b924c0f53 Implement addToFavourites() and getNextFreeCell() 2020-10-04 21:48:35 +02:00
Albert S. 653089c475 Save rearranged EntryConfig of buttons with new EntryProvider::saveUserEntry 2020-10-04 21:48:35 +02:00
Albert S. b72931cc9e GUI: Begin basic drag/drop between buttons: Allow swapping places
Issue: #7
2020-09-28 19:07:26 +02:00
Albert S. 5eb09540c6 window: get number of columns from config 2020-09-07 23:29:10 +02:00
Albert S. 416bfa6314 MINOR: window.cpp: Reformat code
No functional change.
2020-09-07 23:16:45 +02:00
Albert S. 45d7b930f8 Refactoring to use new entryprovider and settingsprovider classes 2020-09-06 19:43:17 +02:00
Albert S. 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
Albert S. 6c67c11481 reformating (no functional change) 2019-08-24 09:19:49 +02:00
Albert S. 57bed56dcd window: add scrollarea for button grid 2019-08-23 23:42:56 +02:00
Albert S. 84ef555774 print/show config format execption 2019-06-09 13:06:44 +02:00
Albert S. 51b0337ceb window: single instance handling + /reload command 2019-06-03 07:51:27 +02:00
Albert S. 1dc7ef935d assign numbers 1-9 as shortcuts for the first 9 results of system applications 2019-06-01 13:38:58 +02:00
Albert S. 45abb2bf27 calc result: remove wordwrap, instead decrea^C/increase font size as necessary 2019-06-01 12:17:28 +02:00
Albert S. 3970019fac Removed search functionality ( this is covered by qss now). 2018-08-12 17:15:16 +02:00
Albert S. bcd38cca62 Added context menu for calculation results, don't create now label on every result 2018-07-04 17:09:21 +02:00
Albert S. fe26454f85 Added context menu to copy or open paths 2018-06-29 18:16:14 +02:00
Albert S. 96fe3e08f6 search: show file type icons in addition to name in results 2018-02-10 13:59:27 +01:00
Albert S. 4b9ccc50da window.cpp: connect searchCancelled signal to proper slot 2018-01-17 22:44:20 +01:00
Albert S. f60e2a068f window.cpp: remove qDebug() 2018-01-17 22:36:23 +01:00
Albert S. d2354b02b8 added licence 2018-01-05 15:52:11 +01:00
Albert S. f96452d669 first commit 2018-01-03 09:52:05 +01:00