# -*- 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
[((46, 30, 46, 43), 'PySide2.QtCore.QSize', 'QSize', ({(46, 36, 46, 38): '87', (46, 40, 46, 42): '20'}, {}), '(87, 20)', False, 'from PySide2.QtCore import QEvent, QSettings, QSize, Qt, QDateTime\n'), ((47, 30, 47, 47), 'PySide2.QtCore.QSize', 'QSize', ({(47, 36, 47, 40): '87 - 1', (47, 42, 47, 46): '20 - 1'}, {}), '(87 - 1, 20 - 1)', False, 'from PySide2.QtCore import QEvent, QSettings, QSize, Qt, QDateTime\n'), ((48, 30, 48, 55), 'PySide2.QtCore.QSize', 'QSize', ({(48, 36, 48, 44): 'ICONSIZE', (48, 46, 48, 54): 'ICONSIZE'}, {}), '(ICONSIZE, ICONSIZE)', False, 'from PySide2.QtCore import QEvent, QSettings, QSize, Qt, QDateTime\n'), ((49, 30, 49, 77), 'PySide2.QtCore.QSize', 'QSize', ({(49, 36, 49, 55): 'ICONSIZE + ICONBUFFER', (49, 57, 49, 76): 'ICONSIZE + ICONBUFFER'}, {}), '(ICONSIZE + ICONBUFFER, ICONSIZE + ICONBUFFER)', False, 'from PySide2.QtCore import QEvent, QSettings, QSize, Qt, QDateTime\n'), ((52, 30, 52, 54), 'PySide2.QtGui.QColor', 'QColor', ({(52, 37, 52, 38): '0', (52, 40, 52, 43): '114', (52, 45, 52, 48): '188', (52, 50, 52, 53): '255'}, {}), '(0, 114, 188, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((58, 30, 58, 46), 'PySide2.QtGui.QColor', 'QColor', ({(58, 37, 58, 45): 'Qt.white'}, {}), '(Qt.white)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((59, 30, 59, 50), 'PySide2.QtGui.QColor', 'QColor', ({(59, 37, 59, 49): 'Qt.lightGray'}, {}), '(Qt.lightGray)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((60, 30, 60, 45), 'PySide2.QtGui.QColor', 'QColor', ({(60, 37, 60, 44): 'Qt.gray'}, {}), '(Qt.gray)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((61, 30, 61, 49), 'PySide2.QtGui.QColor', 'QColor', ({(61, 37, 61, 48): 'Qt.darkGray'}, {}), '(Qt.darkGray)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((62, 30, 62, 46), 'PySide2.QtGui.QColor', 'QColor', ({(62, 37, 62, 45): 'Qt.black'}, {}), '(Qt.black)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((63, 30, 63, 44), 'PySide2.QtGui.QColor', 'QColor', ({(63, 37, 63, 43): 'Qt.red'}, {}), '(Qt.red)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((64, 30, 64, 46), 'PySide2.QtGui.QColor', 'QColor', ({(64, 37, 64, 45): 'Qt.green'}, {}), '(Qt.green)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((65, 30, 65, 45), 'PySide2.QtGui.QColor', 'QColor', ({(65, 37, 65, 44): 'Qt.blue'}, {}), '(Qt.blue)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((66, 30, 66, 48), 'PySide2.QtGui.QColor', 'QColor', ({(66, 37, 66, 47): 'Qt.darkRed'}, {}), '(Qt.darkRed)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((67, 30, 67, 50), 'PySide2.QtGui.QColor', 'QColor', ({(67, 37, 67, 49): 'Qt.darkGreen'}, {}), '(Qt.darkGreen)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((68, 30, 68, 49), 'PySide2.QtGui.QColor', 'QColor', ({(68, 37, 68, 48): 'Qt.darkBlue'}, {}), '(Qt.darkBlue)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((69, 30, 69, 45), 'PySide2.QtGui.QColor', 'QColor', ({(69, 37, 69, 44): 'Qt.cyan'}, {}), '(Qt.cyan)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((70, 30, 70, 48), 'PySide2.QtGui.QColor', 'QColor', ({(70, 37, 70, 47): 'Qt.magenta'}, {}), '(Qt.magenta)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((71, 30, 71, 47), 'PySide2.QtGui.QColor', 'QColor', ({(71, 37, 71, 46): 'Qt.yellow'}, {}), '(Qt.yellow)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((72, 30, 72, 49), 'PySide2.QtGui.QColor', 'QColor', ({(72, 37, 72, 48): 'Qt.darkCyan'}, {}), '(Qt.darkCyan)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((73, 30, 73, 52), 'PySide2.QtGui.QColor', 'QColor', ({(73, 37, 73, 51): 'Qt.darkMagenta'}, {}), '(Qt.darkMagenta)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((74, 30, 74, 51), 'PySide2.QtGui.QColor', 'QColor', ({(74, 37, 74, 50): 'Qt.darkYellow'}, {}), '(Qt.darkYellow)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((77, 30, 77, 47), 'PySide2.QtGui.QColor', 'QColor', ({(77, 37, 77, 46): '"""#505F69"""'}, {}), "('#505F69')", False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((78, 30, 78, 47), 'PySide2.QtGui.QColor', 'QColor', ({(78, 37, 78, 46): '"""#32414B"""'}, {}), "('#32414B')", False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((79, 30, 79, 47), 'PySide2.QtGui.QColor', 'QColor', ({(79, 37, 79, 46): '"""#19232D"""'}, {}), "('#19232D')", False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((81, 30, 81, 47), 'PySide2.QtGui.QColor', 'QColor', ({(81, 37, 81, 46): '"""#F0F0F0"""'}, {}), "('#F0F0F0')", False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((82, 30, 82, 47), 'PySide2.QtGui.QColor', 'QColor', ({(82, 37, 82, 46): '"""#AAAAAA"""'}, {}), "('#AAAAAA')", False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((83, 30, 83, 47), 'PySide2.QtGui.QColor', 'QColor', ({(83, 37, 83, 46): '"""#787878"""'}, {}), "('#787878')", False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((85, 30, 85, 47), 'PySide2.QtGui.QColor', 'QColor', ({(85, 37, 85, 46): '"""#148CD2"""'}, {}), "('#148CD2')", False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((86, 30, 86, 47), 'PySide2.QtGui.QColor', 'QColor', ({(86, 37, 86, 46): '"""#1464A0"""'}, {}), "('#1464A0')", False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((87, 30, 87, 47), 'PySide2.QtGui.QColor', 'QColor', ({(87, 37, 87, 46): '"""#14506E"""'}, {}), "('#14506E')", False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((90, 30, 90, 56), 'PySide2.QtGui.QColor', 'QColor', ({(90, 37, 90, 40): '246', (90, 42, 90, 45): '202', (90, 47, 90, 50): '203', (90, 52, 90, 55): '255'}, {}), '(246, 202, 203, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((91, 30, 91, 56), 'PySide2.QtGui.QColor', 'QColor', ({(91, 37, 91, 40): '247', (91, 42, 91, 45): '170', (91, 47, 91, 50): '189', (91, 52, 91, 55): '255'}, {}), '(247, 170, 189, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((92, 30, 92, 55), 'PySide2.QtGui.QColor', 'QColor', ({(92, 37, 92, 40): '231', (92, 42, 92, 44): '62', (92, 46, 92, 49): '151', (92, 51, 92, 54): '255'}, {}), '(231, 62, 151, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((93, 30, 93, 54), 'PySide2.QtGui.QColor', 'QColor', ({(93, 37, 93, 40): '229', (93, 42, 93, 43): '2', (93, 45, 93, 48): '120', (93, 50, 93, 53): '255'}, {}), '(229, 2, 120, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((94, 30, 94, 56), 'PySide2.QtGui.QColor', 'QColor', ({(94, 37, 94, 40): '241', (94, 42, 94, 45): '118', (94, 47, 94, 50): '110', (94, 52, 94, 55): '255'}, {}), '(241, 118, 110, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((95, 30, 95, 54), 'PySide2.QtGui.QColor', 'QColor', ({(95, 37, 95, 40): '178', (95, 42, 95, 44): '27', (95, 46, 95, 48): '32', (95, 50, 95, 53): '255'}, {}), '(178, 27, 32, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((96, 30, 96, 54), 'PySide2.QtGui.QColor', 'QColor', ({(96, 37, 96, 40): '236', (96, 42, 96, 44): '51', (96, 46, 96, 48): '39', (96, 50, 96, 53): '255'}, {}), '(236, 51, 39, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((97, 30, 97, 55), 'PySide2.QtGui.QColor', 'QColor', ({(97, 37, 97, 40): '240', (97, 42, 97, 45): '101', (97, 47, 97, 49): '53', (97, 51, 97, 54): '255'}, {}), '(240, 101, 53, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((98, 30, 98, 55), 'PySide2.QtGui.QColor', 'QColor', ({(98, 37, 98, 40): '174', (98, 42, 98, 45): '188', (98, 47, 98, 49): '43', (98, 51, 98, 54): '255'}, {}), '(174, 188, 43, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((99, 30, 99, 56), 'PySide2.QtGui.QColor', 'QColor', ({(99, 37, 99, 40): '227', (99, 42, 99, 45): '229', (99, 47, 99, 50): '121', (99, 52, 99, 55): '255'}, {}), '(227, 229, 121, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((100, 30, 100, 55), 'PySide2.QtGui.QColor', 'QColor', ({(100, 37, 100, 40): '255', (100, 42, 100, 45): '240', (100, 47, 100, 49): '29', (100, 51, 100, 54): '255'}, {}), '(255, 240, 29, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((101, 30, 101, 55), 'PySide2.QtGui.QColor', 'QColor', ({(101, 37, 101, 40): '254', (101, 42, 101, 45): '209', (101, 47, 101, 49): '26', (101, 51, 101, 54): '255'}, {}), '(254, 209, 26, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((102, 30, 102, 55), 'PySide2.QtGui.QColor', 'QColor', ({(102, 37, 102, 40): '250', (102, 42, 102, 45): '176', (102, 47, 102, 49): '98', (102, 51, 102, 54): '255'}, {}), '(250, 176, 98, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((103, 30, 103, 55), 'PySide2.QtGui.QColor', 'QColor', ({(103, 37, 103, 40): '247', (103, 42, 103, 45): '151', (103, 47, 103, 49): '47', (103, 51, 103, 54): '255'}, {}), '(247, 151, 47, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((104, 30, 104, 55), 'PySide2.QtGui.QColor', 'QColor', ({(104, 37, 104, 40): '236', (104, 42, 104, 45): '137', (104, 47, 104, 49): '36', (104, 51, 104, 54): '255'}, {}), '(236, 137, 36, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((105, 30, 105, 55), 'PySide2.QtGui.QColor', 'QColor', ({(105, 37, 105, 40): '242', (105, 42, 105, 45): '124', (105, 47, 105, 49): '53', (105, 51, 105, 54): '255'}, {}), '(242, 124, 53, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((106, 30, 106, 55), 'PySide2.QtGui.QColor', 'QColor', ({(106, 37, 106, 40): '176', (106, 42, 106, 45): '186', (106, 47, 106, 49): '39', (106, 51, 106, 54): '255'}, {}), '(176, 186, 39, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((107, 30, 107, 56), 'PySide2.QtGui.QColor', 'QColor', ({(107, 37, 107, 40): '212', (107, 42, 107, 45): '219', (107, 47, 107, 50): '145', (107, 52, 107, 55): '255'}, {}), '(212, 219, 145, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((108, 30, 108, 56), 'PySide2.QtGui.QColor', 'QColor', ({(108, 37, 108, 40): '178', (108, 42, 108, 45): '215', (108, 47, 108, 50): '140', (108, 52, 108, 55): '255'}, {}), '(178, 215, 140, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((109, 30, 109, 55), 'PySide2.QtGui.QColor', 'QColor', ({(109, 37, 109, 40): '111', (109, 42, 109, 45): '178', (109, 47, 109, 49): '68', (109, 51, 109, 54): '255'}, {}), '(111, 178, 68, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((110, 30, 110, 54), 'PySide2.QtGui.QColor', 'QColor', ({(110, 37, 110, 39): '69', (110, 41, 110, 44): '149', (110, 46, 110, 48): '62', (110, 50, 110, 53): '255'}, {}), '(69, 149, 62, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((111, 30, 111, 55), 'PySide2.QtGui.QColor', 'QColor', ({(111, 37, 111, 39): '21', (111, 41, 111, 44): '140', (111, 46, 111, 49): '167', (111, 51, 111, 54): '255'}, {}), '(21, 140, 167, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((112, 30, 112, 55), 'PySide2.QtGui.QColor', 'QColor', ({(112, 37, 112, 39): '24', (112, 41, 112, 44): '157', (112, 46, 112, 49): '193', (112, 51, 112, 54): '255'}, {}), '(24, 157, 193, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((113, 30, 113, 56), 'PySide2.QtGui.QColor', 'QColor', ({(113, 37, 113, 40): '153', (113, 42, 113, 45): '214', (113, 47, 113, 50): '218', (113, 52, 113, 55): '255'}, {}), '(153, 214, 218, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((114, 30, 114, 54), 'PySide2.QtGui.QColor', 'QColor', ({(114, 37, 114, 39): '55', (114, 41, 114, 43): '52', (114, 45, 114, 48): '144', (114, 50, 114, 53): '255'}, {}), '(55, 52, 144, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((115, 30, 115, 54), 'PySide2.QtGui.QColor', 'QColor', ({(115, 37, 115, 39): '15', (115, 41, 115, 43): '86', (115, 45, 115, 48): '163', (115, 50, 115, 53): '255'}, {}), '(15, 86, 163, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((116, 30, 116, 56), 'PySide2.QtGui.QColor', 'QColor', ({(116, 37, 116, 40): '150', (116, 42, 116, 45): '191', (116, 47, 116, 50): '229', (116, 52, 116, 55): '255'}, {}), '(150, 191, 229, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((117, 30, 117, 56), 'PySide2.QtGui.QColor', 'QColor', ({(117, 37, 117, 40): '139', (117, 42, 117, 45): '210', (117, 47, 117, 50): '244', (117, 52, 117, 55): '255'}, {}), '(139, 210, 244, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((118, 30, 118, 55), 'PySide2.QtGui.QColor', 'QColor', ({(118, 37, 118, 39): '16', (118, 41, 118, 44): '102', (118, 46, 118, 49): '162', (118, 51, 118, 54): '255'}, {}), '(16, 102, 162, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((119, 30, 119, 54), 'PySide2.QtGui.QColor', 'QColor', ({(119, 37, 119, 39): '14', (119, 41, 119, 43): '90', (119, 45, 119, 48): '131', (119, 50, 119, 53): '255'}, {}), '(14, 90, 131, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((120, 30, 120, 55), 'PySide2.QtGui.QColor', 'QColor', ({(120, 37, 120, 39): '87', (120, 41, 120, 44): '154', (120, 46, 120, 49): '188', (120, 51, 120, 54): '255'}, {}), '(87, 154, 188, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((121, 30, 121, 56), 'PySide2.QtGui.QColor', 'QColor', ({(121, 37, 121, 40): '137', (121, 42, 121, 45): '203', (121, 47, 121, 50): '225', (121, 52, 121, 55): '255'}, {}), '(137, 203, 225, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((122, 30, 122, 52), 'PySide2.QtGui.QColor', 'QColor', ({(122, 37, 122, 39): '86', (122, 41, 122, 42): '5', (122, 44, 122, 46): '79', (122, 48, 122, 51): '255'}, {}), '(86, 5, 79, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((123, 30, 123, 56), 'PySide2.QtGui.QColor', 'QColor', ({(123, 37, 123, 40): '222', (123, 42, 123, 45): '192', (123, 47, 123, 50): '219', (123, 52, 123, 55): '255'}, {}), '(222, 192, 219, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((124, 30, 124, 52), 'PySide2.QtGui.QColor', 'QColor', ({(124, 37, 124, 39): '87', (124, 41, 124, 43): '43', (124, 45, 124, 46): '3', (124, 48, 124, 51): '255'}, {}), '(87, 43, 3, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((125, 30, 125, 53), 'PySide2.QtGui.QColor', 'QColor', ({(125, 37, 125, 39): '19', (125, 41, 125, 43): '17', (125, 45, 125, 47): '15', (125, 49, 125, 52): '255'}, {}), '(19, 17, 15, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((126, 30, 126, 56), 'PySide2.QtGui.QColor', 'QColor', ({(126, 37, 126, 40): '125', (126, 42, 126, 45): '127', (126, 47, 126, 50): '130', (126, 52, 126, 55): '255'}, {}), '(125, 127, 130, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((127, 30, 127, 56), 'PySide2.QtGui.QColor', 'QColor', ({(127, 37, 127, 40): '181', (127, 42, 127, 45): '182', (127, 47, 127, 50): '185', (127, 52, 127, 55): '255'}, {}), '(181, 182, 185, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((128, 30, 128, 56), 'PySide2.QtGui.QColor', 'QColor', ({(128, 37, 128, 40): '217', (128, 42, 128, 45): '212', (128, 47, 128, 50): '206', (128, 52, 128, 55): '255'}, {}), '(217, 212, 206, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((129, 30, 129, 56), 'PySide2.QtGui.QColor', 'QColor', ({(129, 37, 129, 40): '185', (129, 42, 129, 45): '172', (129, 47, 129, 50): '151', (129, 52, 129, 55): '255'}, {}), '(185, 172, 151, 255)', False, 'from PySide2.QtGui import QColor, QPainter, QFont, QTextCursor\n'), ((161, 31, 161, 58), 'PySide2.QtCore.QDateTime.currentDateTime', 'QDateTime.currentDateTime', ({}, {}), '()', False, 'from PySide2.QtCore import QEvent, QSettings, QSize, Qt, QDateTime\n')]