GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
color_picker Class Reference

#include "color-picker.h"

Inheritance diagram for color_picker:
Inheritance graph
[legend]
Collaboration diagram for color_picker:
Collaboration graph
[legend]

Public Member Functions

 color_picker (QColor color=QColor(0, 0, 0), QWidget *parent=0)
QColor color () const

Private Slots

void select_color ()

Private Member Functions

virtual void update_button ()

Private Attributes

QColor _color

Detailed Description

Definition at line 33 of file color-picker.h.

Constructor & Destructor Documentation

color_picker::color_picker ( QColor  color = QColor (0,0,0),
QWidget parent = 0 
)

Definition at line 34 of file color-picker.cc.

References _color, select_color(), and update_button().

Member Function Documentation

QColor color_picker::color ( ) const
inline
void color_picker::select_color ( )
privateslot

Definition at line 45 of file color-picker.cc.

References _color, and update_button().

Referenced by color_picker().

void color_picker::update_button ( )
privatevirtual

Definition at line 56 of file color-picker.cc.

References _color, and arg().

Referenced by color_picker(), and select_color().

Member Data Documentation

QColor color_picker::_color
private

Definition at line 46 of file color-picker.h.

Referenced by color(), color_picker(), select_color(), and update_button().


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