#include <ScriptFolderListView.hpp>
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 < measure::OSMeasureInfo > | 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) | |
OSCollapsibleItem * | selectedCollapsibleItem () const |
OSItem * | selectedItem () 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 | |
OSItemSelector * | parent |
Protected Member Functions inherited from openstudio::OSCollapsibleItemList | |
void | paintEvent (QPaintEvent *event) override |
openstudio::ScriptFolderListView::ScriptFolderListView | ( | const openstudio::path & | t_rootPath, |
bool | addScrollArea, | ||
bool | draggable, | ||
bool | removeable, | ||
OSItemType | headerType, | ||
* | parent = nullptr |
||
) |
|
virtual |
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<measure::OSMeasureInfo> 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 | ( | ) |
|
signal |
openstudio::path openstudio::ScriptFolderListView::selectedFolder | ( | ) | const |