34 #include <q3listview.h> 35 #include <q3iconview.h> 46 class QDragEnterEvent;
48 class QDragLeaveEvent;
72 Folder*
findSubfolder(
const QString& s,
bool caseSensitive =
true,
bool partialMatch =
false);
76 bool caseSensitive,
bool partialMatch);
84 MdiSubWindow *
window(
const QString &name,
const char *cls=
"MdiSubWindow",
bool recursive=
false);
92 Note *
note(
const QString &name,
bool recursive=
false) {
return (
Note*)
window(name,
"Note", recursive); }
168 void setActive(
bool o );
170 virtual int rtti()
const {
return (
int)RTTI;};
198 void adjustColumns();
201 void expandedItem(Q3ListViewItem *item);
206 void contentsDropEvent( QDropEvent *e );
207 void contentsMouseMoveEvent( QMouseEvent *e );
208 void contentsMousePressEvent( QMouseEvent *e );
209 void contentsMouseDoubleClickEvent( QMouseEvent* e );
210 void keyPressEvent ( QKeyEvent * e );
215 void dragItems(QList<Q3ListViewItem *> items);
216 void dropItems(Q3ListViewItem *dest);
217 void renameItem(Q3ListViewItem *item);
218 void addFolderItem();
219 void deleteSelection();
MdiSubWindow * d_active_window
Pointer to the active window in the folder.
Definition: Folder.h:134
Folder * myFolder
Definition: Folder.h:181
An MDI window (MdiSubWindow) managing one or more Graph objects.
Definition: MultiLayer.h:64
QString modifDate
Definition: Folder.h:125
Notes window class.
Definition: Note.h:43
FolderListItem * folderListItem()
Pointer to the corresponding QListViewItem in the main application.
Definition: Folder.h:117
Matrix * matrix(const QString &name, bool recursive=false)
Return matrix named name or NULL.
Definition: Folder.h:88
QString birthDate()
Definition: Folder.h:110
FolderListItem * myFolderListItem
Definition: Folder.h:131
QString logInfo()
Definition: Folder.h:123
void addWindow(MdiSubWindow *w)
Definition: Folder.cpp:180
void setActiveWindow(MdiSubWindow *w)
Definition: Folder.h:121
MultiLayer * graph(const QString &name, bool recursive=false)
Return graph named name or NULL.
Definition: Folder.h:90
QString d_log_info
Definition: Folder.h:129
Folders list item class.
Definition: Folder.h:160
Folder * rootFolder()
The root of the hierarchy this folder belongs to.
Definition: Folder.cpp:224
QList< MdiSubWindow * > windowsList()
Definition: Folder.h:60
MdiSubWindow * findWindow(const QString &s, bool windowNames, bool labels, bool caseSensitive, bool partialMatch)
Pointer to the first window matching the search criteria.
Definition: Folder.cpp:131
Windows list item class.
Definition: Folder.h:143
Folder(Folder *parent, const QString &name)
Definition: Folder.cpp:35
MdiSubWindow * window(const QString &name, const char *cls="MdiSubWindow", bool recursive=false)
get a window by name
Definition: Folder.cpp:165
MdiSubWindow * activeWindow()
Definition: Folder.h:120
Folder for the project explorer.
Definition: Folder.h:53
QString modificationDate()
Definition: Folder.h:113
Folder * folder()
Definition: Folder.h:172
void appendLogInfo(const QString &text)
Definition: Folder.h:124
MdiSubWindow * window()
Definition: Folder.h:148
QString birthdate
Definition: Folder.h:125
3D graph widget.
Definition: Graph3D.h:62
QString sizeToString()
Size of the folder as a string.
Definition: Folder.cpp:206
Matrix worksheet class.
Definition: Matrix.h:57
Table * table(const QString &name, bool recursive=false)
Return table named name or NULL.
Definition: Folder.h:86
void clearLogInfo()
Definition: Folder.h:125
QString path()
The complete path of the folder in the project tree.
Definition: Folder.cpp:62
virtual int rtti() const
Definition: Folder.h:170
Folder list view class.
Definition: Folder.h:190
QList< MdiSubWindow * > lstWindows
Definition: Folder.h:130
int depth()
The depth of the folder in the project tree.
Definition: Folder.cpp:73
QStringList subfolders()
The list of subfolder names, including first generation children only.
Definition: Folder.cpp:50
bool mousePressed
Definition: Folder.h:222
Base class of all MDI client windows.
Definition: MdiSubWindow.h:51
void contentsMouseReleaseEvent(QMouseEvent *)
Definition: Folder.h:211
MDI window providing a spreadsheet table with column logic.
Definition: Table.h:57
Note * note(const QString &name, bool recursive=false)
Return note named name or NULL.
Definition: Folder.h:92
Graph3D * plot3D(const QString &name, bool recursive=false)
Return plot 3D named name or NULL.
Definition: Folder.h:94
Folder * findSubfolder(const QString &s, bool caseSensitive=true, bool partialMatch=false)
Pointer to the subfolder called s.
Definition: Folder.cpp:104
void setBirthDate(const QString &s)
Definition: Folder.h:111
QPoint presspos
Definition: Folder.h:223
Folder * folderBelow()
Definition: Folder.cpp:84
void removeWindow(MdiSubWindow *w)
Definition: Folder.cpp:189
void setModificationDate(const QString &s)
Definition: Folder.h:114
QList< Folder * > folders()
The list of subfolders.
Definition: Folder.cpp:42
void setFolderListItem(FolderListItem *it)
Definition: Folder.h:118
void enterEvent(QEvent *)
Definition: Folder.h:212