What's the advantage of PyQt5 containers?



  • Why do you even need containers?

    The fact that they're automatically stretching the view is that I've already understood, but is there any other useful properties of the containers?



  • Containers are general-purpose classes that store the values of the intended type. There are two types of containers:

    Consistent - the elements are stored behind each other (contin). Examples of successive containers are QList, QVector, QLinkedList.

    The associated elements are stored as a pair of keys. Examples of associated containers are QMap and QHash.

    Did I answer your question? :



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2