KMFilterDlg Class Reference
The filter dialog. The filter dialog. More...
#include <kmfilterdlg.h>
Inherits KDialogBase.
Public Slots
- void slotFilterSelected (KMFilter *aFilter)
- void slotActionChanged (const KMPopFilterAction aAction)
Public Member Functions
- KMFilterDlg (QWidget *parent=0, const char *name=0, bool popFilter=false, bool createDummyFilter=true)
- void createFilter (const QCString &field, const QString &value)
Protected Slots
- void slotApplicabilityChanged ()
- void slotStopProcessingButtonToggled (bool aChecked)
- void slotConfigureShortcutButtonToggled (bool aChecked)
- void slotCapturedShortcutChanged (const KShortcut &)
- void slotConfigureToolbarButtonToggled (bool aChecked)
- void slotFilterActionIconChanged (QString icon)
- void slotReset ()
- void slotUpdateFilter ()
- void slotSaveSize ()
- void slotFinished ()
Protected Attributes
- KMFilterListBox * mFilterList
- KMSearchPatternEdit * mPatternEdit
- KMFilterActionWidgetLister * mActionLister
- KMPopFilterActionWidget * mActionGroup
- QCheckBox * mApplyOnIn
- QCheckBox * mApplyOnOut
- QCheckBox * mApplyOnCtrlJ
- QCheckBox * mStopProcessingHere
- QCheckBox * mConfigureShortcut
- QCheckBox * mConfigureToolbar
- QLabel * mFilterActionLabel
- KIconButton * mFilterActionIconButton
- KKeyButton * mKeyButton
- QGroupBox * mAdvOptsGroup
- QVGroupBox * mGlobalsBox
- QCheckBox * mShowLaterBtn
- KMFilter * mFilter
- bool bPopFilter
Detailed Description
The filter dialog. The filter dialog.This is a non-modal dialog used to manage KMail's filters. It should only be called through
- See also:
- KMFilterMgr::openDialog. The dialog consists of three main parts:
- The
- See also:
- KMFilterListBox in the left half allows the user to select a filter to be displayed using the widgets on the right half. It also has buttons to delete filters, add new ones, to rename them and to change their order (maybe you will be able to move the filters around by dragging later, and to optimise the filters by trying to apply them to all locally available
KMMessage in turn and thus profiling which filters (and which rules of the search patterns) matches most often and sorting the filter/rules list according to the results, but I first want the basic functionality in place).
- The
- See also:
- KMSearchPatternEdit in the upper-right quarter allows the user to modify the filter criteria.
- The
- See also:
- KMFilterActionEdit in the lower-right quarter allows the user to select the actions that will be executed for any message that matches the search pattern.
- (tbi) There will be another widget that will allow the user to select to which folders the filter may be applied and whether it should be applied on outbound or inbound message transfers or both or none (meaning the filter is only applied when the user explicitly hits CTRL-J). I'm not sure whether there should be a per-folder filter list or a single list where you can select the names of folders this rule will be applied to.
- See also:
- KMFilterListBox. The changed filters are local to
KMFilterListBox until the user clicks the 'Apply' button.
KMFilterDlg supports the creation of new filters through context menues, dubbed "rapid filters". Call
- See also:
- KMFilterMgr::createFilter to use this. That call will be delivered to this dialog, which in turn delivers it to the
const
QString
KMFilterDlgHelpAnchor
in kmfilterdlg.cpp accordingly.
- Author:
- Marc Mutz <Marc@Mutz.com>, based upon work by Stefan Taferner <taferner@kde.org>.
- See also:
- KMFilter KMFilterActionEdit KMSearchPatternEdit KMFilterListBox
Constructor & Destructor Documentation
|
Create the filter dialog. The only class which should be able to do this is
|
Member Function Documentation
|
Called from.
|
|
Internally connected to.
|
|
Action for popFilter.
|
|
called when the dialog is closed (finished)
|
Member Data Documentation
|
The widget that contains the ListBox showing the filters, and the controls to remove filters, add new ones and to change their order.
|
|
The widget that allows editing of the filter pattern.
|
|
The widget that allows editing of the filter actions.
|
|
The widget that allows editing the popFilter actions.
|
|
Lets the user select whether to apply this filter on inbound/outbound messages, both, or only on explicit CTRL-J.
|
|
Lets the user select whether to apply this filter on inbound/outbound messages, both, or only on explicit CTRL-J.
|
|
Lets the user select whether to apply this filter on inbound/outbound messages, both, or only on explicit CTRL-J.
|
The documentation for this class was generated from the following files:
- kmfilterdlg.h
- kmfilterdlg.cpp