gdesk.panels.base module

class gdesk.panels.base.BasePanel(parent, panid=None, category='console')

Bases: PySide2.QtWidgets.QMainWindow

addBaseMenu(bindCategories=[])
addBindingTo(category, panid)
addMenuItem(menu, text, triggered, checkcall=None, enabled=True, statusTip=None, icon=None, enablecall=None)
property baseWindow
bindedPanel(category, pos=0)
close_panel()
detach()
duplicate(floating=False)
get_container()
isSelected()
mousePressEvent(self, event: PySide2.QtGui.QMouseEvent)None
panIdsOfBounded(category)
panelCategory = None
panelShortName = None
pull_menu_from_main()
push_menu_to_main()
property qapp
removeBindingTo(category, panid)
select()
property short_title
show_me()
staticMetaObject = <PySide2.QtCore.QMetaObject object>
targetPanels(category)
toggleBindingTo(category, panid)
toggleMenu()
toggleStatusBar()
unregister()
classmethod userPanelClasses()
userVisible = True
class gdesk.panels.base.CheckMenu(name, parent=None)

Bases: PySide2.QtWidgets.QMenu

addAction(self, arg__1: PySide2.QtGui.QIcon, arg__2: str, arg__3: object, arg__4: typing.Union[PySide2.QtGui.QKeySequence, NoneType] = None)None
addAction(self, arg__1: PySide2.QtWidgets.QAction)None
addAction(self, arg__1: str, arg__2: object, arg__3: typing.Union[PySide2.QtGui.QKeySequence, NoneType] = None)None
addAction(self, icon: PySide2.QtGui.QIcon, text: str)PySide2.QtWidgets.QAction
addAction(self, icon: PySide2.QtGui.QIcon, text: str, receiver: PySide2.QtCore.QObject, member: bytes, shortcut: typing.Union[PySide2.QtGui.QKeySequence, NoneType] = None)PySide2.QtWidgets.QAction
addAction(self, text: str)PySide2.QtWidgets.QAction
addAction(self, text: str, receiver: PySide2.QtCore.QObject, member: bytes, shortcut: typing.Union[PySide2.QtGui.QKeySequence, NoneType] = None)PySide2.QtWidgets.QAction
showEvent(self, event: PySide2.QtGui.QShowEvent)None
staticMetaObject = <PySide2.QtCore.QMetaObject object>
class gdesk.panels.base.FuncToPanel(func, *args)

Bases: object

class gdesk.panels.base.MyStatusBar(parent=None)

Bases: PySide2.QtWidgets.QWidget

addWidget(widget, stretch=0, alignment=None)
removeWidget(widget)
staticMetaObject = <PySide2.QtCore.QMetaObject object>
class gdesk.panels.base.PanelsMenu(parent, name, categories, func)

Bases: PySide2.QtWidgets.QMenu

initactions()
showEvent(self, event: PySide2.QtGui.QShowEvent)None
staticMetaObject = <PySide2.QtCore.QMetaObject object>
gdesk.panels.base.selectThisPanel(widget)
gdesk.panels.base.thisPanel(widget)