#include <Folder.h>
Public Member Functions | |
MyWidget * | activeWindow () |
void | addWindow (MyWidget *w) |
void | appendLogInfo (const QString &text) |
QString | birthDate () |
void | clearLogInfo () |
int | depth () |
The depth of the folder in the project tree. | |
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) | |
Folder * | folderBelow () |
FolderListItem * | folderListItem () |
Pointer to the corresponding QListViewItem in the main application. | |
QList< Folder * > | folders () |
The list of subfolders. | |
MultiLayer * | graph (const QString &name, bool recursive=false) |
Return graph named name or NULL. | |
QString | logInfo () |
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) |
QString | sizeToString () |
Size of the folder as a string. | |
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 | |
QList< MyWidget * > | windowsList () |
Protected Attributes | |
QString | birthdate |
MyWidget * | d_active_window |
Pointer to the active window in the folder. | |
QString | d_log_info |
QList< MyWidget * > | lstWindows |
QString | modifDate |
FolderListItem * | myFolderListItem |
Folder::Folder | ( | Folder * | parent, | |
const QString & | name | |||
) |
MyWidget* Folder::activeWindow | ( | ) | [inline] |
void Folder::addWindow | ( | MyWidget * | w | ) |
void Folder::appendLogInfo | ( | const QString & | text | ) | [inline] |
QString Folder::birthDate | ( | ) | [inline] |
void Folder::clearLogInfo | ( | ) | [inline] |
int Folder::depth | ( | ) |
The depth of the folder in the project tree.
Folder * Folder::findSubfolder | ( | const QString & | s, | |
bool | caseSensitive = true , |
|||
bool | partialMatch = false | |||
) |
Pointer to the subfolder called s.
MyWidget * Folder::findWindow | ( | const QString & | s, | |
bool | windowNames, | |||
bool | labels, | |||
bool | caseSensitive, | |||
bool | partialMatch | |||
) |
Pointer to the first window matching the search criteria.
Folder * Folder::folderBelow | ( | ) |
FolderListItem* Folder::folderListItem | ( | ) | [inline] |
Pointer to the corresponding QListViewItem in the main application.
QList< Folder * > Folder::folders | ( | ) |
The list of subfolders.
MultiLayer* Folder::graph | ( | const QString & | name, | |
bool | recursive = false | |||
) | [inline] |
Return graph named name or NULL.
QString Folder::logInfo | ( | ) | [inline] |
Matrix* Folder::matrix | ( | const QString & | name, | |
bool | recursive = false | |||
) | [inline] |
Return matrix named name or NULL.
QString Folder::modificationDate | ( | ) | [inline] |
Note* Folder::note | ( | const QString & | name, | |
bool | recursive = false | |||
) | [inline] |
Return note named name or NULL.
QString Folder::path | ( | ) |
The complete path of the folder in the project tree.
void Folder::removeWindow | ( | MyWidget * | w | ) |
Folder * Folder::rootFolder | ( | ) |
The root of the hierarchy this folder belongs to.
void Folder::setActiveWindow | ( | MyWidget * | w | ) | [inline] |
void Folder::setBirthDate | ( | const QString & | s | ) | [inline] |
void Folder::setFolderListItem | ( | FolderListItem * | it | ) | [inline] |
void Folder::setModificationDate | ( | const QString & | s | ) | [inline] |
QString Folder::sizeToString | ( | ) |
Size of the folder as a string.
QStringList Folder::subfolders | ( | ) |
The list of subfolder names, including first generation children only.
Table* Folder::table | ( | const QString & | name, | |
bool | recursive = false | |||
) | [inline] |
Return table named name or NULL.
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.
QList<MyWidget *> Folder::windowsList | ( | ) | [inline] |
QString Folder::birthdate [protected] |
MyWidget* Folder::d_active_window [protected] |
Pointer to the active window in the folder.
QString Folder::d_log_info [protected] |
QList<MyWidget *> Folder::lstWindows [protected] |
QString Folder::modifDate [protected] |
FolderListItem* Folder::myFolderListItem [protected] |