GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::color_picker Class Reference

#include "color-picker.h"

Inheritance diagram for octave::color_picker:
Collaboration diagram for octave::color_picker:

Public Member Functions

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

Private Slots

void select_color (void)
 

Private Member Functions

virtual void update_button (void)
 

Private Attributes

QColor m_color
 

Detailed Description

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

Constructor & Destructor Documentation

◆ color_picker()

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

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

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

Member Function Documentation

◆ color()

◆ select_color

void octave::color_picker::select_color ( void  )
privateslot

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

References m_color, and update_button().

Referenced by color_picker().

◆ update_button()

void octave::color_picker::update_button ( void  )
privatevirtual

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

References arg, m_color, and p.

Referenced by color_picker(), and select_color().

Member Data Documentation

◆ m_color

QColor octave::color_picker::m_color
private

Definition at line 55 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: