i know this might be just a me-thing, but i think it might be cool to have a “Most Used”
filters tab. i know this is kinda what the Favorites tab is for, but even that can be a bit crowded sometimes. so i think it might be cool to have a tab where you can quickly get to the “Size, position & Rotate”, since that one is the one you use the most.
this is just a suggestion, and it might be a bit difficult to program in (might), but i think it might be cool to have in.
Vous pouvez aussi mettre: name: '00 ' + qsTr('Size, Position & Rotate') L’avantage de ne pas toucher au texte entre les parenthèses de qsTr c’est que l’on conserve la traduction
You can also put: name: '00 ' + qsTr('Size, Position & Rotate')
The advantage of not touching the text between the parentheses of qsTr is that you keep the translation
I understand. That’s why I told you that you can choose more than one to modify.
Putting them on top of the list is as quick as having another tab in my opinion.
Each filter in your Favorites has a statistic “S” (in the same hidden file where the Favorites list is kept for the user), a floating-point number.
When a new filter is added to the Favorites,
S is set equal to 1
Each time you use a filter from the Favorites list,
That filter has new S set to (1 + S)/2
All other Favorites filters have new S set to S*K
where K is a number less than 1, (probably 99/100)
Favorites are listed in S order, highest to lowest.
This way, no large list of usage statistics is needed.
The most-used filters keep trending towards the “first on the list” value of 1, while the unused filters trend towards 0.
The limiting value is the floating minimum, harmless, rather than the undesirable “it keeps getting bigger” which can lead to overflow.
If this algorithm proves to be too volatile, change the new S equation to (1+S(C-1))/C where C is a small integer constant.
(The first equation for S, above, is the case where C=2.)
Moi je n’aimerais pas. Je préfère les classer et les regrouper comme je l’entends et toujours les retrouver à la même place. Mais bon, chacun ses goûts.
I wouldn’t like it.
I prefer to classify and group them as I see fit and always find them in the same place.
But to each his own.
Votre formule pour classer les filtres est très impressionnante !
Your formula for classifying filters is very impressive