Skip to content

HelpContentItem

⋔ Inheritance diagram

graph TD
  1473572350128["qthelp.HelpContentItem"]
  140713234304496["builtins.object"]
  140713234304496 --> 1473572350128

🛈 DocStrings

Item for use with QHelpContentModel.

Source code in prettyqt\qthelp\helpcontentitem.py
class HelpContentItem:
    """Item for use with QHelpContentModel."""

    def __init__(self, item: QtHelp.QHelpContentItem):
        self.item = item

    def __getattr__(self, val):
        return getattr(self.item, val)

    def __len__(self):
        return self.childCount()

    def get_url(self) -> core.Url:
        return core.Url(self.url())