Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cxHelpSearchWidget.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 #ifndef CXHELPSEARCHWIDGET_H
12 #define CXHELPSEARCHWIDGET_H
13 
14 #include <QWidget>
15 #include "boost/shared_ptr.hpp"
16 
17 QT_BEGIN_NAMESPACE
18 class QHelpSearchEngine;
19 class QVBoxLayout;
21 
22 namespace cx
23 {
24 typedef boost::shared_ptr<class HelpEngine> HelpEnginePtr;
25 
33 class HelpSearchWidget : public QWidget
34 {
35  Q_OBJECT
36 public:
37  HelpSearchWidget(HelpEnginePtr engine, QWidget* parent = NULL);
38 
39 signals:
40  void requestShowLink(const QUrl&);
41 
42 protected slots:
43  void indexingStarted();
44  void indexingFinished();
45  void searchingIsStarted();
46  void searchingIsFinished(int val);
47  void search();
48 private:
49  QVBoxLayout* mVerticalLayout;
50  HelpEnginePtr mEngine;
51  QHelpSearchEngine* helpSearchEngine;
52 };
53 
54 }//end namespace cx
55 
56 #endif // CXHELPSEARCHWIDGET_H
void requestShowLink(const QUrl &)
QT_END_NAMESPACE
void searchingIsFinished(int val)
HelpSearchWidget(HelpEnginePtr engine, QWidget *parent=NULL)
boost::shared_ptr< HelpEngine > HelpEnginePtr
Definition: cxHelpEngine.h:61
Namespace for all CustusX production code.