kcontrol/tde-menu: Items for adjust text now depends on Display text in menu button checkbox. #230
Merged
SlavekB
merged 2 commits from feat/kcontrol-kicker-menu-text
into master
3 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'feat/kcontrol-kicker-menu-text'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Items for setting text and font for the text shown on the TDE menu button should be dependent on checkbox Display text in menu button. What is your opinion?
The idea is good. Small thing to adjust.
<receiver>searchShortcutLabel</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
Am I wrong or this was already done by Philippe in another commit? Should not be part of this PR.
I can do it as a separate commit because it complements the part that did Philippe – this part adds connection also to the appropriate label Search shortcut:
Ah, I see, understood. It's the label, not the button. Either adjust the commit msg or make separate commit sounds good to me.
Divided into two commits.
By the way, the text diplay has issues if Kicker is vertical (for example on the left side of the screen): the text is not visible.
Also if the text is too big, the text seems partially cut off on normal kicker placement (horizontal at the bottom)
de65777493
to0f139004ca
3 years agoLooks good now
Just think out aloud, I wonder if it is possible to have multiple receivers for the same sender in the .ui file. In that case the code could be more compact. But I have no idea if that functionality is supported.
I believe it is not possible because there is a combination of the receiver + slot, which in the case of placing more receivers could not ensure the use of the correct slots => dependency on the order in the XML code is not a suitable method.
That's probably true, we would have to check the code but not an important point. It was just curiosity.
0f139004ca
into master 3 years agoReviewers
0f139004ca
.