#include <ModelObjectListView.hpp>
Public Member Functions | |
IddObjectType | iddObjectType () const |
ModelObjectListView (const openstudio::IddObjectType &iddObjectType, const model::Model &model, bool addScrollArea, bool showLocalBCL=false,*parent=nullptr) | |
boost::optional < openstudio::model::ModelObject > | selectedModelObject () const |
virtual | ~ModelObjectListView () |
Public Member Functions inherited from openstudio::OSItemList | |
OSItem * | firstItem () |
std::vector< OSItem * > | items () |
bool | itemsDraggable () const |
bool | itemsRemoveable () const |
OSItemType | itemsType () const |
OSItem * | lastItem () |
OSItemList (OSVectorController *vectorController, bool addScrollArea,*parent=nullptr) | |
OSItem * | selectedItem () const override |
void | setItemsDraggable (bool itemsDraggable) |
void | setItemsRemoveable (bool itemsRemoveable) |
void | setItemsType (OSItemType type) |
OSVectorController * | vectorController () const |
virtual | ~OSItemList () |
Public Member Functions inherited from openstudio::OSItemSelector | |
virtual | ~OSItemSelector () |
Additional Inherited Members | |
Public Slots inherited from openstudio::OSItemList | |
void | addItem (OSItem *item, bool selectItem=true) |
void | clearSelection () |
void | selectItem (OSItem *item) |
void | selectItemId (const OSItemId &itemId) |
Signals inherited from openstudio::OSItemList | |
void | itemsRequested () |
Signals inherited from openstudio::OSItemSelector | |
void | itemRemoveClicked (OSItem *item) |
void | itemReplacementDropped (OSItem *currentItem, const OSItemId &replacementItemId) |
void | itemSelected (OSItem *item) |
void | selectionCleared () |
Public Attributes inherited from openstudio::OSItemSelector | |
OSItemSelector * | parent |
Protected Member Functions inherited from openstudio::OSItemList | |
void | paintEvent (QPaintEvent *event) override |
openstudio::ModelObjectListView::ModelObjectListView | ( | const openstudio::IddObjectType & | iddObjectType, |
const model::Model & | model, | ||
bool | addScrollArea, | ||
bool | showLocalBCL = false , |
||
* | parent = nullptr |
||
) |
|
inlinevirtual |
IddObjectType openstudio::ModelObjectListView::iddObjectType | ( | ) | const |
boost::optional<openstudio::model::ModelObject> openstudio::ModelObjectListView::selectedModelObject | ( | ) | const |