OpenStudio:shared_gui_components
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Slots | Signals | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
openstudio::OSGridView Class Reference

#include <OSGridView.hpp>

Public Slots

void onSelectionCleared ()
 
void refreshAll ()
 
void requestRefreshAll ()
 
void requestRefreshGrid ()
 

Signals

void dropZoneItemClicked (OSItem *item)
 
void gridRowSelectionChanged (int checkState)
 

Public Member Functions

QLayoutItem * itemAtPosition (int row, int column)
 
virtual ModelSubTabView * modelSubTabView ()
 
 OSGridView (OSGridController *gridController, const QString &headerText, const QString &dropZoneText, bool useHeader,*parent=nullptr)
 
void requestAddRow (int row)
 
void requestRemoveRow (int row)
 
virtual ~OSGridView ()
 

Public Attributes

QVBoxLayout * m_contentLayout
 
OSDropZone * m_dropZone
 

Protected Member Functions

virtual void hideEvent (QHideEvent *event) override
 
virtual void showEvent (QShowEvent *event) override
 

Constructor & Destructor Documentation

openstudio::OSGridView::OSGridView ( OSGridController gridController,
const QString &  headerText,
const QString &  dropZoneText,
bool  useHeader,
parent = nullptr 
)
virtual openstudio::OSGridView::~OSGridView ( )
inlinevirtual

Member Function Documentation

void openstudio::OSGridView::dropZoneItemClicked ( OSItem *  item)
signal
void openstudio::OSGridView::gridRowSelectionChanged ( int  checkState)
signal
virtual void openstudio::OSGridView::hideEvent ( QHideEvent *  event)
overrideprotectedvirtual
QLayoutItem* openstudio::OSGridView::itemAtPosition ( int  row,
int  column 
)
virtual ModelSubTabView* openstudio::OSGridView::modelSubTabView ( )
virtual
void openstudio::OSGridView::onSelectionCleared ( )
slot
void openstudio::OSGridView::refreshAll ( )
slot
void openstudio::OSGridView::requestAddRow ( int  row)
void openstudio::OSGridView::requestRefreshAll ( )
slot
void openstudio::OSGridView::requestRefreshGrid ( )
slot
void openstudio::OSGridView::requestRemoveRow ( int  row)
virtual void openstudio::OSGridView::showEvent ( QShowEvent *  event)
overrideprotectedvirtual

Member Data Documentation

QVBoxLayout* openstudio::OSGridView::m_contentLayout
OSDropZone* openstudio::OSGridView::m_dropZone