VCS/RepositoryInfoDialog.py

Sun, 01 Feb 2015 18:23:12 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 01 Feb 2015 18:23:12 +0100
changeset 4079
a3319822d303
parent 4021
195a471c327b
child 4631
5c1a96925da4
permissions
-rw-r--r--

Added possibility for plug-ins to have toolbars.

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

# Copyright (c) 2004 - 2015 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