VCS/RepositoryInfoDialog.py

Sat, 14 Dec 2013 23:44:25 +0100

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Sat, 14 Dec 2013 23:44:25 +0100
branch
Py2 comp.
changeset 3145
a9de05d4a22f
parent 3057
10516539f238
child 3161
06f57a834adf
permissions
-rw-r--r--

# __IGNORE_WARNING__ added/ removed.

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

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

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

from __future__ import unicode_literals

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(VcsRepositoryInfoDialog, self).__init__(parent)
        self.setupUi(self)
        self.infoBrowser.setHtml(info)

eric ide

mercurial