NorMIT-nav
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;
20
QT_END_NAMESPACE
;
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
cx::HelpSearchWidget::HelpSearchWidget
HelpSearchWidget(HelpEnginePtr engine, QWidget *parent=NULL)
Definition:
cxHelpSearchWidget.cpp:26
cx::HelpSearchWidget::indexingFinished
void indexingFinished()
Definition:
cxHelpSearchWidget.cpp:63
cx::HelpEnginePtr
boost::shared_ptr< HelpEngine > HelpEnginePtr
Definition:
cxHelpEngine.h:61
cx::HelpSearchWidget::searchingIsFinished
void searchingIsFinished(int val)
Definition:
cxHelpSearchWidget.cpp:72
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::HelpSearchWidget::searchingIsStarted
void searchingIsStarted()
Definition:
cxHelpSearchWidget.cpp:68
cx::HelpSearchWidget::indexingStarted
void indexingStarted()
Definition:
cxHelpSearchWidget.cpp:58
cx::HelpSearchWidget::requestShowLink
void requestShowLink(const QUrl &)
QT_END_NAMESPACE
QT_END_NAMESPACE
Definition:
cxHelpSearchWidget.h:19
cx::HelpSearchWidget::search
void search()
Definition:
cxHelpSearchWidget.cpp:52
cx::HelpSearchWidget
Definition:
cxHelpSearchWidget.h:33
CX
source
plugins
org.custusx.help
widgets
cxHelpSearchWidget.h
Generated on Thu Jan 5 2023 03:15:52 for NorMIT-nav by
1.8.17