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

#include <OSCollapsibleItem.hpp>

+ Inheritance diagram for openstudio::OSCollapsibleItem:

Signals

void collapsableItemSelected (OSCollapsibleItem *)
 
void itemRemoveClicked (OSItem *item)
 
void itemReplacementDropped (OSItem *currentItem, const OSItemId &replacementItemId)
 
void itemSelected (OSItem *item)
 
void openLibDlgClicked ()
 
void selectionCleared ()
 

Public Member Functions

OSCollapsibleItemHeadercollapsibleItemHeader () const
 
bool expanded () const
 
bool isSelected () const
 
OSItemListitemList () const
 
bool itemsDraggable () const
 
bool itemsRemoveable () const
 
OSItemType itemsType () const
 
 OSCollapsibleItem (OSCollapsibleItemHeader *collapsibleItemHeader, OSItemList *itemList,*parent=nullptr)
 
void setExpanded (bool expanded)
 
void setItemsDraggable (bool itemsDraggable)
 
void setItemsRemoveable (bool itemsRemoveable)
 
void setItemsType (OSItemType type)
 
void setSelected (bool selected)
 
void setShowFilterLayout (const bool showFilterLayout)
 
bool showFilterLayout ()
 
virtual ~OSCollapsibleItem ()
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 

Constructor & Destructor Documentation

openstudio::OSCollapsibleItem::OSCollapsibleItem ( OSCollapsibleItemHeader collapsibleItemHeader,
OSItemList itemList,
parent = nullptr 
)
virtual openstudio::OSCollapsibleItem::~OSCollapsibleItem ( )
inlinevirtual

Member Function Documentation

void openstudio::OSCollapsibleItem::collapsableItemSelected ( OSCollapsibleItem )
signal
OSCollapsibleItemHeader* openstudio::OSCollapsibleItem::collapsibleItemHeader ( ) const
bool openstudio::OSCollapsibleItem::expanded ( ) const
bool openstudio::OSCollapsibleItem::isSelected ( ) const
OSItemList* openstudio::OSCollapsibleItem::itemList ( ) const
void openstudio::OSCollapsibleItem::itemRemoveClicked ( OSItem item)
signal
void openstudio::OSCollapsibleItem::itemReplacementDropped ( OSItem currentItem,
const OSItemId replacementItemId 
)
signal
bool openstudio::OSCollapsibleItem::itemsDraggable ( ) const
void openstudio::OSCollapsibleItem::itemSelected ( OSItem item)
signal
bool openstudio::OSCollapsibleItem::itemsRemoveable ( ) const
OSItemType openstudio::OSCollapsibleItem::itemsType ( ) const
void openstudio::OSCollapsibleItem::openLibDlgClicked ( )
signal
void openstudio::OSCollapsibleItem::paintEvent ( QPaintEvent *  event)
overrideprotected
void openstudio::OSCollapsibleItem::selectionCleared ( )
signal
void openstudio::OSCollapsibleItem::setExpanded ( bool  expanded)
void openstudio::OSCollapsibleItem::setItemsDraggable ( bool  itemsDraggable)
void openstudio::OSCollapsibleItem::setItemsRemoveable ( bool  itemsRemoveable)
void openstudio::OSCollapsibleItem::setItemsType ( OSItemType  type)
void openstudio::OSCollapsibleItem::setSelected ( bool  selected)
void openstudio::OSCollapsibleItem::setShowFilterLayout ( const bool  showFilterLayout)
bool openstudio::OSCollapsibleItem::showFilterLayout ( )