# -*- coding: utf-8 -*-
"""

Script Name: 
Author: Do Trinh/Jimmy - 3D artist.

Description:


"""
# -------------------------------------------------------------------------------------------------------------
""" Import """

import os

from PySide2.QtWidgets      import (QFrame, QStyle, QAbstractItemView, QSizePolicy, QLineEdit, QPlainTextEdit,
                                    QGraphicsItem, QGraphicsView, QGraphicsScene, QRubberBand, QCalendarWidget, )
from PySide2.QtCore         import QEvent, QSettings, QSize, Qt, QDateTime
from PySide2.QtGui          import QColor, QPainter, QFont, QTextCursor


SingleSelection             = QCalendarWidget.SingleSelection
NoSelection                 = QCalendarWidget.NoSelection
SingleLetterDay             = QCalendarWidget.SingleLetterDayNames
ShortDay                    = QCalendarWidget.ShortDayNames
LongDay                     = QCalendarWidget.LongDayNames
NoHoriHeader                = QCalendarWidget.NoHorizontalHeader
NoVertHeader                = QCalendarWidget.NoVerticalHeader
IsoWeekNum                  = QCalendarWidget.ISOWeekNumbers
SelectMode                  = QCalendarWidget.SelectionMode
HoriHeaderFm                = QCalendarWidget.HorizontalHeaderFormat
VertHeaderFm                = QCalendarWidget.VerticalHeaderFormat

DayOfWeek                   = Qt.DayOfWeek

Sunday                      = Qt.Sunday
Monday                      = Qt.Monday
Tuesday                     = Qt.Tuesday
Wednesday                   = Qt.Wednesday
Thursday                    = Qt.Thursday
Friday                      = Qt.Friday
Saturday                    = Qt.Saturday

ICONSIZE                    = 32
ICONBUFFER                  = -1
BTNTAGSIZE                  = QSize(87, 20)
TAGBTNSIZE                  = QSize(87-1, 20-1)
BTNICONSIZE                 = QSize(ICONSIZE, ICONSIZE)
ICONBTNSIZE                 = QSize(ICONSIZE+ICONBUFFER, ICONSIZE+ICONBUFFER)


DAMG_LOGO_COLOR             = QColor(0, 114, 188, 255)


# Basic color
GlobalColor                 = Qt.GlobalColor

WHITE                       = QColor(Qt.white)
LIGHTGRAY                   = QColor(Qt.lightGray)
GRAY                        = QColor(Qt.gray)
DARKGRAY                    = QColor(Qt.darkGray)
BLACK                       = QColor(Qt.black)
RED                         = QColor(Qt.red)
GREEN                       = QColor(Qt.green)
BLUE                        = QColor(Qt.blue)
DARKRED                     = QColor(Qt.darkRed)
DARKGREEN                   = QColor(Qt.darkGreen)
DARKBLUE                    = QColor(Qt.darkBlue)
CYAN                        = QColor(Qt.cyan)
MAGENTA                     = QColor(Qt.magenta)
YELLOW                      = QColor(Qt.yellow)
DARKCYAN                    = QColor(Qt.darkCyan)
DARKMAGENTA                 = QColor(Qt.darkMagenta)
DARKYELLOW                  = QColor(Qt.darkYellow)

# Dark Palette color
Color_BACKGROUND_LIGHT      = QColor('#505F69')
COLOR_BACKGROUND_NORMAL     = QColor('#32414B')
COLOR_BACKGROUND_DARK       = QColor('#19232D')

COLOR_FOREGROUND_LIGHT      = QColor('#F0F0F0')
COLOR_FOREGROUND_NORMAL     = QColor('#AAAAAA')
COLOR_FOREGROUND_DARK       = QColor('#787878')

COLOR_SELECTION_LIGHT       = QColor('#148CD2')
COLOR_SELECTION_NORMAL      = QColor('#1464A0')
COLOR_SELECTION_DARK        = QColor('#14506E')

