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

# Form implementation generated from reading ui file 'eric/Helpviewer/HelpLanguagesDialog.ui'
#
# Created: Mon May 10 20:39:50 2010
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_HelpLanguagesDialog(object):
    def setupUi(self, HelpLanguagesDialog):
        HelpLanguagesDialog.setObjectName("HelpLanguagesDialog")
        HelpLanguagesDialog.resize(400, 300)
        self.gridLayout = QtGui.QGridLayout(HelpLanguagesDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtGui.QLabel(HelpLanguagesDialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.languagesList = QtGui.QListView(HelpLanguagesDialog)
        self.languagesList.setObjectName("languagesList")
        self.gridLayout.addWidget(self.languagesList, 1, 0, 4, 1)
        self.upButton = QtGui.QPushButton(HelpLanguagesDialog)
        self.upButton.setObjectName("upButton")
        self.gridLayout.addWidget(self.upButton, 1, 1, 1, 1)
        self.downButton = QtGui.QPushButton(HelpLanguagesDialog)
        self.downButton.setObjectName("downButton")
        self.gridLayout.addWidget(self.downButton, 2, 1, 1, 1)
        self.removeButton = QtGui.QPushButton(HelpLanguagesDialog)
        self.removeButton.setObjectName("removeButton")
        self.gridLayout.addWidget(self.removeButton, 3, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 77, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 4, 1, 1, 1)
        self.addCombo = QtGui.QComboBox(HelpLanguagesDialog)
        self.addCombo.setObjectName("addCombo")
        self.gridLayout.addWidget(self.addCombo, 5, 0, 1, 1)
        self.addButton = QtGui.QPushButton(HelpLanguagesDialog)
        self.addButton.setObjectName("addButton")
        self.gridLayout.addWidget(self.addButton, 5, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(HelpLanguagesDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 6, 0, 1, 2)

        self.retranslateUi(HelpLanguagesDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), HelpLanguagesDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), HelpLanguagesDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(HelpLanguagesDialog)
        HelpLanguagesDialog.setTabOrder(self.languagesList, self.upButton)
        HelpLanguagesDialog.setTabOrder(self.upButton, self.downButton)
        HelpLanguagesDialog.setTabOrder(self.downButton, self.removeButton)
        HelpLanguagesDialog.setTabOrder(self.removeButton, self.addCombo)
        HelpLanguagesDialog.setTabOrder(self.addCombo, self.addButton)
        HelpLanguagesDialog.setTabOrder(self.addButton, self.buttonBox)

    def retranslateUi(self, HelpLanguagesDialog):
        HelpLanguagesDialog.setWindowTitle(QtGui.QApplication.translate("HelpLanguagesDialog", "Languages", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("HelpLanguagesDialog", "Languages in order of preference:", None, QtGui.QApplication.UnicodeUTF8))
        self.upButton.setText(QtGui.QApplication.translate("HelpLanguagesDialog", "&Up", None, QtGui.QApplication.UnicodeUTF8))
        self.downButton.setText(QtGui.QApplication.translate("HelpLanguagesDialog", "&Down", None, QtGui.QApplication.UnicodeUTF8))
        self.removeButton.setText(QtGui.QApplication.translate("HelpLanguagesDialog", "&Remove", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setText(QtGui.QApplication.translate("HelpLanguagesDialog", "&Add", None, QtGui.QApplication.UnicodeUTF8))

