QtiPlot
0.9.8.2
|
Folder for the project explorer. More...
#include <Folder.h>
Public Member Functions | |
MdiSubWindow * | activeWindow () |
void | addWindow (MdiSubWindow *w) |
void | appendLogInfo (const QString &text) |
QString | birthDate () |
void | clearLogInfo () |
int | depth () |
The depth of the folder in the project tree. More... | |
Folder * | findSubfolder (const QString &s, bool caseSensitive=true, bool partialMatch=false) |
Pointer to the subfolder called s. More... | |
MdiSubWindow * | findWindow (const QString &s, bool windowNames, bool labels, bool caseSensitive, bool partialMatch) |
Pointer to the first window matching the search criteria. More... | |
Folder (Folder *parent, const QString &name) | |
Folder * | folderBelow () |
FolderListItem * | folderListItem () |
Pointer to the corresponding QListViewItem in the main application. More... | |
QList< Folder * > | folders () |
The list of subfolders. More... | |
MultiLayer * | graph (const QString &name, bool recursive=false) |
Return graph named name or NULL. More... | |
QString | logInfo () |
Matrix * | matrix (const QString &name, bool recursive=false) |
Return matrix named name or NULL. More... | |
QString | modificationDate () |
Note * | note (const QString &name, bool recursive=false) |
Return note named name or NULL. More... | |
QString | path () |
The complete path of the folder in the project tree. More... | |
Graph3D * | plot3D (const QString &name, bool recursive=false) |
Return plot 3D named name or NULL. More... | |
void | removeWindow (MdiSubWindow *w) |
Folder * | rootFolder () |
The root of the hierarchy this folder belongs to. More... | |
void | setActiveWindow (MdiSubWindow *w) |
void | setBirthDate (const QString &s) |
void | setFolderListItem (FolderListItem *it) |
void | setModificationDate (const QString &s) |
QString | sizeToString () |
Size of the folder as a string. More... | |
QStringList | subfolders () |
The list of subfolder names, including first generation children only. More... | |
Table * | table (const QString &name, bool recursive=false) |
Return table named name or NULL. More... | |
MdiSubWindow * | window (const QString &name, const char *cls="MdiSubWindow", bool recursive=false) |
get a window by name More... | |
QList< MdiSubWindow * > | windowsList () |
Protected Attributes | |
QString | birthdate |
MdiSubWindow * | d_active_window |
Pointer to the active window in the folder. More... | |
QString | d_log_info |
QList< MdiSubWindow * > | lstWindows |
QString | modifDate |
FolderListItem * | myFolderListItem |
Folder for the project explorer.
|
inline |
void Folder::addWindow | ( | MdiSubWindow * | w) |
References d_active_window, lstWindows, and MdiSubWindow::setFolder().
Referenced by ApplicationWindow::copyFolder(), ApplicationWindow::dropFolderItems(), and MdiSubWindow::MdiSubWindow().
|
inline |
|
inline |
|
inline |
Referenced by ApplicationWindow::clearLogInfo().
int Folder::depth | ( | ) |
The depth of the folder in the project tree.
Referenced by ApplicationWindow::changeFolder(), ApplicationWindow::closeProject(), ApplicationWindow::copyFolder(), ApplicationWindow::deleteFolder(), ApplicationWindow::hideFolderWindows(), ApplicationWindow::saveFolder(), and CurvesDialog::showCurrentFolder().
Folder * Folder::findSubfolder | ( | const QString & | s, |
bool | caseSensitive = true , |
||
bool | partialMatch = false |
||
) |
Pointer to the subfolder called s.
References findSubfolder().
Referenced by ApplicationWindow::appendProject(), ApplicationWindow::find(), findSubfolder(), and ApplicationWindow::openProject().
MdiSubWindow * Folder::findWindow | ( | const QString & | s, |
bool | windowNames, | ||
bool | labels, | ||
bool | caseSensitive, | ||
bool | partialMatch | ||
) |
Pointer to the first window matching the search criteria.
References lstWindows, and MdiSubWindow::windowLabel().
Referenced by ApplicationWindow::find().
Folder * Folder::folderBelow | ( | ) |
References folders().
Referenced by ApplicationWindow::addWindowsListToCompleter(), ApplicationWindow::alreadyUsedName(), ApplicationWindow::changeFolder(), ApplicationWindow::closeProject(), ApplicationWindow::copyFolder(), ApplicationWindow::deleteFolder(), ApplicationWindow::enableCompletion(), ApplicationWindow::foldersMenuActivated(), ApplicationWindow::generateUniqueName(), ApplicationWindow::hasTable(), ApplicationWindow::hideFolderWindows(), ApplicationWindow::matrix(), ApplicationWindow::matrixNames(), ApplicationWindow::projectHas2DPlots(), ApplicationWindow::savedProject(), ApplicationWindow::saveFolder(), ApplicationWindow::setAutoUpdateTableValues(), ApplicationWindow::setMatrixUndoStackSize(), CurvesDialog::showCurrentFolder(), ApplicationWindow::table(), ApplicationWindow::tableList(), ApplicationWindow::tableNames(), ApplicationWindow::windowsList(), ApplicationWindow::windowsMenuAboutToShow(), and ApplicationWindow::windowsNameList().
|
inline |
Pointer to the corresponding QListViewItem in the main application.
References myFolderListItem.
Referenced by ApplicationWindow::addFolder(), ApplicationWindow::appendProject(), ApplicationWindow::changeFolder(), ApplicationWindow::closeProject(), ApplicationWindow::closeWindow(), ApplicationWindow::copyFolder(), ApplicationWindow::deleteFolder(), ApplicationWindow::dropFolderItems(), ApplicationWindow::find(), ApplicationWindow::folderItemDoubleClicked(), ApplicationWindow::hideAllFolderWindows(), ApplicationWindow::openProject(), ApplicationWindow::renameFolder(), ApplicationWindow::saveFolder(), ApplicationWindow::showAllFolderWindows(), and ApplicationWindow::startRenameFolder().
QList< Folder * > Folder::folders | ( | ) |
The list of subfolders.
Referenced by folderBelow().
|
inline |
Return graph named name or NULL.
References window().
|
inline |
References d_log_info.
Referenced by ApplicationWindow::changeFolder(), ApplicationWindow::clearLogInfo(), ApplicationWindow::saveFolder(), and ApplicationWindow::showResults().
|
inline |
Return matrix named name or NULL.
References window().
|
inline |
References modifDate.
Referenced by ApplicationWindow::copyFolder(), and ApplicationWindow::saveFolder().
|
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(), ApplicationWindow::windowProperties(), and ApplicationWindow::windowsMenuAboutToShow().
|
inline |
Return plot 3D named name or NULL.
References window().
void Folder::removeWindow | ( | MdiSubWindow * | w) |
References d_active_window, and lstWindows.
Referenced by ApplicationWindow::closeProject(), ApplicationWindow::closeWindow(), ApplicationWindow::deleteFolder(), and ApplicationWindow::dropFolderItems().
Folder * Folder::rootFolder | ( | ) |
The root of the hierarchy this folder belongs to.
|
inline |
|
inline |
References birthdate.
Referenced by ApplicationWindow::appendProject(), ApplicationWindow::copyFolder(), and ApplicationWindow::openProject().
|
inline |
|
inline |
References modifDate.
Referenced by ApplicationWindow::appendProject(), ApplicationWindow::copyFolder(), and ApplicationWindow::openProject().
QString Folder::sizeToString | ( | ) |
Size of the folder as a string.
References lstWindows.
Referenced by ApplicationWindow::folderProperties().
QStringList Folder::subfolders | ( | ) |
The list of subfolder names, including first generation children only.
Referenced by ApplicationWindow::addFolder(), ApplicationWindow::appendProject(), ApplicationWindow::copyFolder(), ApplicationWindow::dropFolderItems(), ApplicationWindow::folderProperties(), ApplicationWindow::projectProperties(), and ApplicationWindow::renameFolder().
|
inline |
Return table named name or NULL.
References window().
MdiSubWindow * Folder::window | ( | const QString & | name, |
const char * | cls = "MdiSubWindow" , |
||
bool | recursive = false |
||
) |
|
inline |
References lstWindows.
Referenced by ApplicationWindow::activeWindow(), CurvesDialog::addFolderItems(), ApplicationWindow::addWindowsListToCompleter(), ApplicationWindow::alreadyUsedName(), ApplicationWindow::changeFolder(), ApplicationWindow::closeProject(), ApplicationWindow::closeWindow(), ApplicationWindow::copyFolder(), ApplicationWindow::deleteFolder(), ApplicationWindow::enableCompletion(), ApplicationWindow::executeNotes(), ApplicationWindow::folderProperties(), ApplicationWindow::generateUniqueName(), ApplicationWindow::hasTable(), ApplicationWindow::hideAllFolderWindows(), ApplicationWindow::hideFolderWindows(), ApplicationWindow::matrix(), ApplicationWindow::matrixNames(), ApplicationWindow::maximizeWindow(), ApplicationWindow::projectHas2DPlots(), ApplicationWindow::savedProject(), ApplicationWindow::saveFolder(), ApplicationWindow::setAutoUpdateTableValues(), SubtractDataDialog::setCurrentFolder(), ApplicationWindow::setMatrixUndoStackSize(), ApplicationWindow::showAllFolderWindows(), AnovaDialog::showCurrentFolder(), ApplicationWindow::table(), ApplicationWindow::tableList(), ApplicationWindow::tableNames(), ApplicationWindow::updateWindowStatus(), ApplicationWindow::windowsList(), ApplicationWindow::windowsMenuAboutToShow(), ApplicationWindow::windowsMenuActivated(), and ApplicationWindow::windowsNameList().
|
protected |
Referenced by birthDate(), Folder(), and setBirthDate().
|
protected |
Pointer to the active window in the folder.
Referenced by activeWindow(), addWindow(), removeWindow(), and setActiveWindow().
|
protected |
Referenced by appendLogInfo(), and logInfo().
|
protected |
Referenced by addWindow(), findWindow(), removeWindow(), sizeToString(), window(), and windowsList().
|
protected |
Referenced by modificationDate(), and setModificationDate().
|
protected |
Referenced by folderListItem(), and setFolderListItem().