source: ntrip/trunk/BNC/src/bnchlpdlg.h@ 10517

Last change on this file since 10517 was 10082, checked in by stuerze, 17 months ago

find function added in internal help contents

File size: 2.0 KB
Line 
1// Part of BNC, a utility for retrieving decoding and
2// converting GNSS data streams from NTRIP broadcasters.
3//
4// Copyright (C) 2007
5// German Federal Agency for Cartography and Geodesy (BKG)
6// http://www.bkg.bund.de
7// Czech Technical University Prague, Department of Geodesy
8// http://www.fsv.cvut.cz
9//
10// Email: euref-ip@bkg.bund.de
11//
12// This program is free software; you can redistribute it and/or
13// modify it under the terms of the GNU General Public License
14// as published by the Free Software Foundation, version 2.
15//
16// This program is distributed in the hope that it will be useful,
17// but WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19// GNU General Public License for more details.
20//
21// You should have received a copy of the GNU General Public License
22// along with this program; if not, write to the Free Software
23// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24
25#ifndef BNCHLPDLG_H
26#define BNCHLPDLG_H
27
28#include <QtCore>
29
30#include <QDialog>
31#include <QLabel>
32#include <QCheckBox>
33#include <QLineEdit>
34#include <QPushButton>
35
36class bncHtml;
37
38class bncHlpDlg : public QDialog {
39 Q_OBJECT
40
41 public:
42 bncHlpDlg(QWidget* parent, const QUrl& url);
43 ~bncHlpDlg();
44
45 signals:
46 void findNext(const QString& str, Qt::CaseSensitivity cs);
47 void findPrev(const QString& str, Qt::CaseSensitivity cs);
48
49 public slots:
50 void backwardAvailable(bool);
51 void forwardAvailable(bool);
52 void findClicked();
53 void enableBtnFind(const QString& text);
54 void slotFindNext(const QString& str, Qt::CaseSensitivity cs);
55 void slotFindPrev(const QString& str, Qt::CaseSensitivity cs);
56
57 private:
58 bncHtml* _tb;
59 QPushButton* _backButton;
60 QPushButton* _forwButton;
61 QPushButton* _closeButton;
62 QPushButton* _findButton;
63 QTextCursor _hlCursor;
64 QLabel* _label;
65 QLineEdit* _what;
66 QCheckBox* _cbCase;
67 QCheckBox* _cbBack;
68};
69
70#endif
Note: See TracBrowser for help on using the repository browser.