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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/QScintilla/GotoDialog.ui'
#
# Created: Sat Mar 24 11:17:16 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_GotoDialog(object):
    def setupUi(self, GotoDialog):
        GotoDialog.setObjectName("GotoDialog")
        GotoDialog.resize(QtCore.QSize(QtCore.QRect(0,0,206,76).size()).expandedTo(GotoDialog.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(GotoDialog)
        self.vboxlayout.setMargin(6)
        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.linenumberLabel = QtGui.QLabel(GotoDialog)
        self.linenumberLabel.setObjectName("linenumberLabel")
        self.hboxlayout.addWidget(self.linenumberLabel)

        self.linenumberSpinBox = QtGui.QSpinBox(GotoDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(3),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.linenumberSpinBox.sizePolicy().hasHeightForWidth())
        self.linenumberSpinBox.setSizePolicy(sizePolicy)
        self.linenumberSpinBox.setAlignment(QtCore.Qt.AlignRight)
        self.linenumberSpinBox.setMaximum(99999)
        self.linenumberSpinBox.setMinimum(1)
        self.linenumberSpinBox.setObjectName("linenumberSpinBox")
        self.hboxlayout.addWidget(self.linenumberSpinBox)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.buttonBox = QtGui.QDialogButtonBox(GotoDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)
        self.linenumberLabel.setBuddy(self.linenumberSpinBox)

        self.retranslateUi(GotoDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),GotoDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),GotoDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(GotoDialog)

    def retranslateUi(self, GotoDialog):
        GotoDialog.setWindowTitle(QtGui.QApplication.translate("GotoDialog", "Goto", None, QtGui.QApplication.UnicodeUTF8))
        self.linenumberLabel.setText(QtGui.QApplication.translate("GotoDialog", "&Line Number:", None, QtGui.QApplication.UnicodeUTF8))
        self.linenumberSpinBox.setToolTip(QtGui.QApplication.translate("GotoDialog", "Enter linenumber to go to", None, QtGui.QApplication.UnicodeUTF8))
        self.linenumberSpinBox.setWhatsThis(QtGui.QApplication.translate("GotoDialog", "<b>Linenumber</b>\n"
        "<p>Enter the linenumber to go to in this entry field.</p>", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    GotoDialog = QtGui.QDialog()
    ui = Ui_GotoDialog()
    ui.setupUi(GotoDialog)
    GotoDialog.show()
    sys.exit(app.exec_())
