QHelpFilterSettingsWidget Class
The QHelpFilterSettingsWidget class provides a widget that allows for creating, editing and removing filters. More...
| Header: | #include <QHelpFilterSettingsWidget> |
| qmake: | QT += help |
| Since: | Qt 5.15 |
| Inherits: | QWidget |
This class was introduced in Qt 5.15.
Detailed Description
The instance of QHelpFilterSettingsWidget may be a part of a preferences dialog. Before showing the dialog, setAvailableComponents() and setAvailableVersions() should be called, otherwise the filter settings widget will only offer a creation of empty filters, which wouldn't be useful. In addition, readSettings should also be called to fill up the filter settings widget with the list of filters already stored in the filter engine. The creation of new filters, modifications to existing filters and removal of unneeded filters are handled by the widget automatically. If you want to store the current state of the widget and apply it to the filter engine e.g. after the user clicked the apply button - call applySettings().