#include <MainWindow.h>
Definition at line 20 of file MainWindow.h.
MainWindow::MainWindow | ( | QWidget * | parent = 0 |
) |
Definition at line 27 of file MainWindow.cpp.
References connectionDialog, defaultConnectionTab, filterBuilderDockWidget, folderOpenDialog, initialise_ACE_Settings(), loadGUISettings(), setConnections(), Ui_MainWindow_BASE::setupUi(), and Ui_MainWindow_BASE::tabWidget_Connections.
MainWindow::~MainWindow | ( | ) |
Definition at line 43 of file MainWindow.cpp.
References connectionDialog, filterBuilderDockWidget, folderOpenDialog, folderTableModels, folderTreeViews, and saveGUISettings().
void MainWindow::setConnections | ( | ) | [private] |
Definition at line 54 of file MainWindow.cpp.
References Ui_MainWindow_BASE::action_ConnectionDisconnect, Ui_MainWindow_BASE::action_ConnectionOpen, Ui_MainWindow_BASE::action_FolderCommit, Ui_MainWindow_BASE::action_FolderCommitAll, Ui_MainWindow_BASE::action_FolderFilter, connectionDialog, slotConnectionDisconnect(), slotConnectionOpen(), slotCreateFolderTree(), slotFolderCommit(), slotFolderCommitAll(), and slotFolderFilter().
Referenced by MainWindow().
void MainWindow::initialise_ACE_Settings | ( | ) | [private] |
void MainWindow::closeEvent | ( | QCloseEvent * | event | ) | [private] |
Definition at line 104 of file MainWindow.cpp.
References commitAll(), and saveGUISettings().
void MainWindow::loadGUISettings | ( | ) | [private] |
void MainWindow::saveGUISettings | ( | ) | [private] |
bool MainWindow::commitAll | ( | bool | ask = false , |
|
FolderTableModel * | thisModelOnly = NULL | |||
) | [private] |
Definition at line 125 of file MainWindow.cpp.
References RootFolderTableItem::anyNew(), FolderTableModel::commit(), folderTableDockWidgets, FolderTableModel::getRootTableItem(), and slotCheckButtons().
Referenced by closeEvent(), slotConnectionDisconnect(), and slotFolderCommitAll().
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().
void MainWindow::slotCreateFolderTable | ( | const QModelIndex & | fTreeIndex | ) | [slot] |
Definition at line 434 of file MainWindow.cpp.
References FilterBuilderDockWidget::filterBuilder, filterBuilderDockWidget, FolderTreeModel::folderName(), folderOpenDialog, folderTableDockWidgets, folderTableModels, FolderOpenDialog::getChannelSelection(), FolderTreeModel::getCoolDBPtr(), FolderOpenDialog::getFolderCharacteristics(), FolderOpenDialog::getSinceIOV(), FolderOpenDialog::getTag(), FolderOpenDialog::prepare(), FolderTableDockWidget::setTableModel(), slotCheckButtons(), slotRemoveFolder(), slotTableModified(), and Ui_MainWindow_BASE::vboxLayout.
Referenced by slotCreateFolderTree().
void MainWindow::slotCreateFolderTree | ( | cool::IDatabasePtr | dbPtr, | |
const QString | connectionString | |||
) | [slot] |
Definition at line 387 of file MainWindow.cpp.
References Ui_MainWindow_BASE::action_ConnectionDisconnect, connectionCounter, connectionDialog, defaultConnectionTab, folderTreeViews, ConnectionDialog::isConnected(), slotCreateFolderTable(), and Ui_MainWindow_BASE::tabWidget_Connections.
Referenced by setConnections().
void MainWindow::slotConnectionOpen | ( | ) | [slot] |
Definition at line 527 of file MainWindow.cpp.
References connectionDialog.
Referenced by setConnections().
void MainWindow::slotConnectionDisconnect | ( | ) | [slot] |
Definition at line 308 of file MainWindow.cpp.
References Ui_MainWindow_BASE::action_ConnectionDisconnect, ConnectionDialog::closeConnection(), commitAll(), connectionDialog, defaultConnectionTab, folderTableModels, folderTreeViews, ConnectionDialog::isConnected(), removeFolder(), and Ui_MainWindow_BASE::tabWidget_Connections.
Referenced by setConnections().
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] |
Definition at line 564 of file MainWindow.cpp.
References FolderTreeModel::emitDataChanged(), folderTableDockWidgets, and folderTableModels.
Referenced by slotCreateFolderTable().
void MainWindow::slotCheckButtons | ( | bool | force = true |
) | [slot] |
Definition at line 202 of file MainWindow.cpp.
References Ui_MainWindow_BASE::action_FolderCommit, Ui_MainWindow_BASE::action_FolderCommitAll, RootFolderTableItem::anyNew(), folderTableDockWidgets, and FolderTableModel::getRootTableItem().
Referenced by commitAll(), slotCreateFolderTable(), and slotFolderCommit().
void MainWindow::slotRemoveFolder | ( | FolderTableModel * | theModel | ) | [slot] |
Definition at line 303 of file MainWindow.cpp.
References removeFolder().
Referenced by slotCreateFolderTable().
QHash< QModelIndex, FolderTableModel* > MainWindow::folderTableModels [private] |
Definition at line 29 of file MainWindow.h.
Referenced by removeFolder(), slotConnectionDisconnect(), slotCreateFolderTable(), slotTableModified(), and ~MainWindow().
QHash< const FolderTableModel*, FolderTableDockWidget* > MainWindow::folderTableDockWidgets [private] |
Definition at line 30 of file MainWindow.h.
Referenced by commitAll(), removeFolder(), slotCheckButtons(), slotCreateFolderTable(), slotFolderCommit(), and slotTableModified().
QHash< FolderTreeModel*, QTreeView* > MainWindow::folderTreeViews [private] |
Definition at line 31 of file MainWindow.h.
Referenced by slotConnectionDisconnect(), slotCreateFolderTree(), and ~MainWindow().
ConnectionDialog* MainWindow::connectionDialog [private] |
Definition at line 32 of file MainWindow.h.
Referenced by MainWindow(), setConnections(), slotConnectionDisconnect(), slotConnectionOpen(), slotCreateFolderTree(), and ~MainWindow().
FolderOpenDialog* MainWindow::folderOpenDialog [private] |
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().
QWidget* MainWindow::defaultConnectionTab [private] |
Definition at line 35 of file MainWindow.h.
Referenced by MainWindow(), slotConnectionDisconnect(), and slotCreateFolderTree().
unsigned int MainWindow::connectionCounter [private] |