Public Member Functions | Private Member Functions | Private Attributes | List of all members
qt_gui.dock_widget_title_bar.DockWidgetTitleBar Class Reference
Inheritance diagram for qt_gui.dock_widget_title_bar.DockWidgetTitleBar:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, dock_widget, qtgui_path, hide_title=False)
 
def connect_button (self, button_id, callback)
 
def connect_close_button (self, callback)
 
def eventFilter (self, obj, event)
 
def hide_button (self, button_id)
 
def restore_settings (self, settings)
 
def save_settings (self, settings)
 
def show_button (self, button_id, visibility=True)
 

Private Member Functions

def _close_clicked (self)
 
def _features_changed (self, features=None)
 
def _finished_editing (self)
 
def _minimize_dock_widget (self)
 
def _toggle_dockable (self, enabled)
 
def _toggle_floating (self)
 
def _update_icon (self, *args)
 
def _update_title (self, *args)
 
def _update_title_label (self)
 

Private Attributes

 _close_callbacks
 
 _dock_widget
 
 _event_callbacks
 
 _extra_buttons
 

Detailed Description

Title bar for dock widgets providing custom actions.

Definition at line 39 of file dock_widget_title_bar.py.

Constructor & Destructor Documentation

◆ __init__()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar.__init__ (   self,
  dock_widget,
  qtgui_path,
  hide_title = False 
)

Definition at line 42 of file dock_widget_title_bar.py.

Member Function Documentation

◆ _close_clicked()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar._close_clicked (   self)
private

Definition at line 117 of file dock_widget_title_bar.py.

◆ _features_changed()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar._features_changed (   self,
  features = None 
)
private

Definition at line 172 of file dock_widget_title_bar.py.

◆ _finished_editing()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar._finished_editing (   self)
private

Definition at line 207 of file dock_widget_title_bar.py.

◆ _minimize_dock_widget()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar._minimize_dock_widget (   self)
private

Definition at line 168 of file dock_widget_title_bar.py.

◆ _toggle_dockable()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar._toggle_dockable (   self,
  enabled 
)
private

Definition at line 157 of file dock_widget_title_bar.py.

◆ _toggle_floating()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar._toggle_floating (   self)
private

Definition at line 164 of file dock_widget_title_bar.py.

◆ _update_icon()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar._update_icon (   self,
args 
)
private

Definition at line 148 of file dock_widget_title_bar.py.

◆ _update_title()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar._update_title (   self,
args 
)
private

Definition at line 154 of file dock_widget_title_bar.py.

◆ _update_title_label()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar._update_title_label (   self)
private

Definition at line 211 of file dock_widget_title_bar.py.

◆ connect_button()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar.connect_button (   self,
  button_id,
  callback 
)

Definition at line 107 of file dock_widget_title_bar.py.

◆ connect_close_button()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar.connect_close_button (   self,
  callback 
)

Definition at line 114 of file dock_widget_title_bar.py.

◆ eventFilter()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar.eventFilter (   self,
  obj,
  event 
)

Definition at line 131 of file dock_widget_title_bar.py.

◆ hide_button()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar.hide_button (   self,
  button_id 
)

Definition at line 128 of file dock_widget_title_bar.py.

◆ restore_settings()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar.restore_settings (   self,
  settings 
)

Definition at line 195 of file dock_widget_title_bar.py.

◆ save_settings()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar.save_settings (   self,
  settings 
)

Definition at line 187 of file dock_widget_title_bar.py.

◆ show_button()

def qt_gui.dock_widget_title_bar.DockWidgetTitleBar.show_button (   self,
  button_id,
  visibility = True 
)

Definition at line 121 of file dock_widget_title_bar.py.

Member Data Documentation

◆ _close_callbacks

qt_gui.dock_widget_title_bar.DockWidgetTitleBar._close_callbacks
private

Definition at line 84 of file dock_widget_title_bar.py.

◆ _dock_widget

qt_gui.dock_widget_title_bar.DockWidgetTitleBar._dock_widget
private

Definition at line 44 of file dock_widget_title_bar.py.

◆ _event_callbacks

qt_gui.dock_widget_title_bar.DockWidgetTitleBar._event_callbacks
private

Definition at line 85 of file dock_widget_title_bar.py.

◆ _extra_buttons

qt_gui.dock_widget_title_bar.DockWidgetTitleBar._extra_buttons
private

Definition at line 48 of file dock_widget_title_bar.py.


The documentation for this class was generated from the following file:


qt_gui
Author(s): Dirk Thomas
autogenerated on Sat Jun 25 2022 02:15:05