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

#include <AdditionsDialog.hxx>

Inheritance diagram for AdditionsDialog:
Collaboration diagram for AdditionsDialog:

Public Member Functions

 AdditionsDialog (weld::Window *pParent, const OUString &sAdditionsTag)
 ~AdditionsDialog () override
css::uno::Sequence< css::uno::Sequence< css::uno::Reference< css::deployment::XPackage > > > getInstalledExtensions ()
void SetProgress (const OUString &rProgress)
void ClearList ()
void RefreshUI ()
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false)
virtual DialoggetDialog () override
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
- 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

Static Public Member Functions

static bool sortByComment (const AdditionInfo &a, const AdditionInfo &b)
static bool sortByRating (const AdditionInfo &a, const AdditionInfo &b)
static bool sortByDownload (const AdditionInfo &a, const AdditionInfo &b)
- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)

Public Attributes

css::uno::Reference< css::deployment::XExtensionManager > m_xExtensionManager
std::unique_ptr< weld::Entrym_xEntrySearch
std::unique_ptr< weld::Buttonm_xButtonClose
std::unique_ptr< weld::MenuButtonm_xMenuButtonSettings
std::vector< std::shared_ptr< AdditionsItem > > m_aAdditionsItems
std::vector< AdditionInfom_aAllExtensionsVector
std::unique_ptr< weld::ScrolledWindowm_xContentWindow
std::unique_ptr< weld::Containerm_xContentGrid
std::unique_ptr< weld::Labelm_xLabelProgress
std::unique_ptr< weld::MenuButtonm_xGearBtn
::rtl::Reference< SearchAndParseThreadm_pSearchThread
OUString m_sURL
OUString m_sTag
size_t m_nMaxItemCount
size_t m_nCurrentListItemCount
i18nutil::SearchOptions2 m_searchOptions

Private Member Functions

 DECL_LINK (GearHdl, const OString &, void)
 DECL_LINK (SearchUpdateHdl, weld::Entry &, void)
 DECL_LINK (ImplUpdateDataHdl, Timer *, void)
 DECL_LINK (FocusOut_Impl, weld::Widget &, void)
 DECL_LINK (CloseButtonHdl, weld::Button &, void)

Private Attributes

Timer m_aSearchDataTimer

Additional Inherited Members

- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
std::shared_ptr< weld::Dialogm_xDialog

Detailed Description

Definition at line 56 of file AdditionsDialog.hxx.

Constructor & Destructor Documentation

AdditionsDialog::AdditionsDialog ( weld::Window pParent,
const OUString &  sAdditionsTag 
AdditionsDialog::~AdditionsDialog ( )

Definition at line 501 of file AdditionsDialog.cxx.

References m_pSearchThread.

Member Function Documentation

void AdditionsDialog::ClearList ( )

Definition at line 560 of file AdditionsDialog.cxx.

References m_aAdditionsItems.

Referenced by RefreshUI().

AdditionsDialog::DECL_LINK ( GearHdl  ,
const OString &  ,
AdditionsDialog::DECL_LINK ( SearchUpdateHdl  ,
weld::Entry ,
AdditionsDialog::DECL_LINK ( ImplUpdateDataHdl  ,
Timer ,
AdditionsDialog::DECL_LINK ( FocusOut_Impl  ,
weld::Widget ,
AdditionsDialog::DECL_LINK ( CloseButtonHdl  ,
weld::Button ,
uno::Sequence< uno::Sequence< uno::Reference< deployment::XPackage > > > AdditionsDialog::getInstalledExtensions ( )
void AdditionsDialog::RefreshUI ( )
void AdditionsDialog::SetProgress ( const OUString &  rProgress)
bool AdditionsDialog::sortByComment ( const AdditionInfo a,
const AdditionInfo b 

Definition at line 588 of file AdditionsDialog.cxx.

References AdditionInfo::sCommentNumber.

bool AdditionsDialog::sortByDownload ( const AdditionInfo a,
const AdditionInfo b 

Definition at line 593 of file AdditionsDialog.cxx.

References AdditionInfo::sDownloadNumber.

Referenced by SearchAndParseThread::execute().

bool AdditionsDialog::sortByRating ( const AdditionInfo a,
const AdditionInfo b 

Definition at line 583 of file AdditionsDialog.cxx.

References AdditionInfo::sRating.

Member Data Documentation

std::vector<std::shared_ptr<AdditionsItem> > AdditionsDialog::m_aAdditionsItems
std::vector<AdditionInfo> AdditionsDialog::m_aAllExtensionsVector
Timer AdditionsDialog::m_aSearchDataTimer

Definition at line 59 of file AdditionsDialog.hxx.

Referenced by AdditionsDialog().

size_t AdditionsDialog::m_nCurrentListItemCount
size_t AdditionsDialog::m_nMaxItemCount
::rtl::Reference<SearchAndParseThread> AdditionsDialog::m_pSearchThread

Definition at line 81 of file AdditionsDialog.hxx.

Referenced by AdditionsDialog(), RefreshUI(), and ~AdditionsDialog().

i18nutil::SearchOptions2 AdditionsDialog::m_searchOptions
OUString AdditionsDialog::m_sTag

Definition at line 84 of file AdditionsDialog.hxx.

Referenced by AdditionsDialog().

OUString AdditionsDialog::m_sURL

Definition at line 83 of file AdditionsDialog.hxx.

Referenced by AdditionsDialog(), and SearchAndParseThread::execute().

std::unique_ptr<weld::Button> AdditionsDialog::m_xButtonClose

Definition at line 70 of file AdditionsDialog.hxx.

Referenced by AdditionsDialog(), and SetProgress().

std::unique_ptr<weld::Container> AdditionsDialog::m_xContentGrid

Definition at line 76 of file AdditionsDialog.hxx.

Referenced by SearchAndParseThread::Append().

std::unique_ptr<weld::ScrolledWindow> AdditionsDialog::m_xContentWindow

Definition at line 75 of file AdditionsDialog.hxx.

std::unique_ptr<weld::Entry> AdditionsDialog::m_xEntrySearch

Definition at line 69 of file AdditionsDialog.hxx.

Referenced by AdditionsDialog(), and SearchAndParseThread::Search().

css::uno::Reference<css::deployment::XExtensionManager> AdditionsDialog::m_xExtensionManager

Definition at line 68 of file AdditionsDialog.hxx.

Referenced by AdditionsDialog(), and getInstalledExtensions().

std::unique_ptr<weld::MenuButton> AdditionsDialog::m_xGearBtn

Definition at line 79 of file AdditionsDialog.hxx.

Referenced by AdditionsDialog().

std::unique_ptr<weld::Label> AdditionsDialog::m_xLabelProgress

Definition at line 78 of file AdditionsDialog.hxx.

Referenced by SetProgress().

std::unique_ptr<weld::MenuButton> AdditionsDialog::m_xMenuButtonSettings

Definition at line 71 of file AdditionsDialog.hxx.

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