#!/usr/bin/env python
# -*- coding: utf-8 -*-
# coding=UTF-8
#
# Generated by pykdeuic4 from main.ui on Fri Mar  6 17:30:01 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_Main(object):
    def setupUi(self, Main):
        Main.setObjectName("Main")
        Main.setWindowModality(QtCore.Qt.WindowModal)
        Main.resize(757, 547)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(Main.sizePolicy().hasHeightForWidth())
        Main.setSizePolicy(sizePolicy)
        self.widget = QtGui.QWidget(Main)
        self.widget.setObjectName("widget")
        self.gridLayout_4 = QtGui.QGridLayout(self.widget)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.groupBoxFanControl = QtGui.QGroupBox(self.widget)
        self.groupBoxFanControl.setObjectName("groupBoxFanControl")
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBoxFanControl)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.radioButtonSpeedAutomatic = QtGui.QRadioButton(self.groupBoxFanControl)
        self.radioButtonSpeedAutomatic.setObjectName("radioButtonSpeedAutomatic")
        self.horizontalLayout_2.addWidget(self.radioButtonSpeedAutomatic)
        self.radioButtonSpeedManual = QtGui.QRadioButton(self.groupBoxFanControl)
        self.radioButtonSpeedManual.setObjectName("radioButtonSpeedManual")
        self.horizontalLayout_2.addWidget(self.radioButtonSpeedManual)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.gridLayout_2.addLayout(self.horizontalLayout_2, 0, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtGui.QLabel(self.groupBoxFanControl)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.horizontalSliderFanSpeed = QtGui.QSlider(self.groupBoxFanControl)
        self.horizontalSliderFanSpeed.setMaximum(10)
        self.horizontalSliderFanSpeed.setPageStep(2)
        self.horizontalSliderFanSpeed.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSliderFanSpeed.setInvertedAppearance(False)
        self.horizontalSliderFanSpeed.setTickPosition(QtGui.QSlider.TicksAbove)
        self.horizontalSliderFanSpeed.setTickInterval(1)
        self.horizontalSliderFanSpeed.setObjectName("horizontalSliderFanSpeed")
        self.horizontalLayout.addWidget(self.horizontalSliderFanSpeed)
        self.labelCustomSpeed = QtGui.QLabel(self.groupBoxFanControl)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelCustomSpeed.sizePolicy().hasHeightForWidth())
        self.labelCustomSpeed.setSizePolicy(sizePolicy)
        self.labelCustomSpeed.setMinimumSize(QtCore.QSize(50, 0))
        self.labelCustomSpeed.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelCustomSpeed.setObjectName("labelCustomSpeed")
        self.horizontalLayout.addWidget(self.labelCustomSpeed)
        self.gridLayout_2.addLayout(self.horizontalLayout, 1, 0, 1, 1)
        self.gridLayout_4.addWidget(self.groupBoxFanControl, 0, 0, 1, 2)
        self.groupBox_2 = QtGui.QGroupBox(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
        self.gridLayout.setObjectName("gridLayout")
        self.lCDTemperature = QtGui.QLCDNumber(self.groupBox_2)
        self.lCDTemperature.setNumDigits(3)
        self.lCDTemperature.setObjectName("lCDTemperature")
        self.gridLayout.addWidget(self.lCDTemperature, 0, 1, 1, 1)
        self.progressTemperature = QtGui.QProgressBar(self.groupBox_2)
        self.progressTemperature.setTextVisible(False)
        self.progressTemperature.setInvertedAppearance(False)
        self.progressTemperature.setObjectName("progressTemperature")
        self.gridLayout.addWidget(self.progressTemperature, 0, 2, 1, 1)
        self.textCurrentSpeed = QtGui.QLabel(self.groupBox_2)
        self.textCurrentSpeed.setWordWrap(False)
        self.textCurrentSpeed.setObjectName("textCurrentSpeed")
        self.gridLayout.addWidget(self.textCurrentSpeed, 1, 0, 1, 1)
        self.lCDCurrentSpeed = QtGui.QLCDNumber(self.groupBox_2)
        self.lCDCurrentSpeed.setNumDigits(3)
        self.lCDCurrentSpeed.setObjectName("lCDCurrentSpeed")
        self.gridLayout.addWidget(self.lCDCurrentSpeed, 1, 1, 1, 1)
        self.textTargetSpeed = QtGui.QLabel(self.groupBox_2)
        self.textTargetSpeed.setWordWrap(False)
        self.textTargetSpeed.setObjectName("textTargetSpeed")
        self.gridLayout.addWidget(self.textTargetSpeed, 2, 0, 1, 1)
        self.lCDTargetSpeed = QtGui.QLCDNumber(self.groupBox_2)
        self.lCDTargetSpeed.setNumDigits(3)
        self.lCDTargetSpeed.setObjectName("lCDTargetSpeed")
        self.gridLayout.addWidget(self.lCDTargetSpeed, 2, 1, 1, 1)
        self.progressTargetSpeed = QtGui.QProgressBar(self.groupBox_2)
        self.progressTargetSpeed.setProperty("value", QtCore.QVariant(24))
        self.progressTargetSpeed.setTextVisible(False)
        self.progressTargetSpeed.setInvertedAppearance(False)
        self.progressTargetSpeed.setObjectName("progressTargetSpeed")
        self.gridLayout.addWidget(self.progressTargetSpeed, 2, 2, 1, 1)
        self.progressCurrentSpeed = QtGui.QProgressBar(self.groupBox_2)
        self.progressCurrentSpeed.setProperty("value", QtCore.QVariant(24))
        self.progressCurrentSpeed.setTextVisible(False)
        self.progressCurrentSpeed.setInvertedAppearance(False)
        self.progressCurrentSpeed.setObjectName("progressCurrentSpeed")
        self.gridLayout.addWidget(self.progressCurrentSpeed, 1, 2, 1, 1)
        self.textTemperature = QtGui.QLabel(self.groupBox_2)
        self.textTemperature.setWordWrap(False)
        self.textTemperature.setObjectName("textTemperature")
        self.gridLayout.addWidget(self.textTemperature, 0, 0, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox_2)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 3, 0, 1, 1)
        self.lCDGPUUsage = QtGui.QLCDNumber(self.groupBox_2)
        self.lCDGPUUsage.setNumDigits(3)
        self.lCDGPUUsage.setObjectName("lCDGPUUsage")
        self.gridLayout.addWidget(self.lCDGPUUsage, 3, 1, 1, 1)
        self.progressGPUUsage = QtGui.QProgressBar(self.groupBox_2)
        self.progressGPUUsage.setProperty("value", QtCore.QVariant(24))
        self.progressGPUUsage.setTextVisible(False)
        self.progressGPUUsage.setInvertedAppearance(False)
        self.progressGPUUsage.setObjectName("progressGPUUsage")
        self.gridLayout.addWidget(self.progressGPUUsage, 3, 2, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.gridLayout_4.addWidget(self.groupBox_2, 1, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_6 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.gridLayout_3.addWidget(self.label_2, 0, 0, 1, 1)
        self.lCDClockSpeedCurrent = QtGui.QLCDNumber(self.groupBox)
        self.lCDClockSpeedCurrent.setObjectName("lCDClockSpeedCurrent")
        self.gridLayout_3.addWidget(self.lCDClockSpeedCurrent, 0, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setObjectName("label_3")
        self.gridLayout_3.addWidget(self.label_3, 1, 0, 1, 1)
        self.lCDClockSpeedMax = QtGui.QLCDNumber(self.groupBox)
        self.lCDClockSpeedMax.setObjectName("lCDClockSpeedMax")
        self.gridLayout_3.addWidget(self.lCDClockSpeedMax, 1, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setObjectName("label_4")
        self.gridLayout_3.addWidget(self.label_4, 2, 0, 1, 1)
        self.lCDMemorySpeedCurrent = QtGui.QLCDNumber(self.groupBox)
        self.lCDMemorySpeedCurrent.setObjectName("lCDMemorySpeedCurrent")
        self.gridLayout_3.addWidget(self.lCDMemorySpeedCurrent, 2, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox)
        self.label_5.setObjectName("label_5")
        self.gridLayout_3.addWidget(self.label_5, 3, 0, 1, 1)
        self.lCDMemorySpeedMax = QtGui.QLCDNumber(self.groupBox)
        self.lCDMemorySpeedMax.setObjectName("lCDMemorySpeedMax")
        self.gridLayout_3.addWidget(self.lCDMemorySpeedMax, 3, 1, 1, 1)
        self.gridLayout_6.addLayout(self.gridLayout_3, 0, 0, 1, 1)
        self.gridLayout_4.addWidget(self.groupBox, 1, 1, 1, 1)
        self.groupBox_3 = QtGui.QGroupBox(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.groupBox_3.sizePolicy().hasHeightForWidth())
        self.groupBox_3.setSizePolicy(sizePolicy)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_7 = QtGui.QGridLayout(self.groupBox_3)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.qwtPlot = QwtPlot(self.groupBox_3)
        self.qwtPlot.setMinimumSize(QtCore.QSize(350, 200))
        self.qwtPlot.setObjectName("qwtPlot")
        self.horizontalLayout_3.addWidget(self.qwtPlot)
        self.line = QtGui.QFrame(self.groupBox_3)
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.horizontalLayout_3.addWidget(self.line)
        self.qwtPlot2 = QwtPlot(self.groupBox_3)
        self.qwtPlot2.setMinimumSize(QtCore.QSize(350, 200))
        self.qwtPlot2.setObjectName("qwtPlot2")
        self.horizontalLayout_3.addWidget(self.qwtPlot2)
        self.gridLayout_7.addLayout(self.horizontalLayout_3, 0, 0, 1, 1)
        self.gridLayout_4.addWidget(self.groupBox_3, 2, 0, 1, 2)
        Main.setCentralWidget(self.widget)
        self.MenuBar = QtGui.QMenuBar(Main)
        self.MenuBar.setGeometry(QtCore.QRect(0, 0, 757, 23))
        self.MenuBar.setObjectName("MenuBar")
        self.File = QtGui.QMenu(self.MenuBar)
        self.File.setObjectName("File")
        self.Edit = QtGui.QMenu(self.MenuBar)
        self.Edit.setObjectName("Edit")
        Main.setMenuBar(self.MenuBar)
        self.fileQuitAction = QtGui.QAction(Main)
        self.fileQuitAction.setProperty("name", QtCore.QVariant("editQuitAction"))
        self.fileQuitAction.setObjectName("fileQuitAction")
        self.fileMinimizeAction = QtGui.QAction(Main)
        self.fileMinimizeAction.setProperty("name", QtCore.QVariant("editMinimizeAction"))
        self.fileMinimizeAction.setObjectName("fileMinimizeAction")
        self.editSettingsAction = QtGui.QAction(Main)
        self.editSettingsAction.setProperty("name", QtCore.QVariant("editSettingsAction"))
        self.editSettingsAction.setObjectName("editSettingsAction")
        self.helpAboutAction = QtGui.QAction(Main)
        self.helpAboutAction.setProperty("name", QtCore.QVariant("helpAboutAction"))
        self.helpAboutAction.setObjectName("helpAboutAction")
        self.editOverclockingAction = QtGui.QAction(Main)
        self.editOverclockingAction.setObjectName("editOverclockingAction")
        self.File.addAction(self.fileMinimizeAction)
        self.File.addAction(self.fileQuitAction)
        self.Edit.addAction(self.editSettingsAction)
        self.Edit.addAction(self.editOverclockingAction)
        self.MenuBar.addAction(self.File.menuAction())
        self.MenuBar.addAction(self.Edit.menuAction())

        self.retranslateUi(Main)
        QtCore.QObject.connect(self.fileMinimizeAction,
		QtCore.SIGNAL("triggered()"), Main.hide)
        QtCore.QMetaObject.connectSlotsByName(Main)

    def retranslateUi(self, Main):
        Main.setWindowTitle(kdecore.i18n("ATI Temperature Monitor, Fan Control and Overclocking"))
        self.groupBoxFanControl.setTitle(kdecore.i18n("Fan Control"))
        self.radioButtonSpeedAutomatic.setWhatsThis(kdecore.i18n("Automatic Fan Control: The program will aim to keep the temperature within the defined limits by varying the fan speed accordingly."))
        self.radioButtonSpeedAutomatic.setText(kdecore.i18n("Automatic"))
        self.radioButtonSpeedManual.setWhatsThis(kdecore.i18n("Use the manual fan speed specified on the adjacent slider."))
        self.radioButtonSpeedManual.setText(kdecore.i18n("Manual"))
        self.label.setText(kdecore.i18n("Manual Fan Speed:"))
        self.horizontalSliderFanSpeed.setWhatsThis(kdecore.i18n("Manually set the fan speed. This is effective only when speed is set to \"Manual\"."))
        self.labelCustomSpeed.setText(kdecore.i18n("%"))
        self.groupBox_2.setTitle(kdecore.i18n("Health and Usage"))
        self.textCurrentSpeed.setWhatsThis(kdecore.i18n("The current fan speed, as a percentage."))
        self.textCurrentSpeed.setText(kdecore.i18n("Current Fan Speed %:"))
        self.textTargetSpeed.setWhatsThis(kdecore.i18n("The target fan speed, as calculated by the internal algorithm. Speed will be changed until it gets near this value."))
        self.textTargetSpeed.setText(kdecore.i18n("Target Fan Speed % (±10):"))
        self.textTemperature.setWhatsThis(kdecore.i18n("The current temperature of the graphics card."))
        self.textTemperature.setText(kdecore.i18n("Temperature (°C):"))
        self.label_6.setText(kdecore.i18n("GPU Usage %:"))
        self.groupBox.setTitle(kdecore.i18n("Clock Speeds"))
        self.label_2.setText(kdecore.i18n("Current Core Speed:"))
        self.label_3.setText(kdecore.i18n("Maximum Core Speed:"))
        self.label_4.setText(kdecore.i18n("Current Memory Speed:"))
        self.label_5.setText(kdecore.i18n("Maximum Memory Speed:"))
        self.qwtPlot.setWhatsThis(kdecore.i18n("Graph of Temperature, and Fan speed."))
        self.qwtPlot2.setWhatsThis(kdecore.i18n("Graph of GPU usage, and Core speed."))
        self.File.setTitle(kdecore.i18n("File"))
        self.Edit.setTitle(kdecore.i18n("&Edit"))
        self.fileQuitAction.setText(kdecore.i18n("Exit"))
        self.fileQuitAction.setIconText(kdecore.i18n("Exit"))
        self.fileMinimizeAction.setText(kdecore.i18n("Minimize"))
        self.fileMinimizeAction.setIconText(kdecore.i18n("Minimize"))
        self.editSettingsAction.setText(kdecore.i18n("Settings"))
        self.editSettingsAction.setIconText(kdecore.i18n("Settings"))
        self.helpAboutAction.setText(kdecore.i18n("About"))
        self.helpAboutAction.setIconText(kdecore.i18n("About"))
        self.editOverclockingAction.setText(kdecore.i18n("Overclocking"))

from PyQt4.Qwt5 import QwtPlot
