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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/NotificationsPage.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_NotificationsPage(object):
    def setupUi(self, NotificationsPage):
        NotificationsPage.setObjectName(_fromUtf8("NotificationsPage"))
        NotificationsPage.resize(507, 300)
        NotificationsPage.setWindowTitle(_fromUtf8(""))
        self.verticalLayout = QtGui.QVBoxLayout(NotificationsPage)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.headerLabel = QtGui.QLabel(NotificationsPage)
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout.addWidget(self.headerLabel)
        self.line11 = QtGui.QFrame(NotificationsPage)
        self.line11.setFrameShape(QtGui.QFrame.HLine)
        self.line11.setFrameShadow(QtGui.QFrame.Sunken)
        self.line11.setFrameShape(QtGui.QFrame.HLine)
        self.line11.setObjectName(_fromUtf8("line11"))
        self.verticalLayout.addWidget(self.line11)
        self.enableCheckBox = QtGui.QCheckBox(NotificationsPage)
        self.enableCheckBox.setObjectName(_fromUtf8("enableCheckBox"))
        self.verticalLayout.addWidget(self.enableCheckBox)
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label = QtGui.QLabel(NotificationsPage)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.timeoutSpinBox = QtGui.QSpinBox(NotificationsPage)
        self.timeoutSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.timeoutSpinBox.setMinimum(1)
        self.timeoutSpinBox.setMaximum(10)
        self.timeoutSpinBox.setObjectName(_fromUtf8("timeoutSpinBox"))
        self.gridLayout_2.addWidget(self.timeoutSpinBox, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 0, 2, 1, 1)
        self.groupBox = QtGui.QGroupBox(NotificationsPage)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.xSpinBox = QtGui.QSpinBox(self.groupBox)
        self.xSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.xSpinBox.setMinimum(-10000)
        self.xSpinBox.setMaximum(10000)
        self.xSpinBox.setObjectName(_fromUtf8("xSpinBox"))
        self.gridLayout.addWidget(self.xSpinBox, 0, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 0, 2, 1, 1)
        self.ySpinBox = QtGui.QSpinBox(self.groupBox)
        self.ySpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ySpinBox.setMinimum(-10000)
        self.ySpinBox.setMaximum(10000)
        self.ySpinBox.setObjectName(_fromUtf8("ySpinBox"))
        self.gridLayout.addWidget(self.ySpinBox, 0, 3, 1, 1)
        self.visualButton = QtGui.QPushButton(self.groupBox)
        self.visualButton.setCheckable(True)
        self.visualButton.setObjectName(_fromUtf8("visualButton"))
        self.gridLayout.addWidget(self.visualButton, 1, 0, 1, 4)
        self.gridLayout_2.addWidget(self.groupBox, 1, 0, 1, 2)
        self.verticalLayout.addLayout(self.gridLayout_2)
        spacerItem1 = QtGui.QSpacerItem(20, 142, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem1)

        self.retranslateUi(NotificationsPage)
        QtCore.QMetaObject.connectSlotsByName(NotificationsPage)
        NotificationsPage.setTabOrder(self.enableCheckBox, self.timeoutSpinBox)
        NotificationsPage.setTabOrder(self.timeoutSpinBox, self.xSpinBox)
        NotificationsPage.setTabOrder(self.xSpinBox, self.ySpinBox)
        NotificationsPage.setTabOrder(self.ySpinBox, self.visualButton)

    def retranslateUi(self, NotificationsPage):
        self.headerLabel.setText(_translate("NotificationsPage", "<b>Configure notification settings</b>", None))
        self.enableCheckBox.setToolTip(_translate("NotificationsPage", "Select to enable notifications", None))
        self.enableCheckBox.setText(_translate("NotificationsPage", "Enable Notifications", None))
        self.label.setText(_translate("NotificationsPage", "Auto Close Timeout:", None))
        self.timeoutSpinBox.setToolTip(_translate("NotificationsPage", "Enter the timeout for closing the notification", None))
        self.timeoutSpinBox.setSuffix(_translate("NotificationsPage", " s", None))
        self.groupBox.setTitle(_translate("NotificationsPage", "Position", None))
        self.label_2.setText(_translate("NotificationsPage", "X:", None))
        self.xSpinBox.setToolTip(_translate("NotificationsPage", "Enter the X-position the notification should be shown at", None))
        self.label_3.setText(_translate("NotificationsPage", "Y:", None))
        self.ySpinBox.setToolTip(_translate("NotificationsPage", "Enter the Y-position the notification should be shown at", None))
        self.visualButton.setToolTip(_translate("NotificationsPage", "Press to select the position visually, release to get it", None))
        self.visualButton.setText(_translate("NotificationsPage", "Visual Selection", None))

