Crossfire Server, Trunk
AssetUseTree.h
Go to the documentation of this file.
1
/*
2
* Crossfire -- cooperative multi-player graphical RPG and adventure game
3
*
4
* Copyright (c) 2022 the Crossfire Development Team
5
*
6
* Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
7
* welcome to redistribute it under certain conditions. For details, please
8
* see COPYING and LICENSE.
9
*
10
* The authors can be reached via e-mail at <crossfire@metalforge.org>.
11
*/
12
13
#ifndef ASSET_USE_TREE_H
14
#define ASSET_USE_TREE_H
15
16
#include <QTreeView>
17
18
class
AssetWrapper
;
19
class
UseFilterAssetModel
;
20
class
AssetModel
;
21
25
class
AssetUseTree
:
public
QTreeView {
26
Q_OBJECT
27
28
Q_PROPERTY(
AssetWrapper
*
filter
WRITE
setFilter
)
29
public
:
30
AssetUseTree
(
AssetModel
*assets, QWidget *parent);
31
32
protected
:
33
UseFilterAssetModel
*
myFilter
;
34
35
void
setFilter
(
AssetWrapper
*
filter
);
36
};
37
38
#endif
/* ASSET_USE_TREE_H */
AssetUseTree::setFilter
void setFilter(AssetWrapper *filter)
Definition:
AssetUseTree.cpp:24
filter
Definition:
filter.py:1
AssetWrapper
Definition:
AssetWrapper.h:25
UseFilterAssetModel
Definition:
AssetModel.h:58
AssetModel
Definition:
AssetModel.h:29
AssetUseTree
Definition:
AssetUseTree.h:25
AssetUseTree::AssetUseTree
AssetUseTree(AssetModel *assets, QWidget *parent)
Definition:
AssetUseTree.cpp:16
AssetUseTree::myFilter
UseFilterAssetModel * myFilter
Definition:
AssetUseTree.h:33
crossfire-crossfire-server
utils
cre
assets
AssetUseTree.h
Generated by
1.8.17