DockableMenuBar

Incomplete documentation - sorry!

Note

Neil - please put some data in technical/class_headings/DockableMenuBar.rst

methods and attributes

class lib_openmolar.common.qt4.widgets.dockable_menubar.DockableMenuBar(parent)[source]

Bases: PyQt4.QtGui.QMenuBar

inherits from QMenuBar, adding the functionality to become a standalone widget (thus saving screen estate)

__init__(parent)[source]
addAction(*args)[source]
addMenu(*args)[source]
addViewOption(action)[source]

add an action to the ‘view’ category of the menubar

menu_button[source]
menu_toolbar = None

the toolbar for the mini menu

menu_view = None
mini_menu[source]
refresh_mini_menu()[source]

called when an item is added to the menuBar

setNotVisible(menu_bar_visible)[source]

make sure that we don’t end up with neither menu visible!

toggle_visability(set_visible)[source]
toolbarButtonType()[source]

change the appearance of the toolbars

toolbar_menu = None
toolbar_options_menu = None
update_toolbars()[source]

updates the view menu for all the parent application’s toolbars

Table Of Contents

Previous topic

DictionaryCompleter

Next topic

DuckPayload