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

#include <ScriptFolderListView.hpp>

+ Inheritance diagram for openstudio::ScriptFolderListView:

Signals

void scriptListChanged ()
 
- Signals inherited from openstudio::OSCollapsibleItemList
void openLibDlgClicked ()
 
- 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

void addScriptFolder (const openstudio::path &t_path, const std::string &name)
 
void addScriptToFolder (const openstudio::path &t_path, const openstudio::path &folder_name)
 
void createEmptyScript (const openstudio::path &t_folder_name)
 
void duplicateScript (const openstudio::path &t_path)
 
std::string folderName (const openstudio::path &folder) const
 
std::vector< openstudio::path > folders () const
 
std::vector
< ruleset::UserScriptInfo > 
folderUserScripts (const openstudio::path &folder) const
 
std::shared_ptr
< QFileSystemWatcher > 
fsWatcher () const
 
void removeScript (const openstudio::path &t_path)
 
openstudio::path rootPath () const
 
void saveOSArguments ()
 
 ScriptFolderListView (const openstudio::path &t_rootPath, bool addScrollArea, bool draggable, bool removeable, OSItemType headerType,*parent=nullptr)
 
openstudio::path selectedFolder () const
 
virtual ~ScriptFolderListView ()
 
- Public Member Functions inherited from openstudio::OSCollapsibleItemList
void addCollapsibleItem (OSCollapsibleItem *collapsibleItem)
 
bool itemsDraggable () const
 
bool itemsRemoveable () const
 
OSItemType itemsType () const
 
 OSCollapsibleItemList (bool addScrollArea,*parent=nullptr)
 
OSCollapsibleItemselectedCollapsibleItem () const
 
OSItemselectedItem () const override
 
void setItemsDraggable (bool itemsDraggable)
 
void setItemsRemoveable (bool itemsRemoveable)
 
void setItemsType (OSItemType type)
 
void setShowFilterLayout (const bool showFilterLayout)
 
bool showFilterLayout () const
 
virtual ~OSCollapsibleItemList ()
 
- Public Member Functions inherited from openstudio::OSItemSelector
virtual ~OSItemSelector ()
 

Additional Inherited Members

- Public Attributes inherited from openstudio::OSItemSelector
OSItemSelectorparent
 
- Protected Member Functions inherited from openstudio::OSCollapsibleItemList
void paintEvent (QPaintEvent *event) override
 

Constructor & Destructor Documentation

openstudio::ScriptFolderListView::ScriptFolderListView ( const openstudio::path &  t_rootPath,
bool  addScrollArea,
bool  draggable,
bool  removeable,
OSItemType  headerType,
parent = nullptr 
)
virtual openstudio::ScriptFolderListView::~ScriptFolderListView ( )
virtual

Member Function Documentation

void openstudio::ScriptFolderListView::addScriptFolder ( const openstudio::path &  t_path,
const std::string &  name 
)
void openstudio::ScriptFolderListView::addScriptToFolder ( const openstudio::path &  t_path,
const openstudio::path &  folder_name 
)
void openstudio::ScriptFolderListView::createEmptyScript ( const openstudio::path &  t_folder_name)
void openstudio::ScriptFolderListView::duplicateScript ( const openstudio::path &  t_path)
std::string openstudio::ScriptFolderListView::folderName ( const openstudio::path &  folder) const
std::vector<openstudio::path> openstudio::ScriptFolderListView::folders ( ) const
std::vector<ruleset::UserScriptInfo> openstudio::ScriptFolderListView::folderUserScripts ( const openstudio::path &  folder) const
std::shared_ptr<QFileSystemWatcher> openstudio::ScriptFolderListView::fsWatcher ( ) const
void openstudio::ScriptFolderListView::removeScript ( const openstudio::path &  t_path)
openstudio::path openstudio::ScriptFolderListView::rootPath ( ) const
void openstudio::ScriptFolderListView::saveOSArguments ( )
void openstudio::ScriptFolderListView::scriptListChanged ( )
signal
openstudio::path openstudio::ScriptFolderListView::selectedFolder ( ) const