plug-in drop-down box
AnsweredI have another question. If I want to implement this plug-in drop-down box, which cpp file should I implement this function? I haven't seen a similar example. What can I refer to.
-
Hi wenbin
It seems you have asked the similar questions while you started the development and inquired about the manifest.(for DeviceAgenet and Engine)In fact, you are suggested use the manifest string in your engine.cpp, then you would be able to group the event while the engine initiates the device agent for each device.
You can find the explanation in the manifest.md and taxonomy.md. and you can find the sample code in the SDK. (STUB/events plugin)
-
Hi Ichiro,
Thanks for your help,My description may not be accurate, but what I want to achieve is a drop-down menu below the plug-in name similar to the one below.
Click on the plug-in name on the left and there will be many options, each with a different interface.
I didn't find similar examples and implementation methods in stub project, manifest.md and taxonomy.md.
-
Hi Wenbin,
Thank you for pointing this out!
Indeed, the content you need should be in settings_model.md, as manifest.md only provides a description of the format and syntax. This was my oversight in not providing the relevant document content. I apologize for the mistake.
In principle, you can use “Sections” to handle the tree-like structure you need.
-
Hi Wenbin,
Here is the engine.cpp for your reference to create the settings of deviceAgent with proper manifest.
Please sign in to leave a comment.
Comments
5 comments