|
| | SettingsDelegate (QWidget *parent, SettingsRef settings, SettingsFilterProxyModel *filterModel, const std::function< void(const QModelIndex &index)> &hoverAction=nullptr) |
| |
| | ~SettingsDelegate () |
| |
| void | setDefaultSelection (const std::function< void()> &selectionAction) |
| |
| void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| |
| QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| |
| QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| |
| void | setEditorData (QWidget *editor, const QModelIndex &index) const override |
| |
| void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override |
| |
| void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| |
|
| bool | eventFilter (QObject *object, QEvent *event) override |
| |
◆ SettingsDelegate()
| SettingsDelegate::SettingsDelegate |
( |
QWidget * |
parent, |
|
|
SettingsRef |
settings, |
|
|
SettingsFilterProxyModel * |
filterModel, |
|
|
const std::function< void(const QModelIndex &index)> & |
hoverAction = nullptr |
|
) |
| |
◆ ~SettingsDelegate()
| SettingsDelegate::~SettingsDelegate |
( |
| ) |
|
◆ createEditor()
| QWidget * SettingsDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ eventFilter()
| bool SettingsDelegate::eventFilter |
( |
QObject * |
object, |
|
|
QEvent * |
event |
|
) |
| |
|
overrideprotected |
◆ notifyNeedsRestart
| void SettingsDelegate::notifyNeedsRestart |
( |
| ) |
const |
|
signal |
◆ notifySettingChanged
| void SettingsDelegate::notifySettingChanged |
( |
QString |
settingId | ) |
const |
|
signal |
◆ paint()
| void SettingsDelegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ performHoverAction
| void SettingsDelegate::performHoverAction |
( |
QModelIndex |
index | ) |
const |
|
signal |
◆ refreshAllSettings
| void SettingsDelegate::refreshAllSettings |
( |
| ) |
const |
|
signal |
◆ scopeChanged
◆ setDefaultSelection()
| void SettingsDelegate::setDefaultSelection |
( |
const std::function< void()> & |
selectionAction | ) |
|
◆ setEditorData()
| void SettingsDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ setModelData()
| void SettingsDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ sizeChanged
| void SettingsDelegate::sizeChanged |
( |
| ) |
|
|
signal |
◆ sizeHint()
| QSize SettingsDelegate::sizeHint |
( |
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ updateEditorGeometry()
| void SettingsDelegate::updateEditorGeometry |
( |
QWidget * |
editor, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ updateFonts
| void SettingsDelegate::updateFonts |
( |
| ) |
|
|
slot |
◆ updateModel
| void SettingsDelegate::updateModel |
( |
| ) |
|
|
slot |
◆ updateScope
◆ updateSize
| void SettingsDelegate::updateSize |
( |
| ) |
|
|
slot |
◆ updateViewMode
| void SettingsDelegate::updateViewMode |
( |
bool |
enabled | ) |
const |
|
slot |
◆ viewModeChanged
| void SettingsDelegate::viewModeChanged |
( |
bool |
enabled | ) |
const |
|
signal |
The documentation for this class was generated from the following file: