Folder Class Reference

#include <Folder.h>

List of all members.


Detailed Description

Folder for the project explorer.

Public Member Functions

MyWidgetactiveWindow ()
void addWindow (MyWidget *w)
void appendLogInfo (const QString &text)
QString birthDate ()
void clearLogInfo ()
int depth ()
 The depth of the folder in the project tree.
FolderfindSubfolder (const QString &s, bool caseSensitive=true, bool partialMatch=false)
 Pointer to the subfolder called s.
MyWidgetfindWindow (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)
FolderfolderBelow ()
FolderListItemfolderListItem ()
 Pointer to the corresponding QListViewItem in the main application.
QList< Folder * > folders ()
 The list of subfolders.
MultiLayergraph (const QString &name, bool recursive=false)
 Return graph named name or NULL.
QString logInfo ()
Matrixmatrix (const QString &name, bool recursive=false)
 Return matrix named name or NULL.
QString modificationDate ()
Notenote (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)
FolderrootFolder ()
 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.
Tabletable (const QString &name, bool recursive=false)
 Return table named name or NULL.
MyWidgetwindow (const QString &name, const char *cls="myWidget", bool recursive=false)
 get a window by name
QList< MyWidget * > windowsList ()

Protected Attributes

QString birthdate
MyWidgetd_active_window
 Pointer to the active window in the folder.
QString d_log_info
QList< MyWidget * > lstWindows
QString modifDate
FolderListItemmyFolderListItem

Constructor & Destructor Documentation

Folder::Folder ( Folder parent,
const QString &  name 
)


Member Function Documentation

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]


Member Data Documentation

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]


The documentation for this class was generated from the following files:
Generated on Thu Feb 7 13:59:28 2008 for QtiPlot by  doxygen 1.5.4