• Eike Ziller's avatar
    Preferences: Add default implementation for filtering · deb43b4c
    Eike Ziller authored
    The default "matches" method now takes the widget and looks for all
    child labels, checkboxes, push buttons and group boxes.
    Because of that, the former "createWidget" method
    can be called multiple times without creating a new widget
    (-->widget()), and the "finished" method must ensure that the created
    widget gets deleted, since not all widgets that were created are added
    to the UI anymore.
    
    Change-Id: Ia231c7c78dd8819146668e6447d36d22e7836904
    Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
    deb43b4c
completionsettingspage.cpp 6.39 KB