Browse Source

moved mouse-cursor helper to mouse cursor module

master
Christian Voigt 1 year ago
parent
commit
efb0762cb4
  1. 11
      main.py

11
main.py

@ -1,7 +1,7 @@
import sys
from PyQt5.QtCore import (
Qt, QSettings, QByteArray, QSize, QObject, pyqtSignal, QPoint, QThread
Qt, QSettings, QByteArray, QSize, pyqtSignal, QPoint, QThread
)
from PyQt5.QtGui import QCursor
from PyQt5.QtWidgets import (
@ -11,8 +11,9 @@ from PyQt5.QtWidgets import (
)
from cursors import ChraniCursors
from cursors import MouseCursorHelper
from world_regions_widget import WorldRegionsWidget
from tools import shift_is_pressed, control_is_pressed
from world_regions_widget.tools import shift_is_pressed, control_is_pressed
from object_region_label import RegionLabel
@ -40,12 +41,6 @@ class ProgressBarHelper(QThread):
self.progress_bar.setValue(percentage)
class MouseCursorHelper(QObject):
mouse_cursor_change_signal = pyqtSignal(object)
hovered_label_signal = pyqtSignal(RegionLabel)
center_label_signal = pyqtSignal()
class ChraniMapTools(QMainWindow, ChraniCursors):
setting = QSettings

Loading…
Cancel
Save