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

# Form implementation generated from reading ui file 'eric/Helpviewer/Bookmarks/BookmarksImportDialog.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_BookmarksImportDialog(object):
    def setupUi(self, BookmarksImportDialog):
        BookmarksImportDialog.setObjectName(_fromUtf8("BookmarksImportDialog"))
        BookmarksImportDialog.resize(550, 354)
        BookmarksImportDialog.setMinimumSize(QtCore.QSize(550, 350))
        BookmarksImportDialog.setSizeGripEnabled(True)
        self.verticalLayout_3 = QtGui.QVBoxLayout(BookmarksImportDialog)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.pagesWidget = QtGui.QStackedWidget(BookmarksImportDialog)
        self.pagesWidget.setObjectName(_fromUtf8("pagesWidget"))
        self.sourcePage = QtGui.QWidget()
        self.sourcePage.setObjectName(_fromUtf8("sourcePage"))
        self.verticalLayout = QtGui.QVBoxLayout(self.sourcePage)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_2 = QtGui.QLabel(self.sourcePage)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout.addWidget(self.label_2)
        self.sourcesList = QtGui.QListWidget(self.sourcePage)
        self.sourcesList.setObjectName(_fromUtf8("sourcesList"))
        self.verticalLayout.addWidget(self.sourcesList)
        self.pagesWidget.addWidget(self.sourcePage)
        self.filePage = QtGui.QWidget()
        self.filePage.setObjectName(_fromUtf8("filePage"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.filePage)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.iconLabel = QtGui.QLabel(self.filePage)
        self.iconLabel.setMinimumSize(QtCore.QSize(48, 48))
        self.iconLabel.setMaximumSize(QtCore.QSize(48, 48))
        self.iconLabel.setObjectName(_fromUtf8("iconLabel"))
        self.horizontalLayout_2.addWidget(self.iconLabel)
        self.importingFromLabel = QtGui.QLabel(self.filePage)
        self.importingFromLabel.setObjectName(_fromUtf8("importingFromLabel"))
        self.horizontalLayout_2.addWidget(self.importingFromLabel)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        spacerItem = QtGui.QSpacerItem(20, 44, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.fileLabel1 = QtGui.QLabel(self.filePage)
        self.fileLabel1.setWordWrap(True)
        self.fileLabel1.setObjectName(_fromUtf8("fileLabel1"))
        self.verticalLayout_2.addWidget(self.fileLabel1)
        self.standardDirLabel = QtGui.QLabel(self.filePage)
        self.standardDirLabel.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.standardDirLabel.setObjectName(_fromUtf8("standardDirLabel"))
        self.verticalLayout_2.addWidget(self.standardDirLabel)
        self.fileLabel2 = QtGui.QLabel(self.filePage)
        self.fileLabel2.setObjectName(_fromUtf8("fileLabel2"))
        self.verticalLayout_2.addWidget(self.fileLabel2)
        spacerItem1 = QtGui.QSpacerItem(20, 44, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem1)
        self.filePicker = E5PathPicker(self.filePage)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.filePicker.sizePolicy().hasHeightForWidth())
        self.filePicker.setSizePolicy(sizePolicy)
        self.filePicker.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.filePicker.setObjectName(_fromUtf8("filePicker"))
        self.verticalLayout_2.addWidget(self.filePicker)
        spacerItem2 = QtGui.QSpacerItem(20, 44, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem2)
        self.pagesWidget.addWidget(self.filePage)
        self.verticalLayout_3.addWidget(self.pagesWidget)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem3)
        self.nextButton = QtGui.QPushButton(BookmarksImportDialog)
        self.nextButton.setObjectName(_fromUtf8("nextButton"))
        self.horizontalLayout.addWidget(self.nextButton)
        self.cancelButton = QtGui.QPushButton(BookmarksImportDialog)
        self.cancelButton.setObjectName(_fromUtf8("cancelButton"))
        self.horizontalLayout.addWidget(self.cancelButton)
        self.verticalLayout_3.addLayout(self.horizontalLayout)

        self.retranslateUi(BookmarksImportDialog)
        self.pagesWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(BookmarksImportDialog)
        BookmarksImportDialog.setTabOrder(self.sourcesList, self.nextButton)
        BookmarksImportDialog.setTabOrder(self.nextButton, self.cancelButton)
        BookmarksImportDialog.setTabOrder(self.cancelButton, self.filePicker)

    def retranslateUi(self, BookmarksImportDialog):
        BookmarksImportDialog.setWindowTitle(_translate("BookmarksImportDialog", "Import Bookmarks", None))
        self.label_2.setText(_translate("BookmarksImportDialog", "Choose source from which you want to import bookmarks:", None))
        self.sourcesList.setToolTip(_translate("BookmarksImportDialog", "Choose the source to import from", None))
        self.filePicker.setToolTip(_translate("BookmarksImportDialog", "Enter the name of the bookmarks file or directory", None))
        self.nextButton.setText(_translate("BookmarksImportDialog", "Next >", None))
        self.cancelButton.setText(_translate("BookmarksImportDialog", "Cancel", None))

from E5Gui.E5PathPicker import E5PathPicker
