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

Private Member Functions

void Init (const ScDPLabelData &rLabelData, const ScPivotFuncData &rFuncData)
 
 DECL_LINK (DblClickHdl, weld::TreeView &, bool)
 
 DECL_LINK (RadioClickHdl, weld::Button &, void)
 
 DECL_LINK (ClickHdl, 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::ButtonmxBtnOptions
 

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 92 of file pvfundlg.hxx.

Constructor & Destructor Documentation

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

Definition at line 447 of file pvfundlg.cxx.

References Init(), and mxLbFunc.

ScDPSubtotalDlg::~ScDPSubtotalDlg ( )
overridevirtual

Definition at line 469 of file pvfundlg.cxx.

Member Function Documentation

ScDPSubtotalDlg::DECL_LINK ( DblClickHdl  ,
weld::TreeView ,
bool   
)
private
ScDPSubtotalDlg::DECL_LINK ( RadioClickHdl  ,
weld::Button ,
void   
)
private
ScDPSubtotalDlg::DECL_LINK ( ClickHdl  ,
weld::Button ,
void   
)
private
void ScDPSubtotalDlg::FillLabelData ( ScDPLabelData rLabelData) const
PivotFunc ScDPSubtotalDlg::GetFuncMask ( ) const

Definition at line 473 of file pvfundlg.cxx.

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

Referenced by FillLabelData().

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

Member Data Documentation

ScDPLabelData ScDPSubtotalDlg::maLabelData
private

The list of all data field names.

Definition at line 114 of file pvfundlg.hxx.

Referenced by FillLabelData().

bool ScDPSubtotalDlg::mbEnableLayout
private

Cache for sub dialog.

Definition at line 115 of file pvfundlg.hxx.

const ScDPNameVec& ScDPSubtotalDlg::mrDataFields
private

The DataPilot object (for member names).

Definition at line 112 of file pvfundlg.hxx.

ScDPObject& ScDPSubtotalDlg::mrDPObj
private

Definition at line 111 of file pvfundlg.hxx.

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

Definition at line 123 of file pvfundlg.hxx.

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

Definition at line 124 of file pvfundlg.hxx.

Referenced by Init().

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

Definition at line 122 of file pvfundlg.hxx.

Referenced by FillLabelData(), and Init().

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

Definition at line 121 of file pvfundlg.hxx.

Referenced by Init().

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

Definition at line 120 of file pvfundlg.hxx.

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

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

Definition at line 118 of file pvfundlg.hxx.

Referenced by GetFuncMask(), and Init().

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

true = Enable Layout mode controls.

Definition at line 117 of file pvfundlg.hxx.

Referenced by Init().

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

Definition at line 119 of file pvfundlg.hxx.

Referenced by GetFuncMask(), and Init().


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