KVIrc
4.9.2
DeveloperAPIs
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
modules
options
OptionsWidgetContainer.h
Go to the documentation of this file.
1
#ifndef _CONTAINER_H_
2
#define _CONTAINER_H_
3
//=============================================================================
4
//
5
// File : OptionsWidgetContainer.h
6
// Creation date : Wed Nov 21 17:09:50 2001 GMT by Szymon Stefanek
7
//
8
// This file is part of the KVIrc IRC client distribution
9
// Copyright (C) 2001-208 Szymon Stefanek (pragma at kvirc dot net)
10
//
11
// This program is FREE software. You can redistribute it and/or
12
// modify it under the terms of the GNU General Public License
13
// as published by the Free Software Foundation; either version 2
14
// of the License, or (at your option) any later version.
15
//
16
// This program is distributed in the HOPE that it will be USEFUL,
17
// but WITHOUT ANY WARRANTY; without even the implied warranty of
18
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19
// See the GNU General Public License for more details.
20
//
21
// You should have received a copy of the GNU General Public License
22
// along with this program. If not, write to the Free Software Foundation,
23
// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24
//
25
//=============================================================================
26
27
#include "
KviOptionsWidget.h
"
28
29
#include <QDialog>
30
31
class
QPushButton;
32
class
QGridLayout;
33
34
class
OptionsWidgetContainer
:
public
QDialog
35
{
36
Q_OBJECT
37
public
:
38
OptionsWidgetContainer
(QWidget * par,
bool
bModal =
false
);
39
~OptionsWidgetContainer
();
40
41
protected
:
42
KviOptionsWidget
*
m_pOptionsWidget
;
43
QPushButton *
m_pCancel
;
44
QGridLayout *
m_pLayout
;
45
46
public
:
47
void
setup
(
KviOptionsWidget
*
w
);
48
void
setLeftCornerWidget
(QWidget * pWidget);
49
void
setNextToLeft
(QWidget * pWidget);
50
51
protected
:
52
virtual
void
closeEvent
(QCloseEvent *
e
);
53
virtual
void
showEvent
(QShowEvent *
e
);
54
virtual
void
childEvent
(QChildEvent *
e
);
55
virtual
void
reject
();
56
protected
slots:
57
void
okClicked
();
58
void
cancelClicked
();
59
void
optionsWidgetDestroyed
();
60
};
61
62
#endif //_CONTAINER_H_
OptionsWidgetContainer::setup
void setup(KviOptionsWidget *w)
Definition:
OptionsWidgetContainer.cpp:99
OptionsWidgetContainer::setLeftCornerWidget
void setLeftCornerWidget(QWidget *pWidget)
Definition:
OptionsWidgetContainer.cpp:63
OptionsWidgetContainer::showEvent
virtual void showEvent(QShowEvent *e)
Definition:
OptionsWidgetContainer.cpp:143
OptionsWidgetContainer::m_pCancel
QPushButton * m_pCancel
Definition:
OptionsWidgetContainer.h:43
OptionsWidgetContainer::optionsWidgetDestroyed
void optionsWidgetDestroyed()
Definition:
OptionsWidgetContainer.cpp:77
OptionsWidgetContainer::setNextToLeft
void setNextToLeft(QWidget *pWidget)
Definition:
OptionsWidgetContainer.cpp:70
OptionsWidgetContainer::okClicked
void okClicked()
Definition:
OptionsWidgetContainer.cpp:160
OptionsWidgetContainer::closeEvent
virtual void closeEvent(QCloseEvent *e)
Definition:
OptionsWidgetContainer.cpp:137
e
#define e
Definition:
detector.cpp:69
KviOptionsWidget
Definition:
KviOptionsWidget.h:40
OptionsWidgetContainer
Definition:
OptionsWidgetContainer.h:34
OptionsWidgetContainer::m_pOptionsWidget
KviOptionsWidget * m_pOptionsWidget
Definition:
OptionsWidgetContainer.h:42
OptionsWidgetContainer::m_pLayout
QGridLayout * m_pLayout
Definition:
OptionsWidgetContainer.h:44
OptionsWidgetContainer::cancelClicked
void cancelClicked()
Definition:
OptionsWidgetContainer.cpp:168
OptionsWidgetContainer::~OptionsWidgetContainer
~OptionsWidgetContainer()
Definition:
OptionsWidgetContainer.cpp:57
w
#define w
Definition:
detector.cpp:87
OptionsWidgetContainer::childEvent
virtual void childEvent(QChildEvent *e)
Definition:
OptionsWidgetContainer.cpp:82
OptionsWidgetContainer::reject
virtual void reject()
Definition:
OptionsWidgetContainer.cpp:155
OptionsWidgetContainer::OptionsWidgetContainer
OptionsWidgetContainer(QWidget *par, bool bModal=false)
Definition:
OptionsWidgetContainer.cpp:44
KviOptionsWidget.h
Generated on Mon May 16 2016 22:48:48 for KVIrc by
1.8.7