D10297: Add new "Tools" button above System Monitor's process list
gregormi
noreply at phabricator.kde.org
Sun Feb 4 15:34:53 UTC 2018
gregormi added a comment.
In https://phabricator.kde.org/D10297#200680, @ngraham wrote:
> You can't just add the appropriate arrow icon to a regular button; you have to actually use the correct type of button from the start, and then it gets the icon in the right place automatically. Check out how the "All Processes" button is constructed, and you can copy the same approach.
I didn't add the arrow icon manually: it is a combination of popupMode=QToolButton::InstantPopup and arrowType=Qt::DownArrow. I thought the theme takes care about the side of the arrow... But I'll check how "All Processes" is constructed.
REPOSITORY
R111 KSysguard Library
REVISION DETAIL
https://phabricator.kde.org/D10297
To: gregormi, floeser
Cc: ngraham, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180204/76b3f529/attachment.html>
More information about the Plasma-devel
mailing list