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

# Form implementation generated from reading ui file '/home/grossmj/PycharmProjects/gns3-gui/gns3/ui/edit_project_dialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_EditProjectDialog(object):
    def setupUi(self, EditProjectDialog):
        EditProjectDialog.setObjectName("EditProjectDialog")
        EditProjectDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        EditProjectDialog.resize(962, 646)
        EditProjectDialog.setModal(True)
        self.gridLayout = QtWidgets.QGridLayout(EditProjectDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.tabWidget = QtWidgets.QTabWidget(EditProjectDialog)
        self.tabWidget.setObjectName("tabWidget")
        self.uiGeneralTab = QtWidgets.QWidget()
        self.uiGeneralTab.setObjectName("uiGeneralTab")
        self.uiGeneralGrid = QtWidgets.QGridLayout(self.uiGeneralTab)
        self.uiGeneralGrid.setObjectName("uiGeneralGrid")
        self.uiSceneWidthLabel = QtWidgets.QLabel(self.uiGeneralTab)
        self.uiSceneWidthLabel.setObjectName("uiSceneWidthLabel")
        self.uiGeneralGrid.addWidget(self.uiSceneWidthLabel, 2, 0, 1, 1)
        self.uiProjectAutoCloseCheckBox = QtWidgets.QCheckBox(self.uiGeneralTab)
        self.uiProjectAutoCloseCheckBox.setObjectName("uiProjectAutoCloseCheckBox")
        self.uiGeneralGrid.addWidget(self.uiProjectAutoCloseCheckBox, 9, 0, 1, 3)
        self.uiProjectNameLabel = QtWidgets.QLabel(self.uiGeneralTab)
        self.uiProjectNameLabel.setObjectName("uiProjectNameLabel")
        self.uiGeneralGrid.addWidget(self.uiProjectNameLabel, 1, 0, 1, 1)
        self.uiSceneWidthSpinBox = QtWidgets.QSpinBox(self.uiGeneralTab)
        self.uiSceneWidthSpinBox.setMinimum(500)
        self.uiSceneWidthSpinBox.setMaximum(1000000)
        self.uiSceneWidthSpinBox.setObjectName("uiSceneWidthSpinBox")
        self.uiGeneralGrid.addWidget(self.uiSceneWidthSpinBox, 2, 1, 1, 1)
        self.uiNodeGridSizeSpinBox = QtWidgets.QSpinBox(self.uiGeneralTab)
        self.uiNodeGridSizeSpinBox.setMinimum(5)
        self.uiNodeGridSizeSpinBox.setMaximum(150)
        self.uiNodeGridSizeSpinBox.setSingleStep(5)
        self.uiNodeGridSizeSpinBox.setProperty("value", 75)
        self.uiNodeGridSizeSpinBox.setObjectName("uiNodeGridSizeSpinBox")
        self.uiGeneralGrid.addWidget(self.uiNodeGridSizeSpinBox, 4, 1, 1, 1)
        self.uiDrawingGridSizeSpinBox = QtWidgets.QSpinBox(self.uiGeneralTab)
        self.uiDrawingGridSizeSpinBox.setMinimum(5)
        self.uiDrawingGridSizeSpinBox.setMaximum(100)
        self.uiDrawingGridSizeSpinBox.setSingleStep(5)
        self.uiDrawingGridSizeSpinBox.setProperty("value", 25)
        self.uiDrawingGridSizeSpinBox.setObjectName("uiDrawingGridSizeSpinBox")
        self.uiGeneralGrid.addWidget(self.uiDrawingGridSizeSpinBox, 5, 1, 1, 1)
        self.uiSceneHeightSpinBox = QtWidgets.QSpinBox(self.uiGeneralTab)
        self.uiSceneHeightSpinBox.setMinimum(500)
        self.uiSceneHeightSpinBox.setMaximum(1000000)
        self.uiSceneHeightSpinBox.setObjectName("uiSceneHeightSpinBox")
        self.uiGeneralGrid.addWidget(self.uiSceneHeightSpinBox, 3, 1, 1, 1)
        self.uiSceneHeightLabel = QtWidgets.QLabel(self.uiGeneralTab)
        self.uiSceneHeightLabel.setObjectName("uiSceneHeightLabel")
        self.uiGeneralGrid.addWidget(self.uiSceneHeightLabel, 3, 0, 1, 1)
        self.uiProjectNameLineEdit = QtWidgets.QLineEdit(self.uiGeneralTab)
        self.uiProjectNameLineEdit.setObjectName("uiProjectNameLineEdit")
        self.uiGeneralGrid.addWidget(self.uiProjectNameLineEdit, 1, 1, 1, 1)
        self.uiNodeGridSizeLabel = QtWidgets.QLabel(self.uiGeneralTab)
        self.uiNodeGridSizeLabel.setObjectName("uiNodeGridSizeLabel")
        self.uiGeneralGrid.addWidget(self.uiNodeGridSizeLabel, 4, 0, 1, 1)
        self.uiDrawingGridSizeLabel = QtWidgets.QLabel(self.uiGeneralTab)
        self.uiDrawingGridSizeLabel.setObjectName("uiDrawingGridSizeLabel")
        self.uiGeneralGrid.addWidget(self.uiDrawingGridSizeLabel, 5, 0, 1, 1)
        self.uiProjectAutoOpenCheckBox = QtWidgets.QCheckBox(self.uiGeneralTab)
        self.uiProjectAutoOpenCheckBox.setObjectName("uiProjectAutoOpenCheckBox")
        self.uiGeneralGrid.addWidget(self.uiProjectAutoOpenCheckBox, 7, 0, 1, 3)
        self.uiProjectAutoStartCheckBox = QtWidgets.QCheckBox(self.uiGeneralTab)
        self.uiProjectAutoStartCheckBox.setObjectName("uiProjectAutoStartCheckBox")
        self.uiGeneralGrid.addWidget(self.uiProjectAutoStartCheckBox, 8, 0, 1, 3)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.uiGeneralGrid.addItem(spacerItem, 10, 0, 1, 1)
        self.tabWidget.addTab(self.uiGeneralTab, "")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.tab)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.uiTabWidget = QtWidgets.QTabWidget(self.tab)
        self.uiTabWidget.setObjectName("uiTabWidget")
        self.uiTabWrite = QtWidgets.QWidget()
        self.uiTabWrite.setObjectName("uiTabWrite")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.uiTabWrite)
        self.verticalLayout.setObjectName("verticalLayout")
        self.uiReadmeTextEdit = QtWidgets.QTextEdit(self.uiTabWrite)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.uiReadmeTextEdit.sizePolicy().hasHeightForWidth())
        self.uiReadmeTextEdit.setSizePolicy(sizePolicy)
        self.uiReadmeTextEdit.setReadOnly(False)
        self.uiReadmeTextEdit.setObjectName("uiReadmeTextEdit")
        self.verticalLayout.addWidget(self.uiReadmeTextEdit)
        self.uiTabWidget.addTab(self.uiTabWrite, "")
        self.uiTabPreview = QtWidgets.QWidget()
        self.uiTabPreview.setObjectName("uiTabPreview")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.uiTabPreview)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.uiReadmePreview = QtWidgets.QTextBrowser(self.uiTabPreview)
        self.uiReadmePreview.setOpenExternalLinks(True)
        self.uiReadmePreview.setObjectName("uiReadmePreview")
        self.verticalLayout_2.addWidget(self.uiReadmePreview)
        self.uiTabWidget.addTab(self.uiTabPreview, "")
        self.verticalLayout_3.addWidget(self.uiTabWidget)
        self.tabWidget.addTab(self.tab, "")
        self.uiGlobalVariablesTab = QtWidgets.QWidget()
        self.uiGlobalVariablesTab.setObjectName("uiGlobalVariablesTab")
        self.uiGlobalVariablesGrid = QtWidgets.QGridLayout(self.uiGlobalVariablesTab)
        self.uiGlobalVariablesGrid.setObjectName("uiGlobalVariablesGrid")
        self.tabWidget.addTab(self.uiGlobalVariablesTab, "")
        self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
        self.uiButtonBox = QtWidgets.QDialogButtonBox(EditProjectDialog)
        self.uiButtonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.uiButtonBox.setObjectName("uiButtonBox")
        self.gridLayout.addWidget(self.uiButtonBox, 1, 0, 1, 1)

        self.retranslateUi(EditProjectDialog)
        self.tabWidget.setCurrentIndex(0)
        self.uiTabWidget.setCurrentIndex(0)
        self.uiButtonBox.accepted.connect(EditProjectDialog.accept)
        self.uiButtonBox.rejected.connect(EditProjectDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(EditProjectDialog)
        EditProjectDialog.setTabOrder(self.tabWidget, self.uiProjectNameLineEdit)
        EditProjectDialog.setTabOrder(self.uiProjectNameLineEdit, self.uiSceneWidthSpinBox)
        EditProjectDialog.setTabOrder(self.uiSceneWidthSpinBox, self.uiSceneHeightSpinBox)
        EditProjectDialog.setTabOrder(self.uiSceneHeightSpinBox, self.uiNodeGridSizeSpinBox)
        EditProjectDialog.setTabOrder(self.uiNodeGridSizeSpinBox, self.uiDrawingGridSizeSpinBox)
        EditProjectDialog.setTabOrder(self.uiDrawingGridSizeSpinBox, self.uiProjectAutoOpenCheckBox)
        EditProjectDialog.setTabOrder(self.uiProjectAutoOpenCheckBox, self.uiProjectAutoStartCheckBox)
        EditProjectDialog.setTabOrder(self.uiProjectAutoStartCheckBox, self.uiProjectAutoCloseCheckBox)

    def retranslateUi(self, EditProjectDialog):
        _translate = QtCore.QCoreApplication.translate
        EditProjectDialog.setWindowTitle(_translate("EditProjectDialog", "Edit project"))
        self.uiSceneWidthLabel.setText(_translate("EditProjectDialog", "Scene width:"))
        self.uiProjectAutoCloseCheckBox.setText(_translate("EditProjectDialog", "Leave this project running in the background when closing GNS3"))
        self.uiProjectNameLabel.setText(_translate("EditProjectDialog", "Project Name:"))
        self.uiSceneWidthSpinBox.setSuffix(_translate("EditProjectDialog", " px"))
        self.uiSceneHeightSpinBox.setSuffix(_translate("EditProjectDialog", " px"))
        self.uiSceneHeightLabel.setText(_translate("EditProjectDialog", "Scene height:"))
        self.uiNodeGridSizeLabel.setText(_translate("EditProjectDialog", "Node grid size:"))
        self.uiDrawingGridSizeLabel.setText(_translate("EditProjectDialog", "Drawing grid size:"))
        self.uiProjectAutoOpenCheckBox.setText(_translate("EditProjectDialog", "Open this project in the background when GNS3 server starts"))
        self.uiProjectAutoStartCheckBox.setText(_translate("EditProjectDialog", "Start all nodes when this project is opened"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.uiGeneralTab), _translate("EditProjectDialog", "General"))
        self.uiReadmeTextEdit.setHtml(_translate("EditProjectDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Ubuntu\'; font-size:11pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'.SF NS Text\'; font-size:13pt;\"><br /></p></body></html>"))
        self.uiTabWidget.setTabText(self.uiTabWidget.indexOf(self.uiTabWrite), _translate("EditProjectDialog", "&Write"))
        self.uiTabWidget.setTabText(self.uiTabWidget.indexOf(self.uiTabPreview), _translate("EditProjectDialog", "&Preview"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("EditProjectDialog", "Readme"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.uiGlobalVariablesTab), _translate("EditProjectDialog", "Global variables"))
