eric6/VCS/RepositoryInfoDialog.py

changeset 6942
2602857055c5
parent 6645
ad476851d7e0
child 7229
53054eb5b15a
diff -r f99d60d6b59b -r 2602857055c5 eric6/VCS/RepositoryInfoDialog.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eric6/VCS/RepositoryInfoDialog.py	Sun Apr 14 15:09:21 2019 +0200
@@ -0,0 +1,30 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2004 - 2019 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module implemting a dialog to show repository information.
+"""
+
+from __future__ import unicode_literals
+
+from PyQt5.QtWidgets import QDialog
+
+from .Ui_RepositoryInfoDialog import Ui_VcsRepositoryInfoDialog
+
+
+class VcsRepositoryInfoDialog(QDialog, Ui_VcsRepositoryInfoDialog):
+    """
+    Class implemting a dialog to show repository information.
+    """
+    def __init__(self, parent, info):
+        """
+        Constructor
+        
+        @param parent reference to the parent widget (QWidget)
+        @param info info data to show (string)
+        """
+        super(VcsRepositoryInfoDialog, self).__init__(parent)
+        self.setupUi(self)
+        self.infoBrowser.setHtml(info)

eric ide

mercurial