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