In data domenica 1 novembre 2015 11:15:21 CET, Rainer Dorsch ha scritto: Hello,
for the record, you're talking about Python plasmoids for Plasma 4.11.x, correct? > AttributeError: 'PushButton' object has no attribute 'setIconSize' > Interesting enough the size issue is then gone... Is setIconSize actually a method of push buttons? Also, just for a question, why using QPushButtons? They will not follow the Plasma theme and colors for anyone using the plasmoid. Also, I would suggest to avoid triggering exceptions in Python code that is run from Plasma, because the exception may lead to the underlying C++ object being deleted, potentially crashing the whole shell. -- Luca Beltrame - KDE Forums team KDE Science supporter GPG key ID: A29D259B
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel