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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric3_9/eric3/VCS/RepositoryInfoForm.ui'
#
# Created: So Nov 27 16:13:10 2005
#      by: The PyQt User Interface Compiler (pyuic) 3.15
#
# WARNING! All changes made in this file will be lost!


import sys
from qt import *


class VcsRepositoryInfoForm(QDialog):
    def __init__(self,parent = None,name = None,modal = 0,fl = 0):
        QDialog.__init__(self,parent,name,modal,fl)

        if not name:
            self.setName("VcsRepositoryInfoForm")


        VcsRepositoryInfoFormLayout = QVBoxLayout(self,6,6,"VcsRepositoryInfoFormLayout")

        self.infoBrowser = QTextBrowser(self,"infoBrowser")
        self.infoBrowser.setTextFormat(QTextBrowser.RichText)
        self.infoBrowser.setWordWrap(QTextBrowser.NoWrap)
        VcsRepositoryInfoFormLayout.addWidget(self.infoBrowser)

        layout1 = QHBoxLayout(None,0,6,"layout1")
        spacer1 = QSpacerItem(40,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
        layout1.addItem(spacer1)

        self.pushButton1 = QPushButton(self,"pushButton1")
        layout1.addWidget(self.pushButton1)
        spacer2 = QSpacerItem(40,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
        layout1.addItem(spacer2)
        VcsRepositoryInfoFormLayout.addLayout(layout1)

        self.languageChange()

        self.resize(QSize(590,437).expandedTo(self.minimumSizeHint()))
        self.clearWState(Qt.WState_Polished)

        self.connect(self.pushButton1,SIGNAL("clicked()"),self.accept)


    def languageChange(self):
        self.setCaption(self.__tr("Repository Information"))
        self.pushButton1.setText(self.__tr("&Close"))
        self.pushButton1.setAccel(self.__tr("Alt+C"))


    def __tr(self,s,c = None):
        return qApp.translate("VcsRepositoryInfoForm",s,c)

if __name__ == "__main__":
    a = QApplication(sys.argv)
    QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()"))
    w = VcsRepositoryInfoForm()
    a.setMainWidget(w)
    w.show()
    a.exec_loop()
