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

# Form implementation generated from reading ui file 'eric/Helpviewer/Bookmarks/BookmarksImportDialog.ui'
#
# Created by: PyQt5 UI code generator 5.4.1
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_BookmarksImportDialog(object):
    def setupUi(self, BookmarksImportDialog):
        BookmarksImportDialog.setObjectName("BookmarksImportDialog")
        BookmarksImportDialog.resize(550, 350)
        BookmarksImportDialog.setMinimumSize(QtCore.QSize(550, 350))
        BookmarksImportDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(BookmarksImportDialog)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.pagesWidget = QtWidgets.QStackedWidget(BookmarksImportDialog)
        self.pagesWidget.setObjectName("pagesWidget")
        self.sourcePage = QtWidgets.QWidget()
        self.sourcePage.setObjectName("sourcePage")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.sourcePage)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_2 = QtWidgets.QLabel(self.sourcePage)
        self.label_2.setObjectName("label_2")
        self.verticalLayout.addWidget(self.label_2)
        self.sourcesList = QtWidgets.QListWidget(self.sourcePage)
        self.sourcesList.setObjectName("sourcesList")
        self.verticalLayout.addWidget(self.sourcesList)
        self.pagesWidget.addWidget(self.sourcePage)
        self.filePage = QtWidgets.QWidget()
        self.filePage.setObjectName("filePage")
        self.gridLayout = QtWidgets.QGridLayout(self.filePage)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setObjectName("gridLayout")
        self.iconLabel = QtWidgets.QLabel(self.filePage)
        self.iconLabel.setMinimumSize(QtCore.QSize(48, 48))
        self.iconLabel.setMaximumSize(QtCore.QSize(48, 48))
        self.iconLabel.setObjectName("iconLabel")
        self.gridLayout.addWidget(self.iconLabel, 0, 0, 1, 1)
        self.importingFromLabel = QtWidgets.QLabel(self.filePage)
        self.importingFromLabel.setObjectName("importingFromLabel")
        self.gridLayout.addWidget(self.importingFromLabel, 0, 1, 1, 2)
        spacerItem = QtWidgets.QSpacerItem(20, 44, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 1, 2, 1, 1)
        self.fileLabel1 = QtWidgets.QLabel(self.filePage)
        self.fileLabel1.setWordWrap(True)
        self.fileLabel1.setObjectName("fileLabel1")
        self.gridLayout.addWidget(self.fileLabel1, 2, 0, 1, 3)
        self.standardDirLabel = QtWidgets.QLabel(self.filePage)
        self.standardDirLabel.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.standardDirLabel.setObjectName("standardDirLabel")
        self.gridLayout.addWidget(self.standardDirLabel, 3, 0, 1, 3)
        self.fileLabel2 = QtWidgets.QLabel(self.filePage)
        self.fileLabel2.setObjectName("fileLabel2")
        self.gridLayout.addWidget(self.fileLabel2, 4, 0, 1, 3)
        spacerItem1 = QtWidgets.QSpacerItem(20, 44, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 5, 1, 1, 2)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.fileEdit = QtWidgets.QLineEdit(self.filePage)
        self.fileEdit.setEnabled(False)
        self.fileEdit.setObjectName("fileEdit")
        self.horizontalLayout_3.addWidget(self.fileEdit)
        self.chooseButton = QtWidgets.QToolButton(self.filePage)
        self.chooseButton.setObjectName("chooseButton")
        self.horizontalLayout_3.addWidget(self.chooseButton)
        self.gridLayout.addLayout(self.horizontalLayout_3, 6, 0, 1, 3)
        spacerItem2 = QtWidgets.QSpacerItem(20, 44, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 7, 1, 1, 1)
        self.pagesWidget.addWidget(self.filePage)
        self.verticalLayout_2.addWidget(self.pagesWidget)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem3)
        self.nextButton = QtWidgets.QPushButton(BookmarksImportDialog)
        self.nextButton.setObjectName("nextButton")
        self.horizontalLayout.addWidget(self.nextButton)
        self.cancelButton = QtWidgets.QPushButton(BookmarksImportDialog)
        self.cancelButton.setObjectName("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):
        _translate = QtCore.QCoreApplication.translate
        BookmarksImportDialog.setWindowTitle(_translate("BookmarksImportDialog", "Import Bookmarks"))
        self.label_2.setText(_translate("BookmarksImportDialog", "Choose source from which you want to import bookmarks:"))
        self.sourcesList.setToolTip(_translate("BookmarksImportDialog", "Choose the source to import from"))
        self.fileEdit.setToolTip(_translate("BookmarksImportDialog", "Shows the name of the bookmarks file or directory"))
        self.nextButton.setText(_translate("BookmarksImportDialog", "Next >"))
        self.cancelButton.setText(_translate("BookmarksImportDialog", "Cancel"))