# Nice color
blush                       = QColor(246, 202, 203, 255)
petal                       = QColor(247, 170, 189, 255)
petunia                     = QColor(231, 62, 151, 255)
deep_pink                   = QColor(229, 2, 120, 255)
melon                       = QColor(241, 118, 110, 255)
pomegranate                 = QColor(178, 27, 32, 255)
poppy_red                   = QColor(236, 51, 39, 255)
orange_red                  = QColor(240, 101, 53, 255)
olive                       = QColor(174, 188, 43, 255)
spring                      = QColor(227, 229, 121, 255)
yellow                      = QColor(255, 240, 29, 255)
mango                       = QColor(254, 209, 26, 255)
cantaloupe                  = QColor(250, 176, 98, 255)
tangelo                     = QColor(247, 151, 47, 255)
burnt_orange                = QColor(236, 137, 36, 255)
bright_orange               = QColor(242, 124, 53, 255)
moss                        = QColor(176, 186, 39, 255)
sage                        = QColor(212, 219, 145, 255)
apple                       = QColor(178, 215, 140, 255)
grass                       = QColor(111, 178, 68, 255)
forest                      = QColor(69, 149, 62, 255)
peacock                     = QColor(21, 140, 167, 255)
teal                        = QColor(24, 157, 193, 255)
aqua                        = QColor(153, 214, 218, 255)
violet                      = QColor(55, 52, 144, 255)
deep_blue                   = QColor(15, 86, 163, 255)
hydrangea                   = QColor(150, 191, 229, 255)
sky                         = QColor(139, 210, 244, 255)
dusk                        = QColor(16, 102, 162, 255)
midnight                    = QColor(14, 90, 131, 255)
seaside                     = QColor(87, 154, 188, 255)
poolside                    = QColor(137, 203, 225, 255)
eggplant                    = QColor(86, 5, 79, 255)
lilac                       = QColor(222, 192, 219, 255)
chocolate                   = QColor(87, 43, 3, 255)
blackout                    = QColor(19, 17, 15, 255)
stone                       = QColor(125, 127, 130, 255)
gravel                      = QColor(181, 182, 185, 255)
pebble                      = QColor(217, 212, 206, 255)
sand                        = QColor(185, 172, 151, 255)


ignoreARM                   = Qt.IgnoreAspectRatio

scrollAsNeed                = Qt.ScrollBarAsNeeded
scrollOff                   = Qt.ScrollBarAlwaysOff
scrollOn                    = Qt.ScrollBarAlwaysOn

SiPoMin                     = QSizePolicy.Minimum                                               # Size policy
SiPoMax                     = QSizePolicy.Maximum
SiPoExp                     = QSizePolicy.Expanding
SiPoPre                     = QSizePolicy.Preferred
SiPoIgn                     = QSizePolicy.Ignored

frameStyle                  = QFrame.Sunken | QFrame.Panel

center                      = Qt.AlignCenter                                                    # Alignment
right                       = Qt.AlignRight
left                        = Qt.AlignLeft
top                         = Qt.AlignTop
bottom                      = Qt.AlignBottom
hori                        = Qt.Horizontal
vert                        = Qt.Vertical

dockL                       = Qt.LeftDockWidgetArea                                             # Docking area
dockR                       = Qt.RightDockWidgetArea
dockT                       = Qt.TopDockWidgetArea
dockB                       = Qt.BottomDockWidgetArea
dockAll                     = Qt.AllDockWidgetAreas


datetTimeStamp               = QDateTime.currentDateTime().toString("hh:mm - dd MMMM yy")             # datestamp


PRS =       dict(password    = QLineEdit.Password,       center = center ,   left  = left   ,    right  = right,
                 spmax       = SiPoMax           ,       sppre  = SiPoPre,   spexp = SiPoExp,    spign  = SiPoIgn,
                 expanding   = QSizePolicy.Expanding,    spmin  = SiPoMin,)


# -------------------------------------------------------------------------------------------------------------
""" Event """

NO_WRAP                      = QPlainTextEdit.NoWrap
NO_FRAME                     = QPlainTextEdit.NoFrame
ELIDE_RIGHT                  = Qt.ElideRight
ELIDE_NONE                   = Qt.ElideNone


# -------------------------------------------------------------------------------------------------------------
""" Window state """

StateNormal                  = Qt.WindowNoState
StateMax                     = Qt.WindowMaximized
StateMin                     = Qt.WindowMinimized
State_Selected               = QStyle.State_Selected

# -------------------------------------------------------------------------------------------------------------
""" Nodegraph setting variables """

