OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
CSVWidget::ColorEditor Class Reference

#include <coloreditor.hpp>

Inheritance diagram for CSVWidget::ColorEditor:
Collaboration diagram for CSVWidget::ColorEditor:

Signals

void pickingFinished ()
 

Public Member Functions

 ColorEditor (const QColor &color, QWidget *parent=0, bool popupOnStart=false)
 
QColor color () const
 
void setColor (const QColor &color)
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *event)
 
virtual void showEvent (QShowEvent *event)
 

Private Slots

void showPicker ()
 
void pickerHid ()
 
void pickerColorChanged (const QColor &color)
 

Private Member Functions

QPoint calculatePopupPosition ()
 

Private Attributes

QColor mColor
 
ColorPickerPopupmColorPicker
 
bool mPopupOnStart
 

Constructor & Destructor Documentation

CSVWidget::ColorEditor::ColorEditor ( const QColor &  color,
QWidget parent = 0,
bool  popupOnStart = false 
)

Here is the call graph for this function:

Member Function Documentation

QPoint CSVWidget::ColorEditor::calculatePopupPosition ( )
private
QColor CSVWidget::ColorEditor::color ( ) const

Here is the caller graph for this function:

void CSVWidget::ColorEditor::paintEvent ( QPaintEvent *  event)
protectedvirtual
void CSVWidget::ColorEditor::pickerColorChanged ( const QColor &  color)
privateslot

Here is the caller graph for this function:

void CSVWidget::ColorEditor::pickerHid ( )
privateslot

Here is the caller graph for this function:

void CSVWidget::ColorEditor::pickingFinished ( )
signal
void CSVWidget::ColorEditor::setColor ( const QColor &  color)

Here is the caller graph for this function:

void CSVWidget::ColorEditor::showEvent ( QShowEvent *  event)
protectedvirtual
void CSVWidget::ColorEditor::showPicker ( )
privateslot

Here is the caller graph for this function:

Member Data Documentation

QColor CSVWidget::ColorEditor::mColor
private
ColorPickerPopup* CSVWidget::ColorEditor::mColorPicker
private
bool CSVWidget::ColorEditor::mPopupOnStart
private

The documentation for this class was generated from the following files: