Logo Search packages:      
Sourcecode: kayali version File versions  Download package

settings.py

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

# Form implementation generated from reading ui file 'qt4gui/settings.ui'
#
# Created: Sun Jan 14 08:53:16 2007
#      by: PyQt4 UI code generator 4.0.1
#
# WARNING! All changes made in this file will be lost!

import sys
from PyQt4 import QtCore, QtGui

class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(QtCore.QSize(QtCore.QRect(0,0,406,156).size()).expandedTo(Dialog.minimumSizeHint()))

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

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

        self.leFontFamily = QtGui.QLineEdit(Dialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(self.leFontFamily.sizePolicy().hasHeightForWidth())
        self.leFontFamily.setSizePolicy(sizePolicy)
        self.leFontFamily.setReadOnly(True)
        self.leFontFamily.setObjectName("leFontFamily")
        self.hboxlayout.addWidget(self.leFontFamily)

        self.leFontSize = QtGui.QLineEdit(Dialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(0),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.leFontSize.sizePolicy().hasHeightForWidth())
        self.leFontSize.setSizePolicy(sizePolicy)
        self.leFontSize.setReadOnly(True)
        self.leFontSize.setObjectName("leFontSize")
        self.hboxlayout.addWidget(self.leFontSize)

        self.pbSelectFont = QtGui.QPushButton(Dialog)
        self.pbSelectFont.setObjectName("pbSelectFont")
        self.hboxlayout.addWidget(self.pbSelectFont)
        self.vboxlayout.addLayout(self.hboxlayout)

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

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

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

        self.label = QtGui.QLabel(Dialog)
        self.label.setObjectName("label")
        self.hboxlayout2.addWidget(self.label)

        self.spZoom = QtGui.QSpinBox(Dialog)
        self.spZoom.setMaximum(20)
        self.spZoom.setMinimum(1)
        self.spZoom.setProperty("value",QtCore.QVariant(1))
        self.spZoom.setObjectName("spZoom")
        self.hboxlayout2.addWidget(self.spZoom)
        self.hboxlayout1.addLayout(self.hboxlayout2)
        self.vboxlayout.addLayout(self.hboxlayout1)

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

        spacerItem1 = QtGui.QSpacerItem(131,31,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout3.addItem(spacerItem1)

        self.okButton = QtGui.QPushButton(Dialog)
        self.okButton.setObjectName("okButton")
        self.hboxlayout3.addWidget(self.okButton)

        self.cancelButton = QtGui.QPushButton(Dialog)
        self.cancelButton.setObjectName("cancelButton")
        self.hboxlayout3.addWidget(self.cancelButton)
        self.vboxlayout.addLayout(self.hboxlayout3)

        spacerItem2 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem2)

        self.retranslateUi(Dialog)
        QtCore.QObject.connect(self.okButton,QtCore.SIGNAL("clicked()"),Dialog.accept)
        QtCore.QObject.connect(self.cancelButton,QtCore.SIGNAL("clicked()"),Dialog.reject)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.pbSelectFont.setText(QtGui.QApplication.translate("Dialog", "Select Font...", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Dialog", "Zoom:", None, QtGui.QApplication.UnicodeUTF8))
        self.okButton.setText(QtGui.QApplication.translate("Dialog", "OK", None, QtGui.QApplication.UnicodeUTF8))
        self.cancelButton.setText(QtGui.QApplication.translate("Dialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))

Generated by  Doxygen 1.6.0   Back to index