LibreOffice Module cui (master)  1
Public Member Functions | Private Attributes | List of all members
cui::ColorPickerDialog Class Reference
Inheritance diagram for cui::ColorPickerDialog:
[legend]
Collaboration diagram for cui::ColorPickerDialog:
[legend]

Public Member Functions

 ColorPickerDialog (weld::Window *pParent, Color nColor, sal_Int16 nMode)
 
void update_color (UpdateFlags n=UpdateFlags::All)
 
 DECL_LINK (ColorFieldControlModifydl, ColorFieldControl &, void)
 
 DECL_LINK (ColorSliderControlModifyHdl, ColorSliderControl &, void)
 
 DECL_LINK (ColorModifyMetricHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ColorModifySpinHdl, weld::SpinButton &, void)
 
 DECL_LINK (ColorModifyEditHdl, weld::Entry &, void)
 
 DECL_LINK (ModeModifyHdl, weld::ToggleButton &, void)
 
Color GetColor () const
 
void setColorComponent (ColorComponent nComp, double dValue)
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Attributes

ColorFieldControl m_aColorField
 
ColorSliderControl m_aColorSlider
 
ColorPreviewControl m_aColorPreview
 
ColorPreviewControl m_aColorPrevious
 
std::unique_ptr< weld::CustomWeldm_xColorField
 
std::unique_ptr< weld::CustomWeldm_xColorSlider
 
std::unique_ptr< weld::CustomWeldm_xColorPreview
 
std::unique_ptr< weld::CustomWeldm_xColorPrevious
 
std::unique_ptr< weld::Widgetm_xFISliderLeft
 
std::unique_ptr< weld::Widgetm_xFISliderRight
 
std::unique_ptr< weld::RadioButtonm_xRBRed
 
std::unique_ptr< weld::RadioButtonm_xRBGreen
 
std::unique_ptr< weld::RadioButtonm_xRBBlue
 
std::unique_ptr< weld::RadioButtonm_xRBHue
 
std::unique_ptr< weld::RadioButtonm_xRBSaturation
 
std::unique_ptr< weld::RadioButtonm_xRBBrightness
 
std::unique_ptr< weld::SpinButtonm_xMFRed
 
std::unique_ptr< weld::SpinButtonm_xMFGreen
 
std::unique_ptr< weld::SpinButtonm_xMFBlue
 
std::unique_ptr< weld::HexColorControlm_xEDHex
 
std::unique_ptr< weld::MetricSpinButtonm_xMFHue
 
std::unique_ptr< weld::MetricSpinButtonm_xMFSaturation
 
std::unique_ptr< weld::MetricSpinButtonm_xMFBrightness
 
std::unique_ptr< weld::MetricSpinButtonm_xMFCyan
 
std::unique_ptr< weld::MetricSpinButtonm_xMFMagenta
 
std::unique_ptr< weld::MetricSpinButtonm_xMFYellow
 
std::unique_ptr< weld::MetricSpinButtonm_xMFKey
 
ColorMode meMode
 
double mdRed
 
double mdGreen
 
double mdBlue
 
double mdHue
 
double mdSat
 
double mdBri
 
double mdCyan
 
double mdMagenta
 
double mdYellow
 
double mdKey
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 713 of file colorpicker.cxx.

Constructor & Destructor Documentation

cui::ColorPickerDialog::ColorPickerDialog ( weld::Window pParent,
Color  nColor,
sal_Int16  nMode 
)

Member Function Documentation

cui::ColorPickerDialog::DECL_LINK ( ColorFieldControlModifydl  ,
ColorFieldControl ,
void   
)
cui::ColorPickerDialog::DECL_LINK ( ColorSliderControlModifyHdl  ,
ColorSliderControl ,
void   
)
cui::ColorPickerDialog::DECL_LINK ( ColorModifyMetricHdl  ,
weld::MetricSpinButton ,
void   
)
cui::ColorPickerDialog::DECL_LINK ( ColorModifySpinHdl  ,
weld::SpinButton ,
void   
)
cui::ColorPickerDialog::DECL_LINK ( ColorModifyEditHdl  ,
weld::Entry ,
void   
)
cui::ColorPickerDialog::DECL_LINK ( ModeModifyHdl  ,
weld::ToggleButton ,
void   
)
Color cui::ColorPickerDialog::GetColor ( ) const

Definition at line 856 of file colorpicker.cxx.

References mdBlue, mdGreen, mdRed, and cui::toInt().

void cui::ColorPickerDialog::setColorComponent ( ColorComponent  nComp,
double  dValue 
)
void cui::ColorPickerDialog::update_color ( UpdateFlags  n = UpdateFlags::All)

Member Data Documentation

ColorFieldControl cui::ColorPickerDialog::m_aColorField
private

Definition at line 716 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), and update_color().

ColorPreviewControl cui::ColorPickerDialog::m_aColorPreview
private

Definition at line 718 of file colorpicker.cxx.

Referenced by update_color().

ColorPreviewControl cui::ColorPickerDialog::m_aColorPrevious
private

Definition at line 719 of file colorpicker.cxx.

Referenced by ColorPickerDialog().

ColorSliderControl cui::ColorPickerDialog::m_aColorSlider
private

Definition at line 717 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), and update_color().

