|
|
@ -6,7 +6,7 @@ import re
|
|
|
|
|
|
|
|
|
|
|
|
from PyQt5 import QtWidgets
|
|
|
|
from PyQt5 import QtWidgets
|
|
|
|
from PyQt5.QtCore import Qt, QSize, QUrl
|
|
|
|
from PyQt5.QtCore import Qt, QSize, QUrl
|
|
|
|
from PyQt5.QtGui import QPixmap, QResizeEvent, QKeyEvent, QStandardItemModel, QStandardItem, QMovie, QDesktopServices
|
|
|
|
from PyQt5.QtGui import QPixmap, QResizeEvent, QKeyEvent, QStandardItemModel, QStandardItem, QMovie, QDesktopServices, QIcon
|
|
|
|
from PyQt5 import QtMultimedia
|
|
|
|
from PyQt5 import QtMultimedia
|
|
|
|
from PyQt5.QtMultimediaWidgets import QVideoWidget
|
|
|
|
from PyQt5.QtMultimediaWidgets import QVideoWidget
|
|
|
|
|
|
|
|
|
|
|
@ -97,6 +97,11 @@ class ImporterWindow(ArtnetMainWindow):
|
|
|
|
self.on_tag_search_change()
|
|
|
|
self.on_tag_search_change()
|
|
|
|
self.center()
|
|
|
|
self.center()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if os.path.isfile("./application_icon.png"):
|
|
|
|
|
|
|
|
self.setWindowIcon(QIcon("./application_icon.png"))
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
logging.warning("Didn't find application icon!")
|
|
|
|
|
|
|
|
|
|
|
|
def center(self):
|
|
|
|
def center(self):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
Centers the window in the middle of the screen
|
|
|
|
Centers the window in the middle of the screen
|
|
|
|