Having an issue with the minimum size of Plasma.WebView

Luca Beltrame lbeltrame at kde.org
Mon Jan 14 15:33:48 UTC 2013


In data lunedì 14 gennaio 2013 16:30:15, Aaron J. Seigo ha scritto:

> the real fix, however, is not to do the UI in python. use QML.

Speaking of that, how does Plasma (or the workspace in general) fit when using 
QML, according to these 3 definitions (taken from the PyQt docs):

1. Pure applications that are written entirely in QML and can be run using the 
qmlviewer tool provided with Qt. PyQt4 fully supports this type of 
application. 

2. QML allows QObject instances to be used in QML applications. QML code is 
able to call an object’s slots and has read and write access to the object’s 
properties. QML code can also respond to changes to the value of a property. 
PyQt4 fully supports the use objects created in Python in this way. T

3. QML also allows QObject sub-classes to be used in QML applications so that 
new instances are created from QML. PyQt4 does not support this. The reason is 
that QML uses information generated at compile time (specifically it uses 
QObject::staticMetaObject) rather than information created dynamically at run 
time (i.e. QObject::metaObject()). This approach is fine for a static language 
like C++ but causes problems for languages such as Python that allow types to 
created dynamically. 

This may be important for users of bindings.

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


More information about the Plasma-devel mailing list