Commit Graph

16 Commits

Author SHA1 Message Date
Albert S. 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
Albert S. 2df37212dd EntryPushButton: Don't allow moving dynamic buttons 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. 2d14b01c5c EntryPushButton: Set term icon for terminal cmds w/o icon 2020-10-08 22:27:48 +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. 7bae1183c6 EnrtyConfig: store iconPath, not QIcon. Keeps icon after rearranging entries 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. e2c80b665e EntryPushButton: Begin menus for deletion/favourites 2020-09-28 19:07:26 +02:00
Albert S. 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
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. d6ec7a7e1c formating fixes / copyright update... 2019-09-30 21:58:11 +02:00
Albert S. 69cc2710c3 entrypushbutton: explicitly search for max icon size 2019-08-23 23:40:08 +02:00
Albert S. 84170a935d entrypushbutton: do not add icon from list if list is empty (crashes in debug builds) 2019-06-03 07:44:48 +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. d2354b02b8 added licence 2018-01-05 15:52:11 +01:00
Albert S. f96452d669 first commit 2018-01-03 09:52:05 +01:00