KVIrc 5.2.0
Developer APIs
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
35class KviDlgAbout;
36
37class KviAboutLabel : public QLabel
38{
39 Q_OBJECT
40public:
41 KviAboutLabel(KviDlgAbout * par);
42 ~KviAboutLabel();
43public:
44 KviDlgAbout * m_pAboutDialog;
45 QPixmap * m_pMemPixmap;
46public:
47 void drawContents(QPainter *p) override;
48 void resizeEvent(QResizeEvent *e) override;
49};
50
51
52
53class KviDlgAbout : public QDialog
54{
55 Q_OBJECT
56public:
57 KviDlgAbout();
58 ~KviDlgAbout();
59//signals: // this is never used in the source (Kristoff)
60// void closed();
61private slots:
62 void close();
63 void closeEvent(QCloseEvent *) override;
64// void paintEvent(QPaintEvent *) override;
65 void scrollText();
66public:
67 int m_posy;
68 char * m_text;
69 KviAboutLabel * m_pfield;
70 QPixmap * m_ppix_text;
71 QPixmap * m_pBackground;
72};
73
74class KviDlgBuildInfo : public QDialog
75{
76 Q_OBJECT
77public:
78 KviDlgBuildInfo();
79 ~KviDlgBuildInfo();
80private slots:
81 void close();
82private:
83 void closeEvent(QCloseEvent *) override;
84
85 QLabel * m_pPicLabel;
86 QLabel * m_pTextLabel;
87 QPushButton * m_pButton;
88};
89*/
90#endif //_KVI_ABOUT_H_