Gui::Dialog::DlgOnlineHelpImp Class Reference

This class implements the dialog for downloading the online documentation. More...

#include <DlgOnlineHelpImp.h>

Inheritance diagram for Gui::Dialog::DlgOnlineHelpImp:
Gui::Dialog::PreferencePage Gui::Dialog::Ui_DlgOnlineHelp

List of all members.

Public Member Functions

 DlgOnlineHelpImp (QWidget *parent=0)
 Constructs a DlgOnlineHelpImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'.
void loadSettings ()
void saveSettings ()
 ~DlgOnlineHelpImp ()
 Destroys the object and frees any allocated resources.

Static Public Member Functions

static QString getStartpage ()
 Returns the start page for the HelpView.

Protected Member Functions

void changeEvent (QEvent *e)
 Sets the strings of the subwidgets using the current language.
void on_lineEditDownload_fileNameSelected (const QString &)

Detailed Description

This class implements the dialog for downloading the online documentation.

Moreover it allows to specify location of the start page an an external browser. Here you can specify to use a proxy if necessary and some more stuff.

Author:
Werner Mayer

Definition at line 38 of file DlgOnlineHelpImp.h.


Constructor & Destructor Documentation

DlgOnlineHelpImp::DlgOnlineHelpImp ( QWidget *  parent = 0  ) 

Constructs a DlgOnlineHelpImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'.

The dialog will by default be modeless, unless you set 'modal' to TRUE to construct a modal dialog.

Definition at line 47 of file DlgOnlineHelpImp.cpp.

References Gui::FileChooser::fileName, getStartpage(), Gui::Dialog::Ui_DlgOnlineHelp::prefStartPage, Gui::FileChooser::setFileName(), Gui::FileChooser::setFilter(), and Gui::Dialog::Ui_DlgOnlineHelp::setupUi().

DlgOnlineHelpImp::~DlgOnlineHelpImp (  ) 

Destroys the object and frees any allocated resources.

Definition at line 61 of file DlgOnlineHelpImp.cpp.


Member Function Documentation

void DlgOnlineHelpImp::changeEvent ( QEvent *  e  )  [protected, virtual]

Sets the strings of the subwidgets using the current language.

Implements Gui::Dialog::PreferencePage.

Definition at line 90 of file DlgOnlineHelpImp.cpp.

References Gui::Dialog::Ui_DlgOnlineHelp::retranslateUi().

QString DlgOnlineHelpImp::getStartpage (  )  [static]

Returns the start page for the HelpView.

If none is defined the default start page "<FreeCADHome>/doc/free-cad.sourceforge.net/wiki/index.php.html" is returned.

Remarks:
It is not checked if the returned page really exists.

Definition at line 71 of file DlgOnlineHelpImp.cpp.

References App::Application::getHelpDir().

Referenced by DlgOnlineHelpImp(), and Gui::MainWindow::MainWindow().

void DlgOnlineHelpImp::loadSettings (  )  [virtual]
void DlgOnlineHelpImp::on_lineEditDownload_fileNameSelected ( const QString &  url  )  [protected]

Definition at line 100 of file DlgOnlineHelpImp.cpp.

void DlgOnlineHelpImp::saveSettings (  )  [virtual]

The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:06 2011 for FreeCAD by  doxygen 1.6.1