Back to index

fet  5.18.0
helpaboutform.cpp
Go to the documentation of this file.
00001 /***************************************************************************
00002                           helpaboutform.cpp  -  description
00003                              -------------------
00004     begin                : Tue Apr 22 2003
00005     copyright            : (C) 2003 by Lalescu Liviu
00006     email                : Please see http://lalescu.ro/liviu/ for details about contacting Liviu Lalescu (in particular, you can find here the e-mail address)
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #include "helpaboutform.h"
00019 
00020 #include "timetable_defs.h"
00021 
00022 HelpAboutForm::HelpAboutForm(QWidget* parent): QDialog(parent)
00023 {
00024        setupUi(this);
00025        
00026        closePushButton->setDefault(true);
00027        
00028        aboutTextBrowser->setReadOnly(true);
00029        authorsTextBrowser->setReadOnly(true);
00030        translatorsTextBrowser->setReadOnly(true);
00031        referencesTextBrowser->setReadOnly(true);
00032        thanksToTextBrowser->setReadOnly(true);
00033        
00034        connect(closePushButton, SIGNAL(clicked()), this, SLOT(close()));
00035        
00036        centerWidgetOnScreen(this);
00037        restoreFETDialogGeometry(this);
00038        
00039        tabWidget->setCurrentIndex(0);
00040        
00041        aboutTextBrowser->setOpenExternalLinks(true);
00042        referencesTextBrowser->setOpenExternalLinks(true);
00043 }
00044 
00045 HelpAboutForm::~HelpAboutForm()
00046 {
00047        saveFETDialogGeometry(this);
00048 }