LibreOffice Module cui (master)  1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
AboutDialog Class Reference

#include <about.hxx>

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

Public Member Functions

 AboutDialog (weld::Window *pParent)
 
virtual weld::DialoggetDialog () override
 
virtual ~AboutDialog () override
 
 DECL_LINK (HandleClick, weld::Button &, void)
 
 DECL_LINK (SizeAllocHdl, const Size &, void)
 
- 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 Member Functions

void SetBuildIdLink ()
 
void SetLogo ()
 

Static Private Member Functions

static OUString GetBuildId ()
 
static OUString GetVersionString ()
 
static OUString GetCopyrightString ()
 
static OUString GetLocaleString ()
 
static bool IsStringValidGitHash (const OUString &hash)
 

Private Attributes

std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::AboutDialogm_xDialog
 
std::shared_ptr< weld::Containerm_xContentArea
 
BitmapEx aLogoBitmap
 
BitmapEx aBackgroundBitmap
 
OUString m_buildIdLinkString
 
weld::Buttonm_pCreditsButton
 
weld::Buttonm_pWebsiteButton
 
weld::Buttonm_pReleaseNotesButton
 
weld::Buttonm_pCloseButton
 

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)> &)
 

Detailed Description

Definition at line 24 of file about.hxx.

Constructor & Destructor Documentation

AboutDialog::AboutDialog ( weld::Window pParent)
AboutDialog::~AboutDialog ( )
overridevirtual

Definition at line 105 of file about.cxx.

Member Function Documentation

AboutDialog::DECL_LINK ( HandleClick  ,
weld::Button ,
void   
)
AboutDialog::DECL_LINK ( SizeAllocHdl  ,
const Size ,
void   
)
OUString AboutDialog::GetBuildId ( )
staticprivate
OUString AboutDialog::GetCopyrightString ( )
staticprivate

Definition at line 339 of file about.cxx.

References CuiResId(), and utl::ConfigManager::getProductName().

Referenced by AboutDialog().

virtual weld::Dialog* AboutDialog::getDialog ( )
inlineoverridevirtual

Implements weld::DialogController.

Definition at line 52 of file about.hxx.

OUString AboutDialog::GetLocaleString ( )
staticprivate

Definition at line 229 of file about.cxx.

References pLocale.

Referenced by GetVersionString().

OUString AboutDialog::GetVersionString ( )
staticprivate
bool AboutDialog::IsStringValidGitHash ( const OUString &  hash)
staticprivate

Definition at line 249 of file about.cxx.

References i.

Referenced by SetBuildIdLink().

void AboutDialog::SetBuildIdLink ( )
private

Definition at line 149 of file about.cxx.

References GetBuildId(), IsStringValidGitHash(), m_buildIdLinkString, m_xDialog, and SAL_WARN.

Referenced by AboutDialog().

void AboutDialog::SetLogo ( )
private

Member Data Documentation

BitmapEx AboutDialog::aBackgroundBitmap
private

Definition at line 32 of file about.hxx.

BitmapEx AboutDialog::aLogoBitmap
private

Definition at line 31 of file about.hxx.

Referenced by SetLogo().

OUString AboutDialog::m_buildIdLinkString
private

Definition at line 34 of file about.hxx.

Referenced by AboutDialog(), and SetBuildIdLink().

weld::Button* AboutDialog::m_pCloseButton
private

Definition at line 39 of file about.hxx.

Referenced by AboutDialog().

weld::Button* AboutDialog::m_pCreditsButton
private

Definition at line 36 of file about.hxx.

Referenced by AboutDialog().

weld::Button* AboutDialog::m_pReleaseNotesButton
private

Definition at line 38 of file about.hxx.

Referenced by AboutDialog().

weld::Button* AboutDialog::m_pWebsiteButton
private

Definition at line 37 of file about.hxx.

Referenced by AboutDialog().

std::unique_ptr<weld::Builder> AboutDialog::m_xBuilder
private

Definition at line 27 of file about.hxx.

std::shared_ptr<weld::Container> AboutDialog::m_xContentArea
private

Definition at line 29 of file about.hxx.

Referenced by SetLogo().

std::shared_ptr<weld::AboutDialog> AboutDialog::m_xDialog
private

Definition at line 28 of file about.hxx.

Referenced by AboutDialog(), SetBuildIdLink(), and SetLogo().


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