commandSearch.ui.search module¶
-
class
commandSearch.ui.search.
SearchEdit
(parent, widgetParent)¶ Bases:
PySide.QtGui.QLineEdit
Subclass of a line edit to force it to show the parents results window on release of the left buttons.
-
mouseReleaseEvent
(e)¶
-
staticMetaObject
= <PySide.QtCore.QMetaObject object>¶
-
-
class
commandSearch.ui.search.
SearchWidget
(parent=None)¶ Bases:
PySide.QtGui.QWidget
Search Widget
The search widget will give access to all of the functionality in the command search package.
- Search input field.
- Pin set manager.
- Search results.
Parameters: parent (QWidget) – -
closeMenuEvent
()¶
-
closeWindowEvent
()¶
-
enter
()¶ Enter callback, will call the process function regardless of how many characters the input field holds, used when you want to search for something with less than 4 char
-
process
(num)¶ Process the search command, the number determines how many characters the search string should at least be for it to continue.
Parameters: num (int) – Search character number at least before process
-
staticMetaObject
= <PySide.QtCore.QMetaObject object>¶
-
switch
()¶ Switch visibility of the widget, it is build in the same style as all if the maya status line ui elements.
-
typing
()¶ Typing callback, since there are many commands to filter through, when typing it will only start processing when there are at least 4 characters typed.