OpenStudioCore:openstudio_lib
 All Classes Namespaces Functions Variables Enumerations Enumerator
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
openstudio::OSItemList Class Reference

#include <OSItemList.hpp>

+ Inheritance diagram for openstudio::OSItemList:

Public Slots

void addItem (OSItem *item, bool selectItem=true)
 
void clearSelection ()
 
void selectItem (OSItem *item)
 
void selectItemId (const OSItemId &itemId)
 

Signals

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 Member Functions

OSItemfirstItem ()
 
std::vector< OSItem * > items ()
 
bool itemsDraggable () const
 
bool itemsRemoveable () const
 
OSItemType itemsType () const
 
OSItemlastItem ()
 
 OSItemList (OSVectorController *vectorController, bool addScrollArea,*parent=nullptr)
 
OSItemselectedItem () const override
 
void setItemsDraggable (bool itemsDraggable)
 
void setItemsRemoveable (bool itemsRemoveable)
 
void setItemsType (OSItemType type)
 
OSVectorControllervectorController () const
 
virtual ~OSItemList ()
 
- Public Member Functions inherited from openstudio::OSItemSelector
virtual ~OSItemSelector ()
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 

Additional Inherited Members

- Public Attributes inherited from openstudio::OSItemSelector
OSItemSelectorparent
 

Constructor & Destructor Documentation

openstudio::OSItemList::OSItemList ( OSVectorController vectorController,
bool  addScrollArea,
parent = nullptr 
)
virtual openstudio::OSItemList::~OSItemList ( )
inlinevirtual

Member Function Documentation

void openstudio::OSItemList::addItem ( OSItem item,
bool  selectItem = true 
)
slot
void openstudio::OSItemList::clearSelection ( )
slot
OSItem* openstudio::OSItemList::firstItem ( )
std::vector<OSItem *> openstudio::OSItemList::items ( )
bool openstudio::OSItemList::itemsDraggable ( ) const
bool openstudio::OSItemList::itemsRemoveable ( ) const
void openstudio::OSItemList::itemsRequested ( )
signal
OSItemType openstudio::OSItemList::itemsType ( ) const
OSItem* openstudio::OSItemList::lastItem ( )
void openstudio::OSItemList::paintEvent ( QPaintEvent *  event)
overrideprotected
OSItem* openstudio::OSItemList::selectedItem ( ) const
overridevirtual
void openstudio::OSItemList::selectItem ( OSItem item)
slot
void openstudio::OSItemList::selectItemId ( const OSItemId itemId)
slot
void openstudio::OSItemList::setItemsDraggable ( bool  itemsDraggable)
void openstudio::OSItemList::setItemsRemoveable ( bool  itemsRemoveable)
void openstudio::OSItemList::setItemsType ( OSItemType  type)
OSVectorController* openstudio::OSItemList::vectorController ( ) const