refactor: clean up unused imports and improve code organization

This commit is contained in:
2025-03-26 10:21:11 +01:00
parent 12d54c78a9
commit f6f9f89354
40 changed files with 90 additions and 102 deletions

View File

@@ -2,7 +2,6 @@ import os
import sys
# from PyQt6 import Webview
from PyQt6.QtWebEngineWidgets import QWebEngineView
from PyQt6.QtWidgets import QApplication, QMainWindow, QTabWidget
documentation_path = "docs"
@@ -36,9 +35,8 @@ class DocumentationViewer(QMainWindow):
tab_name="Documentation",
html_content="<h1>Documentation</h1><p>Your HTML documentation content goes here.</p>",
):
documentation_tab = QWebEngineView()
documentation_tab.setHtml(html_content)
self.tabs.addTab(documentation_tab, tab_name)
# open documentation
name = tab_name
if __name__ == "__main__":