ASPEC_RATIO                  = Qt.KeepAspectRatio
SMOOTH_TRANS                 = Qt.SmoothTransformation
SCROLLBAROFF                 = Qt.ScrollBarAlwaysOff                                     # Scrollbar
SCROLLBARON                  = Qt.ScrollBarAlwaysOn
SCROLLBARNEED                = Qt.ScrollBarAsNeeded

WORD_WRAP                    = Qt.TextWordWrap
INTERSECT_ITEM_SHAPE         = Qt.IntersectsItemShape
CONTAIN_ITEM_SHAPE           = Qt.ContainsItemShape
MATCH_EXACTLY                = Qt.MatchExactly
DRAG_ONLY                    = QAbstractItemView.DragOnly

# -------------------------------------------------------------------------------------------------------------
""" UI flags """

ITEMENABLE                   = Qt.ItemIsEnabled
ITEMMOVEABLE                 = QGraphicsItem.ItemIsMovable
ITEMSENDGEOCHANGE            = QGraphicsItem.ItemSendsGeometryChanges
ITEMSCALECHANGE              = QGraphicsItem.ItemScaleChange
ITEMPOSCHANGE                = QGraphicsItem.ItemPositionChange
DEVICECACHE                  = QGraphicsItem.DeviceCoordinateCache
SELECTABLE                   = QGraphicsItem.ItemIsSelectable
MOVEABLE                     = QGraphicsItem.ItemIsMovable
FOCUSABLE                    = QGraphicsItem.ItemIsFocusable
PANEL                        = QGraphicsItem.ItemIsPanel

NOINDEX                      = QGraphicsScene.NoIndex                                    # Scene

RUBBER_DRAG                  = QGraphicsView.RubberBandDrag                              # Viewer
RUBBER_REC                   = QRubberBand.Rectangle
POS_CHANGE                   = QGraphicsItem.ItemPositionChange

NODRAG                       = QGraphicsView.NoDrag
NOFRAME                      = QGraphicsView.NoFrame
ANCHOR_NO                    = QGraphicsView.NoAnchor

ANCHOR_UNDERMICE             = QGraphicsView.AnchorUnderMouse
ANCHOR_CENTER                = QGraphicsView.AnchorViewCenter

CACHE_BG                     = QGraphicsView.CacheBackground

UPDATE_VIEWRECT              = QGraphicsView.BoundingRectViewportUpdate
UPDATE_FULLVIEW              = QGraphicsView.FullViewportUpdate
UPDATE_SMARTVIEW             = QGraphicsView.SmartViewportUpdate
UPDATE_BOUNDINGVIEW          = QGraphicsView.BoundingRectViewportUpdate
UPDATE_MINIMALVIEW           = QGraphicsView.MinimalViewportUpdate

STAY_ON_TOP                  = Qt.WindowStaysOnTopHint
STRONG_FOCUS                 = Qt.StrongFocus
SPLASHSCREEN                 = Qt.SplashScreen
FRAMELESS                    = Qt.FramelessWindowHint
CUSTOMIZE                    = Qt.CustomizeWindowHint
CLOSEBTN                     = Qt.WindowCloseButtonHint
MINIMIZEBTN                  = Qt.WindowMinimizeButtonHint
AUTO_COLOR                   = Qt.AutoColor

# -------------------------------------------------------------------------------------------------------------
""" Drawing """

ANTIALIAS                    = QPainter.Antialiasing                                     # Painter
ANTIALIAS_TEXT               = QPainter.TextAntialiasing
ANTIALIAS_HIGH_QUALITY       = QPainter.HighQualityAntialiasing
SMOOTH_PIXMAP_TRANSFORM      = QPainter.SmoothPixmapTransform
NON_COSMETIC_PEN             = QPainter.NonCosmeticDefaultPen

NO_BRUSH                     = Qt.NoBrush                                                # Brush

NO_PEN                       = Qt.NoPen                                                  # Pen
ROUND_CAP                    = Qt.RoundCap
ROUND_JOIN                   = Qt.RoundJoin

PATTERN_SOLID                = Qt.SolidPattern                                           # Pattern

LINE_SOLID                   = Qt.SolidLine                                              # Line
LINE_DASH                    = Qt.DashLine
LINE_DOT                     = Qt.DotLine
LINE_DASH_DOT                = Qt.DashDotDotLine

