LibreOffice Module cui (master) 1
|
#include <tipofthedaydlg.hxx>
Public Member Functions | |
TipOfTheDayDialog (weld::Window *pWindow) | |
virtual | ~TipOfTheDayDialog () override |
DECL_LINK (Terminated, VclWindowEvent &, void) | |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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 | UpdateTip () |
DECL_LINK (OnNextClick, weld::Button &, void) | |
DECL_LINK (OnLinkClick, weld::LinkButton &, bool) | |
Private Attributes | |
CuiGraphicPreviewWindow | m_aPreview |
weld::Window * | m_pParent |
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 |
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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 26 of file tipofthedaydlg.hxx.
TipOfTheDayDialog::TipOfTheDayDialog | ( | weld::Window * | pWindow | ) |
Definition at line 51 of file tipofthedaydlg.cxx.
References comphelper::ConfigurationChanges::create(), VCLUnoHelper::GetWindow(), weld::Window::GetXWindow(), Size::Height(), LINK, m_nCurrentTip, m_pNext, m_pPreview, m_pShowTip, ThumbSize, UpdateTip(), and Size::Width().
|
overridevirtual |
Definition at line 102 of file tipofthedaydlg.cxx.
References comphelper::ConfigurationChanges::create(), VCLUnoHelper::GetWindow(), weld::Window::GetXWindow(), LINK, m_nCurrentTip, m_pParent, and m_pShowTip.
|
private |
|
private |
TipOfTheDayDialog::DECL_LINK | ( | Terminated | , |
VclWindowEvent & | , | ||
void | |||
) |
|
private |
Definition at line 128 of file tipofthedaydlg.cxx.
References aProperties, aURL, CuiResId(), SfxViewFrame::Current(), StyleSettings::DetermineIconTheme(), Translate::ExpandVariables(), file_exists(), ImageTree::get(), LanguageTag::getBcp47(), Graphic::GetBitmapEx(), vcl::CommandInfoProvider::GetCommandProperties(), LanguageTag::getLanguage(), vcl::CommandInfoProvider::GetModuleIdentifier(), comphelper::getProcessComponentContext(), Application::GetSettings(), AllSettings::GetStyleSettings(), vcl::CommandInfoProvider::GetTooltipForCommand(), utl::ConfigManager::getUILocale(), Graphic::IsAnimated(), LINK, GraphicFilter::LoadGraphic(), ImageTree::loadImage(), m_aPreview, m_nCurrentTip, m_pLink, m_pText, weld::GenericDialogController::m_xDialog, nType, BitmapEx::Scale(), CuiGraphicPreviewWindow::SetPreview(), ThumbSize, and xFrame.
Referenced by TipOfTheDayDialog().
|
private |
Definition at line 29 of file tipofthedaydlg.hxx.
Referenced by UpdateTip().
|
private |
Definition at line 38 of file tipofthedaydlg.hxx.
Referenced by TipOfTheDayDialog(), UpdateTip(), and ~TipOfTheDayDialog().
|
private |
Definition at line 35 of file tipofthedaydlg.hxx.
Referenced by UpdateTip().
|
private |
Definition at line 34 of file tipofthedaydlg.hxx.
Referenced by TipOfTheDayDialog().
|
private |
Definition at line 30 of file tipofthedaydlg.hxx.
Referenced by ~TipOfTheDayDialog().
|
private |
Definition at line 36 of file tipofthedaydlg.hxx.
Referenced by TipOfTheDayDialog().
|
private |
Definition at line 33 of file tipofthedaydlg.hxx.
Referenced by TipOfTheDayDialog(), and ~TipOfTheDayDialog().
|
private |
Definition at line 32 of file tipofthedaydlg.hxx.
Referenced by UpdateTip().