On/Off-Switch with QPushButton

Luca Beltrame lbeltrame at kde.org
Sun Nov 1 11:22:10 UTC 2015


In data domenica 1 novembre 2015 12:08:28 CET, Rainer Dorsch ha scritto:

> I thought providing the full source for reference might be useful:
> http://netcup.bokomoko.de/~rd/steckdose-plasma.tgz

A few remarks:

- I don't think you need to provide the full path to icons, IIRC there's a way 
to get them but I don't remember how
- Use always the new connect syntax if possible (e.g. 
self.<signalname>.connect(slot)

-- 
Luca Beltrame - KDE Forums team
KDE Science supporter
GPG key ID: A29D259B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151101/b491cff3/attachment.sig>


More information about the Plasma-devel mailing list