Salome HOME
Join modifications from branch BR_DEBUG_3_2_0b1
[modules/gui.git] / src / LightApp / LightApp_AboutDlg.h
1 // Copyright (C) 2005  OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D
2 // 
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either 
6 // version 2.1 of the License.
7 // 
8 // This library is distributed in the hope that it will be useful 
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public  
14 // License along with this library; if not, write to the Free Software 
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 // File:      LightApp_AboutDlg.h
20 // Created:   03.06.2005 13:49:25
21 // Author:    Sergey TELKOV
22 // Copyright (C) CEA 2005
23
24 #ifndef LIGHTAPP_ABOUTDLG_H
25 #define LIGHTAPP_ABOUTDLG_H
26
27 #include "LightApp.h"
28
29 #include <QtxDialog.h>
30
31 class QLabel;
32
33 /*!
34   \class LightApp_AboutDlg
35   LightApp help about dialog
36 */
37 class LIGHTAPP_EXPORT LightApp_AboutDlg : public QtxDialog
38 {
39   Q_OBJECT
40
41 public:
42   LightApp_AboutDlg( const QString&, const QString&, QWidget* = 0 );
43   virtual ~LightApp_AboutDlg();
44
45 protected:
46   virtual void mousePressEvent( QMouseEvent* );
47
48 private:
49   void checkLabel( QLabel* ) const;
50   void changeFont( QWidget*, const bool = false, const bool = false,
51                    const bool = false, const int = 0 ) const;
52 };
53
54 #endif