#include <iparamb2.h>
Extension class that adds functionality to class ClassDesc2 for 3ds Max 2017 Service Pack 2.
The plugin developer may implement this method by deriving a plugin's class descriptor from this class alongside ClassDesc2.
A pointer to this extension interface may be retrieved through a dynamic_cast from a ClassDesc2.
Note: this class will eventually disappear, having its functionality folded into ClassDesc2.
Public Member Functions | |
virtual MaxSDK::QMaxParamBlockWidget * | CreateQtWidget (ReferenceMaker &owner, IParamBlock2 ¶mBlock, const MapID paramMapID, MSTR &rollupTitle, int &rollupFlags, int &rollupCategory, Class_ID &tabID)=0 |
Creates a Qt widget to be associated with the given parameter map ID. More... | |
|
pure virtual |
Creates a Qt widget to be associated with the given parameter map ID.
This method is to be implemented by the plugin developer, if and only if the P_AUTO_UI_QT flag has been specific on a parameter block descriptor. It replaces the UI definition that exists in the parameter block descriptor for Win32 dialogs; it is responsible for building a Qt widget which defines the UI to be controlled by the parameter map with the given ID. This Qt widget will be hosted in a rollup window.
owner | The owner of the dialog. This will normally be the owner of the parameter block, but in the case of P_CLASS_PARAMS, where the parameter block doesn't have an owner, this will be the object for which the dialog is being displayed. | |
paramBlock | The parameter block to which the parameter map belongs. | |
paramMapID | The ID of the parameter map, as specific in the parameter block descriptor. | |
[out] | rollupTitle | The title to be displayed in the rollup's header. |
[out] | rollupFlags | Optional flags, such as APPENDROLL_CLOSED. The default input value is 0. |
[out] | rollupCategory | Optional value controlling the order in which rollups are positioned. The default input value is ROLLUP_CAT_STANDARD. |
[out] | tabID | Optional identifier for the tab in which the rollup is to be added. This is the ID used to create new tabs in implementations of ITabDialogObject::AddTabToDialog(). Note that tabs are currently only supported in the render settings dialog. The default input value is ClassID(); this value causes the widget to be added to the default/first tab. |