module extras.command_palette.command_palette
Global Variables
- TYPE_CHECKING
- PYQT6
- PYQT5
- PYSIDE2
- PYSIDE6
- COMMAND_PALETTE_COLORS
- registry
function get_color
get_color(key)
class CommandRegistry
method CommandRegistry.__init__
__init__() → None
method CommandRegistry.execute
execute(command_name)
method CommandRegistry.register_command
register_command(command)
class Command
method Command.__init__
__init__(*args, **kwargs)
method Command.used
used()
class PopupDelegate
method PopupDelegate.__init__
__init__(parent=None)
method PopupDelegate.get_colors
get_colors()
method PopupDelegate.paint
paint(
painter: PySide6.QtGui.QPainter,
option: PySide6.QtWidgets.QStyleOptionViewItem,
index: PySide6.QtCore.QModelIndex
)
method PopupDelegate.set_prefix
set_prefix(prefix)
class CommandModel
method CommandModel.data
data(index: PySide6.QtCore.QModelIndex, role: int) → Any
method CommandModel.index
index(row: int, column: int, parent: PySide6.QtCore.QModelIndex) → QModelIndex
method CommandModel.rowCount
rowCount(parent: PySide6.QtCore.QModelIndex) → int
method CommandModel.sort_commands
sort_commands(prefix)
class CommandCompleter
method CommandCompleter.__init__
__init__(parent=None)
method CommandCompleter.close
close()
method CommandCompleter.get_selection
get_selection()
method CommandCompleter.move_selection_down
move_selection_down()
method CommandCompleter.move_selection_up
move_selection_up()
method CommandCompleter.open
open()
method CommandCompleter.reset
reset()
method CommandCompleter.update_prefix
update_prefix(prefix)
This file was automatically generated via lazydocs.