def _update_versions(self, current_plugin_version):
     version_ok = True
     self.ui.lblVersionQGIS.setText(QGis.QGIS_VERSION)
     self.ui.lblVersionPlugin.setText(self.version)
     if StrictVersion(self.version) < StrictVersion(current_plugin_version):
         self.ui.lblVersionPlugin.setPalette(self.palette_red)
         version_ok = False
     self.ui.lblVersionOGR.setText(ogr_version_info())
     if ogr_version_num() < 1900:
         self.ui.lblVersionOGR.setPalette(self.palette_red)
         version_ok = False
     self.ui.lblVersionPython.setText(sys.version)
     self.ui.lblVersionOS.setText(platform.platform())
     return version_ok
 def _version_info(self):
     return {'versions': {'plugin': self.version, 'QGIS': QGis.QGIS_VERSION, 'OGR': ogr_version_info(), 'OS': platform.platform(), 'Python': sys.version}}