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

#include <pvfundlg.hxx>

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

Public Member Functions

 ScDPSubtotalDlg (weld::Widget *pParent, ScDPObject &rDPObj, const ScDPLabelData &rLabelData, const ScPivotFuncData &rFuncData, const ScDPNameVec &rDataFields, bool bEnableLayout)
 
virtual ~ScDPSubtotalDlg () override
 
PivotFunc GetFuncMask () const
 
void FillLabelData (ScDPLabelData &rLabelData) const
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () 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 Init (const ScDPLabelData &rLabelData, const ScPivotFuncData &rFuncData)
 
void CloseSubdialog ()
 
 DECL_LINK (DblClickHdl, weld::TreeView &, bool)
 
 DECL_LINK (RadioClickHdl, weld::Toggleable &, void)
 
 DECL_LINK (ClickHdl, weld::Button &, void)
 
 DECL_LINK (ButtonClicked, weld::Button &, void)
 

Private Attributes

ScDPObjectmrDPObj
 
const ScDPNameVecmrDataFields
 The DataPilot object (for member names). More...
 
ScDPLabelData maLabelData
 The list of all data field names. More...
 
bool mbEnableLayout
 Cache for sub dialog. More...
 
std::unique_ptr< weld::RadioButtonmxRbNone
 true = Enable Layout mode controls. More...
 
std::unique_ptr< weld::RadioButtonmxRbAuto
 
std::unique_ptr< weld::RadioButtonmxRbUser
 
std::unique_ptr< ScDPFunctionListBoxmxLbFunc
 
std::unique_ptr< weld::LabelmxFtName
 
std::unique_ptr< weld::CheckButtonmxCbShowAll
 
std::unique_ptr< weld::ButtonmxBtnOk
 
std::unique_ptr< weld::ButtonmxBtnCancel
 
std::unique_ptr< weld::ButtonmxBtnOptions
 
std::shared_ptr< ScDPSubtotalOptDlgmxOptionsDlg
 

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::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 95 of file pvfundlg.hxx.

Constructor & Destructor Documentation

◆ ScDPSubtotalDlg()

ScDPSubtotalDlg::ScDPSubtotalDlg ( weld::Widget pParent,
ScDPObject rDPObj,
const ScDPLabelData rLabelData,
const ScPivotFuncData rFuncData,
const ScDPNameVec rDataFields,
bool  bEnableLayout 
)
explicit

Definition at line 459 of file pvfundlg.cxx.

References Init(), and mxLbFunc.

◆ ~ScDPSubtotalDlg()

ScDPSubtotalDlg::~ScDPSubtotalDlg ( )
overridevirtual

Definition at line 482 of file pvfundlg.cxx.

References CloseSubdialog().

Member Function Documentation

◆ CloseSubdialog()

void ScDPSubtotalDlg::CloseSubdialog ( )
private

Definition at line 487 of file pvfundlg.cxx.

References mxOptionsDlg, and RET_CANCEL.

Referenced by ~ScDPSubtotalDlg().

◆ DECL_LINK() [1/4]

ScDPSubtotalDlg::DECL_LINK ( ButtonClicked  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/4]

ScDPSubtotalDlg::DECL_LINK ( ClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/4]

ScDPSubtotalDlg::DECL_LINK ( DblClickHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [4/4]

ScDPSubtotalDlg::DECL_LINK ( RadioClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ FillLabelData()

void ScDPSubtotalDlg::FillLabelData ( ScDPLabelData rLabelData) const

◆ GetFuncMask()

PivotFunc ScDPSubtotalDlg::GetFuncMask ( ) const

Definition at line 496 of file pvfundlg.cxx.

References Auto, mxLbFunc, mxRbAuto, mxRbUser, and NONE.

Referenced by FillLabelData().

◆ Init()

void ScDPSubtotalDlg::Init ( const ScDPLabelData rLabelData,
const ScPivotFuncData rFuncData 
)
private

Member Data Documentation

◆ maLabelData

ScDPLabelData ScDPSubtotalDlg::maLabelData
private

The list of all data field names.

Definition at line 119 of file pvfundlg.hxx.

Referenced by FillLabelData().

◆ mbEnableLayout

bool ScDPSubtotalDlg::mbEnableLayout
private

Cache for sub dialog.

Definition at line 120 of file pvfundlg.hxx.

◆ mrDataFields

const ScDPNameVec& ScDPSubtotalDlg::mrDataFields
private

The DataPilot object (for member names).

Definition at line 117 of file pvfundlg.hxx.

◆ mrDPObj

ScDPObject& ScDPSubtotalDlg::mrDPObj
private

Definition at line 116 of file pvfundlg.hxx.

◆ mxBtnCancel

std::unique_ptr<weld::Button> ScDPSubtotalDlg::mxBtnCancel
private

Definition at line 129 of file pvfundlg.hxx.

Referenced by Init().

◆ mxBtnOk

std::unique_ptr<weld::Button> ScDPSubtotalDlg::mxBtnOk
private

Definition at line 128 of file pvfundlg.hxx.

Referenced by Init().

◆ mxBtnOptions

std::unique_ptr<weld::Button> ScDPSubtotalDlg::mxBtnOptions
private

Definition at line 130 of file pvfundlg.hxx.

Referenced by Init().

◆ mxCbShowAll

std::unique_ptr<weld::CheckButton> ScDPSubtotalDlg::mxCbShowAll
private

Definition at line 127 of file pvfundlg.hxx.

Referenced by FillLabelData(), and Init().

◆ mxFtName

std::unique_ptr<weld::Label> ScDPSubtotalDlg::mxFtName
private

Definition at line 126 of file pvfundlg.hxx.

Referenced by Init().

◆ mxLbFunc

std::unique_ptr<ScDPFunctionListBox> ScDPSubtotalDlg::mxLbFunc
private

Definition at line 125 of file pvfundlg.hxx.

Referenced by GetFuncMask(), Init(), and ScDPSubtotalDlg().

◆ mxOptionsDlg

std::shared_ptr<ScDPSubtotalOptDlg> ScDPSubtotalDlg::mxOptionsDlg
private

Definition at line 132 of file pvfundlg.hxx.

Referenced by CloseSubdialog().

◆ mxRbAuto

std::unique_ptr<weld::RadioButton> ScDPSubtotalDlg::mxRbAuto
private

Definition at line 123 of file pvfundlg.hxx.

Referenced by GetFuncMask(), and Init().

◆ mxRbNone

std::unique_ptr<weld::RadioButton> ScDPSubtotalDlg::mxRbNone
private

true = Enable Layout mode controls.

Definition at line 122 of file pvfundlg.hxx.

Referenced by Init().

◆ mxRbUser

std::unique_ptr<weld::RadioButton> ScDPSubtotalDlg::mxRbUser
private

Definition at line 124 of file pvfundlg.hxx.

Referenced by GetFuncMask(), and Init().


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