#include <BCLComponentItem.hpp>
Inheritance diagram for openstudio::BCLComponentItem:Public Member Functions | |
| BCLComponentItem (const BCLComponent &component, OSItemType type,*parent=nullptr) | |
| virtual bool | equal (const openstudio::OSItem *) const override |
| virtual | ~BCLComponentItem () |
Public Member Functions inherited from openstudio::OSItem | |
| bool | draggable () const |
| bool | inspectable () const |
| bool | isDefaulted () const |
| OSItemId | itemId () const |
| QPixmap | leftPixmap () const |
| OSItem (const OSItemId &itemId, OSItemType osItemType=OSItemType::ListItem,*parent=nullptr) | |
| OSItemType | osItemType () const |
| bool | removeable () const |
| ! is the remove button visible More... | |
| QPixmap | rightPixmap () const |
| bool | selected () const |
| void | setAspectRatio (AspectRatio aspectRatio) |
| void | setDraggable (bool draggable) |
| void | setInspectable (bool inspectable) |
| void | setIsDefaulted (bool isDefaulted) |
| void | setLeftPixmap (const QPixmap &pixmap) |
| void | setOSItemType (OSItemType osItemType) |
| void | setRemoveable (bool removeable) |
| ! show / hide the remove button More... | |
| void | setRightPixmap (const QPixmap &pixmap) |
| void | setSelected (bool selected) |
| void | setText (const QString &text) |
| void | setUseLargeIcon (bool userLargeIcon) |
| QString | text () const |
| bool | useLargeIcon () |
| virtual | ~OSItem () |
Additional Inherited Members | |
Public Slots inherited from openstudio::OSItem | |
| void | onRemoveClicked () |
Signals inherited from openstudio::OSItem | |
| void | itemClicked (OSItem *) |
| void | itemRemoveClicked (OSItem *) |
| void | itemReplacementDropped (OSItem *currentItem, const OSItemId &replacementItemId) |
Static Public Member Functions inherited from openstudio::OSItem | |
| static OSItem * | makeItem (const OSItemId &itemId, OSItemType osItemType=OSItemType::ListItem) |
Static Public Attributes inherited from openstudio::OSItem | |
| static const int | BTN_HEIGHT = 20 |
| static const int | BTN_WIDTH = 20 |
| static const int | HEADER_HEIGHT = 40 |
| ! The height, if a header More... | |
| static const int | HEADER_WIDTH = ITEM_WIDTH |
| ! The width, if a header More... | |
| static const int | IMAGE_HEIGHT = 30 |
| static const int | IMAGE_WIDTH = 30 |
| static const int | ITEM_HEIGHT = 60 |
| ! The height, if a rectangle More... | |
| static const int | ITEM_SIDE = 80 |
| ! The side length, if a square More... | |
| static const int | ITEM_WIDTH = 150 |
| ! The width, if a rectangle More... | |
Protected Member Functions inherited from openstudio::OSItem | |
| void | dragEnterEvent (QDragEnterEvent *event) override |
| void | dropEvent (QDropEvent *event) override |
| bool | isBold () |
| void | leaveEvent (QEvent *event) override |
| void | mouseMoveEvent (QMouseEvent *event) override |
| void | mousePressEvent (QMouseEvent *event) override |
| void | mouseReleaseEvent (QMouseEvent *event) override |
| void | paintEvent (QPaintEvent *event) override |
| void | setBold (bool isBold) |
| void | setTextColor (QColor color=Qt::black) |
| QColor | textColor () |
Protected Attributes inherited from openstudio::OSItem | |
| MeasureBadge * | m_measureBadge |
| openstudio::BCLComponentItem::BCLComponentItem | ( | const BCLComponent & | component, |
| OSItemType | type, | ||
| * | parent = nullptr |
||
| ) |
|
inlinevirtual |
|
overridevirtual |
Implements openstudio::OSItem.