recorddialog.py 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ###############################################################################
  2. #
  3. # CSW Client
  4. # ---------------------------------------------------------
  5. # QGIS Catalog Service client.
  6. #
  7. # Copyright (C) 2010 NextGIS (http://nextgis.org),
  8. # Alexander Bruy (alexander.bruy@gmail.com),
  9. # Maxim Dubinin (sim@gis-lab.info)
  10. #
  11. # Copyright (C) 2014 Tom Kralidis (tomkralidis@gmail.com)
  12. #
  13. # This source is free software; you can redistribute it and/or modify it under
  14. # the terms of the GNU General Public License as published by the Free
  15. # Software Foundation; either version 2 of the License, or (at your option)
  16. # any later version.
  17. #
  18. # This code is distributed in the hope that it will be useful, but WITHOUT ANY
  19. # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  20. # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
  21. # details.
  22. #
  23. # You should have received a copy of the GNU General Public License along
  24. # with this program; if not, write to the Free Software Foundation, Inc.,
  25. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  26. #
  27. ###############################################################################
  28. from qgis.PyQt.QtWidgets import QDialog
  29. from MetaSearch.util import get_ui_class
  30. BASE_CLASS = get_ui_class('recorddialog.ui')
  31. class RecordDialog(QDialog, BASE_CLASS):
  32. """Record Metadata Dialogue"""
  33. def __init__(self):
  34. """init"""
  35. QDialog.__init__(self)
  36. self.setupUi(self)