00001 /*************************************************************************** 00002 qgshelpviewer.cpp 00003 Simple help browser 00004 ------------------- 00005 begin : 2004-01-28 00006 copyright : (C) 2004 by Gary E.Sherman 00007 email : sherman at mrcc.com 00008 ***************************************************************************/ 00009 00010 /*************************************************************************** 00011 * * 00012 * This program is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU General Public License as published by * 00014 * the Free Software Foundation; either version 2 of the License, or * 00015 * (at your option) any later version. * 00016 * * 00017 ***************************************************************************/ 00018 /* $Id: qgshelpviewer.cpp 9138 2008-08-23 21:37:31Z jef $ */ 00019 00020 #include "qgshelpviewer.h" 00021 00022 #include <QString> 00023 00024 QgsHelpViewer::QgsHelpViewer( QWidget * parent, Qt::WFlags fl ) 00025 : QDialog( parent, fl ) 00026 { 00027 setupUi( this ); 00028 } 00029 00030 /* 00031 * Destroys the object and frees any allocated resources 00032 */ 00033 QgsHelpViewer::~QgsHelpViewer() 00034 { 00035 // no need to delete child widgets, Qt does it all for us 00036 } 00037 void QgsHelpViewer::showContent( QString path, QString doc ) 00038 { 00039 //textBrowser->mimeSourceFactory()->addFilePath(path); 00040 //textBrowser->setSource(doc); 00041 }
1.5.1