File: ui_informationwindow.py

package info (click to toggle)
pypibrowser 1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 504 kB
  • ctags: 222
  • sloc: python: 3,385; makefile: 8; sh: 1
file content (54 lines) | stat: -rw-r--r-- 2,205 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'informationwindow.ui'
#
# Created: Sun Jul 23 21:17:15 2006
#      by: PyQt4 UI code generator 4.0-snapshot-20060619
#
# WARNING! All changes made in this file will be lost!

import sys
from PyQt4 import QtCore, QtGui

class Ui_InformationWindow(object):
    def setupUi(self, InformationWindow):
        InformationWindow.setObjectName("InformationWindow")
        InformationWindow.resize(QtCore.QSize(QtCore.QRect(0,0,400,300).size()).expandedTo(InformationWindow.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(InformationWindow)
        self.vboxlayout.setMargin(9)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.textBrowser = QtGui.QTextBrowser(InformationWindow)
        self.textBrowser.setObjectName("textBrowser")
        self.vboxlayout.addWidget(self.textBrowser)

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)

        self.closeButton = QtGui.QPushButton(InformationWindow)
        self.closeButton.setObjectName("closeButton")
        self.hboxlayout.addWidget(self.closeButton)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.closeAction = QtGui.QAction(InformationWindow)
        self.closeAction.setObjectName("closeAction")

        self.retranslateUi(InformationWindow)
        QtCore.QObject.connect(self.closeButton,QtCore.SIGNAL("clicked()"),InformationWindow.close)
        QtCore.QMetaObject.connectSlotsByName(InformationWindow)

    def tr(self, string):
        return QtGui.QApplication.translate("InformationWindow", string, None, QtGui.QApplication.UnicodeUTF8)

    def retranslateUi(self, InformationWindow):
        InformationWindow.setWindowTitle(self.tr("Information"))
        self.closeButton.setText(self.tr("&Close"))
        self.closeAction.setText(self.tr("Close"))
        self.closeAction.setShortcut(self.tr("Esc"))