21/05/2021

This commit is contained in:
VFX - Visual Effects
2021-05-21 11:14:56 -03:00
parent 4a1a4d59d8
commit fdb9ff7277
5 changed files with 148 additions and 14 deletions
@@ -55,7 +55,7 @@ class SetupMainWindow:
"btn_text" : "Open Widgets",
"btn_tooltip" : "Show custom widgets",
"show_top" : True,
"is_active" : False
"is_active" : True
},
{
"btn_icon" : "icon_add_user.svg",
+14 -1
View File
@@ -162,10 +162,23 @@ class UI_MainWindow(object):
# ADD CUSTOM TITLE BAR TO LAYOUT
self.title_bar = PyTitleBar(
parent,
app_parent = self.central_widget,
logo_image = "logo_top_100x22.svg",
bg_color = self.themes["app_color"]["bg_two"],
div_color = self.themes["app_color"]["bg_three"],
btn_bg_color = self.themes["app_color"]["bg_two"],
btn_bg_color_hover = self.themes["app_color"]["bg_three"],
btn_bg_color_pressed = self.themes["app_color"]["bg_one"],
icon_color = self.themes["app_color"]["icon_color"],
icon_color_hover = self.themes["app_color"]["icon_hover"],
icon_color_pressed = self.themes["app_color"]["icon_pressed"],
icon_color_active = self.themes["app_color"]["icon_active"],
context_color = self.themes["app_color"]["context_color"],
dark_one = self.themes["app_color"]["dark_one"],
text_foreground = self.themes["app_color"]["text_foreground"],
radius = 8,
font_family = self.settings["font"]["family"],
title_size = self.settings["font"]["title_size"]
title_size = self.settings["font"]["title_size"],
)
self.title_bar_layout.addWidget(self.title_bar)