- Kopieren/Ausschneiden/Einfügen (Ctrl+C, X, V) - Neue Datei mit Vorlagen (Python, JS, HTML, CSS, JSON, MD, Shell) - Neuer Ordner erstellen - Archiv-Funktionen (ZIP, TAR, TAR.GZ, TAR.BZ2, TAR.XZ) - Entpacken von Archiven (+ 7z, RAR wenn installiert) - Eigenschaften-Dialog (Größe, Berechtigungen, Zeitstempel) - Terminal hier öffnen (F4) - Hover-Farben für Themes korrigiert - README.md Dokumentation hinzugefügt Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
39 lines
924 B
Python
39 lines
924 B
Python
#!/usr/bin/env python3
|
|
"""FileBrowser - Ein Dateimanager mit Vorschau-Funktion in PyQt6."""
|
|
|
|
__version__ = "1.1.0"
|
|
|
|
import sys
|
|
import os
|
|
from PyQt6.QtWidgets import QApplication
|
|
from PyQt6.QtCore import Qt
|
|
from PyQt6.QtGui import QIcon
|
|
|
|
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")
|
|
|
|
# Icon setzen
|
|
script_dir = os.path.dirname(os.path.abspath(__file__))
|
|
icon_path = os.path.join(script_dir, 'resources', 'icon.png')
|
|
if os.path.exists(icon_path):
|
|
app.setWindowIcon(QIcon(icon_path))
|
|
|
|
# Hauptfenster erstellen und anzeigen
|
|
window = MainWindow()
|
|
window.show()
|
|
|
|
sys.exit(app.exec())
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|