The goal of this section is to customize plugin_first to classify the loaded layers in the raster and vectors and respectively populate two combo boxes with the layer names.
A simple plugin example
Adding basic logic to TestPlugin
As said previously, to customize TestPlugin we have to modify some code portions in the files: plugin_first_dialog_base.ui for the GUI layout, plugin_first_dialog.py for the GUI logic, and plugin_first.py for the plugin logic.
Modifying the layout with Qt Designer
The default plugin GUI layout has only two buttons, Ok and Cancel. Here, we will...