コミットグラフ

95 コミット

作成者 SHA1 メッセージ 日付
89c9cc573e Add more reasonable screenshots 2021-10-30 16:22:43 +02:00
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
d9b0be5063 Fix some Qt deprication warnings 2021-04-29 09:33:57 +02:00
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
4315de0e76 EntryPushButton: Hardcode max 256x256 icon size for now
While dirty, in practise, this appears to be working more fine than selecting
the max size. Some of those were too big.

Relevant: #32.
2021-03-19 12:00:40 +01:00
f0387db468 Add a basic ranking of system entries and show most relevant first 2021-03-16 22:29:26 +01:00
6e4f0ecabf Window: filterGridFor: Search button Command too 2021-03-05 20:51:14 +01:00
2df37212dd EntryPushButton: Don't allow moving dynamic buttons 2020-10-19 21:45:33 +02:00
b13815a924 executeConfig: Open terminal if Shift pressed 2020-10-19 21:45:33 +02:00
bb74d156c9 Introduce new button type 'DYNAMIC' for PATH suggestions
Fixes #23
2020-10-19 21:45:33 +02:00
f9038f3098 EntryProvider: Don't use 'new' when throwing exceptions 2020-10-19 21:45:18 +02:00
042b53a0be Window: addToFavourites(): Discard shortcut from system entries 2020-10-19 21:36:59 +02:00
64d3223fb2 EntryProvider: saveUserEntry: Only save key field if it's not empty 2020-10-19 21:30:11 +02:00
adfb065358 Window: keyPressEvent: don't show empty shortcuts 2020-10-10 22:25:40 +02:00
98cff50c41 main: don't ignore config value for single instance mode. allow override using cli param 2020-10-10 21:58:37 +02:00
5b5333585c SettingsProvider/main: Read single instance socket path from config 2020-10-10 21:58:37 +02:00
8eb52fbfb3 main: allow overriding config dir from commandline 2020-10-10 21:58:37 +02:00
241bec54ad Parse argv using QCommandLineParser
Fixes: #17
2020-10-10 21:58:37 +02:00
ac5498990b EntryProvider: Introduce isSavable() to avoid code duplicates 2020-10-08 22:50:38 +02:00
38cc87fbcd add 'terminal=true' support for .qsrun entries 2020-10-08 22:27:48 +02:00
2d14b01c5c EntryPushButton: Set term icon for terminal cmds w/o icon 2020-10-08 22:27:48 +02:00
59ff382856 Implement basic 'Terminal=' support for .desktop files 2020-10-04 22:19:30 +02:00
bf8f09ec66 Delete TODO
Issue and TODO Tracker resides here:
https://gitea.quitesimple.org/crtxcr/qsrun/issues
2020-10-04 21:57:15 +02:00
776cbe4d30 EntryProvider: saveUserEntry(): Add missing fields 2020-10-04 21:48:35 +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
95e855f325 EntryProvider: readqsrunfile(): impl. inherit w/o using EntityConfig.update() 2020-10-04 21:48:35 +02:00
2acfe6126a EntryProvider: readqsrunfile(): Simplify by using QHash 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
2ab0750f3a EntryConfig: update(): Add missing assignments 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
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