MainWindow Class Reference

#include <MainWindow.h>

Inheritance diagram for MainWindow:

Inheritance graph
[legend]
Collaboration diagram for MainWindow:

Collaboration graph
[legend]

List of all members.

Public Slots

void slotCreateFolderTable (const QModelIndex &fTreeIndex)
void slotCreateFolderTree (cool::IDatabasePtr dbPtr, const QString connectionString)
void slotConnectionOpen ()
void slotConnectionDisconnect ()
void slotFolderCommit ()
void slotFolderCommitAll ()
void slotFolderFilter (bool enabled)
void slotTableModified (const FolderTableModel *modifiedModel, const bool changed)
void slotCheckButtons (bool force=true)
void slotRemoveFolder (FolderTableModel *theModel)

Public Member Functions

 MainWindow (QWidget *parent=0)
 ~MainWindow ()

Private Member Functions

void setConnections ()
void initialise_ACE_Settings ()
void closeEvent (QCloseEvent *event)
void loadGUISettings ()
void saveGUISettings ()
bool commitAll (bool ask=false, FolderTableModel *thisModelOnly=NULL)
void removeFolder (FolderTableModel *theModel, QModelIndex treeIndex=QModelIndex())
void testRoutine ()

Private Attributes

QHash< QModelIndex,
FolderTableModel * > 
folderTableModels
QHash< const FolderTableModel
*, FolderTableDockWidget * > 
folderTableDockWidgets
QHash< FolderTreeModel
*, QTreeView * > 
folderTreeViews
ConnectionDialogconnectionDialog
FolderOpenDialogfolderOpenDialog
FilterBuilderDockWidgetfilterBuilderDockWidget
QWidget * defaultConnectionTab
unsigned int connectionCounter


Detailed Description

Definition at line 20 of file MainWindow.h.


Constructor & Destructor Documentation

MainWindow::MainWindow ( QWidget *  parent = 0  ) 

MainWindow::~MainWindow (  ) 

Definition at line 43 of file MainWindow.cpp.

References connectionDialog, filterBuilderDockWidget, folderOpenDialog, folderTableModels, folderTreeViews, and saveGUISettings().

Here is the call graph for this function:


Member Function Documentation

void MainWindow::setConnections (  )  [private]

void MainWindow::initialise_ACE_Settings (  )  [private]

Definition at line 73 of file MainWindow.cpp.

Referenced by MainWindow().

void MainWindow::closeEvent ( QCloseEvent *  event  )  [private]

Definition at line 104 of file MainWindow.cpp.

References commitAll(), and saveGUISettings().

Here is the call graph for this function:

void MainWindow::loadGUISettings (  )  [private]

Definition at line 80 of file MainWindow.cpp.

Referenced by MainWindow().

void MainWindow::saveGUISettings (  )  [private]

Definition at line 94 of file MainWindow.cpp.

Referenced by closeEvent(), and ~MainWindow().

bool MainWindow::commitAll ( bool  ask = false,
FolderTableModel thisModelOnly = NULL 
) [private]

void MainWindow::removeFolder ( FolderTableModel theModel,
QModelIndex  treeIndex = QModelIndex() 
) [private]

Definition at line 265 of file MainWindow.cpp.

References folderTableDockWidgets, and folderTableModels.

Referenced by slotConnectionDisconnect(), and slotRemoveFolder().

void MainWindow::testRoutine (  )  [private]

Definition at line 581 of file MainWindow.cpp.

References cool::openDatabase().

Here is the call graph for this function:

void MainWindow::slotCreateFolderTable ( const QModelIndex &  fTreeIndex  )  [slot]

void MainWindow::slotCreateFolderTree ( cool::IDatabasePtr  dbPtr,
const QString  connectionString 
) [slot]

void MainWindow::slotConnectionOpen (  )  [slot]

Definition at line 527 of file MainWindow.cpp.

References connectionDialog.

Referenced by setConnections().

void MainWindow::slotConnectionDisconnect (  )  [slot]

void MainWindow::slotFolderCommit (  )  [slot]

Definition at line 174 of file MainWindow.cpp.

References FolderTableModel::commit(), folderTableDockWidgets, and slotCheckButtons().

Referenced by setConnections().

void MainWindow::slotFolderCommitAll (  )  [slot]

Definition at line 169 of file MainWindow.cpp.

References commitAll().

Referenced by setConnections().

void MainWindow::slotFolderFilter ( bool  enabled  )  [slot]

Definition at line 532 of file MainWindow.cpp.

References filterBuilderDockWidget.

Referenced by setConnections().

void MainWindow::slotTableModified ( const FolderTableModel modifiedModel,
const bool  changed 
) [slot]

void MainWindow::slotCheckButtons ( bool  force = true  )  [slot]

void MainWindow::slotRemoveFolder ( FolderTableModel theModel  )  [slot]

Definition at line 303 of file MainWindow.cpp.

References removeFolder().

Referenced by slotCreateFolderTable().


Member Data Documentation

QHash< QModelIndex, FolderTableModel* > MainWindow::folderTableModels [private]

QHash< FolderTreeModel*, QTreeView* > MainWindow::folderTreeViews [private]

Definition at line 31 of file MainWindow.h.

Referenced by slotConnectionDisconnect(), slotCreateFolderTree(), and ~MainWindow().

Definition at line 33 of file MainWindow.h.

Referenced by MainWindow(), slotCreateFolderTable(), and ~MainWindow().

Definition at line 34 of file MainWindow.h.

Referenced by MainWindow(), slotCreateFolderTable(), slotFolderFilter(), and ~MainWindow().

Definition at line 35 of file MainWindow.h.

Referenced by MainWindow(), slotConnectionDisconnect(), and slotCreateFolderTree().

unsigned int MainWindow::connectionCounter [private]

Definition at line 36 of file MainWindow.h.

Referenced by slotCreateFolderTree().


Generated on Wed Oct 8 14:59:50 2008 for ACE - A COOL Editor by  doxygen 1.5.6