std::unique_ptr<weld::CustomWeld> cui::ColorPickerDialog::m_xColorField
private

Definition at line 721 of file colorpicker.cxx.

std::unique_ptr<weld::CustomWeld> cui::ColorPickerDialog::m_xColorPreview
private

Definition at line 723 of file colorpicker.cxx.

std::unique_ptr<weld::CustomWeld> cui::ColorPickerDialog::m_xColorPrevious
private

Definition at line 724 of file colorpicker.cxx.

Referenced by ColorPickerDialog().

std::unique_ptr<weld::CustomWeld> cui::ColorPickerDialog::m_xColorSlider
private

Definition at line 722 of file colorpicker.cxx.

Referenced by ColorPickerDialog().

std::unique_ptr<weld::HexColorControl> cui::ColorPickerDialog::m_xEDHex
private

Definition at line 738 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), and update_color().

std::unique_ptr<weld::Widget> cui::ColorPickerDialog::m_xFISliderLeft
private

Definition at line 726 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), and update_color().

std::unique_ptr<weld::Widget> cui::ColorPickerDialog::m_xFISliderRight
private

Definition at line 727 of file colorpicker.cxx.

Referenced by update_color().

std::unique_ptr<weld::SpinButton> cui::ColorPickerDialog::m_xMFBlue
private

Definition at line 737 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), and update_color().

std::unique_ptr<weld::MetricSpinButton> cui::ColorPickerDialog::m_xMFBrightness
private

Definition at line 742 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), and update_color().

std::unique_ptr<weld::MetricSpinButton> cui::ColorPickerDialog::m_xMFCyan
private

Definition at line 744 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), and update_color().

std::unique_ptr<weld::SpinButton> cui::ColorPickerDialog::m_xMFGreen
private

Definition at line 736 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), and update_color().

std::unique_ptr<weld::MetricSpinButton> cui::ColorPickerDialog::m_xMFHue
private

Definition at line 740 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), and update_color().

std::unique_ptr<weld::MetricSpinButton> cui::ColorPickerDialog::m_xMFKey
private

Definition at line 747 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), and update_color().

std::unique_ptr<weld::MetricSpinButton> cui::ColorPickerDialog::m_xMFMagenta
private

Definition at line 745 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), and update_color().

std::unique_ptr<weld::SpinButton> cui::ColorPickerDialog::m_xMFRed
private

Definition at line 735 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), and update_color().

std::unique_ptr<weld::MetricSpinButton> cui::ColorPickerDialog::m_xMFSaturation
private

Definition at line 741 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), and update_color().

std::unique_ptr<weld::MetricSpinButton> cui::ColorPickerDialog::m_xMFYellow
private

Definition at line 746 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), and update_color().

std::unique_ptr<weld::RadioButton> cui::ColorPickerDialog::m_xRBBlue
private

Definition at line 730 of file colorpicker.cxx.

Referenced by ColorPickerDialog().

std::unique_ptr<weld::RadioButton> cui::ColorPickerDialog::m_xRBBrightness
private

Definition at line 733 of file colorpicker.cxx.

Referenced by ColorPickerDialog().

std::unique_ptr<weld::RadioButton> cui::ColorPickerDialog::m_xRBGreen
private

Definition at line 729 of file colorpicker.cxx.

Referenced by ColorPickerDialog().

std::unique_ptr<weld::RadioButton> cui::ColorPickerDialog::m_xRBHue
private

Definition at line 731 of file colorpicker.cxx.

Referenced by ColorPickerDialog().

std::unique_ptr<weld::RadioButton> cui::ColorPickerDialog::m_xRBRed
private

Definition at line 728 of file colorpicker.cxx.

Referenced by ColorPickerDialog().

std::unique_ptr<weld::RadioButton> cui::ColorPickerDialog::m_xRBSaturation
private

Definition at line 732 of file colorpicker.cxx.

Referenced by ColorPickerDialog().

double cui::ColorPickerDialog::mdBlue
private

Definition at line 768 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), GetColor(), setColorComponent(), and update_color().

double cui::ColorPickerDialog::mdBri
private

Definition at line 769 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), setColorComponent(), and update_color().

double cui::ColorPickerDialog::mdCyan
private

Definition at line 770 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), setColorComponent(), and update_color().

double cui::ColorPickerDialog::mdGreen
private

Definition at line 768 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), GetColor(), setColorComponent(), and update_color().

double cui::ColorPickerDialog::mdHue
private

Definition at line 769 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), setColorComponent(), and update_color().

double cui::ColorPickerDialog::mdKey
private

Definition at line 770 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), setColorComponent(), and update_color().

double cui::ColorPickerDialog::mdMagenta
private

Definition at line 770 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), setColorComponent(), and update_color().

double cui::ColorPickerDialog::mdRed
private

Definition at line 768 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), GetColor(), setColorComponent(), and update_color().

double cui::ColorPickerDialog::mdSat
private

Definition at line 769 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), setColorComponent(), and update_color().

double cui::ColorPickerDialog::mdYellow
private

Definition at line 770 of file colorpicker.cxx.

Referenced by ColorPickerDialog(), setColorComponent(), and update_color().

ColorMode cui::ColorPickerDialog::meMode
private

Definition at line 766 of file colorpicker.cxx.

Referenced by update_color().


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