All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Public Member Functions | Private Member Functions | Private Attributes
rqt_cpp_common::WidgetsList Class Reference

#include <widgets_list.h>

List of all members.

Public Member Functions

 WidgetsList ()

Private Member Functions

void add_widget (QString id_widget, QWidget *widget)
void remove_node (QString widget_id)

Private Attributes

QHash< QString, QWidget * > * table_widgets
Ui::WidgetsList ui_

Detailed Description

Porting similar functionality of rqt_py_common.paramedit_widget to C++.

This class represents a pane where parameter editor widgets of multiple nodes are shown. Example is found in rqt_reconfigure (although it's in python); this pane occupies right half of the entire visible area.

TODO: As of Apr 2013, this class can put the widgets only on virtical layout. Need to improve so that user can choose horizontal layout.

Author:
: Isaac Saito

Definition at line 62 of file widgets_list.h.


Constructor & Destructor Documentation

Definition at line 41 of file widgets_list.cpp.


Member Function Documentation

void WidgetsList::add_widget ( QString  id_widget,
QWidget *  widget 
) [private]

Add the given pair of id_widget and widget into the internal table that records the existing widgets. Then add the widget to the layout.

Parameters:
widget,:This QWidget instance MUST have a "parent" pointing to WidgetsList. This "parent" value will be used in other functions (eg. WidgetsList::remove_node).

Definition at line 55 of file widgets_list.cpp.

void WidgetsList::remove_node ( QString  widget_id) [private]
Exceptions:
ros::Exceptionwhen the given widget_id doesn't exist or no item is associated.

Definition at line 71 of file widgets_list.cpp.


Member Data Documentation

QHash<QString, QWidget*>* rqt_cpp_common::WidgetsList::table_widgets [private]

Definition at line 71 of file widgets_list.h.

Ui::WidgetsList rqt_cpp_common::WidgetsList::ui_ [private]

Definition at line 72 of file widgets_list.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


rqt_cpp_common
Author(s): Isaac Saito
autogenerated on Tue Oct 15 2013 12:38:38