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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Preferences/ConfigurationPages/IconsPage.ui'
#
# Created: Mon Apr  2 14:39:58 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_IconsPage(object):
    def setupUi(self, IconsPage):
        IconsPage.setObjectName("IconsPage")
        IconsPage.resize(QtCore.QSize(QtCore.QRect(0,0,539,371).size()).expandedTo(IconsPage.minimumSizeHint()))

        self.gridlayout = QtGui.QGridLayout(IconsPage)
        self.gridlayout.setMargin(6)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.headerLabel = QtGui.QLabel(IconsPage)
        self.headerLabel.setObjectName("headerLabel")
        self.gridlayout.addWidget(self.headerLabel,0,0,1,2)

        self.line10 = QtGui.QFrame(IconsPage)
        self.line10.setFrameShape(QtGui.QFrame.HLine)
        self.line10.setFrameShadow(QtGui.QFrame.Sunken)
        self.line10.setFrameShape(QtGui.QFrame.HLine)
        self.line10.setFrameShadow(QtGui.QFrame.Sunken)
        self.line10.setObjectName("line10")
        self.gridlayout.addWidget(self.line10,1,0,1,2)

        self.TextLabel1_2_2_2_2 = QtGui.QLabel(IconsPage)
        self.TextLabel1_2_2_2_2.setObjectName("TextLabel1_2_2_2_2")
        self.gridlayout.addWidget(self.TextLabel1_2_2_2_2,2,0,1,2)

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.deleteIconDirectoryButton = QtGui.QPushButton(IconsPage)
        self.deleteIconDirectoryButton.setEnabled(False)
        self.deleteIconDirectoryButton.setObjectName("deleteIconDirectoryButton")
        self.hboxlayout.addWidget(self.deleteIconDirectoryButton)

        self.addIconDirectoryButton = QtGui.QPushButton(IconsPage)
        self.addIconDirectoryButton.setEnabled(False)
        self.addIconDirectoryButton.setObjectName("addIconDirectoryButton")
        self.hboxlayout.addWidget(self.addIconDirectoryButton)

        self.iconDirectoryEdit = QtGui.QLineEdit(IconsPage)
        self.iconDirectoryEdit.setObjectName("iconDirectoryEdit")
        self.hboxlayout.addWidget(self.iconDirectoryEdit)

        self.iconDirectoryButton = QtGui.QPushButton(IconsPage)
        self.iconDirectoryButton.setObjectName("iconDirectoryButton")
        self.hboxlayout.addWidget(self.iconDirectoryButton)
        self.gridlayout.addLayout(self.hboxlayout,4,0,1,1)

        self.showIconsButton = QtGui.QPushButton(IconsPage)
        self.showIconsButton.setEnabled(False)
        self.showIconsButton.setObjectName("showIconsButton")
        self.gridlayout.addWidget(self.showIconsButton,4,1,1,1)

        self.vboxlayout = QtGui.QVBoxLayout()
        self.vboxlayout.setMargin(0)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        spacerItem = QtGui.QSpacerItem(20,209,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem)

        self.upButton = QtGui.QPushButton(IconsPage)
        self.upButton.setEnabled(False)
        self.upButton.setObjectName("upButton")
        self.vboxlayout.addWidget(self.upButton)

        self.downButton = QtGui.QPushButton(IconsPage)
        self.downButton.setEnabled(False)
        self.downButton.setObjectName("downButton")
        self.vboxlayout.addWidget(self.downButton)

        spacerItem1 = QtGui.QSpacerItem(20,170,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem1)
        self.gridlayout.addLayout(self.vboxlayout,3,1,1,1)

        self.iconDirectoryList = QtGui.QListWidget(IconsPage)
        self.iconDirectoryList.setAlternatingRowColors(True)
        self.iconDirectoryList.setObjectName("iconDirectoryList")
        self.gridlayout.addWidget(self.iconDirectoryList,3,0,1,1)

        self.retranslateUi(IconsPage)
        QtCore.QMetaObject.connectSlotsByName(IconsPage)
        IconsPage.setTabOrder(self.iconDirectoryList,self.upButton)
        IconsPage.setTabOrder(self.upButton,self.downButton)
        IconsPage.setTabOrder(self.downButton,self.deleteIconDirectoryButton)
        IconsPage.setTabOrder(self.deleteIconDirectoryButton,self.iconDirectoryEdit)
        IconsPage.setTabOrder(self.iconDirectoryEdit,self.iconDirectoryButton)
        IconsPage.setTabOrder(self.iconDirectoryButton,self.showIconsButton)
        IconsPage.setTabOrder(self.showIconsButton,self.addIconDirectoryButton)

    def retranslateUi(self, IconsPage):
        self.headerLabel.setText(QtGui.QApplication.translate("IconsPage", "<b>Configure icon directories</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1_2_2_2_2.setText(QtGui.QApplication.translate("IconsPage", "<font color=\"#FF0000\"><b>Note:</b> These settings are activated at the next startup of the application.</font>", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteIconDirectoryButton.setToolTip(QtGui.QApplication.translate("IconsPage", "Press to delete the selected directory from the list", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteIconDirectoryButton.setText(QtGui.QApplication.translate("IconsPage", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.addIconDirectoryButton.setToolTip(QtGui.QApplication.translate("IconsPage", "Press to add the entered directory to the list", None, QtGui.QApplication.UnicodeUTF8))
        self.addIconDirectoryButton.setText(QtGui.QApplication.translate("IconsPage", "Add", None, QtGui.QApplication.UnicodeUTF8))
        self.iconDirectoryEdit.setToolTip(QtGui.QApplication.translate("IconsPage", "Enter a directory to be added", None, QtGui.QApplication.UnicodeUTF8))
        self.iconDirectoryButton.setToolTip(QtGui.QApplication.translate("IconsPage", "Press to select an icon directory via a selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.iconDirectoryButton.setText(QtGui.QApplication.translate("IconsPage", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.showIconsButton.setText(QtGui.QApplication.translate("IconsPage", "Show", None, QtGui.QApplication.UnicodeUTF8))
        self.upButton.setText(QtGui.QApplication.translate("IconsPage", "Up", None, QtGui.QApplication.UnicodeUTF8))
        self.downButton.setText(QtGui.QApplication.translate("IconsPage", "Down", None, QtGui.QApplication.UnicodeUTF8))
        self.iconDirectoryList.setToolTip(QtGui.QApplication.translate("IconsPage", "List of icon directories", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    IconsPage = QtGui.QWidget()
    ui = Ui_IconsPage()
    ui.setupUi(IconsPage)
    IconsPage.show()
    sys.exit(app.exec_())
