D18504: [plasma-nm/applet] Add right-click context menu to directly customize a connection
Valerio Pilo
noreply at phabricator.kde.org
Tue Feb 5 16:27:23 GMT 2019
vpilo added a comment.
In D18504#405816 <https://phabricator.kde.org/D18504#405816>, @ngraham wrote:
> In D18504#405444 <https://phabricator.kde.org/D18504#405444>, @vpilo wrote:
>
> > In D18504#404332 <https://phabricator.kde.org/D18504#404332>, @Codezela wrote:
> >
> > > small tweak we can make the connection name in the context menu bold header msybe
> > > because it look like disabled now
> > > it looks strange to me
> > > what do u think
> >
> >
> > I tried. Somehow, even if I should be able to, I can't access the `font` property. The applet fails to load.
>
>
> The problem is that you're using a disabled menu item for the title, which makes the font light automatically. Try setting `supportsMouseEvents: false` for it, and then you can style it however you want (+1 for bold, do `font.weight: Font.Bold` to get that)
Looks like I can't, none of the items in the object tree seem to support that property, and it's not in the Qt dox? It's only in a few kirigami items. Can you be more specific? Are you suggesting I use another type of Menu?
REPOSITORY
R116 Plasma Network Management Applet
REVISION DETAIL
https://phabricator.kde.org/D18504
To: vpilo, #vdg, jgrulich
Cc: Codezela, broulik, jgrulich, ngraham, abetts, GB_2, plasma-devel, jraleigh, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190205/c1277b81/attachment-0001.html>
More information about the Plasma-devel
mailing list