Choreonoid
1.1
|
#include <LinkTreeWidget.h>
公開型 | |
enum | ListingMode { LINK_LIST, LINK_TREE, JOINT_LIST, JOINT_TREE, PART_TREE } |
typedef boost::function< void(const LinkTreeItem *item, int role, QVariant &out_value)> | ColumnDataFunction |
typedef boost::function< void(const LinkTreeItem *item, int role, const QVariant &value)> | ColumnSetDataFunction |
typedef boost::function< QWidget *(const LinkTreeItem *item)> | ColumnWidgetFunction |
公開メンバ関数 | |
LinkTreeWidget (QWidget *parent=0) | |
virtual | ~LinkTreeWidget () |
void | setDefaultExpansionLevel (int level) |
void | enableCache (bool on) |
ComboBox * | listingModeCombo () |
void | setListingMode (ListingMode mode) |
void | fixListingMode (bool on=true) |
SignalProxy< boost::signal< void(bool isInitialCreation)> > | sigUpdateRequest () |
void | setBodyItem (BodyItemPtr bodyItem) |
BodyItem * | bodyItem () |
int | addColumn () |
int | addColumn (const QString &headerText) |
void | setColumnDataFunction (int column, ColumnDataFunction func) |
void | setColumnSetDataFunction (int column, ColumnSetDataFunction func) |
void | setColumnWidgetFunction (int column, ColumnWidgetFunction func) |
void | moveVisualColumnIndex (int column, int visualIndex) |
int | nameColumn () |
int | jointIdColumn () |
void | setAlignedItemWidget (LinkTreeItem *item, int column, QWidget *widget, Qt::Alignment alignment=Qt::AlignCenter) |
QWidget * | alignedItemWidget (LinkTreeItem *item, int column) |
void | addCustomRow (LinkTreeItem *treeItem) |
LinkTreeItem * | itemOfLink (int linkIndex) |
int | numLinkTreeItems () |
SignalProxy< boost::signal< void(LinkTreeItem *item, int column)> > | sigItemChanged () |
SignalProxy< boost::signal< void()> > | sigSelectionChanged () |
const std::vector< int > & | getSelectedLinkIndices () |
const boost::dynamic_bitset & | getLinkSelection () |
SignalProxy< boost::signal< void()> > | sigSelectionChanged (BodyItemPtr bodyItem) |
This signal is available after calling 'enableCache(true)'. [詳解] | |
const std::vector< int > & | getSelectedLinkIndices (BodyItemPtr bodyItem) |
This member is available after calling 'enableCache(true)'. [詳解] | |
const boost::dynamic_bitset & | getLinkSelection (BodyItemPtr bodyItem) |
This member is available after calling 'enableCache(true)'. [詳解] | |
MenuManager & | popupMenuManager () |
bool | makeSingleSelection (BodyItemPtr bodyItem, int linkIndex) |
void | enableArchiveOfCurrentBodyItem (bool on) |
bool | storeState (Archive &archive) |
bool | restoreState (const Archive &archive) |
限定公開メンバ関数 | |
virtual void | changeEvent (QEvent *event) |
フレンド | |
class | LinkTreeItem |
typedef boost::function<void(const LinkTreeItem* item, int role, QVariant& out_value)> cnoid::LinkTreeWidget::ColumnDataFunction |
typedef boost::function<void(const LinkTreeItem* item, int role, const QVariant& value)> cnoid::LinkTreeWidget::ColumnSetDataFunction |
typedef boost::function<QWidget*(const LinkTreeItem* item)> cnoid::LinkTreeWidget::ColumnWidgetFunction |
LinkTreeWidget::LinkTreeWidget | ( | QWidget * | parent = 0 | ) |
|
virtual |
int LinkTreeWidget::addColumn | ( | ) |
int LinkTreeWidget::addColumn | ( | const QString & | headerText | ) |
void LinkTreeWidget::addCustomRow | ( | LinkTreeItem * | treeItem | ) |
QWidget * LinkTreeWidget::alignedItemWidget | ( | LinkTreeItem * | item, |
int | column | ||
) |
BodyItem * LinkTreeWidget::bodyItem | ( | ) |
|
protectedvirtual |
void LinkTreeWidget::enableArchiveOfCurrentBodyItem | ( | bool | on | ) |
void LinkTreeWidget::enableCache | ( | bool | on | ) |
void LinkTreeWidget::fixListingMode | ( | bool | on = true | ) |
const boost::dynamic_bitset & LinkTreeWidget::getLinkSelection | ( | ) |
const boost::dynamic_bitset & LinkTreeWidget::getLinkSelection | ( | BodyItemPtr | bodyItem | ) |
This member is available after calling 'enableCache(true)'.
const std::vector< int > & LinkTreeWidget::getSelectedLinkIndices | ( | ) |
const std::vector< int > & LinkTreeWidget::getSelectedLinkIndices | ( | BodyItemPtr | bodyItem | ) |
This member is available after calling 'enableCache(true)'.
LinkTreeItem * LinkTreeWidget::itemOfLink | ( | int | linkIndex | ) |
int LinkTreeWidget::jointIdColumn | ( | ) |
ComboBox * LinkTreeWidget::listingModeCombo | ( | ) |
bool LinkTreeWidget::makeSingleSelection | ( | BodyItemPtr | bodyItem, |
int | linkIndex | ||
) |
void LinkTreeWidget::moveVisualColumnIndex | ( | int | column, |
int | visualIndex | ||
) |
int LinkTreeWidget::nameColumn | ( | ) |
int LinkTreeWidget::numLinkTreeItems | ( | ) |
MenuManager & LinkTreeWidget::popupMenuManager | ( | ) |
bool LinkTreeWidget::restoreState | ( | const Archive & | archive | ) |
void LinkTreeWidget::setAlignedItemWidget | ( | LinkTreeItem * | item, |
int | column, | ||
QWidget * | widget, | ||
Qt::Alignment | alignment = Qt::AlignCenter |
||
) |
void LinkTreeWidget::setBodyItem | ( | BodyItemPtr | bodyItem | ) |
void LinkTreeWidget::setColumnDataFunction | ( | int | column, |
ColumnDataFunction | func | ||
) |
void LinkTreeWidget::setColumnSetDataFunction | ( | int | column, |
ColumnSetDataFunction | func | ||
) |
void LinkTreeWidget::setColumnWidgetFunction | ( | int | column, |
ColumnWidgetFunction | func | ||
) |
void LinkTreeWidget::setDefaultExpansionLevel | ( | int | level | ) |
void LinkTreeWidget::setListingMode | ( | ListingMode | mode | ) |
SignalProxy< boost::signal< void(LinkTreeItem *item, int column)> > LinkTreeWidget::sigItemChanged | ( | ) |
SignalProxy< boost::signal< void()> > LinkTreeWidget::sigSelectionChanged | ( | ) |
SignalProxy< boost::signal< void()> > LinkTreeWidget::sigSelectionChanged | ( | BodyItemPtr | bodyItem | ) |
This signal is available after calling 'enableCache(true)'.
SignalProxy< boost::signal< void(bool isInitialCreation)> > LinkTreeWidget::sigUpdateRequest | ( | ) |
bool LinkTreeWidget::storeState | ( | Archive & | archive | ) |
|
friend |