1
// ---------------------------------- helpBrowser.cpp ---------------------------------------------------------------------------
2
// Class to display the project manual in a browser
4
//===============================================================================================================================
5
//===============================================================================================================================
6
// This file is part of "luckyBackup" project
7
// Copyright 2008-2009, Loukas Avgeriou
8
// luckyBackup is distributed under the terms of the GNU General Public License
9
// luckyBackup is free software: you can redistribute it and/or modify
10
// it under the terms of the GNU General Public License as published by
11
// the Free Software Foundation, either version 3 of the License, or
12
// (at your option) any later version.
14
// luckyBackup is distributed in the hope that it will be useful,
15
// but WITHOUT ANY WARRANTY; without even the implied warranty of
16
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
// GNU General Public License for more details.
19
// You should have received a copy of the GNU General Public License
20
// along with luckyBackup. If not, see <http://www.gnu.org/licenses/>.
22
// project version : Please see "main.cpp" for project version
25
// last modified : 03 April 2009
26
//===============================================================================================================================
27
//===============================================================================================================================
29
#include "helpBrowser.h"
31
// class helpBrowser Constructor=================================================================================================
32
// Displays a simple dialog for browsing manual/index.html
33
helpBrowser::helpBrowser (QUrl helpUrl, QDialog *parent) : QDialog (parent)
36
//connect okay pushButton SLOTs ----------------
37
connect ( uiB.button_ok, SIGNAL( clicked() ), this, SLOT( okay() ) );
38
uiB.browser -> setOpenLinks(TRUE);
39
uiB.browser -> setOpenExternalLinks(FALSE);
40
uiB.browser -> setSource(helpUrl);
42
// SLOTS-------------------------------------------------------------------------------------
43
// --------------------------------okay pressed------------------------------------------------
44
void helpBrowser::okay()
49
// end of helpBrowser.cpp ---------------------------------------------------------------------------