LibreOffice Module cui (master)
1
|
#include <tipofthedaydlg.hxx>
Public Member Functions | |
TipOfTheDayDialog (weld::Window *pWindow) | |
virtual | ~TipOfTheDayDialog () override |
![]() | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
![]() | |
const Dialog * | getConstDialog () 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 Member Functions | |
void | UpdateTip () |
DECL_LINK (OnNextClick, weld::Button &, void) | |
DECL_LINK (OnLinkClick, weld::LinkButton &, bool) | |
Private Attributes | |
CuiGraphicPreviewWindow | m_aPreview |
std::unique_ptr< weld::Label > | m_pText |
std::unique_ptr< weld::CheckButton > | m_pShowTip |
std::unique_ptr< weld::Button > | m_pNext |
std::unique_ptr< weld::LinkButton > | m_pLink |
std::unique_ptr< weld::CustomWeld > | m_pPreview |
sal_Int32 | m_nCurrentTip |
sal_Int32 | m_nDay |
Additional Inherited Members | |
![]() | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 24 of file tipofthedaydlg.hxx.
TipOfTheDayDialog::TipOfTheDayDialog | ( | weld::Window * | pWindow | ) |
Definition at line 45 of file tipofthedaydlg.cxx.
References count(), LINK, m_nCurrentTip, m_nDay, m_pNext, m_pShowTip, and UpdateTip().
|
overridevirtual |
Definition at line 66 of file tipofthedaydlg.cxx.
References comphelper::ConfigurationChanges::create(), m_nCurrentTip, m_nDay, and m_pShowTip.
|
private |
|
private |
|
private |
Definition at line 82 of file tipofthedaydlg.cxx.
References aProperties, aURL, CuiResId(), SfxViewFrame::Current(), Translate::ExpandVariables(), file_exists(), LanguageTag::getBcp47(), vcl::CommandInfoProvider::GetCommandProperties(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), LanguageTag::getLanguage(), vcl::CommandInfoProvider::GetModuleIdentifier(), comphelper::getProcessComponentContext(), vcl::CommandInfoProvider::GetTooltipForCommand(), utl::ConfigManager::getUILocale(), LINK, GraphicFilter::LoadGraphic(), m_aPreview, m_nCurrentTip, m_pLink, m_pText, weld::GenericDialogController::m_xDialog, SAL_N_ELEMENTS, CuiGraphicPreviewWindow::SetPreview(), and xFrame.
Referenced by TipOfTheDayDialog().
|
private |
Definition at line 27 of file tipofthedaydlg.hxx.
Referenced by UpdateTip().
|
private |
Definition at line 35 of file tipofthedaydlg.hxx.
Referenced by TipOfTheDayDialog(), UpdateTip(), and ~TipOfTheDayDialog().
|
private |
Definition at line 36 of file tipofthedaydlg.hxx.
Referenced by TipOfTheDayDialog(), and ~TipOfTheDayDialog().
|
private |
Definition at line 32 of file tipofthedaydlg.hxx.
Referenced by UpdateTip().
|
private |
Definition at line 31 of file tipofthedaydlg.hxx.
Referenced by TipOfTheDayDialog().
|
private |
Definition at line 33 of file tipofthedaydlg.hxx.
|
private |
Definition at line 30 of file tipofthedaydlg.hxx.
Referenced by TipOfTheDayDialog(), and ~TipOfTheDayDialog().
|
private |
Definition at line 29 of file tipofthedaydlg.hxx.
Referenced by UpdateTip().