|
1 # -*- coding: utf-8 -*- |
|
2 |
|
3 # Copyright (c) 2004 - 2009 Detlev Offenbach <detlev@die-offenbachs.de> |
|
4 # |
|
5 |
|
6 """ |
|
7 Module implemting a dialog to show repository information. |
|
8 """ |
|
9 |
|
10 from PyQt4.QtGui 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 QDialog.__init__(self, parent) |
|
21 self.setupUi(self) |
|
22 self.infoBrowser.setHtml(info) |