NCL Composer
0.1.5
Main Page
Related Pages
Classes
All
Classes
Functions
Variables
Pages
ComposerHelpWidget.h
1
/* Copyright (c) 2011 Telemidia/PUC-Rio.
2
* All rights reserved. This program and the accompanying materials
3
* are made available under the terms of the Eclipse Public License v1.0
4
* which accompanies this distribution, and is available at
5
* http://www.eclipse.org/legal/epl-v10.html
6
*
7
* Contributors:
8
* Telemidia/PUC-Rio - initial API and implementation
9
*/
10
#ifndef COMPOSERHELPWIDGET_H
11
#define COMPOSERHELPWIDGET_H
12
13
#include <QWidget>
14
15
#include <QtHelp/QHelpEngine>
16
#include <QtHelp/QHelpIndexWidget>
17
#include <QtHelp/QHelpContentWidget>
18
19
#include <QTimer>
20
#include <QNetworkReply>
21
#include <QNetworkAccessManager>
22
#include <QWebView>
23
24
namespace
composer {
25
namespace
gui {
26
30
class
HelpBrowser
:
public
QWebView
31
{
32
Q_OBJECT
33
34
public
:
35
explicit
HelpBrowser
(QHelpEngine &helpEngine, QWidget *parent = 0);
36
37
public
Q_SLOTS:
38
virtual
void
setSource(
const
QUrl &name);
39
40
private
:
41
QHelpEngine &helpEngine;
42
43
};
44
48
class
ComposerHelpWidget
:
public
QWidget
49
{
50
Q_OBJECT
51
52
public
:
53
explicit
ComposerHelpWidget
(QWidget *parent = 0);
54
55
protected
:
56
void
retranslateUi();
57
58
private
:
59
QHelpEngine helpEngine;
60
HelpBrowser
helpBrowser;
61
};
62
63
} }
// end namespace
64
#endif // COMPOSERHELPWIDGET_H
composer-gui
include
ComposerHelpWidget.h
Generated on Tue Jun 18 2013 16:03:00 for NCL Composer by
1.8.4