LibreOffice Module sdext (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SummaryPage Class Reference

#include <optimizerdialog.hxx>

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

Public Member Functions

 SummaryPage (weld::Container *pPage, OptimizerDialog &rOptimizerDialog)
 
void Init (const OUString &rSettingsName, bool bIsReadonly)
 
void UpdateControlStates (bool bSaveAs, bool bSaveSettingsEnabled, const std::vector< OUString > &rItemList, const std::vector< OUString > &rSummaryStrings, const OUString &rCurrentFileSize, const OUString &rEstimatedFileSize)
 
void UpdateStatusLabel (const OUString &rStatus)
 
void UpdateProgressValue (int nProgress)
 
bool GetSaveAsNew () const
 
bool GetSaveSettings () const
 
OUString GetSettingsName () const
 
- Public Member Functions inherited from vcl::OWizardPage
 OWizardPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID)
 
virtual ~OWizardPage () override
 
virtual void initializePage () override
 
virtual bool commitPage (WizardTypes::CommitPageReason _eReason) override
 
virtual bool canAdvance () const override
 
- Public Member Functions inherited from BuilderPage
 BuilderPage (weld::Widget *pParent, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, bool bIsMobile=false)
 
virtual ~BuilderPage () COVERITY_NOEXCEPT_FALSE
 
void SetPageTitle (const OUString &rPageTitle)
 
const OUString & GetPageTitle () const
 
virtual void Activate ()
 
virtual void Deactivate ()
 
void SetHelpId (const OUString &rHelpId)
 
OUString GetHelpId () const
 

Private Member Functions

 DECL_LINK (SaveSettingsActionPerformed, weld::Toggleable &, void)
 
 DECL_LINK (SaveAsNewActionPerformed, weld::Toggleable &, void)
 

Private Attributes

OptimizerDialogmrOptimizerDialog
 
std::unique_ptr< weld::Labelm_xLabel1
 
std::unique_ptr< weld::Labelm_xLabel2
 
std::unique_ptr< weld::Labelm_xLabel3
 
std::unique_ptr< weld::Labelm_xCurrentSize
 
std::unique_ptr< weld::Labelm_xEstimatedSize
 
std::unique_ptr< weld::Labelm_xStatus
 
std::unique_ptr< weld::ProgressBarm_xProgress
 
std::unique_ptr< weld::RadioButtonm_xApplyToCurrent
 
std::unique_ptr< weld::RadioButtonm_xSaveToNew
 
std::unique_ptr< weld::ComboBoxm_xComboBox
 
std::unique_ptr< weld::CheckButtonm_xSaveSettings
 

Additional Inherited Members

- Protected Member Functions inherited from vcl::OWizardPage
virtual void Activate () override
 
void updateDialogTravelUI ()
 
- Protected Attributes inherited from BuilderPage
weld::DialogControllerm_pDialogController
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 141 of file optimizerdialog.hxx.

Constructor & Destructor Documentation

◆ SummaryPage()

SummaryPage::SummaryPage ( weld::Container pPage,
OptimizerDialog rOptimizerDialog 
)

Member Function Documentation

◆ DECL_LINK() [1/2]

SummaryPage::DECL_LINK ( SaveAsNewActionPerformed  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/2]

SummaryPage::DECL_LINK ( SaveSettingsActionPerformed  ,
weld::Toggleable ,
void   
)
private

◆ GetSaveAsNew()

bool SummaryPage::GetSaveAsNew ( ) const
inline

Definition at line 174 of file optimizerdialog.hxx.

References m_xSaveToNew.

Referenced by OptimizerDialog::onFinish().

◆ GetSaveSettings()

bool SummaryPage::GetSaveSettings ( ) const
inline

Definition at line 175 of file optimizerdialog.hxx.

References m_xSaveSettings.

Referenced by OptimizerDialog::onFinish().

◆ GetSettingsName()

OUString SummaryPage::GetSettingsName ( ) const
inline

Definition at line 176 of file optimizerdialog.hxx.

