 |
Crossfire Resources Editor
|
Go to the documentation of this file.
13 #ifndef CRERESOURCESWINDOW_H
14 #define CRERESOURCESWINDOW_H
51 QHash<QString, QPointer<AssetWrapperPanel> >
myPanels;
64 void setFilter(
const QString &filter,
const QString &name);
76 #endif // CRERESOURCESWINDOW_H
Base class for a panel displaying information about an asset.
Manage scripts for items.
ScriptFilterAssetModel * myModel
Class managing all assets, tracking in which file they are, which are modified, and such.
CREResourcesWindow(CREMapInformationManager *store, MessageManager *messages, ResourcesManager *resources, ScriptFileManager *scripts, AssetModel *model, const QModelIndex &root, QWidget *parent)
CREFilterDefinitionManager myFilters
MessageManager * myMessages
CREMapInformationManager * myStore
void onFilterChange(QObject *object)
QSignalMapper myFiltersMapper
Proxy model filtering based on user-written filter, used in the main resource view.
Qt model representing all items in CRE, with the exception of experience.
void addPanel(QString name, AssetWrapperPanel *panel)
void setFilter(const QString &filter, const QString &name)
void treeCustomMenu(const QPoint &pos)
QPushButton * myFilterButton
QStackedLayout * myStackedPanels
ScriptFileManager * myScripts
ResourcesManager * myResources
AssetWrapperPanel * myCurrentPanel
QHash< QString, QPointer< AssetWrapperPanel > > myPanels
void currentRowChanged(const QModelIndex ¤t, const QModelIndex &previous)
virtual ~CREResourcesWindow()