Uncomment code
This commit is contained in:
parent
3468e41185
commit
1859382302
60
InitGui.py
60
InitGui.py
|
@ -65,40 +65,40 @@ def AddPointerBox():
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
# def SearchBoxFunction():
|
def SearchBoxFunction():
|
||||||
# import SearchBoxLight
|
import SearchBoxLight
|
||||||
|
|
||||||
# global wax, sea, tbr
|
global wax, sea, tbr
|
||||||
# mw = Gui.getMainWindow()
|
mw = Gui.getMainWindow()
|
||||||
|
|
||||||
# if mw:
|
if mw:
|
||||||
# if sea is None:
|
if sea is None:
|
||||||
# sea = SearchBoxLight.SearchBoxLight(
|
sea = SearchBoxLight.SearchBoxLight(
|
||||||
# getItemGroups=lambda: __import__("GetItemGroups").getItemGroups(),
|
getItemGroups=lambda: __import__("GetItemGroups").getItemGroups(),
|
||||||
# getToolTip=lambda groupId, setParent: __import__("GetItemGroups").getToolTip(groupId, setParent),
|
getToolTip=lambda groupId, setParent: __import__("GetItemGroups").getToolTip(groupId, setParent),
|
||||||
# getItemDelegate=lambda: __import__("IndentedItemDelegate").IndentedItemDelegate(),
|
getItemDelegate=lambda: __import__("IndentedItemDelegate").IndentedItemDelegate(),
|
||||||
# )
|
)
|
||||||
# sea.resultSelected.connect(
|
sea.resultSelected.connect(
|
||||||
# lambda index, groupId: __import__("GetItemGroups").onResultSelected(index, groupId)
|
lambda index, groupId: __import__("GetItemGroups").onResultSelected(index, groupId)
|
||||||
# )
|
)
|
||||||
|
|
||||||
# if wax is None:
|
if wax is None:
|
||||||
# wax = QWidgetAction(None)
|
wax = QWidgetAction(None)
|
||||||
# wax.setWhatsThis(
|
wax.setWhatsThis(
|
||||||
# translate(
|
translate(
|
||||||
# "SearchBar",
|
"SearchBar",
|
||||||
# "Use this search bar to find tools, document objects, preferences and more",
|
"Use this search bar to find tools, document objects, preferences and more",
|
||||||
# )
|
)
|
||||||
# )
|
)
|
||||||
|
|
||||||
# sea.setWhatsThis(
|
sea.setWhatsThis(
|
||||||
# translate(
|
translate(
|
||||||
# "SearchBar",
|
"SearchBar",
|
||||||
# "Use this search bar to find tools, document objects, preferences and more",
|
"Use this search bar to find tools, document objects, preferences and more",
|
||||||
# )
|
)
|
||||||
# )
|
)
|
||||||
# wax.setDefaultWidget(sea)
|
wax.setDefaultWidget(sea)
|
||||||
# return wax
|
return wax
|
||||||
|
|
||||||
|
|
||||||
addToolSearchBox()
|
addToolSearchBox()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user