Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_model_index_converter_show_all.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2011 Dmitry Kazakov <dimula73@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#ifndef __KIS_MODEL_INDEX_CONVERTER_SHOW_ALL_H
8
#define __KIS_MODEL_INDEX_CONVERTER_SHOW_ALL_H
9
10
#include "
kis_model_index_converter_base.h
"
11
12
class
KisDummiesFacadeBase
;
13
class
KisNodeModel
;
14
15
22
class
KRITAUI_EXPORT
KisModelIndexConverterShowAll
:
public
KisModelIndexConverterBase
23
{
24
public
:
25
KisModelIndexConverterShowAll
(
KisDummiesFacadeBase
*dummiesFacade,
26
KisNodeModel
*model);
27
28
KisNodeDummy
*
dummyFromRow
(
int
row, QModelIndex parent)
override
;
29
KisNodeDummy
*
dummyFromIndex
(QModelIndex index)
override
;
30
31
QModelIndex
indexFromDummy
(
KisNodeDummy
*dummy)
override
;
32
bool
indexFromAddedDummy
(
KisNodeDummy
*parentDummy,
int
index,
33
const
QString &newNodeMetaObjectType,
34
QModelIndex &parentIndex,
int
&row)
override
;
35
36
int
rowCount
(QModelIndex parent)
override
;
37
38
private
:
39
KisDummiesFacadeBase
*
m_dummiesFacade
;
40
KisNodeModel
*
m_model
;
41
};
42
43
#endif
/* __KIS_MODEL_INDEX_CONVERTER_SHOW_ALL_H */
KisDummiesFacadeBase
Definition
kis_dummies_facade_base.h:27
KisModelIndexConverterBase
Definition
kis_model_index_converter_base.h:25
KisModelIndexConverterBase::rowCount
virtual int rowCount(QModelIndex parent)=0
KisModelIndexConverterBase::dummyFromRow
virtual KisNodeDummy * dummyFromRow(int row, QModelIndex parent)=0
KisModelIndexConverterBase::indexFromDummy
virtual QModelIndex indexFromDummy(KisNodeDummy *dummy)=0
KisModelIndexConverterBase::dummyFromIndex
virtual KisNodeDummy * dummyFromIndex(QModelIndex index)=0
KisModelIndexConverterBase::indexFromAddedDummy
virtual bool indexFromAddedDummy(KisNodeDummy *parentDummy, int index, const QString &newNodeMetaObjectType, QModelIndex &parentIndex, int &row)=0
KisModelIndexConverterShowAll
Definition
kis_model_index_converter_show_all.h:23
KisModelIndexConverterShowAll::m_model
KisNodeModel * m_model
Definition
kis_model_index_converter_show_all.h:40
KisModelIndexConverterShowAll::m_dummiesFacade
KisDummiesFacadeBase * m_dummiesFacade
Definition
kis_model_index_converter_show_all.h:39
KisNodeDummy
Definition
kis_node_dummies_graph.h:36
KisNodeModel
Definition
kis_node_model.h:46
kis_model_index_converter_base.h
libs
ui
kis_model_index_converter_show_all.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52