pyrip icon added fro gui
This commit is contained in:
parent
2313103493
commit
c671962e92
@ -1,4 +1,5 @@
|
||||
import logging
|
||||
import os
|
||||
from PySide6.QtWidgets import (
|
||||
QMainWindow,
|
||||
QMessageBox,
|
||||
@ -23,6 +24,7 @@ from PySide6.QtCore import (
|
||||
Slot,
|
||||
QThread
|
||||
)
|
||||
from PySide6.QtGui import QPixmap, QIcon
|
||||
from queue import Queue
|
||||
import time
|
||||
|
||||
@ -172,6 +174,11 @@ class MainWindow(QMainWindow):
|
||||
self.setGeometry(100, 100, 900, 600) # Fensterbreite angepasst
|
||||
self.set_status("Ready...")
|
||||
|
||||
app_path = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
||||
pixmap = QPixmap(os.path.join(app_path, 'icon.xpm'))
|
||||
icon = QIcon(pixmap)
|
||||
self.setWindowIcon(icon)
|
||||
|
||||
self.__album_lines__ = []
|
||||
main_widget = QWidget()
|
||||
main_layout = QVBoxLayout(main_widget)
|
||||
|
Loading…
x
Reference in New Issue
Block a user