BibleTime
csearchanalysisdialog.h
Go to the documentation of this file.
1 /*********
2 *
3 * In the name of the Father, and of the Son, and of the Holy Spirit.
4 *
5 * This file is part of BibleTime's source code, https://bibletime.info/
6 *
7 * Copyright 1999-2021 by the BibleTime developers.
8 * The BibleTime source code is licensed under the GNU General Public License
9 * version 2.0.
10 *
11 **********/
12 
13 #pragma once
14 
15 #include <QDialog>
16 
17 #include <QObject>
18 #include <QString>
19 #include "../../../backend/cswordmodulesearch.h"
20 
21 
22 class QDialogButtonBox;
23 class QResizeEvent;
24 class QWidget;
25 
26 namespace Search {
27 
28 class CSearchAnalysisView;
29 class CSearchAnalysisScene;
30 
32  Q_OBJECT
33  public:
34  CSearchAnalysisDialog(QString searchedText,
35  CSwordModuleSearch::Results const & results,
36  QWidget * parentDialog = nullptr);
37 
38  protected: // methods:
39 
40  void resizeEvent(QResizeEvent* event) override;
41  void showEvent(QShowEvent * event) override;
42 
43  private: // Methods:
44 
45  void retranslateUi();
46 
47  private:
50  QDialogButtonBox* m_buttonBox;
51  bool m_shown = false;
52 };
53 
54 }
void showEvent(QShowEvent *event) override
CSearchAnalysisDialog(QString searchedText, CSwordModuleSearch::Results const &results, QWidget *parentDialog=nullptr)
CSearchAnalysisScene * m_analysis
void resizeEvent(QResizeEvent *event) override
CSearchAnalysisView * m_analysisView
std::vector< ModuleSearchResult > Results