TRANSPARENT                  = Qt.transparent
TRANSPARENT_MODE             = Qt.TransparentMode

# -------------------------------------------------------------------------------------------------------------
""" Meta Object """

QUEUEDCONNECTION             = Qt.QueuedConnection


# -------------------------------------------------------------------------------------------------------------
""" Keyboard and cursor """

TEXT_BOLD                   = QFont.Bold
TEXT_NORMAL                 = QFont.Normal
MONO_SPACE                  = QFont.Monospace

TEXT_MENEOMIC               = Qt.TextShowMnemonic


KEY_PRESS                   = QEvent.KeyPress
KEY_RELEASE                 = QEvent.KeyRelease
KEY_ALT                     = Qt.Key_Alt
KEY_DEL                     = Qt.Key_Delete
KEY_TAB                     = Qt.Key_Tab
KEY_SHIFT                   = Qt.Key_Shift
KEY_CTRL                    = Qt.Key_Control
KEY_BACKSPACE               = Qt.Key_Backspace
KEY_ENTER                   = Qt.Key_Enter
KEY_RETURN                  = Qt.Key_Return
KEY_F                       = Qt.Key_F
KEY_S                       = Qt.Key_S
ALT_MODIFIER                = Qt.AltModifier
CTRL_MODIFIER               = Qt.ControlModifier
SHIFT_MODIFIER              = Qt.ShiftModifier
NO_MODIFIER                 = Qt.NoModifier
CLOSE_HAND_CUSOR            = Qt.ClosedHandCursor
SIZEF_CURSOR                = Qt.SizeFDiagCursor

windows                     = os.name = 'nt'
DMK                         = Qt.AltModifier if windows else CTRL_MODIFIER

MOUSE_LEFT                  = Qt.LeftButton
MOUSE_RIGHT                 = Qt.RightButton
MOUSE_MIDDLE                = Qt.MiddleButton
NO_BUTTON                   = Qt.NoButton

ARROW_NONE                  = Qt.NoArrow                                                # Cursor
CURSOR_ARROW                = Qt.ArrowCursor
CURSOR_SIZEALL              = Qt.SizeAllCursor
MOVE_OPERATION              = QTextCursor.MoveOperation
MOVE_ANCHOR                 = QTextCursor.MoveMode.MoveAnchor
KEEP_ANCHOR                 = QTextCursor.MoveMode.KeepAnchor

ACTION_MOVE                 = Qt.MoveAction                                             # Action

ignoreARM                   = Qt.IgnoreAspectRatio
# -------------------------------------------------------------------------------------------------------------
""" Set number """

RELATIVE_SIZE               = Qt.RelativeSize                                           # Size

INI                         = QSettings.IniFormat
NATIVE                      = QSettings.NativeFormat
INVALID                     = QSettings.InvalidFormat
SYS_SCOPE                   = QSettings.SystemScope
USER_SCOPE                  = QSettings.UserScope


