VCS/RepositoryInfoDialog.py

Sat, 04 Oct 2014 13:05:57 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 04 Oct 2014 13:05:57 +0200
branch
5_4_x
changeset 3849
df1305478619
parent 3160
209a07d7e401
child 3178
f25fc1364c88
permissions
-rw-r--r--

Prepared new 5.4.x release.

# -*- coding: utf-8 -*-

# Copyright (c) 2004 - 2014 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module implemting a dialog to show repository information.
"""

from PyQt4.QtGui 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().__init__(parent)
        self.setupUi(self)
        self.infoBrowser.setHtml(info)

eric ide

mercurial