SciDAVis
1.D4
|
Folder for the project explorer. More...
#include <Folder.h>
Public Member Functions | |
MyWidget * | activeWindow () |
void | addWindow (MyWidget *w) |
QString | birthDate () |
Folder * | findSubfolder (const QString &s, bool caseSensitive=true, bool partialMatch=false) |
Pointer to the subfolder called s. | |
MyWidget * | findWindow (const QString &s, bool windowNames, bool labels, bool caseSensitive, bool partialMatch) |
Pointer to the first window matching the search criteria. | |
Folder (Folder *parent, const QString &name) | |
FolderListItem * | folderListItem () |
Pointer to the corresponding QListViewItem in the main application. | |
QList< Folder * > | folders () const |
The list of subfolders. | |
MultiLayer * | graph (const QString &name, bool recursive=false) |
Return graph named name or NULL. | |
Matrix * | matrix (const QString &name, bool recursive=false) |
Return matrix named name or NULL. | |
QString | modificationDate () |
Note * | note (const QString &name, bool recursive=false) |
Return note named name or NULL. | |
QString | path () |
The complete path of the folder in the project tree. | |
void | removeWindow (MyWidget *w) |
Folder * | rootFolder () |
The root of the hierarchy this folder belongs to. | |
void | setActiveWindow (MyWidget *w) |
void | setBirthDate (const QString &s) |
void | setFolderListItem (FolderListItem *it) |
void | setModificationDate (const QString &s) |
QStringList | subfolders () |
The list of subfolder names, including first generation children only. | |
Table * | table (const QString &name, bool recursive=false) |
Return table named name or NULL. | |
MyWidget * | window (const QString &name, const char *cls="myWidget", bool recursive=false) |
get a window by name | |
int | windowCount (bool recursive=false) const |
QList< MyWidget * > | windowsList () |
Protected Attributes | |
QString | birthdate |
MyWidget * | d_active_window |
Pointer to the active window in the folder. | |
QList< MyWidget * > | lstWindows |
QString | modifDate |
FolderListItem * | myFolderListItem |
Folder for the project explorer.
|
inline |
References d_active_window.
Referenced by ApplicationWindow::changeFolder(), and ApplicationWindow::windowGeometryInfo().
|
inline |
References lstWindows, and MyWidget::setFolder().
Referenced by ImportOPJ::createProjectTree(), ApplicationWindow::dropFolderItems(), ApplicationWindow::initMatrix(), ApplicationWindow::initMultilayerPlot(), ApplicationWindow::initNote(), ApplicationWindow::initPlot3D(), ApplicationWindow::initTable(), and ApplicationWindow::moveFolder().
|
inline |
Folder * Folder::findSubfolder | ( | const QString & | s, |
bool | caseSensitive = true , |
||
bool | partialMatch = false |
||
) |
Pointer to the subfolder called s.
Referenced by ApplicationWindow::appendProject(), ApplicationWindow::find(), ApplicationWindow::openProject(), and MuParserScript::resolveColumnPath().
MyWidget * Folder::findWindow | ( | const QString & | s, |
bool | windowNames, | ||
bool | labels, | ||
bool | caseSensitive, | ||
bool | partialMatch | ||
) |
Pointer to the first window matching the search criteria.
References lstWindows, MyWidget::name(), and MyWidget::windowLabel().
Referenced by ApplicationWindow::find().
|
inline |
Pointer to the corresponding QListViewItem in the main application.
References myFolderListItem.
Referenced by ApplicationWindow::addFolder(), ApplicationWindow::appendProject(), ApplicationWindow::changeFolder(), ImportOPJ::createProjectTree(), ApplicationWindow::deleteFolder(), ApplicationWindow::dropFolderItems(), ApplicationWindow::find(), ApplicationWindow::folderItemDoubleClicked(), ApplicationWindow::hideAllFolderWindows(), ApplicationWindow::hideFolderWindows(), ApplicationWindow::openProject(), ApplicationWindow::renameFolder(), ApplicationWindow::showAllFolderWindows(), ApplicationWindow::startRenameFolder(), and ApplicationWindow::windowsList().
QList< Folder * > Folder::folders | ( | ) | const |
The list of subfolders.
Referenced by ApplicationWindow::rawSaveFolder(), and windowCount().
|
inline |
Return graph named name or NULL.
References window().
|
inline |
Return matrix named name or NULL.
References window().
|
inline |
References modifDate.
Referenced by ApplicationWindow::moveFolder(), and ApplicationWindow::rawSaveFolder().
|
inline |
Return note named name or NULL.
References window().
QString Folder::path | ( | ) |
The complete path of the folder in the project tree.
Referenced by ApplicationWindow::folderProperties(), FindDialog::setStartPath(), and ApplicationWindow::windowProperties().
|
inline |
Folder * Folder::rootFolder | ( | ) |
The root of the hierarchy this folder belongs to.
Referenced by MuParserScript::resolveColumnPath(), and MuParserScript::tableColumn__Function().
|
inline |
|
inline |
References birthdate.
Referenced by ApplicationWindow::appendProject(), ImportOPJ::createProjectTree(), ApplicationWindow::moveFolder(), and ApplicationWindow::openProject().
|
inline |
|
inline |
References modifDate.
Referenced by ApplicationWindow::appendProject(), ImportOPJ::createProjectTree(), ApplicationWindow::moveFolder(), and ApplicationWindow::openProject().
QStringList Folder::subfolders | ( | ) |
The list of subfolder names, including first generation children only.
Referenced by ApplicationWindow::addFolder(), ApplicationWindow::appendProject(), ApplicationWindow::dropFolderItems(), ApplicationWindow::folderProperties(), ApplicationWindow::projectProperties(), and ApplicationWindow::renameFolder().
|
inline |
Return table named name or NULL.
References window().
Referenced by MuParserScript::resolveColumnPath(), and MuParserScript::tableColumn__Function().
MyWidget * Folder::window | ( | const QString & | name, |
const char * | cls = "myWidget" , |
||
bool | recursive = false |
||
) |
get a window by name
Returns the first window with given name that inherits class cls; NULL on failure. If recursive is true, do a depth-first recursive search.
References lstWindows, and MyWidget::name().
Referenced by ImportOPJ::createProjectTree(), ApplicationWindow::deleteSelectedItems(), graph(), matrix(), note(), and table().
|
inline |
References folders(), lstWindows, and windowCount().
Referenced by ApplicationWindow::saveFolder(), and windowCount().
|
inline |
References lstWindows.
Referenced by ApplicationWindow::changeFolder(), ApplicationWindow::deleteFolder(), ApplicationWindow::executeNotes(), ApplicationWindow::folderProperties(), ApplicationWindow::hideAllFolderWindows(), ApplicationWindow::hideFolderWindows(), ApplicationWindow::moveFolder(), ApplicationWindow::rawSaveFolder(), ApplicationWindow::showAllFolderWindows(), CurvesDialog::showCurrentFolder(), ApplicationWindow::updateWindowStatus(), and ApplicationWindow::windowsList().
|
protected |
Referenced by birthDate(), Folder(), and setBirthDate().
|
protected |
Pointer to the active window in the folder.
Referenced by activeWindow(), removeWindow(), and setActiveWindow().
|
protected |
Referenced by addWindow(), findWindow(), removeWindow(), window(), windowCount(), and windowsList().
|
protected |
Referenced by modificationDate(), and setModificationDate().
|
protected |
Referenced by folderListItem(), and setFolderListItem().