mirror of
https://github.com/Wanderson-Magalhaes/PyOneDark_Qt_Widgets_Modern_GUI.git
synced 2026-05-20 19:05:27 +00:00
22/05/2021
This commit is contained in:
@@ -99,6 +99,23 @@ class SetupMainWindow:
|
||||
}
|
||||
]
|
||||
|
||||
# ADD TITLE BAR MENUS
|
||||
# ///////////////////////////////////////////////////////////////
|
||||
add_title_bar_menus = [
|
||||
{
|
||||
"btn_icon" : "icon_search.svg",
|
||||
"btn_id" : "btn_search",
|
||||
"btn_tooltip" : "Search",
|
||||
"is_active" : False
|
||||
},
|
||||
{
|
||||
"btn_icon" : "icon_more_options.svg",
|
||||
"btn_id" : "btn_top_settings",
|
||||
"btn_tooltip" : "Top settings",
|
||||
"is_active" : False
|
||||
}
|
||||
]
|
||||
|
||||
# SETUP MAIN WINDOW WITH CUSTOM PARAMETERS
|
||||
# ///////////////////////////////////////////////////////////////
|
||||
def setup(self):
|
||||
|
||||
@@ -179,6 +179,7 @@ class UI_MainWindow(object):
|
||||
radius = 8,
|
||||
font_family = self.settings["font"]["family"],
|
||||
title_size = self.settings["font"]["title_size"],
|
||||
is_custom_title_bar = self.settings["custom_title_bar"]
|
||||
)
|
||||
self.title_bar_layout.addWidget(self.title_bar)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user