References m_xComboBox.

Referenced by OptimizerDialog::onFinish().

◆ Init()

void SummaryPage::Init ( const OUString &  rSettingsName,
bool  bIsReadonly 
)

Definition at line 193 of file optimizerdialog.cxx.

References m_xApplyToCurrent, m_xComboBox, and m_xSaveToNew.

Referenced by OptimizerDialog::InitPage4().

◆ UpdateControlStates()

void SummaryPage::UpdateControlStates ( bool  bSaveAs,
bool  bSaveSettingsEnabled,
const std::vector< OUString > &  rItemList,
const std::vector< OUString > &  rSummaryStrings,
const OUString &  rCurrentFileSize,
const OUString &  rEstimatedFileSize 
)

◆ UpdateProgressValue()

void SummaryPage::UpdateProgressValue ( int  nProgress)

Definition at line 229 of file optimizerdialog.cxx.

References m_xProgress.

Referenced by OptimizerDialog::UpdateStatus().

◆ UpdateStatusLabel()

void SummaryPage::UpdateStatusLabel ( const OUString &  rStatus)

Definition at line 224 of file optimizerdialog.cxx.

References m_xStatus.

Referenced by OptimizerDialog::UpdateStatus().

Member Data Documentation

◆ m_xApplyToCurrent

std::unique_ptr<weld::RadioButton> SummaryPage::m_xApplyToCurrent
private

Definition at line 152 of file optimizerdialog.hxx.

Referenced by Init(), SummaryPage(), and UpdateControlStates().

◆ m_xComboBox

std::unique_ptr<weld::ComboBox> SummaryPage::m_xComboBox
private

Definition at line 154 of file optimizerdialog.hxx.

Referenced by GetSettingsName(), Init(), and UpdateControlStates().

◆ m_xCurrentSize

std::unique_ptr<weld::Label> SummaryPage::m_xCurrentSize
private

Definition at line 148 of file optimizerdialog.hxx.

Referenced by UpdateControlStates().

◆ m_xEstimatedSize

std::unique_ptr<weld::Label> SummaryPage::m_xEstimatedSize
private

Definition at line 149 of file optimizerdialog.hxx.

Referenced by UpdateControlStates().

◆ m_xLabel1

std::unique_ptr<weld::Label> SummaryPage::m_xLabel1
private

Definition at line 145 of file optimizerdialog.hxx.

Referenced by UpdateControlStates().

◆ m_xLabel2

std::unique_ptr<weld::Label> SummaryPage::m_xLabel2
private

Definition at line 146 of file optimizerdialog.hxx.

Referenced by UpdateControlStates().

◆ m_xLabel3

std::unique_ptr<weld::Label> SummaryPage::m_xLabel3
private

Definition at line 147 of file optimizerdialog.hxx.

Referenced by UpdateControlStates().

◆ m_xProgress

std::unique_ptr<weld::ProgressBar> SummaryPage::m_xProgress
private

Definition at line 151 of file optimizerdialog.hxx.

Referenced by UpdateProgressValue().

◆ m_xSaveSettings

std::unique_ptr<weld::CheckButton> SummaryPage::m_xSaveSettings
private

Definition at line 155 of file optimizerdialog.hxx.

Referenced by GetSaveSettings(), SummaryPage(), and UpdateControlStates().

◆ m_xSaveToNew

std::unique_ptr<weld::RadioButton> SummaryPage::m_xSaveToNew
private

Definition at line 153 of file optimizerdialog.hxx.

Referenced by GetSaveAsNew(), Init(), SummaryPage(), and UpdateControlStates().

◆ m_xStatus

std::unique_ptr<weld::Label> SummaryPage::m_xStatus
private

Definition at line 150 of file optimizerdialog.hxx.

Referenced by UpdateStatusLabel().

◆ mrOptimizerDialog

OptimizerDialog& SummaryPage::mrOptimizerDialog
private

Definition at line 144 of file optimizerdialog.hxx.


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