CustusX  2020.11.07-dev+develop.4ce4a
An IGT application
cx::ColorSelectButton Class Reference

Convenience button for chosing color. Will open a color select dialog, and color the button itself in the selected color. More...

#include <cxColorSelectButton.h>

Inheritance diagram for cx::ColorSelectButton:
cx::SelectColorSettingButton

Signals

void colorChanged (QColor)
 

Public Member Functions

 ColorSelectButton (QString caption, QColor color=Qt::white, QWidget *parent=NULL)
 
void setColor (QColor color)
 

Detailed Description

Convenience button for chosing color. Will open a color select dialog, and color the button itself in the selected color.

Definition at line 29 of file cxColorSelectButton.h.

Constructor & Destructor Documentation

cx::ColorSelectButton::ColorSelectButton ( QString  caption,
QColor  color = Qt::white,
QWidget *  parent = NULL 
)

Definition at line 19 of file cxColorSelectButton.cpp.

Member Function Documentation

void cx::ColorSelectButton::colorChanged ( QColor  )
signal
void cx::ColorSelectButton::setColor ( QColor  color)

Definition at line 28 of file cxColorSelectButton.cpp.


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