LibreOffice Module sc (master) 1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScTabBgColorDlg Class Reference

#include <tabbgcolordlg.hxx>

Inheritance diagram for ScTabBgColorDlg:
[legend]
Collaboration diagram for ScTabBgColorDlg:
[legend]

Classes

class  ScTabBgColorValueSet
 

Public Member Functions

 ScTabBgColorDlg (weld::Window *pParent, const OUString &rTitle, const OUString &rTabBgColorNoColorText, const Color &rDefaultColor)
 
virtual ~ScTabBgColorDlg () override
 
void GetSelectedColor (Color &rColor) const
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void FillPaletteLB ()
 
 DECL_LINK (SelectPaletteLBHdl, weld::ComboBox &, void)
 
 DECL_LINK (TabBgColorDblClickHdl_Impl, ValueSet *, void)
 
 DECL_LINK (TabBgColorOKHdl_Impl, weld::Button &, void)
 

Private Attributes

PaletteManager m_aPaletteManager
 
Color m_aTabBgColor
 
std::unique_ptr< weld::ComboBoxm_xSelectPalette
 
std::unique_ptr< ScTabBgColorValueSetm_xTabBgColorSet
 
std::unique_ptr< weld::CustomWeldm_xTabBgColorSetWin
 
std::unique_ptr< weld::Buttonm_xBtnOk
 

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 25 of file tabbgcolordlg.hxx.

Constructor & Destructor Documentation

◆ ScTabBgColorDlg()

ScTabBgColorDlg::ScTabBgColorDlg ( weld::Window pParent,
const OUString &  rTitle,
const OUString &  rTabBgColorNoColorText,
const Color rDefaultColor 
)

◆ ~ScTabBgColorDlg()

ScTabBgColorDlg::~ScTabBgColorDlg ( )
overridevirtual

Definition at line 60 of file tabbgcolordlg.cxx.

Member Function Documentation

◆ DECL_LINK() [1/3]

ScTabBgColorDlg::DECL_LINK ( SelectPaletteLBHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/3]

ScTabBgColorDlg::DECL_LINK ( TabBgColorDblClickHdl_Impl  ,
ValueSet ,
void   
)
private

◆ DECL_LINK() [3/3]

ScTabBgColorDlg::DECL_LINK ( TabBgColorOKHdl_Impl  ,
weld::Button ,
void   
)
private

◆ FillPaletteLB()

void ScTabBgColorDlg::FillPaletteLB ( )
private

Definition at line 69 of file tabbgcolordlg.cxx.

References PaletteManager::GetPaletteList(), m_aPaletteManager, and m_xSelectPalette.

Referenced by ScTabBgColorDlg().

◆ GetSelectedColor()

void ScTabBgColorDlg::GetSelectedColor ( Color rColor) const

Definition at line 64 of file tabbgcolordlg.cxx.

References m_aTabBgColor.

Member Data Documentation

◆ m_aPaletteManager

PaletteManager ScTabBgColorDlg::m_aPaletteManager
private

Definition at line 53 of file tabbgcolordlg.hxx.

Referenced by FillPaletteLB().

◆ m_aTabBgColor

Color ScTabBgColorDlg::m_aTabBgColor
private

Definition at line 54 of file tabbgcolordlg.hxx.

Referenced by GetSelectedColor().

◆ m_xBtnOk

std::unique_ptr<weld::Button> ScTabBgColorDlg::m_xBtnOk
private

Definition at line 59 of file tabbgcolordlg.hxx.

Referenced by ScTabBgColorDlg().

◆ m_xSelectPalette

std::unique_ptr<weld::ComboBox> ScTabBgColorDlg::m_xSelectPalette
private

Definition at line 56 of file tabbgcolordlg.hxx.

Referenced by FillPaletteLB(), and ScTabBgColorDlg().

◆ m_xTabBgColorSet

std::unique_ptr<ScTabBgColorValueSet> ScTabBgColorDlg::m_xTabBgColorSet
private

Definition at line 57 of file tabbgcolordlg.hxx.

Referenced by ScTabBgColorDlg().

◆ m_xTabBgColorSetWin

std::unique_ptr<weld::CustomWeld> ScTabBgColorDlg::m_xTabBgColorSetWin
private

Definition at line 58 of file tabbgcolordlg.hxx.

Referenced by ScTabBgColorDlg().


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