LibreOffice Module svtools (master) 1
|
#include <colrdlg.hxx>
Public Member Functions | |
SvColorDialog () | |
~SvColorDialog () | |
void | SetColor (const Color &rColor) |
const Color & | GetColor () const |
void | SetMode (svtools::ColorPickerMode eMode) |
short | Execute (weld::Window *pParent) |
void | ExecuteAsync (weld::Window *pParent, const std::function< void(sal_Int32)> &func) |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (DialogClosedHdl, css::ui::dialogs::DialogClosedEvent *, void) | |
Private Attributes | |
Color | maColor |
svtools::ColorPickerMode | meMode |
::com::sun::star::uno::Reference< ::com::sun::star::ui::dialogs::XAsynchronousExecutableDialog > | mxDialog |
std::function< void(sal_Int32)> | m_aResultFunc |
Definition at line 38 of file colrdlg.hxx.
SvColorDialog::SvColorDialog | ( | ) |
Definition at line 44 of file colrdlg.cxx.
SvColorDialog::~SvColorDialog | ( | ) |
Definition at line 49 of file colrdlg.cxx.
|
private |
short SvColorDialog::Execute | ( | weld::Window * | pParent | ) |
Definition at line 62 of file colrdlg.cxx.
References Exception, weld::Window::GetXWindow(), maColor, comphelper::makePropertyValue(), meMode, props, and sColor.
void SvColorDialog::ExecuteAsync | ( | weld::Window * | pParent, |
const std::function< void(sal_Int32)> & | func | ||
) |
Definition at line 105 of file colrdlg.cxx.
References Exception, weld::Window::GetXWindow(), LINK, m_aResultFunc, maColor, comphelper::makePropertyValue(), meMode, mxDialog, props, sColor, and TOOLS_WARN_EXCEPTION.
|
inline |
Definition at line 45 of file colrdlg.hxx.
References maColor.
void SvColorDialog::SetColor | ( | const Color & | rColor | ) |
Definition at line 52 of file colrdlg.cxx.
References maColor.
void SvColorDialog::SetMode | ( | svtools::ColorPickerMode | eMode | ) |
Definition at line 57 of file colrdlg.cxx.
|
private |
Definition at line 56 of file colrdlg.hxx.
Referenced by ExecuteAsync().
|
private |
Definition at line 53 of file colrdlg.hxx.
Referenced by Execute(), ExecuteAsync(), and SetColor().
|
private |
Definition at line 54 of file colrdlg.hxx.
Referenced by Execute(), ExecuteAsync(), and SetMode().
|
private |
Definition at line 55 of file colrdlg.hxx.
Referenced by ExecuteAsync().