#include <phsearchimpl.h>
Inherits QMainWindow, and Ui::phMainWindow.
Inheritance diagram for PhSearchImpl:
Public Slots | |
void | fileOpen () |
void | fileExit () |
void | helpAbout () |
void | openDocument (PhraseHunter::DocID, PhraseHunter::IdxPos, size_t) |
void | openOptionsWidget () |
void | newSearchTab () |
void | closeTab () |
void | hideStatistics () |
Public Member Functions | |
PhSearchImpl () | |
~PhSearchImpl () | |
Private Member Functions | |
void | deleteCorpus () |
void | setupTabIcons () |
void | setupConnections () |
Private Attributes | |
PhraseHunter::CorpusManager * | m_corpus |
Definition at line 33 of file phsearchimpl.h.
PhSearchImpl::PhSearchImpl | ( | ) |
Definition at line 38 of file phsearchimpl.cpp.
References hideStatistics(), newSearchTab(), Ui_phMainWindow::searchKindComboBox, setupConnections(), setupTabIcons(), Ui_phMainWindow::setupUi(), and Ui_phMainWindow::tabWidget.
PhSearchImpl::~PhSearchImpl | ( | ) |
void PhSearchImpl::fileOpen | ( | ) | [slot] |
Definition at line 73 of file phsearchimpl.cpp.
References deleteCorpus(), m_corpus, PhraseHunter::CorpusManager::statisticsEngine(), Ui_phMainWindow::tabWidget, and PhraseHunter::Exceptions::Exception::what().
Referenced by setupConnections().
void PhSearchImpl::fileExit | ( | ) | [slot] |
void PhSearchImpl::helpAbout | ( | ) | [slot] |
Definition at line 174 of file phsearchimpl.cpp.
void PhSearchImpl::openDocument | ( | PhraseHunter::DocID | , | |
PhraseHunter::IdxPos | , | |||
size_t | ||||
) | [slot] |
Definition at line 179 of file phsearchimpl.cpp.
References PhraseHunter::CorpusManager::contextReader(), m_corpus, Ui_phMainWindow::sourceContextSpinBox, and Ui_phMainWindow::tabWidget.
Referenced by newSearchTab().
void PhSearchImpl::openOptionsWidget | ( | ) | [slot] |
Definition at line 107 of file phsearchimpl.cpp.
References Ui_phMainWindow::optionsDockWidget.
Referenced by setupConnections().
void PhSearchImpl::newSearchTab | ( | ) | [slot] |
Definition at line 112 of file phsearchimpl.cpp.
References Ui_phMainWindow::contextWidthSpinBox, SearchTab::enableSearch(), m_corpus, openDocument(), Ui_phMainWindow::searchKindComboBox, SearchTab::setContextWidth(), SearchTab::setQueryType(), and Ui_phMainWindow::tabWidget.
Referenced by PhSearchImpl(), setupConnections(), and setupTabIcons().
void PhSearchImpl::closeTab | ( | ) | [slot] |
Definition at line 168 of file phsearchimpl.cpp.
References Ui_phMainWindow::tabWidget.
Referenced by setupTabIcons().
void PhSearchImpl::hideStatistics | ( | ) | [slot] |
Definition at line 158 of file phsearchimpl.cpp.
References Ui_phMainWindow::sortByRankCheckBox.
Referenced by PhSearchImpl(), and setupConnections().
void PhSearchImpl::deleteCorpus | ( | ) | [private] |
Definition at line 67 of file phsearchimpl.cpp.
References m_corpus.
Referenced by fileOpen(), and ~PhSearchImpl().
void PhSearchImpl::setupTabIcons | ( | ) | [private] |
Definition at line 137 of file phsearchimpl.cpp.
References closeTab(), newSearchTab(), and Ui_phMainWindow::tabWidget.
Referenced by PhSearchImpl().
void PhSearchImpl::setupConnections | ( | ) | [private] |
Definition at line 53 of file phsearchimpl.cpp.
References Ui_phMainWindow::action_Exit, Ui_phMainWindow::action_Open, Ui_phMainWindow::actionNew_Search_Tab, Ui_phMainWindow::actionSearch_Options, fileExit(), fileOpen(), hideStatistics(), newSearchTab(), openOptionsWidget(), and Ui_phMainWindow::searchKindComboBox.
Referenced by PhSearchImpl().
Definition at line 56 of file phsearchimpl.h.
Referenced by deleteCorpus(), fileOpen(), newSearchTab(), and openDocument().