[Qgis-developer] Plugin with custom QGIS-Qt Widget for master

matteo matteo.ghetta at gmail.com
Mon Mar 6 06:57:05 PST 2017


Hi Denis,

this the code that loads the UI:

FORM_CLASS, _ = uic.loadUiType(os.path.join(
    os.path.dirname(__file__), '../ui/Bar.ui'))

class BarPlotDialog(QtWidgets.QDialog, FORM_CLASS):
    def __init__(self, parent=None):
        """Constructor."""
        super(BarPlotDialog, self).__init__(parent)


should be the standard one to load them right?

Thanks!

Matteo


More information about the Qgis-developer mailing list