1. Add custom components to the project
- add new
- Choose from the following
- Write the class method and confirm it
2. Add the newly created ui class to the main ui interface
- Select the empty block of the parent class of the newly created ui class, right-click and select
提升为
- Select and add the newly created class