mirror of
https://github.com/Wanderson-Magalhaes/PyOneDark_Qt_Widgets_Modern_GUI.git
synced 2026-05-18 01:45:27 +00:00
21/05/2021
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user