Features: - 3-Panel Layout (Ordnerbaum, Dateiliste, Vorschau) - PDF-Vorschau mit Zoom/Seiten-Modus Einstellungen - Bild- und Text-Vorschau - Dateioperationen (Umbenennen, Verschieben, Löschen) - Drag & Drop Support - Kontextmenü - Tastenkürzel (F2, Delete, F5, Backspace) - Breadcrumb-Navigation mit Copy/Paste Textzeile - Themes (Dark, Breeze Dark/Light) - Separates Vorschaufenster - Einstellungen werden gespeichert Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
638 B
Python
29 lines
638 B
Python
#!/usr/bin/env python3
|
|
"""FileBrowser - Ein Dateimanager mit Vorschau-Funktion in PyQt6."""
|
|
|
|
import sys
|
|
from PyQt6.QtWidgets import QApplication
|
|
from PyQt6.QtCore import Qt
|
|
|
|
from src.main_window import MainWindow
|
|
|
|
|
|
def main():
|
|
# High DPI Support
|
|
QApplication.setHighDpiScaleFactorRoundingPolicy(
|
|
Qt.HighDpiScaleFactorRoundingPolicy.PassThrough
|
|
)
|
|
|
|
app = QApplication(sys.argv)
|
|
app.setApplicationName("FileBrowser")
|
|
app.setOrganizationName("FileBrowser")
|
|
|
|
# Hauptfenster erstellen und anzeigen
|
|
window = MainWindow()
|
|
window.show()
|
|
|
|
sys.exit(app.exec())
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|