The class QFilterEditorBase provides the base class for implenting a filter editor.
More...
#include <qfiltereditorwidget.h>
|
| void | commit () |
| |
| void | commitAndClose (QAbstractItemDelegate::EndEditHint hint=QAbstractItemDelegate::NoHint) |
| |
| void | cancelAndClose (QAbstractItemDelegate::EndEditHint hint=QAbstractItemDelegate::NoHint) |
| |
The class QFilterEditorBase provides the base class for implenting a filter editor.
| QFilterEditorWidget::QFilterEditorWidget |
( |
QWidget * |
parent | ) |
|
Constructs a QFilterEditorBase which is a child of parent.
| QFilterEditorWidget::~QFilterEditorWidget |
( |
| ) |
|
Destroys the QFilterEditorBase.
| void QFilterEditorWidget::cancelAndClose |
( |
QAbstractItemDelegate::EndEditHint |
hint = QAbstractItemDelegate::NoHint | ) |
|
|
signal |
This signal must be emitted when editing shall be canceled and to close the editor.
| void QFilterEditorWidget::commit |
( |
| ) |
|
|
signal |
This signal must be emitted when the editor widget has completed editing the data, wants to write it back into the model.
| void QFilterEditorWidget::commitAndClose |
( |
QAbstractItemDelegate::EndEditHint |
hint = QAbstractItemDelegate::NoHint | ) |
|
|
signal |
This signal must be emitted when the editor widget has completed editing the data, wants to write it back into the model and to close the editor.
The hint provides a way for the delegate to influence how the model and view behave after editing is completed. It indicates to these components what action should be performed next to provide a comfortable editing experience for the user. For example, if EditNextItem is specified, the view should use a delegate to open an editor on the next item in the model.
| bool QFilterEditorWidget::eventFilter |
( |
QObject * |
object, |
|
|
QEvent * |
event |
|
) |
| |
|
protectedvirtual |
| void QFilterEditorWidget::moveEvent |
( |
QMoveEvent * |
e | ) |
|
|
protected |
Returns the popup widget, or 0 if the editor does not have a popup widget.
- See also
- setPopup()
Sets the popup widget to widget.
- See also
- popup();
| void QFilterEditorWidget::showPopup |
( |
bool |
visible = true | ) |
|
|
slot |
If visible is true, the popop widget is shown.
The documentation for this class was generated from the following files: