apidialog.py 1.3 KB

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