Static Public Member Functions
rqt_py_common.layout_util.LayoutUtil Class Reference

List of all members.

Static Public Member Functions

def alternate_color
def clear_layout

Detailed Description

Definition at line 41 of file

Member Function Documentation

def rqt_py_common.layout_util.LayoutUtil.alternate_color (   list_widgets,
  colors_alter = [Qt.white,
) [static]
Alternate the background color of the widgets that are ordered
linearly, by the given list of colors.

Originally intended for the elements of QHBoxLayout & QVBoxLayout.

@type list_widgets: QtGui.QWidget[]
@type colors_alter: QtCore.Qt.GlobalColor[]
@param colors_alter: 1st element is used as initial/default color.
@rtype: void

@author: Isaac Saito

Definition at line 44 of file

Clear all items in the given layout. Currently, only the instances of
QWidgetItem get cleared (ie. QSpaceItem is ignored).

Originally taken from

:type layout: QLayout

Definition at line 77 of file

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

Author(s): Dorian Scholz, Isaac Saito
autogenerated on Wed Sep 16 2015 06:58:00