BibleTime
|
#include <csearchanalysisscene.h>
Public Member Functions | |
CSearchAnalysisScene (QString searchedText, CSwordModuleSearch::Results const &results, QObject *parent) | |
void | resizeHeight (int height) |
void | saveAsHTML () const |
Static Public Member Functions | |
static QColor | getColor (int index) |
Protected Slots | |
void | slotResized () |
Private Member Functions | |
void | saveAsHTML (QTextStream &out) const |
Private Attributes | |
std::map< std::tuple< char, char >, CSearchAnalysisItem * > | m_itemList |
std::unique_ptr< CSearchAnalysisLegendItem > | m_legend |
std::size_t | m_maxCount = 0 |
CSwordModuleSearch::Results | m_results |
QString const | m_searchedText |
Definition at line 31 of file csearchanalysisscene.h.
Search::CSearchAnalysisScene::CSearchAnalysisScene | ( | QString | searchedText, |
CSwordModuleSearch::Results const & | results, | ||
QObject * | parent | ||
) |
Definition at line 51 of file csearchanalysisscene.cpp.
References Search::BAR_DELTAX, Search::BAR_WIDTH, CSwordModuleInfo::Bible, BT_ASSERT, CSwordModuleInfo::Commentary, Search::CSearchAnalysisItem::counts(), getColor(), Search::ITEM_TEXT_SIZE, Search::LEFT_BORDER, Search::LEGEND_DELTAY, Search::LEGEND_INNER_BORDER, Search::LEGEND_WIDTH, m_itemList, m_legend, m_maxCount, m_results, Search::RIGHT_BORDER, ROW_END, ROW_START, slotResized(), Search::SPACE_BETWEEN_PARTS, and Search::UPPER_BORDER.
|
static |
This function returns a color for each module
This function returns a color for each module
Definition at line 176 of file csearchanalysisscene.cpp.
Referenced by CSearchAnalysisScene(), Search::CSearchAnalysisItem::paint(), and Search::CSearchAnalysisLegendItem::paint().
void Search::CSearchAnalysisScene::resizeHeight | ( | int | height | ) |
resize the height of the scene
Definition at line 286 of file csearchanalysisscene.cpp.
References slotResized().
Referenced by Search::CSearchAnalysisDialog::resizeEvent().
void Search::CSearchAnalysisScene::saveAsHTML | ( | ) | const |
Definition at line 203 of file csearchanalysisscene.cpp.
References saveAsHTML(), and util::tool::savePlainFile().
Referenced by Search::CSearchAnalysisDialog::CSearchAnalysisDialog(), and saveAsHTML().
|
private |
Definition at line 221 of file csearchanalysisscene.cpp.
References m_itemList, m_results, and m_searchedText.
|
protectedslot |
No descriptions
Definition at line 156 of file csearchanalysisscene.cpp.
References Search::BAR_DELTAX, Search::BAR_DELTAY, Search::BAR_LOWER_BORDER, Search::BAR_WIDTH, Search::LOWER_BORDER, m_itemList, m_maxCount, m_results, and Search::UPPER_BORDER.
Referenced by CSearchAnalysisScene(), and resizeHeight().
|
private |
Definition at line 65 of file csearchanalysisscene.h.
Referenced by CSearchAnalysisScene(), saveAsHTML(), and slotResized().
|
private |
Definition at line 67 of file csearchanalysisscene.h.
Referenced by CSearchAnalysisScene().
|
private |
Definition at line 66 of file csearchanalysisscene.h.
Referenced by CSearchAnalysisScene(), and slotResized().
|
private |
Definition at line 64 of file csearchanalysisscene.h.
Referenced by CSearchAnalysisScene(), saveAsHTML(), and slotResized().
|
private |
Definition at line 63 of file csearchanalysisscene.h.
Referenced by saveAsHTML().