Skip to content

HelpFilterEngine

Base classes

Name Children Inherits
ObjectMixin
prettyqt.core.object

⋔ Inheritance diagram

graph TD
  1473572370624["qthelp.HelpFilterEngine"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473299815024 --> 1473572370624
  140713234304496 --> 1473299815024

🛈 DocStrings

Bases: ObjectMixin

Filtered view of the help contents.

Source code in prettyqt\qthelp\helpfilterengine.py
class HelpFilterEngine(core.ObjectMixin):
    """Filtered view of the help contents."""

    def __init__(self, item: qthelp.QHelpFilterEngine):
        self.item = item

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

    def get_available_versions(self) -> list[core.VersionNumber]:
        return [core.VersionNumber(i) for i in self.availableVersions()]

    def get_filter_data(self, filter_name: str) -> qthelp.HelpFilterData:
        return qthelp.HelpFilterData(self.filterData(filter_name))