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

#include <ScriptsListView.hpp>

+ Inheritance diagram for openstudio::ScriptsListView:

Public Member Functions

 ScriptsListView (const openstudio::path &t_path, bool addScrollArea, bool draggable, bool removeable, const std::shared_ptr< QFileSystemWatcher > &fswatcher=std::shared_ptr< QFileSystemWatcher >(new QFileSystemWatcher()),*parent=nullptr)
 
void updateData ()
 
std::vector
< ruleset::UserScriptInfo > 
userScripts ()
 
virtual ~ScriptsListView ()
 
- Public Member Functions inherited from openstudio::OSItemList
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 ()
 

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
OSItemSelectorparent
 
- Protected Member Functions inherited from openstudio::OSItemList
void paintEvent (QPaintEvent *event) override
 

Constructor & Destructor Documentation

openstudio::ScriptsListView::ScriptsListView ( const openstudio::path &  t_path,
bool  addScrollArea,
bool  draggable,
bool  removeable,
const std::shared_ptr< QFileSystemWatcher > &  fswatcher = std::shared_ptr< QFileSystemWatcher >(new QFileSystemWatcher()),
parent = nullptr 
)
virtual openstudio::ScriptsListView::~ScriptsListView ( )
inlinevirtual

Member Function Documentation

void openstudio::ScriptsListView::updateData ( )
std::vector<ruleset::UserScriptInfo> openstudio::ScriptsListView::userScripts ( )