src/eric7/VCS/RepositoryInfoDialog.py

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8881
54e42bc2437a
child 9221
bf71ee032bb4
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2004 - 2022 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module implemting a dialog to show repository information.
8 """
9
10 from PyQt6.QtWidgets import QDialog
11
12 from .Ui_RepositoryInfoDialog import Ui_VcsRepositoryInfoDialog
13
14
15 class VcsRepositoryInfoDialog(QDialog, Ui_VcsRepositoryInfoDialog):
16 """
17 Class implemting a dialog to show repository information.
18 """
19 def __init__(self, parent, info):
20 """
21 Constructor
22
23 @param parent reference to the parent widget (QWidget)
24 @param info info data to show (string)
25 """
26 super().__init__(parent)
27 self.setupUi(self)
28 self.infoBrowser.setHtml(info)

eric ide

mercurial