Improves the MaterialTreeWidget beyond minimum viable product. - Filters can now be filter lists to allow a variety of filtering options. - User preferences allow the inclusion/exclusion of favorites and recents. - Widget state such as expansion, tree expansions, etc are saved and restored. - show current appearancee material when editing. - implements a python interface #fixes 13421: always opens full tree
72 lines
2.7 KiB
XML
72 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
|
|
<PythonExport
|
|
Father="BaseClassPy"
|
|
Name="MaterialTreeWidgetPy"
|
|
Twin="MaterialTreeWidget"
|
|
TwinPointer="MaterialTreeWidget"
|
|
Include="Mod/Material/Gui/MaterialTreeWidget.h"
|
|
Namespace="MatGui"
|
|
FatherInclude="Base/BaseClassPy.h"
|
|
FatherNamespace="Base"
|
|
Constructor="true"
|
|
Delete="false">
|
|
<Documentation>
|
|
<Author Licence="LGPL" Name="DavidCarter" EMail="dcarter@davidcarter.ca" />
|
|
<UserDocu>Material tree widget.</UserDocu>
|
|
</Documentation>
|
|
<Attribute Name="UUID" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>Material UUID.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="UUID" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="expanded" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>Expand material tree.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="expanded" Type="Boolean"/>
|
|
</Attribute>
|
|
<Attribute Name="IncludeFavorites" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>Include favorites in the material list.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="IncludeFavorites" Type="Boolean"/>
|
|
</Attribute>
|
|
<Attribute Name="IncludeRecent" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>Include recently used materials in the material list.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="IncludeRecent" Type="Boolean"/>
|
|
</Attribute>
|
|
<Attribute Name="IncludeEmptyFolders" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>Include empty folders in the material list.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="IncludeEmptyFolders" Type="Boolean"/>
|
|
</Attribute>
|
|
<Attribute Name="IncludeEmptyLibraries" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>Include empty libraries in the material list.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="IncludeEmptyLibraries" Type="Boolean"/>
|
|
</Attribute>
|
|
<Attribute Name="IncludeLegacy" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>Include legacy materials in the material list.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="IncludeLegacy" Type="Boolean"/>
|
|
</Attribute>
|
|
<Methode Name="setFilter">
|
|
<Documentation>
|
|
<UserDocu>Set the material filter or list of filters.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="selectFilter">
|
|
<Documentation>
|
|
<UserDocu>Set the current material filter.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
</PythonExport>
|
|
</GenerateModel>
|