SubTranslater/main.py
Djalim Simaila b792802e47 feat(data): add new subtitle files for episodes 1, 2, and 3 to enhance user experience and accessibility
feat(subtitles): add support for loading and displaying subtitles in the application
feat(video): implement video capture and frame navigation functionality
feat(ui): create main window UI for subtitle and video management
test: add unit tests for utility functions related to subtitle processing
chore: set up project structure with necessary files and directories for functionality

feat(ui_hardsubripper.py): add UI implementation for HardSubRipper application to provide a graphical interface for subtitle extraction and translation functionalities
2025-02-06 00:34:06 +01:00

15 lines
487 B
Python

from PyQt6.QtWidgets import QApplication, QWidget
from windows.mainwindow import MainWindow
import sys
# You need one (and only one) QApplication instance per application.
# Pass in sys.argv to allow command line arguments for your app.
# If you know you won't use command line arguments QApplication([]) works too.
if __name__ == "__main__":
app = QApplication(sys.argv)
window = MainWindow()
window.show() # IMPORTANT!!!!! Windows are hidden by default.
app.exec()