# -*- 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, 350)
        BookmarksImportDialog.setMinimumSize(QtCore.QSize(550, 350))
        BookmarksImportDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(BookmarksImportDialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        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.gridLayout = QtGui.QGridLayout(self.filePage)
        self.gridLayout.setMargin(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        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.gridLayout.addWidget(self.iconLabel, 0, 0, 1, 1)
        self.importingFromLabel = QtGui.QLabel(self.filePage)
        self.importingFromLabel.setObjectName(_fromUtf8("importingFromLabel"))
        self.gridLayout.addWidget(self.importingFromLabel, 0, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 44, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 1, 2, 1, 1)
        self.fileLabel1 = QtGui.QLabel(self.filePage)
        self.fileLabel1.setWordWrap(True)
        self.fileLabel1.setObjectName(_fromUtf8("fileLabel1"))
        self.gridLayout.addWidget(self.fileLabel1, 2, 0, 1, 3)
        self.standardDirLabel = QtGui.QLabel(self.filePage)
        self.standardDirLabel.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.standardDirLabel.setObjectName(_fromUtf8("standardDirLabel"))
        self.gridLayout.addWidget(self.standardDirLabel, 3, 0, 1, 3)
        self.fileLabel2 = QtGui.QLabel(self.filePage)
        self.fileLabel2.setObjectName(_fromUtf8("fileLabel2"))
        self.gridLayout.addWidget(self.fileLabel2, 4, 0, 1, 3)
        spacerItem1 = QtGui.QSpacerItem(20, 44, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 5, 1, 1, 2)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.fileEdit = QtGui.QLineEdit(self.filePage)
        self.fileEdit.setEnabled(False)
        self.fileEdit.setObjectName(_fromUtf8("fileEdit"))
        self.horizontalLayout_3.addWidget(self.fileEdit)
        self.chooseButton = QtGui.QToolButton(self.filePage)
        self.chooseButton.setObjectName(_fromUtf8("chooseButton"))
        self.horizontalLayout_3.addWidget(self.chooseButton)
        self.gridLayout.addLayout(self.horizontalLayout_3, 6, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(20, 44, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 7, 1, 1, 1)
        self.pagesWidget.addWidget(self.filePage)
        self.verticalLayout_2.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_2.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.fileEdit)
        BookmarksImportDialog.setTabOrder(self.fileEdit, self.chooseButton)

    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.fileEdit.setToolTip(_translate("BookmarksImportDialog", "Shows the name of the bookmarks file or directory", None))
        self.nextButton.setText(_translate("BookmarksImportDialog", "Next >", None))
        self.cancelButton.setText(_translate("BookmarksImportDialog", "Cancel", None))

