The Entities QtreeWidget.
More...
#include </home/runner/work/yarp-documentation/yarp-documentation/yarp/src/guis/yarpmanager/src-manager/entitiestreewidget.h>
The Entities QtreeWidget.
Definition at line 17 of file entitiestreewidget.h.
◆ EntitiesTreeWidget()
EntitiesTreeWidget::EntitiesTreeWidget |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
◆ addApplication()
◆ addAppTemplate()
Add an application template to the tree.
- Parameters
-
tmp | the application template |
Definition at line 176 of file entitiestreewidget.cpp.
◆ addComputer()
◆ addModule()
◆ addPort()
void EntitiesTreeWidget::addPort |
( |
QStringList |
portDetails | ) |
|
◆ clearApplications()
void EntitiesTreeWidget::clearApplications |
( |
| ) |
|
◆ clearModules()
void EntitiesTreeWidget::clearModules |
( |
| ) |
|
◆ clearPorts()
void EntitiesTreeWidget::clearPorts |
( |
| ) |
|
◆ clearResources()
void EntitiesTreeWidget::clearResources |
( |
| ) |
|
◆ clearTemplates()
void EntitiesTreeWidget::clearTemplates |
( |
| ) |
|
◆ getWidgetItemByFilename()
QTreeWidgetItem * EntitiesTreeWidget::getWidgetItemByFilename |
( |
const QString |
xmlFile | ) |
|
◆ importFiles
void EntitiesTreeWidget::importFiles |
( |
| ) |
|
|
signal |
◆ mouseMoveEvent()
void EntitiesTreeWidget::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mousePressEvent()
void EntitiesTreeWidget::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ onContext
void EntitiesTreeWidget::onContext |
( |
QPoint |
p | ) |
|
|
slot |
Called when a context menu has been requested.
- Parameters
-
p | the point where the context menu should appear |
Definition at line 471 of file entitiestreewidget.cpp.
◆ onEdit
void EntitiesTreeWidget::onEdit |
( |
| ) |
|
|
slot |
Edit an item.
Edit only leafs element of the tree that are xml representing applications, modules, or templates
Definition at line 569 of file entitiestreewidget.cpp.
◆ onEditApplication
void EntitiesTreeWidget::onEditApplication |
( |
| ) |
|
|
slot |
◆ onItemDoubleClicked
void EntitiesTreeWidget::onItemDoubleClicked |
( |
QTreeWidgetItem * |
item, |
|
|
int |
column |
|
) |
| |
|
slot |
Called when an item has been double clicked.
when an elemtn of the entities tree has been double clicked it will open its relative view in the main window
- Parameters
-
item | the item has been double clicked |
column | the column has been double clicked |
Definition at line 220 of file entitiestreewidget.cpp.
◆ onLoadFile
void EntitiesTreeWidget::onLoadFile |
( |
| ) |
|
|
slot |
Called when a file has been loaded.
It's the same as double click an item
Definition at line 538 of file entitiestreewidget.cpp.
◆ onRemove
void EntitiesTreeWidget::onRemove |
( |
| ) |
|
|
slot |
◆ onReopen
void EntitiesTreeWidget::onReopen |
( |
| ) |
|
|
slot |
◆ onSelectItem
void EntitiesTreeWidget::onSelectItem |
( |
QString |
name, |
|
|
bool |
open = false |
|
) |
| |
|
slot |
◆ openFiles
void EntitiesTreeWidget::openFiles |
( |
| ) |
|
|
signal |
◆ removeApplication
void EntitiesTreeWidget::removeApplication |
( |
QString |
, |
|
|
QString |
|
|
) |
| |
|
signal |
◆ removeModule
void EntitiesTreeWidget::removeModule |
( |
QString |
| ) |
|
|
signal |
◆ removeResource
void EntitiesTreeWidget::removeResource |
( |
QString |
| ) |
|
|
signal |
◆ reopenApplication
void EntitiesTreeWidget::reopenApplication |
( |
QString |
, |
|
|
QString |
|
|
) |
| |
|
signal |
◆ reopenModule
void EntitiesTreeWidget::reopenModule |
( |
QString |
, |
|
|
QString |
|
|
) |
| |
|
signal |
◆ reopenResource
void EntitiesTreeWidget::reopenResource |
( |
QString |
, |
|
|
QString |
|
|
) |
| |
|
signal |
◆ setExtEditor()
void EntitiesTreeWidget::setExtEditor |
( |
std::string |
editor | ) |
|
◆ viewApplication
◆ viewModule
◆ viewResource
The documentation for this class was generated from the following files: