#include "color-picker.h"
Public Member Functions | |
color_picker (QColor color=QColor(0, 0, 0), QWidget *parent=nullptr) | |
QColor | color (void) const |
void | set_color (QColor new_color) |
Private Slots | |
void | select_color (void) |
Private Member Functions | |
virtual void | update_button (void) |
Private Attributes | |
QColor | m_color |
Definition at line 37 of file color-picker.h.
color_picker::color_picker | ( | QColor | color = QColor (0, 0, 0) , |
QWidget * | parent = nullptr |
||
) |
Definition at line 38 of file color-picker.cc.
References select_color().
|
inline |
Definition at line 45 of file color-picker.h.
Referenced by settings_dialog::write_changed_settings(), settings_dialog::write_lexer_settings(), settings_dialog::write_terminal_colors(), settings_dialog::write_varedit_colors(), and settings_dialog::write_workspace_colors().
|
privateslot |
Definition at line 49 of file color-picker.cc.
References m_color, and update_button().
Referenced by color_picker().
void color_picker::set_color | ( | QColor | new_color | ) |
Definition at line 61 of file color-picker.cc.
References m_color, and update_button().
Referenced by settings_dialog::update_editor_lexers(), settings_dialog::update_lexer(), settings_dialog::update_terminal_colors(), settings_dialog::update_varedit_colors(), and settings_dialog::update_workspace_colors().
|
privatevirtual |
Definition at line 68 of file color-picker.cc.
References m_color.
Referenced by select_color(), and set_color().
|
private |
Definition at line 57 of file color-picker.h.
Referenced by select_color(), set_color(), and update_button().