KVIrc  4.9.2
DeveloperAPIs
KviTalTabDialog.h
Go to the documentation of this file.
1 #ifndef _KVI_TAL_TABDIALOG_H_
2 #define _KVI_TAL_TABDIALOG_H_
3 
4 //=============================================================================
5 //
6 // File : KviTalTabDialog.h
7 // Creation date : Tue Feb 06 2007 14:35:08 by Szymon Stefanek
8 //
9 // This file is part of the KVIrc IRC client distribution
10 // Copyright (C) 2007 Szymon Stefanek (pragma at kvirc dot net)
11 // Copyright (C) 2008 Elvio Basello (hellvis69 at netsons dot org)
12 //
13 // This program is FREE software. You can redistribute it and/or
14 // modify it under the terms of the GNU General Public License
15 // as published by the Free Software Foundation; either version 2
16 // of the License, or (at your option) any later version.
17 //
18 // This program is distributed in the HOPE that it will be USEFUL,
19 // but WITHOUT ANY WARRANTY; without even the implied warranty of
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21 // See the GNU General Public License for more details.
22 //
23 // You should have received a copy of the GNU General Public License
24 // along with this program. If not, write to the Free Software Foundation,
25 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26 //
27 //=============================================================================
28 
29 #include "kvi_settings.h"
30 
31 #include <QDialog>
32 
33 class QGridLayout;
34 class QTabWidget;
35 
36 class KVILIB_API KviTalTabDialog : public QDialog
37 {
38  Q_OBJECT
39 public:
40  KviTalTabDialog(QWidget * pParent = 0, const char * name = 0, bool bModal = false);
41  ~KviTalTabDialog();
42 
43 protected:
44  void setOkButton(const QString &);
45  void setCancelButton(const QString &);
46  void addTab(QWidget *, const QString &);
47 protected slots:
48  void okPressed();
49  void cancelPressed();
50 
51 private:
52  QGridLayout * m_pLayout;
53  QTabWidget * m_pTabWidget;
54 signals:
55  void applyButtonPressed();
56  void cancelButtonPressed();
57 };
58 
59 #endif // _KVI_TAL_TABDIALOG_H_
QGridLayout * m_pLayout
Definition: KviTalTabDialog.h:52
Definition: KviTalTabDialog.h:36
QString name()
Definition: KviRuntimeInfo.cpp:655
QTabWidget * m_pTabWidget
Definition: KviTalTabDialog.h:53
This file contains compile time settings.
#define KVILIB_API
Definition: kvi_settings.h:125