# -------------------------------------------------------------------------------------------------------------
# Created by Trinh Do on 5/6/2020 - 3:13 AM
# © 2017 - 2020 DAMGteam. All rights reserved
[((1733, 1746), 'PySide2.QtCore.QSize', 'QSize', (['(87)', '(20)'], {}), '(87, 20)\n', (1738, 1746), False, 'from PySide2.QtCore import QEvent, QSettings, QSize, Qt, QDateTime\n'), ((1777, 1798), 'PySide2.QtCore.QSize', 'QSize', (['(87 - 1)', '(20 - 1)'], {}), '(87 - 1, 20 - 1)\n', (1782, 1798), False, 'from PySide2.QtCore import QEvent, QSettings, QSize, Qt, QDateTime\n'), ((1825, 1850), 'PySide2.QtCore.QSize', 'QSize', (['ICONSIZE', 'ICONSIZE'], {}), '(ICONSIZE, ICONSIZE)\n', (1830, 1850), False, 'from PySide2.QtCore import QEvent, QSettings, QSize, Qt, QDateTime\n'), ((1881, 1932), 'PySide2.QtCore.QSize', 'QSize', (['(ICONSIZE + ICONBUFFER)', '(ICONSIZE + ICONBUFFER)'], {}), '(ICONSIZE + ICONBUFFER, ICONSIZE + ICONBUFFER)\n', (1886, 1932), False, 'from PySide2.QtCore import QEvent, QSettings, QSize, Qt, QDateTime\n'), ((1961, 1985), 'PySide2.QtGui.QColor', 'QColor', (['(0)', '(114)', '(188)', '(255)'], {}), '(0, 114, 188, 255)\n', (1967, 1985), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2078, 2094), 'PySide2.QtGui.QColor', 'QColor', (['Qt.white'], {}), '(Qt.white)\n', (2084, 2094), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2125, 2145), 'PySide2.QtGui.QColor', 'QColor', (['Qt.lightGray'], {}), '(Qt.lightGray)\n', (2131, 2145), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2176, 2191), 'PySide2.QtGui.QColor', 'QColor', (['Qt.gray'], {}), '(Qt.gray)\n', (2182, 2191), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2222, 2241), 'PySide2.QtGui.QColor', 'QColor', (['Qt.darkGray'], {}), '(Qt.darkGray)\n', (2228, 2241), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2272, 2288), 'PySide2.QtGui.QColor', 'QColor', (['Qt.black'], {}), '(Qt.black)\n', (2278, 2288), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2319, 2333), 'PySide2.QtGui.QColor', 'QColor', (['Qt.red'], {}), '(Qt.red)\n', (2325, 2333), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2364, 2380), 'PySide2.QtGui.QColor', 'QColor', (['Qt.green'], {}), '(Qt.green)\n', (2370, 2380), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2411, 2426), 'PySide2.QtGui.QColor', 'QColor', (['Qt.blue'], {}), '(Qt.blue)\n', (2417, 2426), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2457, 2475), 'PySide2.QtGui.QColor', 'QColor', (['Qt.darkRed'], {}), '(Qt.darkRed)\n', (2463, 2475), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2506, 2526), 'PySide2.QtGui.QColor', 'QColor', (['Qt.darkGreen'], {}), '(Qt.darkGreen)\n', (2512, 2526), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2557, 2576), 'PySide2.QtGui.QColor', 'QColor', (['Qt.darkBlue'], {}), '(Qt.darkBlue)\n', (2563, 2576), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2607, 2622), 'PySide2.QtGui.QColor', 'QColor', (['Qt.cyan'], {}), '(Qt.cyan)\n', (2613, 2622), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2653, 2671), 'PySide2.QtGui.QColor', 'QColor', (['Qt.magenta'], {}), '(Qt.magenta)\n', (2659, 2671), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2702, 2719), 'PySide2.QtGui.QColor', 'QColor', (['Qt.yellow'], {}), '(Qt.yellow)\n', (2708, 2719), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2750, 2769), 'PySide2.QtGui.QColor', 'QColor', (['Qt.darkCyan'], {}), '(Qt.darkCyan)\n', (2756, 2769), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2800, 2822), 'PySide2.QtGui.QColor', 'QColor', (['Qt.darkMagenta'], {}), '(Qt.darkMagenta)\n', (2806, 2822), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2853, 2874), 'PySide2.QtGui.QColor', 'QColor', (['Qt.darkYellow'], {}), '(Qt.darkYellow)\n', (2859, 2874), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2927, 2944), 'PySide2.QtGui.QColor', 'QColor', (['"""#505F69"""'], {}), "('#505F69')\n", (2933, 2944), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((2975, 2992), 'PySide2.QtGui.QColor', 'QColor', (['"""#32414B"""'], {}), "('#32414B')\n", (2981, 2992), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3023, 3040), 'PySide2.QtGui.QColor', 'QColor', (['"""#19232D"""'], {}), "('#19232D')\n", (3029, 3040), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3072, 3089), 'PySide2.QtGui.QColor', 'QColor', (['"""#F0F0F0"""'], {}), "('#F0F0F0')\n", (3078, 3089), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3120, 3137), 'PySide2.QtGui.QColor', 'QColor', (['"""#AAAAAA"""'], {}), "('#AAAAAA')\n", (3126, 3137), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3168, 3185), 'PySide2.QtGui.QColor', 'QColor', (['"""#787878"""'], {}), "('#787878')\n", (3174, 3185), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3217, 3234), 'PySide2.QtGui.QColor', 'QColor', (['"""#148CD2"""'], {}), "('#148CD2')\n", (3223, 3234), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3265, 3282), 'PySide2.QtGui.QColor', 'QColor', (['"""#1464A0"""'], {}), "('#1464A0')\n", (3271, 3282), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3313, 3330), 'PySide2.QtGui.QColor', 'QColor', (['"""#14506E"""'], {}), "('#14506E')\n", (3319, 3330), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3375, 3401), 'PySide2.QtGui.QColor', 'QColor', (['(246)', '(202)', '(203)', '(255)'], {}), '(246, 202, 203, 255)\n', (3381, 3401), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3432, 3458), 'PySide2.QtGui.QColor', 'QColor', (['(247)', '(170)', '(189)', '(255)'], {}), '(247, 170, 189, 255)\n', (3438, 3458), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3489, 3514), 'PySide2.QtGui.QColor', 'QColor', (['(231)', '(62)', '(151)', '(255)'], {}), '(231, 62, 151, 255)\n', (3495, 3514), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3545, 3569), 'PySide2.QtGui.QColor', 'QColor', (['(229)', '(2)', '(120)', '(255)'], {}), '(229, 2, 120, 255)\n', (3551, 3569), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3600, 3626), 'PySide2.QtGui.QColor', 'QColor', (['(241)', '(118)', '(110)', '(255)'], {}), '(241, 118, 110, 255)\n', (3606, 3626), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3657, 3681), 'PySide2.QtGui.QColor', 'QColor', (['(178)', '(27)', '(32)', '(255)'], {}), '(178, 27, 32, 255)\n', (3663, 3681), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3712, 3736), 'PySide2.QtGui.QColor', 'QColor', (['(236)', '(51)', '(39)', '(255)'], {}), '(236, 51, 39, 255)\n', (3718, 3736), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3767, 3792), 'PySide2.QtGui.QColor', 'QColor', (['(240)', '(101)', '(53)', '(255)'], {}), '(240, 101, 53, 255)\n', (3773, 3792), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3823, 3848), 'PySide2.QtGui.QColor', 'QColor', (['(174)', '(188)', '(43)', '(255)'], {}), '(174, 188, 43, 255)\n', (3829, 3848), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3879, 3905), 'PySide2.QtGui.QColor', 'QColor', (['(227)', '(229)', '(121)', '(255)'], {}), '(227, 229, 121, 255)\n', (3885, 3905), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3936, 3961), 'PySide2.QtGui.QColor', 'QColor', (['(255)', '(240)', '(29)', '(255)'], {}), '(255, 240, 29, 255)\n', (3942, 3961), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((3992, 4017), 'PySide2.QtGui.QColor', 'QColor', (['(254)', '(209)', '(26)', '(255)'], {}), '(254, 209, 26, 255)\n', (3998, 4017), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4048, 4073), 'PySide2.QtGui.QColor', 'QColor', (['(250)', '(176)', '(98)', '(255)'], {}), '(250, 176, 98, 255)\n', (4054, 4073), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4104, 4129), 'PySide2.QtGui.QColor', 'QColor', (['(247)', '(151)', '(47)', '(255)'], {}), '(247, 151, 47, 255)\n', (4110, 4129), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4160, 4185), 'PySide2.QtGui.QColor', 'QColor', (['(236)', '(137)', '(36)', '(255)'], {}), '(236, 137, 36, 255)\n', (4166, 4185), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4216, 4241), 'PySide2.QtGui.QColor', 'QColor', (['(242)', '(124)', '(53)', '(255)'], {}), '(242, 124, 53, 255)\n', (4222, 4241), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4272, 4297), 'PySide2.QtGui.QColor', 'QColor', (['(176)', '(186)', '(39)', '(255)'], {}), '(176, 186, 39, 255)\n', (4278, 4297), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4328, 4354), 'PySide2.QtGui.QColor', 'QColor', (['(212)', '(219)', '(145)', '(255)'], {}), '(212, 219, 145, 255)\n', (4334, 4354), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4385, 4411), 'PySide2.QtGui.QColor', 'QColor', (['(178)', '(215)', '(140)', '(255)'], {}), '(178, 215, 140, 255)\n', (4391, 4411), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4442, 4467), 'PySide2.QtGui.QColor', 'QColor', (['(111)', '(178)', '(68)', '(255)'], {}), '(111, 178, 68, 255)\n', (4448, 4467), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4498, 4522), 'PySide2.QtGui.QColor', 'QColor', (['(69)', '(149)', '(62)', '(255)'], {}), '(69, 149, 62, 255)\n', (4504, 4522), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4553, 4578), 'PySide2.QtGui.QColor', 'QColor', (['(21)', '(140)', '(167)', '(255)'], {}), '(21, 140, 167, 255)\n', (4559, 4578), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4609, 4634), 'PySide2.QtGui.QColor', 'QColor', (['(24)', '(157)', '(193)', '(255)'], {}), '(24, 157, 193, 255)\n', (4615, 4634), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4665, 4691), 'PySide2.QtGui.QColor', 'QColor', (['(153)', '(214)', '(218)', '(255)'], {}), '(153, 214, 218, 255)\n', (4671, 4691), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4722, 4746), 'PySide2.QtGui.QColor', 'QColor', (['(55)', '(52)', '(144)', '(255)'], {}), '(55, 52, 144, 255)\n', (4728, 4746), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4777, 4801), 'PySide2.QtGui.QColor', 'QColor', (['(15)', '(86)', '(163)', '(255)'], {}), '(15, 86, 163, 255)\n', (4783, 4801), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4832, 4858), 'PySide2.QtGui.QColor', 'QColor', (['(150)', '(191)', '(229)', '(255)'], {}), '(150, 191, 229, 255)\n', (4838, 4858), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4889, 4915), 'PySide2.QtGui.QColor', 'QColor', (['(139)', '(210)', '(244)', '(255)'], {}), '(139, 210, 244, 255)\n', (4895, 4915), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((4946, 4971), 'PySide2.QtGui.QColor', 'QColor', (['(16)', '(102)', '(162)', '(255)'], {}), '(16, 102, 162, 255)\n', (4952, 4971), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((5002, 5026), 'PySide2.QtGui.QColor', 'QColor', (['(14)', '(90)', '(131)', '(255)'], {}), '(14, 90, 131, 255)\n', (5008, 5026), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((5057, 5082), 'PySide2.QtGui.QColor', 'QColor', (['(87)', '(154)', '(188)', '(255)'], {}), '(87, 154, 188, 255)\n', (5063, 5082), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((5113, 5139), 'PySide2.QtGui.QColor', 'QColor', (['(137)', '(203)', '(225)', '(255)'], {}), '(137, 203, 225, 255)\n', (5119, 5139), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((5170, 5192), 'PySide2.QtGui.QColor', 'QColor', (['(86)', '(5)', '(79)', '(255)'], {}), '(86, 5, 79, 255)\n', (5176, 5192), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((5223, 5249), 'PySide2.QtGui.QColor', 'QColor', (['(222)', '(192)', '(219)', '(255)'], {}), '(222, 192, 219, 255)\n', (5229, 5249), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((5280, 5302), 'PySide2.QtGui.QColor', 'QColor', (['(87)', '(43)', '(3)', '(255)'], {}), '(87, 43, 3, 255)\n', (5286, 5302), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((5333, 5356), 'PySide2.QtGui.QColor', 'QColor', (['(19)', '(17)', '(15)', '(255)'], {}), '(19, 17, 15, 255)\n', (5339, 5356), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((5387, 5413), 'PySide2.QtGui.QColor', 'QColor', (['(125)', '(127)', '(130)', '(255)'], {}), '(125, 127, 130, 255)\n', (5393, 5413), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((5444, 5470), 'PySide2.QtGui.QColor', 'QColor', (['(181)', '(182)', '(185)', '(255)'], {}), '(181, 182, 185, 255)\n', (5450, 5470), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((5501, 5527), 'PySide2.QtGui.QColor', 'QColor', (['(217)', '(212)', '(206)', '(255)'], {}), '(217, 212, 206, 255)\n', (5507, 5527), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((5558, 5584), 'PySide2.QtGui.QColor', 'QColor', (['(185)', '(172)', '(151)', '(255)'], {}), '(185, 172, 151, 255)\n', (5564, 5584), False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((6892, 6919), 'PySide2.QtCore.QDateTime.currentDateTime', 'QDateTime.currentDateTime', ([], {}), '()\n', (6917, 6919), False, 'from PySide2.QtCore import QEvent, QSettings, QSize, Qt, QDateTime\n')]