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
colorpickerpopup.hpp
Go to the documentation of this file.
1
#ifndef CSVWIDGET_COLORPICKERPOPUP_HPP
2
#define CSVWIDGET_COLORPICKERPOPUP_HPP
3
4
#include <QFrame>
5
6
class
QColorDialog;
7
8
namespace
CSVWidget
9
{
10
class
ColorPickerPopup
:
public
QFrame
11
{
12
Q_OBJECT
13
14
QColorDialog *
mColorPicker
;
15
16
public
:
17
explicit
ColorPickerPopup
(
QWidget
*parent);
18
19
void
showPicker
(
const
QPoint &position,
const
QColor &initialColor);
20
21
protected
:
22
virtual
void
mousePressEvent
(QMouseEvent *event);
23
virtual
void
hideEvent
(QHideEvent *event);
24
virtual
bool
eventFilter
(
QObject
*
object
, QEvent *event);
25
26
signals
:
27
void
hid
();
28
void
colorChanged
(
const
QColor &color);
29
};
30
}
31
32
#endif
CSVWidget::ColorPickerPopup::mousePressEvent
virtual void mousePressEvent(QMouseEvent *event)
Definition:
colorpickerpopup.cpp:46
signals
static const struct @2 signals[]
CSVWidget::ColorPickerPopup::eventFilter
virtual bool eventFilter(QObject *object, QEvent *event)
Definition:
colorpickerpopup.cpp:72
CSVWidget::ColorPickerPopup::colorChanged
void colorChanged(const QColor &color)
CSVWidget::ColorPickerPopup::ColorPickerPopup
ColorPickerPopup(QWidget *parent)
Definition:
colorpickerpopup.cpp:11
QWidget
CSVWidget::ColorPickerPopup::mColorPicker
QColorDialog * mColorPicker
Definition:
colorpickerpopup.hpp:14
QObject
CSVWidget::ColorPickerPopup::hideEvent
virtual void hideEvent(QHideEvent *event)
Definition:
colorpickerpopup.cpp:66
CSVWidget::ColorPickerPopup::hid
void hid()
CSVWidget::ColorPickerPopup
Definition:
colorpickerpopup.hpp:10
CSVWidget::ColorPickerPopup::showPicker
void showPicker(const QPoint &position, const QColor &initialColor)
Definition:
colorpickerpopup.cpp:36
QFrame
Generated on Tue Jan 24 2017 02:05:49 for OpenMW by
1.8.6