|
BibleTime
|
#include <btbookshelffiltermodel.h>
Public Slots | |
| void | setEnabled (bool enable) |
| void | setHiddenFilterKeyColumn (int column) |
| void | setHiddenFilterRole (int role) |
| void | setNameFilterCase (Qt::CaseSensitivity value) |
| void | setNameFilterFixedString (QString const &nameFilter) |
| void | setNameFilterKeyColumn (int column) |
| void | setNameFilterRole (int role) |
| void | setShowHidden (bool show) |
| void | setShowShown (bool show) |
Public Member Functions | |
| BtBookshelfFilterModel (QObject *parent=nullptr) | |
| bool | enabled () const noexcept |
| bool | filterAcceptsRow (int row, QModelIndex const &parent) const override |
| int | hiddenFilterKeyColumn () const |
| int | hiddenFilterRole () const noexcept |
| QString const & | nameFilter () const noexcept |
| Qt::CaseSensitivity | nameFilterCase () const noexcept |
| int | nameFilterKeyColumn () const noexcept |
| int | nameFilterRole () const noexcept |
| bool | showHidden () const noexcept |
| bool | showShown () const noexcept |
Private Member Functions | |
| bool | hiddenFilterAcceptsRow (int row, QModelIndex const &parent) const |
| bool | nameFilterAcceptsRow (int row, QModelIndex const &parent) const |
Private Attributes | |
| bool | m_enabled |
| int | m_hiddenFilterColumn |
| int | m_hiddenFilterRole |
| QString | m_nameFilter |
| Qt::CaseSensitivity | m_nameFilterCase |
| int | m_nameFilterColumn |
| int | m_nameFilterRole |
| bool | m_showHidden |
| bool | m_showShown |
Definition at line 24 of file btbookshelffiltermodel.h.
| BtBookshelfFilterModel::BtBookshelfFilterModel | ( | QObject * | parent = nullptr | ) |
Definition at line 21 of file btbookshelffiltermodel.cpp.
|
inlinenoexcept |
Definition at line 32 of file btbookshelffiltermodel.h.
References m_enabled.
|
override |
Definition at line 102 of file btbookshelffiltermodel.cpp.
References hiddenFilterAcceptsRow(), m_enabled, and nameFilterAcceptsRow().
Referenced by hiddenFilterAcceptsRow(), and nameFilterAcceptsRow().
|
private |
Definition at line 138 of file btbookshelffiltermodel.cpp.
References BT_ASSERT, filterAcceptsRow(), m_hiddenFilterColumn, m_hiddenFilterRole, m_showHidden, and m_showShown.
Referenced by filterAcceptsRow().
|
inline |
Definition at line 43 of file btbookshelffiltermodel.h.
References m_hiddenFilterColumn.
|
inlinenoexcept |
Definition at line 42 of file btbookshelffiltermodel.h.
References m_hiddenFilterRole.
|
inlinenoexcept |
Definition at line 38 of file btbookshelffiltermodel.h.
References m_nameFilter.
|
private |
Definition at line 115 of file btbookshelffiltermodel.cpp.
References BT_ASSERT, filterAcceptsRow(), m_nameFilter, m_nameFilterCase, m_nameFilterColumn, and m_nameFilterRole.
Referenced by filterAcceptsRow().
|
inlinenoexcept |
Definition at line 39 of file btbookshelffiltermodel.h.
References m_nameFilterCase.
|
inlinenoexcept |
Definition at line 37 of file btbookshelffiltermodel.h.
References m_nameFilterColumn.
|
inlinenoexcept |
Definition at line 36 of file btbookshelffiltermodel.h.
References m_nameFilterRole.
|
slot |
Definition at line 33 of file btbookshelffiltermodel.cpp.
References m_enabled.
|
slot |
Definition at line 79 of file btbookshelffiltermodel.cpp.
References m_hiddenFilterColumn.
|
slot |
Definition at line 72 of file btbookshelffiltermodel.cpp.
References m_hiddenFilterRole.
|
slot |
Definition at line 63 of file btbookshelffiltermodel.cpp.
References m_nameFilterCase.
|
slot |
Definition at line 56 of file btbookshelffiltermodel.cpp.
References m_nameFilter.
Referenced by BtBookshelfWidget::BtBookshelfWidget(), and BtBookshelfWorksPage::BtBookshelfWorksPage().
|
slot |
Definition at line 49 of file btbookshelffiltermodel.cpp.
References m_nameFilterColumn.
|
slot |
Definition at line 42 of file btbookshelffiltermodel.cpp.
References m_nameFilterRole.
|
slot |
Definition at line 86 of file btbookshelffiltermodel.cpp.
References m_showHidden.
Referenced by BtBookshelfWidget::initActions().
|
slot |
Definition at line 93 of file btbookshelffiltermodel.cpp.
References m_showShown.
|
inlinenoexcept |
Definition at line 44 of file btbookshelffiltermodel.h.
References m_showHidden.
|
inlinenoexcept |
Definition at line 45 of file btbookshelffiltermodel.h.
References m_showShown.
|
private |
Definition at line 70 of file btbookshelffiltermodel.h.
Referenced by enabled(), filterAcceptsRow(), and setEnabled().
|
private |
Definition at line 80 of file btbookshelffiltermodel.h.
Referenced by hiddenFilterAcceptsRow(), hiddenFilterKeyColumn(), and setHiddenFilterKeyColumn().
|
private |
Definition at line 79 of file btbookshelffiltermodel.h.
Referenced by hiddenFilterAcceptsRow(), hiddenFilterRole(), and setHiddenFilterRole().
|
private |
Definition at line 73 of file btbookshelffiltermodel.h.
Referenced by nameFilter(), nameFilterAcceptsRow(), and setNameFilterFixedString().
|
private |
Definition at line 76 of file btbookshelffiltermodel.h.
Referenced by nameFilterAcceptsRow(), nameFilterCase(), and setNameFilterCase().
|
private |
Definition at line 75 of file btbookshelffiltermodel.h.
Referenced by nameFilterAcceptsRow(), nameFilterKeyColumn(), and setNameFilterKeyColumn().
|
private |
Definition at line 74 of file btbookshelffiltermodel.h.
Referenced by nameFilterAcceptsRow(), nameFilterRole(), and setNameFilterRole().
|
private |
Definition at line 81 of file btbookshelffiltermodel.h.
Referenced by hiddenFilterAcceptsRow(), setShowHidden(), and showHidden().
|
private |
Definition at line 82 of file btbookshelffiltermodel.h.
Referenced by hiddenFilterAcceptsRow(), setShowShown(), and showShown().