Cppcheck
Public Slots | Signals | Public Member Functions | Private Attributes | List of all members
SelectColorButton Class Reference

#include <codeeditstylecontrols.h>

Inheritance diagram for SelectColorButton:

Public Slots

void updateColor ()
 
void changeColor ()
 

Signals

void colorChanged (const QColor &newColor)
 

Public Member Functions

 SelectColorButton (QWidget *parent)
 
void setColor (const QColor &color)
 
const QColor & getColor ()
 

Private Attributes

QColor mColor
 

Detailed Description

Definition at line 34 of file codeeditstylecontrols.h.

Constructor & Destructor Documentation

◆ SelectColorButton()

SelectColorButton::SelectColorButton ( QWidget *  parent)
explicit

Definition at line 27 of file codeeditstylecontrols.cpp.

References changeColor(), and updateColor().

Member Function Documentation

◆ changeColor

void SelectColorButton::changeColor ( )
slot

Definition at line 48 of file codeeditstylecontrols.cpp.

References colorChanged(), mColor, and setColor().

Referenced by SelectColorButton().

◆ colorChanged

void SelectColorButton::colorChanged ( const QColor &  newColor)
signal

Referenced by changeColor().

◆ getColor()

const QColor & SelectColorButton::getColor ( )

Definition at line 66 of file codeeditstylecontrols.cpp.

References mColor.

◆ setColor()

void SelectColorButton::setColor ( const QColor &  color)

Definition at line 59 of file codeeditstylecontrols.cpp.

References mColor, and updateColor().

Referenced by changeColor(), and StyleEditDialog::updateControls().

◆ updateColor

void SelectColorButton::updateColor ( )
slot

Definition at line 35 of file codeeditstylecontrols.cpp.

References mColor.

Referenced by SelectColorButton(), and setColor().

Member Data Documentation

◆ mColor

QColor SelectColorButton::mColor
private

Definition at line 51 of file codeeditstylecontrols.h.

Referenced by changeColor(), getColor(), setColor(), and updateColor().


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