#!/usr/bin/env python
# coding=UTF-8
#
# Generated by pykdeuic4 from settings.ui on Fri Mar  6 18:11:47 2009
#
# WARNING! All changes to this file will be lost.
from PyKDE4 import kdecore
from PyKDE4 import kdeui
from PyQt4 import QtCore, QtGui

class Ui_DialogSettings(object):
    def setupUi(self, DialogSettings):
        DialogSettings.setObjectName("DialogSettings")
        DialogSettings.resize(476, 268)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DialogSettings.sizePolicy().hasHeightForWidth())
        DialogSettings.setSizePolicy(sizePolicy)
        self.verticalLayout = QtGui.QVBoxLayout(DialogSettings)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_5 = QtGui.QLabel(DialogSettings)
        self.label_5.setWordWrap(True)
        self.label_5.setObjectName("label_5")
        self.verticalLayout.addWidget(self.label_5)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.groupBoxTemperature = QtGui.QGroupBox(DialogSettings)
        self.groupBoxTemperature.setObjectName("groupBoxTemperature")
        self.gridLayout = QtGui.QGridLayout(self.groupBoxTemperature)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtGui.QLabel(self.groupBoxTemperature)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.spinBoxTemperatureMinimum = QtGui.QSpinBox(self.groupBoxTemperature)
        self.spinBoxTemperatureMinimum.setMinimum(30)
        self.spinBoxTemperatureMinimum.setMaximum(75)
        self.spinBoxTemperatureMinimum.setObjectName("spinBoxTemperatureMinimum")
        self.gridLayout.addWidget(self.spinBoxTemperatureMinimum, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.groupBoxTemperature)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.spinBoxTemperatureMaximum = QtGui.QSpinBox(self.groupBoxTemperature)
        self.spinBoxTemperatureMaximum.setMinimum(30)
        self.spinBoxTemperatureMaximum.setMaximum(85)
        self.spinBoxTemperatureMaximum.setObjectName("spinBoxTemperatureMaximum")
        self.gridLayout.addWidget(self.spinBoxTemperatureMaximum, 1, 1, 1, 1)
        self.horizontalLayout_3.addWidget(self.groupBoxTemperature)
        self.groupBoxFanSpeed = QtGui.QGroupBox(DialogSettings)
        self.groupBoxFanSpeed.setObjectName("groupBoxFanSpeed")
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBoxFanSpeed)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_4 = QtGui.QLabel(self.groupBoxFanSpeed)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 1)
        self.horizontalSliderSpeedMinimum = QtGui.QSlider(self.groupBoxFanSpeed)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.horizontalSliderSpeedMinimum.sizePolicy().hasHeightForWidth())
        self.horizontalSliderSpeedMinimum.setSizePolicy(sizePolicy)
        self.horizontalSliderSpeedMinimum.setMinimumSize(QtCore.QSize(200, 0))
        self.horizontalSliderSpeedMinimum.setMaximum(10)
        self.horizontalSliderSpeedMinimum.setSingleStep(1)
        self.horizontalSliderSpeedMinimum.setPageStep(1)
        self.horizontalSliderSpeedMinimum.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSliderSpeedMinimum.setObjectName("horizontalSliderSpeedMinimum")
        self.gridLayout_2.addWidget(self.horizontalSliderSpeedMinimum, 0, 1, 1, 1)
        self.spinBoxSpeedMinimum = QtGui.QSpinBox(self.groupBoxFanSpeed)
        self.spinBoxSpeedMinimum.setMaximum(100)
        self.spinBoxSpeedMinimum.setSingleStep(10)
        self.spinBoxSpeedMinimum.setObjectName("spinBoxSpeedMinimum")
        self.gridLayout_2.addWidget(self.spinBoxSpeedMinimum, 0, 2, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBoxFanSpeed)
        self.label_3.setObjectName("label_3")
        self.gridLayout_2.addWidget(self.label_3, 1, 0, 1, 1)
        self.horizontalSliderSpeedMaximum = QtGui.QSlider(self.groupBoxFanSpeed)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.horizontalSliderSpeedMaximum.sizePolicy().hasHeightForWidth())
        self.horizontalSliderSpeedMaximum.setSizePolicy(sizePolicy)
        self.horizontalSliderSpeedMaximum.setMaximum(10)
        self.horizontalSliderSpeedMaximum.setPageStep(1)
        self.horizontalSliderSpeedMaximum.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSliderSpeedMaximum.setObjectName("horizontalSliderSpeedMaximum")
        self.gridLayout_2.addWidget(self.horizontalSliderSpeedMaximum, 1, 1, 1, 1)
        self.spinBoxSpeedMaximum = QtGui.QSpinBox(self.groupBoxFanSpeed)
        self.spinBoxSpeedMaximum.setMaximum(100)
        self.spinBoxSpeedMaximum.setSingleStep(10)
        self.spinBoxSpeedMaximum.setObjectName("spinBoxSpeedMaximum")
        self.gridLayout_2.addWidget(self.spinBoxSpeedMaximum, 1, 2, 1, 1)
        self.horizontalLayout_3.addWidget(self.groupBoxFanSpeed)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.groupBox = QtGui.QGroupBox(DialogSettings)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.groupBox)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.checkBoxAutostart = QtGui.QCheckBox(self.groupBox)
        self.checkBoxAutostart.setObjectName("checkBoxAutostart")
        self.horizontalLayout_4.addWidget(self.checkBoxAutostart)
        self.checkBoxIgnoreFan = QtGui.QCheckBox(self.groupBox)
        self.checkBoxIgnoreFan.setObjectName("checkBoxIgnoreFan")
        self.horizontalLayout_4.addWidget(self.checkBoxIgnoreFan)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.verticalLayout.addWidget(self.groupBox)
        self.groupBoxTemperatureAlarm = QtGui.QGroupBox(DialogSettings)
        self.groupBoxTemperatureAlarm.setObjectName("groupBoxTemperatureAlarm")
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.groupBoxTemperatureAlarm)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.checkBoxAlarm = QtGui.QCheckBox(self.groupBoxTemperatureAlarm)
        self.checkBoxAlarm.setObjectName("checkBoxAlarm")
        self.horizontalLayout_2.addWidget(self.checkBoxAlarm)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_6 = QtGui.QLabel(self.groupBoxTemperatureAlarm)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout.addWidget(self.label_6)
        self.spinBoxAlarm = QtGui.QSpinBox(self.groupBoxTemperatureAlarm)
        self.spinBoxAlarm.setMinimum(30)
        self.spinBoxAlarm.setMaximum(120)
        self.spinBoxAlarm.setProperty("value", QtCore.QVariant(80))
        self.spinBoxAlarm.setObjectName("spinBoxAlarm")
        self.horizontalLayout.addWidget(self.spinBoxAlarm)
        self.horizontalLayout_2.addLayout(self.horizontalLayout)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.verticalLayout.addWidget(self.groupBoxTemperatureAlarm)

        self.retranslateUi(DialogSettings)
        QtCore.QMetaObject.connectSlotsByName(DialogSettings)
        DialogSettings.setTabOrder(self.spinBoxTemperatureMinimum, self.spinBoxTemperatureMaximum)
        DialogSettings.setTabOrder(self.spinBoxTemperatureMaximum, self.horizontalSliderSpeedMinimum)
        DialogSettings.setTabOrder(self.horizontalSliderSpeedMinimum, self.spinBoxSpeedMinimum)
        DialogSettings.setTabOrder(self.spinBoxSpeedMinimum, self.horizontalSliderSpeedMaximum)
        DialogSettings.setTabOrder(self.horizontalSliderSpeedMaximum, self.spinBoxSpeedMaximum)

    def retranslateUi(self, DialogSettings):
        DialogSettings.setWindowTitle(kdecore.i18n("Dialog"))
        self.label_5.setText(kdecore.i18n("Set temperature and fan speed limits. The program will aim to keep the temperature within its limits by varying the fan speed accordingly."))
        self.groupBoxTemperature.setTitle(kdecore.i18n("Temperature"))
        self.label.setText(kdecore.i18n("Minimum:"))
        self.label_2.setText(kdecore.i18n("Maximum:"))
        self.groupBoxFanSpeed.setTitle(kdecore.i18n("Fan Speed"))
        self.label_4.setText(kdecore.i18n("Minimum:"))
        self.label_3.setText(kdecore.i18n("Maximum:"))
        self.checkBoxAutostart.setText(kdecore.i18n("Start automatically when KDE starts"))
        self.checkBoxIgnoreFan.setToolTip(kdecore.i18n("Do not try to control the fan or report information.\n"
"Check this if there is no fan, or if the fan fitted does not support fan control."))
        self.checkBoxIgnoreFan.setText(kdecore.i18n("Ignore Fan"))
        self.groupBoxTemperatureAlarm.setTitle(kdecore.i18n("Temperature Alarm"))
        self.checkBoxAlarm.setText(kdecore.i18n("Enable Alarm"))
        self.label_6.setText(kdecore.i18n("Temperature:"))

