QString in KLayout Qt

Hi,

Quick question, which method is the corresponding QString method to the pya library?

Chris

Comments

  • Hi Chris,

    I'm afraid there isn't.

    The reasoning is that QString is mapped to Python strings. So having QString is pretty redundant.

    The reason why there is QString in Qt is that C++ lacks a good string class. So Qt added QString. But in Python you should find everything you need in Python strings.

    Regards,

    Matthias

  • Hi Matthias,

    Ok, I see your point, thank you!

    Chris

Sign In or Register to comment.