fix: import QGraphicsDropShadowEffect from QtWidgets not QtGui
- Fixed ImportError in floating_icon.py - QGraphicsDropShadowEffect is in QtWidgets, not QtGui
This commit is contained in:
parent
56a653bba6
commit
bf7a2bb682
|
|
@ -5,9 +5,9 @@ In-game floating button with Phosphor solid icons.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from PyQt6.QtWidgets import QWidget, QVBoxLayout, QLabel, QApplication
|
from PyQt6.QtWidgets import QWidget, QVBoxLayout, QLabel, QApplication, QGraphicsDropShadowEffect
|
||||||
from PyQt6.QtCore import Qt, QPoint, pyqtSignal, QSize
|
from PyQt6.QtCore import Qt, QPoint, pyqtSignal, QSize
|
||||||
from PyQt6.QtGui import QMouseEvent, QEnterEvent, QFont, QGraphicsDropShadowEffect, QColor, QPixmap, QPainter
|
from PyQt6.QtGui import QMouseEvent, QEnterEvent, QColor, QPixmap, QPainter
|
||||||
from PyQt6.QtSvg import QSvgRenderer
|
from PyQt6.QtSvg import QSvgRenderer
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue