7#ifndef DLG_BUNDLE_MANAGER_H
8#define DLG_BUNDLE_MANAGER_H
12#include <QPersistentModelIndex>
13#include <QStyledItemDelegate>
16#include "ui_wdgdlgbundlemanager.h"
43 QSize
sizeHint(
const QStyleOptionViewItem & option,
const QModelIndex & index)
const override;
44 void paint(QPainter * painter,
const QStyleOptionViewItem & option,
const QModelIndex & index)
const override;
54 void done(
int res)
override;
ItemDelegate(QObject *, KisStorageFilterProxyModel *)
KisStorageFilterProxyModel * m_bundleManagerProxyModel
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
void slotRowsRemoved(const QModelIndex &parent, int first, int last)
WdgDlgBundleManager * m_ui
void done(int res) override
void updateBundleInformation(QModelIndex idx)
KisStorageFilterProxyModel * m_proxyModel
QPersistentModelIndex lastIndex
void currentCellSelectedChanged(QModelIndex current, QModelIndex previous)
DlgBundleManager(QWidget *parent=0)
void updateToggleButton(bool active)
void slotModelAboutToBeReset()
void slotRowsInserted(const QModelIndex &parent, int first, int last)
A dialog base class with standard buttons and predefined layouts.
QSize sizeHint() const override
WdgDlgBundleManager(QWidget *parent)