KMFilterActionWidget Class Reference
This widgets allows to edit a single A widget to edit a single KMFilterAction. More...
#include <kmfilterdlg.h>
Inherits QHBox.
Public Member Functions
- KMFilterActionWidget (QWidget *parent=0, const char *name=0)
- void setAction (const KMFilterAction *aAction)
- KMFilterAction * action ()
Detailed Description
This widgets allows to edit a single A widget to edit a single KMFilterAction.
- See also:
- KMFilterAction (in fact any derived class that is registered in
KMFilterActionDict). It consists of a combo box which allows to select the type of actions this widget should act upon and a
QWidgetStack, which holds the parameter widgets for the different rule types.
- See also:
- KMFilterAction into this widget with
setAction, and retrieve the result of user action with
action. The widget will copy it's setting into the corresponding parameter widget. For that, it internally creates an instance of every
KMFilterActionDict and asks each one to create a parameter widget. The parameter widgets are put on the widget stack and are raised when their corresponding action type is selected in the combo box.
- Author:
- Marc Mutz <Marc@Mutz.com>
- See also:
- KMFilterAction KMFilter KMFilterActionWidgetLister
Constructor & Destructor Documentation
|
Constructor. Creates a filter action widget with no type selected. |
Member Function Documentation
|
Set an action.
The action's type is determined and the corresponding widget it loaded with |
|
Retrieve the action. This method is necessary because the type of actions can change during editing. Therefore the widget always creates a new action object from the data in the combo box and the widget stack and returns that. |
The documentation for this class was generated from the following files:
- kmfilterdlg.h
- kmfilterdlg.cpp