KVIrc 5.2.4
Developer APIs
KviTalTabDialog.h
Go to the documentation of this file.
1#ifndef _KVI_TAL_TABDIALOG_H_
2#define _KVI_TAL_TABDIALOG_H_
3//=============================================================================
4//
5// File : KviTalTabDialog.h
6// Creation date : Tue Feb 06 2007 14:35:08 by Szymon Stefanek
7//
8// This file is part of the KVIrc IRC client distribution
9// Copyright (C) 2007 Szymon Stefanek (pragma at kvirc dot net)
10// Copyright (C) 2008 Elvio Basello (hellvis69 at netsons dot org)
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#include "kvi_settings.h"
29
30#include <QDialog>
31
32class QGridLayout;
33class QTabWidget;
34
35class KVILIB_API KviTalTabDialog : public QDialog
36{
37 Q_OBJECT
38public:
39 KviTalTabDialog(QWidget * pParent = nullptr, const char * name = nullptr, bool bModal = false);
41
42protected:
43 void setOkButton(const QString &);
44 void setCancelButton(const QString &);
45 void addTab(QWidget *, const QString &);
46protected slots:
47 void okPressed();
48 void cancelPressed();
49
50private:
51 QGridLayout * m_pLayout;
52 QTabWidget * m_pTabWidget;
53signals:
56};
57
58#endif // _KVI_TAL_TABDIALOG_H_
Definition KviTalTabDialog.h:36
QGridLayout * m_pLayout
Definition KviTalTabDialog.h:51
void cancelButtonPressed()
QTabWidget * m_pTabWidget
Definition KviTalTabDialog.h:52
void applyButtonPressed()
This file contains compile time settings.
#define KVILIB_API
Definition kvi_settings.h:124