Commit Graph

62 Commits

Author SHA1 Message Date
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
f06e9a4f7b EntryConfig: Also store 'inherit' key. Needed to save entry later. 2020-09-28 19:07:26 +02:00
61001ed6cc EntryProvider: Set entryPath also for system entries 2020-09-28 19:07:26 +02:00
e2c80b665e EntryPushButton: Begin menus for deletion/favourites 2020-09-28 19:07:26 +02:00
2a9292958b EntryPushButton: Enter drag mode only for user entries
Maybe the decision should not be up to the button, but
for now this will do.
2020-09-28 19:07:26 +02:00
27ac3155d3 EntryConfig: Introduce (dirty) way to distinguish between user/system entries 2020-09-28 19:07:26 +02:00
b72931cc9e GUI: Begin basic drag/drop between buttons: Allow swapping places
Issue: #7
2020-09-28 19:07:26 +02:00
b588fd07be EntryProvider: fix handling of names with spaces 2020-09-28 19:07:05 +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
edb781580e EntryProvider: Introduce readEntryFromPath()
Inheritance: Use readEntryFromPath instead of assuming always .desktop
files

Switch project to C++17
2020-09-06 22:24:39 +02:00
36b6390292 Implement NoDisplay= of .desktop entries
Closes #9
2020-09-06 22:09:02 +02:00
5076f044a6 Update README.md to document inheritance
Closes #4.
2020-09-06 21:45:43 +02:00
560e15d48d implement inheritance keyword for .qsrun entries 2020-09-06 21:37:15 +02:00
45d7b930f8 Refactoring to use new entryprovider and settingsprovider classes 2020-09-06 19:43:17 +02:00
2824f84f9f Introduce Settingsprovider to read settings
Previously, it was in the configprovider.cpp.

Now, it has been split to this file
2020-09-06 19:41:59 +02:00
f03e247bd8 merge configreader/configprovider into entryprovider
settings-related methods that don't have any relation
to entries will be moved to a seperate file
settingsprovider
2020-09-06 19:40:46 +02:00
5b99d764f0 ConfigReader: use suffix() instead of completeSuffix()
Using completeSuffix breaks for names like org.kde.dolphin.desktop
2020-09-01 21:50:24 +02:00
d6ec7a7e1c formating fixes / copyright update... 2019-09-30 21:58:11 +02:00
fe5b358ace added .gitignore 2019-09-08 17:11:24 +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
18e046d028 walk search for .desktop files etc recursively
Signed-off-by: Albert S <mail@quitesimple.org>
2019-09-08 16:58:22 +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
a900fe5b6c updated TODO 2019-09-01 18:55:59 +02:00
afc5ad57a6 rename BUGS => TODO 2019-09-01 18:55:47 +02:00
7ac429b9e2 show error message if passed directories don't exist, don't create it 2019-09-01 18:52:04 +02:00
028b4299f7 improved README 2019-08-24 09:48:30 +02:00
1284519280 create config dir instead of complaining it doesn't exist 2019-08-24 09:41:07 +02:00
6c67c11481 reformating (no functional change) 2019-08-24 09:19:49 +02:00
7379cff7db rename: qsRun => qsrun 2019-08-23 23:58:43 +02:00
57bed56dcd window: add scrollarea for button grid 2019-08-23 23:42:56 +02:00
69cc2710c3 entrypushbutton: explicitly search for max icon size 2019-08-23 23:40:08 +02:00
4c4b5280b9 parser improvements: unusual (maybe non-conforming) .desktop files, bugfixes for situation where '=' in value 2019-08-23 23:39:03 +02:00
65212a1aa7 updated README 2019-07-15 23:18:06 +02:00
84ef555774 print/show config format execption 2019-06-09 13:06:44 +02:00
ee936541c6 Support for " in qsrun config files to merge args 2019-06-09 13:06:14 +02:00
117facea1c updated qsRun pro with new files + network target for single instance server 2019-06-03 07:52:04 +02:00
51b0337ceb window: single instance handling + /reload command 2019-06-03 07:51:27 +02:00
84170a935d entrypushbutton: do not add icon from list if list is empty (crashes in debug builds) 2019-06-03 07:44:48 +02:00
a1a9dfb729 Added basic single instance functionality 2019-06-03 07:42:54 +02:00
67be2dbeaa Added ConfigProvider class to allow window to reload config 2019-06-03 07:42:02 +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
8484e88a27 ConfigReader: support multiple dirs 2019-05-30 10:57:33 +02:00
3970019fac Removed search functionality ( this is covered by qss now). 2018-08-12 17:15:16 +02:00