Ocular Engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
CheckBox.hpp
1
17
#pragma once
18
#ifndef __H__OCULAR_EDITOR_CHECK_BOX__H__
19
#define __H__OCULAR_EDITOR_CHECK_BOX__H__
20
21
#include <QtWidgets/qcheckbox.h>
22
23
//------------------------------------------------------------------------------------------
24
29
namespace
Ocular
30
{
35
namespace
Editor
36
{
42
class
CheckBox
:
public
QCheckBox
43
{
44
Q_OBJECT
45
46
public
:
47
48
CheckBox
(QWidget* parent =
nullptr
);
49
virtual
~
CheckBox
();
50
55
bool
wasEdited
(
bool
reset =
true
);
56
57
protected
:
58
59
private
slots:
60
61
void
stateChanged(
int
state);
62
63
private
:
64
65
bool
m_WasEdited;
66
};
67
}
71
}
76
//------------------------------------------------------------------------------------------
77
78
#endif
Ocular
Note: Once this library is made dynamic, this will no longer be needed.
Definition:
Common.hpp:70
Ocular::Editor::CheckBox
Definition:
CheckBox.hpp:42
Ocular::Editor::CheckBox::wasEdited
bool wasEdited(bool reset=true)
Definition:
CheckBox.cpp:46
OcularEditor
include
Widgets
Standard
CheckBox.hpp
Generated on Tue Oct 18 2016 01:28:56 for Ocular Engine by
1.8.10