# Form implementation generated from reading ui file 'q3dwindow.ui'
#
# Created by: PyQt6 UI code generator 6.8.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from qgis.PyQt import QtCore, QtGui, QtWidgets


class Ui_Q3DWindow(object):
    def setupUi(self, Q3DWindow):
        Q3DWindow.setObjectName("Q3DWindow")
        Q3DWindow.resize(862, 631)
        Q3DWindow.setAcceptDrops(True)
        self.centralwidget = QtWidgets.QWidget(parent=Q3DWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.webView = Q3DView(parent=self.centralwidget)
        self.webView.setObjectName("webView")
        self.verticalLayout.addWidget(self.webView)
        Q3DWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(parent=Q3DWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 862, 21))
        self.menubar.setObjectName("menubar")
        self.menuScene = QtWidgets.QMenu(parent=self.menubar)
        self.menuScene.setObjectName("menuScene")
        self.menuLayer = QtWidgets.QMenu(parent=self.menuScene)
        self.menuLayer.setObjectName("menuLayer")
        self.menuWindow = QtWidgets.QMenu(parent=self.menubar)
        self.menuWindow.setObjectName("menuWindow")
        self.menuPanels = QtWidgets.QMenu(parent=self.menuWindow)
        self.menuPanels.setObjectName("menuPanels")
        self.menuFile = QtWidgets.QMenu(parent=self.menubar)
        self.menuFile.setObjectName("menuFile")
        self.menuSaveAs = QtWidgets.QMenu(parent=self.menuFile)
        self.menuSaveAs.setObjectName("menuSaveAs")
        self.menuExport_Settings = QtWidgets.QMenu(parent=self.menuFile)
        self.menuExport_Settings.setObjectName("menuExport_Settings")
        self.menuHelp = QtWidgets.QMenu(parent=self.menubar)
        self.menuHelp.setToolTipsVisible(True)
        self.menuHelp.setObjectName("menuHelp")
        self.menuView = QtWidgets.QMenu(parent=self.menubar)
        self.menuView.setObjectName("menuView")
        self.menuCamera = QtWidgets.QMenu(parent=self.menuView)
        self.menuCamera.setObjectName("menuCamera")
        self.menuWidgets = QtWidgets.QMenu(parent=self.menuView)
        self.menuWidgets.setObjectName("menuWidgets")
        Q3DWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(parent=Q3DWindow)
        self.statusbar.setObjectName("statusbar")
        Q3DWindow.setStatusBar(self.statusbar)
        self.dockWidgetLayers = QtWidgets.QDockWidget(parent=Q3DWindow)
        self.dockWidgetLayers.setObjectName("dockWidgetLayers")
        self.dockWidgetContents = QtWidgets.QWidget()
        self.dockWidgetContents.setObjectName("dockWidgetContents")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.dockWidgetContents)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.treeView = Q3DTreeView(parent=self.dockWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.treeView.sizePolicy().hasHeightForWidth())
        self.treeView.setSizePolicy(sizePolicy)
        self.treeView.setHeaderHidden(True)
        self.treeView.setObjectName("treeView")
        self.verticalLayout_2.addWidget(self.treeView)
        self.dockWidgetLayers.setWidget(self.dockWidgetContents)
        Q3DWindow.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.dockWidgetLayers)
        self.dockWidgetAnimation = QtWidgets.QDockWidget(parent=Q3DWindow)
        self.dockWidgetAnimation.setObjectName("dockWidgetAnimation")
        self.animationPanel = AnimationPanel()
        self.animationPanel.setObjectName("animationPanel")
        self.dockWidgetAnimation.setWidget(self.animationPanel)
        Q3DWindow.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.dockWidgetAnimation)
        self.actionSaveAsSTL = QtWidgets.QAction(parent=Q3DWindow)
        self.actionSaveAsSTL.setEnabled(False)
        self.actionSaveAsSTL.setObjectName("actionSaveAsSTL")
        self.actionSceneSettings = QtWidgets.QAction(parent=Q3DWindow)
        self.actionSceneSettings.setObjectName("actionSceneSettings")
        self.actionPerspective = QtWidgets.QAction(parent=Q3DWindow)
        self.actionPerspective.setCheckable(True)
        self.actionPerspective.setChecked(True)
        self.actionPerspective.setObjectName("actionPerspective")
        self.actionOrthographic = QtWidgets.QAction(parent=Q3DWindow)
        self.actionOrthographic.setCheckable(True)
        self.actionOrthographic.setObjectName("actionOrthographic")
        self.actionReload = QtWidgets.QAction(parent=Q3DWindow)
        self.actionReload.setObjectName("actionReload")
        self.actionAlwaysOnTop = QtWidgets.QAction(parent=Q3DWindow)
        self.actionAlwaysOnTop.setCheckable(True)
        self.actionAlwaysOnTop.setChecked(False)
        self.actionAlwaysOnTop.setObjectName("actionAlwaysOnTop")
        self.actionExportToWeb = QtWidgets.QAction(parent=Q3DWindow)
        self.actionExportToWeb.setEnabled(True)
        self.actionExportToWeb.setObjectName("actionExportToWeb")
        self.actionSaveAsImage = QtWidgets.QAction(parent=Q3DWindow)
        self.actionSaveAsImage.setObjectName("actionSaveAsImage")
        self.actionResetCameraPosition = QtWidgets.QAction(parent=Q3DWindow)
        self.actionResetCameraPosition.setObjectName("actionResetCameraPosition")
        self.actionLayer_Panel = QtWidgets.QAction(parent=Q3DWindow)
        self.actionLayer_Panel.setCheckable(True)
        self.actionLayer_Panel.setChecked(True)
        self.actionLayer_Panel.setEnabled(False)
        self.actionLayer_Panel.setObjectName("actionLayer_Panel")
        self.actionClose = QtWidgets.QAction(parent=Q3DWindow)
        self.actionClose.setObjectName("actionClose")
        self.actionPluginSettings = QtWidgets.QAction(parent=Q3DWindow)
        self.actionPluginSettings.setObjectName("actionPluginSettings")
        self.actionHelp = QtWidgets.QAction(parent=Q3DWindow)
        self.actionHelp.setObjectName("actionHelp")
        self.actionHomePage = QtWidgets.QAction(parent=Q3DWindow)
        self.actionHomePage.setObjectName("actionHomePage")
        self.actionSendFeedback = QtWidgets.QAction(parent=Q3DWindow)
        self.actionSendFeedback.setObjectName("actionSendFeedback")
        self.actionVersion = QtWidgets.QAction(parent=Q3DWindow)
        self.actionVersion.setObjectName("actionVersion")
        self.actionSaveAsOBJ = QtWidgets.QAction(parent=Q3DWindow)
        self.actionSaveAsOBJ.setEnabled(False)
        self.actionSaveAsOBJ.setObjectName("actionSaveAsOBJ")
        self.actionSaveAsGLTF = QtWidgets.QAction(parent=Q3DWindow)
        self.actionSaveAsGLTF.setObjectName("actionSaveAsGLTF")
        self.actionClearSettings = QtWidgets.QAction(parent=Q3DWindow)
        self.actionClearSettings.setObjectName("actionClearSettings")
        self.actionNorthArrow = QtWidgets.QAction(parent=Q3DWindow)
        self.actionNorthArrow.setObjectName("actionNorthArrow")
        self.actionHeaderFooterLabel = QtWidgets.QAction(parent=Q3DWindow)
        self.actionHeaderFooterLabel.setObjectName("actionHeaderFooterLabel")
        self.actionSaveSettings = QtWidgets.QAction(parent=Q3DWindow)
        self.actionSaveSettings.setObjectName("actionSaveSettings")
        self.actionLoadSettings = QtWidgets.QAction(parent=Q3DWindow)
        self.actionLoadSettings.setObjectName("actionLoadSettings")
        self.actionAddPointCloudLayer = QtWidgets.QAction(parent=Q3DWindow)
        self.actionAddPointCloudLayer.setObjectName("actionAddPointCloudLayer")
        self.actionNavigationWidget = QtWidgets.QAction(parent=Q3DWindow)
        self.actionNavigationWidget.setCheckable(True)
        self.actionNavigationWidget.setObjectName("actionNavigationWidget")
        self.actionAddPlane = QtWidgets.QAction(parent=Q3DWindow)
        self.actionAddPlane.setObjectName("actionAddPlane")
        self.actionUsage = QtWidgets.QAction(parent=Q3DWindow)
        self.actionUsage.setObjectName("actionUsage")
        self.actionDevTools = QtWidgets.QAction(parent=Q3DWindow)
        self.actionDevTools.setObjectName("actionDevTools")
        self.menuLayer.addAction(self.actionAddPlane)
        self.menuLayer.addAction(self.actionAddPointCloudLayer)
        self.menuScene.addAction(self.actionSceneSettings)
        self.menuScene.addAction(self.menuLayer.menuAction())
        self.menuScene.addSeparator()
        self.menuScene.addAction(self.actionReload)
        self.menuWindow.addAction(self.menuPanels.menuAction())
        self.menuWindow.addAction(self.actionDevTools)
        self.menuWindow.addSeparator()
        self.menuWindow.addAction(self.actionAlwaysOnTop)
        self.menuSaveAs.addAction(self.actionSaveAsImage)
        self.menuSaveAs.addSeparator()
        self.menuSaveAs.addAction(self.actionSaveAsGLTF)
        self.menuExport_Settings.addAction(self.actionLoadSettings)
        self.menuExport_Settings.addAction(self.actionSaveSettings)
        self.menuExport_Settings.addSeparator()
        self.menuExport_Settings.addAction(self.actionClearSettings)
        self.menuFile.addAction(self.actionExportToWeb)
        self.menuFile.addAction(self.menuSaveAs.menuAction())
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.menuExport_Settings.menuAction())
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionPluginSettings)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionClose)
        self.menuHelp.addAction(self.actionUsage)
        self.menuHelp.addAction(self.actionHelp)
        self.menuHelp.addSeparator()
        self.menuHelp.addAction(self.actionHomePage)
        self.menuHelp.addAction(self.actionSendFeedback)
        self.menuHelp.addSeparator()
        self.menuHelp.addAction(self.actionVersion)
        self.menuCamera.addAction(self.actionPerspective)
        self.menuCamera.addAction(self.actionOrthographic)
        self.menuWidgets.addAction(self.actionNavigationWidget)
        self.menuWidgets.addSeparator()
        self.menuWidgets.addAction(self.actionNorthArrow)
        self.menuWidgets.addAction(self.actionHeaderFooterLabel)
        self.menuView.addAction(self.menuCamera.menuAction())
        self.menuView.addAction(self.menuWidgets.menuAction())
        self.menuView.addSeparator()
        self.menuView.addAction(self.actionResetCameraPosition)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuScene.menuAction())
        self.menubar.addAction(self.menuView.menuAction())
        self.menubar.addAction(self.menuWindow.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(Q3DWindow)
        self.actionClose.triggered.connect(Q3DWindow.close) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(Q3DWindow)

    def retranslateUi(self, Q3DWindow):
        _translate = QtCore.QCoreApplication.translate
        Q3DWindow.setWindowTitle(_translate("Q3DWindow", "Qgis2threejs Exporter"))
        self.menuScene.setTitle(_translate("Q3DWindow", "&Scene"))
        self.menuLayer.setTitle(_translate("Q3DWindow", "Add Layer"))
        self.menuWindow.setTitle(_translate("Q3DWindow", "&Window"))
        self.menuPanels.setTitle(_translate("Q3DWindow", "Panels"))
        self.menuFile.setTitle(_translate("Q3DWindow", "&File"))
        self.menuSaveAs.setTitle(_translate("Q3DWindow", "Save Scene As"))
        self.menuExport_Settings.setTitle(_translate("Q3DWindow", "Export Settings"))
        self.menuHelp.setTitle(_translate("Q3DWindow", "&Help"))
        self.menuView.setTitle(_translate("Q3DWindow", "&View"))
        self.menuCamera.setTitle(_translate("Q3DWindow", "Camera"))
        self.menuWidgets.setTitle(_translate("Q3DWindow", "Widgets"))
        self.dockWidgetLayers.setWindowTitle(_translate("Q3DWindow", "Layers"))
        self.dockWidgetAnimation.setWindowTitle(_translate("Q3DWindow", "Animation"))
        self.actionSaveAsSTL.setText(_translate("Q3DWindow", "STL (.stl)"))
        self.actionSceneSettings.setText(_translate("Q3DWindow", "Scene Settings..."))
        self.actionPerspective.setText(_translate("Q3DWindow", "Perspective"))
        self.actionOrthographic.setText(_translate("Q3DWindow", "Orthographic"))
        self.actionReload.setText(_translate("Q3DWindow", "Reload"))
        self.actionReload.setShortcut(_translate("Q3DWindow", "F5"))
        self.actionAlwaysOnTop.setText(_translate("Q3DWindow", "Always on Top"))
        self.actionExportToWeb.setText(_translate("Q3DWindow", "Export to Web..."))
        self.actionSaveAsImage.setText(_translate("Q3DWindow", "Image (.png)..."))
        self.actionResetCameraPosition.setText(_translate("Q3DWindow", "Reset Camera Position"))
        self.actionResetCameraPosition.setShortcut(_translate("Q3DWindow", "Shift+R"))
        self.actionLayer_Panel.setText(_translate("Q3DWindow", "Layer Panel"))
        self.actionClose.setText(_translate("Q3DWindow", "Close"))
        self.actionPluginSettings.setText(_translate("Q3DWindow", "Plugin Settings.."))
        self.actionHelp.setText(_translate("Q3DWindow", "&Help Contents"))
        self.actionHelp.setToolTip(_translate("Q3DWindow", "Open plugin document in default browser."))
        self.actionHomePage.setText(_translate("Q3DWindow", "Plugin Home Page"))
        self.actionHomePage.setToolTip(_translate("Q3DWindow", "Open plugin homepage in default browser."))
        self.actionSendFeedback.setText(_translate("Q3DWindow", "Send Feedback"))
        self.actionSendFeedback.setToolTip(_translate("Q3DWindow", "Open plugin issue tracking system in default browser."))
        self.actionVersion.setText(_translate("Q3DWindow", "Qgis2threejs Plugin Version..."))
        self.actionVersion.setToolTip(_translate("Q3DWindow", "Display this plugin version."))
        self.actionSaveAsOBJ.setText(_translate("Q3DWindow", "Wavefront (.obj)"))
        self.actionSaveAsGLTF.setText(_translate("Q3DWindow", "glTF (.gltf, .glb)..."))
        self.actionClearSettings.setText(_translate("Q3DWindow", "Clear..."))
        self.actionNorthArrow.setText(_translate("Q3DWindow", "North Arrow..."))
        self.actionHeaderFooterLabel.setText(_translate("Q3DWindow", "Header/Footer Labels..."))
        self.actionSaveSettings.setText(_translate("Q3DWindow", "Save..."))
        self.actionLoadSettings.setText(_translate("Q3DWindow", "Load..."))
        self.actionAddPointCloudLayer.setText(_translate("Q3DWindow", "Add Point Cloud Layer..."))
        self.actionNavigationWidget.setText(_translate("Q3DWindow", "Navigation Widget"))
        self.actionAddPlane.setText(_translate("Q3DWindow", "Add Flat Plane"))
        self.actionUsage.setText(_translate("Q3DWindow", "Usage of 3D Viewer"))
        self.actionUsage.setToolTip(_translate("Q3DWindow", "Show usage of 3D viewer"))
        self.actionDevTools.setText(_translate("Q3DWindow", "Developer Tools..."))
        self.actionDevTools.setShortcut(_translate("Q3DWindow", "Ctrl+Shift+I"))
from Qgis2threejs.gui.keyframes import AnimationPanel
from Qgis2threejs.gui.treeview import Q3DTreeView
from Qgis2threejs.gui.webview import Q3DView
