KVIrc  4.9.2
DeveloperAPIs
libkviabout.h
Go to the documentation of this file.
1 #ifndef _KVI_ABOUT_H_
2 #define _KVI_ABOUT_H_
3 //=============================================================================
4 //
5 // File : libkviabout.h
6 // Creation date : Tue Jul 6 1999 03:54:25 by Szymon Stefanek
7 //
8 // This file is part of the KVIrc IRC client distribution
9 // Copyright (C) 1999-2000 Till Bush (buti@geocities.com)
10 // Copyright (C) 2000-2010 Szymon Stefanek (pragma at kvirc dot net)
11 //
12 // This program is FREE software. You can redistribute it and/or
13 // modify it under the terms of the GNU General Public License
14 // as published by the Free Software Foundation; either version 2
15 // of the License, or (at your option) any later version.
16 //
17 // This program is distributed in the HOPE that it will be USEFUL,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 // See the GNU General Public License for more details.
21 //
22 // You should have received a copy of the GNU General Public License
23 // along with this program. If not, write to the Free Software Foundation,
24 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 //
26 //=============================================================================
27 
28 /*
29 #include <qdialog.h>
30 #include <qtimer.h>
31 #include <qscrollview.h>
32 #include <qpixmap.h>
33 #include <qlabel.h>
34 
35 class KviDlgAbout;
36 
37 class KviAboutLabel : public QLabel
38 {
39  Q_OBJECT
40 public:
41  KviAboutLabel(KviDlgAbout * par);
42  ~KviAboutLabel();
43 public:
44  KviDlgAbout * m_pAboutDialog;
45  QPixmap * m_pMemPixmap;
46 public:
47  virtual void drawContents(QPainter *p);
48  virtual void resizeEvent(QResizeEvent *e);
49 };
50 
51 
52 
53 class KviDlgAbout : public QDialog
54 {
55  Q_OBJECT
56 public:
57  KviDlgAbout();
58  ~KviDlgAbout();
59 //signals: // this is never used in the source (Kristoff)
60 // void closed();
61 private slots:
62  void close();
63  virtual void closeEvent(QCloseEvent *);
64 // virtual void paintEvent(QPaintEvent *);
65  void scrollText();
66 public:
67  int m_posy;
68  char * m_text;
69  KviAboutLabel * m_pfield;
70  QPixmap * m_ppix_text;
71  QPixmap * m_pBackground;
72 };
73 
74 class KviDlgBuildInfo : public QDialog
75 {
76  Q_OBJECT
77 public:
78  KviDlgBuildInfo();
79  ~KviDlgBuildInfo();
80 private slots:
81  void close();
82 private:
83  virtual void closeEvent(QCloseEvent *);
84 
85  QLabel * m_pPicLabel;
86  QLabel * m_pTextLabel;
87  QPushButton * m_pButton;
88 };
89 */
90 #endif //_KVI_ABOUT_H_