19/05/2021

This commit is contained in:
VFX - Visual Effects
2021-05-19 14:29:18 -03:00
parent a5ce102b1a
commit ef930c2ad0
12 changed files with 494 additions and 89 deletions

14
main.py
View File

@@ -62,10 +62,14 @@ class MainWindow(QMainWindow):
self.hide_grips = True # Show/Hide resize grips
SetupMainWindow.setup(self)
# GET SIGNALS WHEN LEFT MENU BTN IS CLICKED / RELEASED
# LEFT MENUS / GET SIGNALS WHEN LEFT MENU BTN IS CLICKED / RELEASED
# ///////////////////////////////////////////////////////////////
# ADD MENUS
self.ui.left_menu.add_menus(SetupMainWindow.add_left_menus)
# SET SIGNALS
self.ui.left_menu.clicked.connect(self.left_menu_btn_clicked)
self.ui.left_menu.clicked.connect(self.left_menu_btn_released)
self.ui.left_menu.released.connect(self.left_menu_btn_released)
# SHOW MAIN WINDOW
# ///////////////////////////////////////////////////////////////
@@ -104,6 +108,12 @@ class MainWindow(QMainWindow):
def resizeEvent(self, event):
SetupMainWindow.resize_grips(self)
# MOUSE CLICK EVENTS
# ///////////////////////////////////////////////////////////////
def mousePressEvent(self, event):
# SET DRAG POS WINDOW
self.dragPos = event.globalPos()
# SETTINGS WHEN TO START
# Set the initial class and also additional parameters of the "QApplication" class