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-2025 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
22class QDialogButtonBox;
23class QResizeEvent;
24class QWidget;
25
26namespace Search {
27
28class CSearchAnalysisView;
29class 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
void resizeEvent(QResizeEvent *event) override
std::vector< ModuleSearchResult > Results