OpenMW
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
apps
opencs
view
widget
modebutton.hpp
Go to the documentation of this file.
1
#ifndef CSV_WIDGET_MODEBUTTON_H
2
#define CSV_WIDGET_MODEBUTTON_H
3
4
#include "
pushbutton.hpp
"
5
6
class
QMenu
;
7
8
namespace
CSVWidget
9
{
10
class
SceneToolbar;
11
13
class
ModeButton
:
public
PushButton
14
{
15
Q_OBJECT
16
17
public
:
18
19
ModeButton
(
const
QIcon& icon,
const
QString& tooltip =
""
,
20
QWidget
*parent = 0);
21
23
virtual
void
activate
(
SceneToolbar
*toolbar);
24
26
virtual
void
deactivate
(
SceneToolbar
*toolbar);
27
34
virtual
bool
createContextMenu
(
QMenu
*menu);
35
};
36
}
37
38
#endif
pushbutton.hpp
QWidget
CSVWidget::PushButton
Definition:
pushbutton.hpp:13
CSVWidget::ModeButton
Specialist PushButton of Type_Mode for use in SceneToolMode.
Definition:
modebutton.hpp:13
CSVWidget::ModeButton::deactivate
virtual void deactivate(SceneToolbar *toolbar)
Default-Implementation: do nothing.
Definition:
modebutton.cpp:9
QMenu
CSVWidget::SceneToolbar
Definition:
scenetoolbar.hpp:12
CSVWidget::ModeButton::activate
virtual void activate(SceneToolbar *toolbar)
Default-Implementation: do nothing.
Definition:
modebutton.cpp:7
CSVWidget::ModeButton::createContextMenu
virtual bool createContextMenu(QMenu *menu)
Definition:
modebutton.cpp:11
CSVWidget::ModeButton::ModeButton
ModeButton(const QIcon &icon, const QString &tooltip="", QWidget *parent=0)
Definition:
modebutton.cpp:3
Generated on Tue Jan 24 2017 02:05:49 for OpenMW by
1.8.6