LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScDataProviderBaseControl Class Reference
Collaboration diagram for ScDataProviderBaseControl:
[legend]

Public Member Functions

 ScDataProviderBaseControl (weld::Container *pParent, const Link< ScDataProviderBaseControl *, void > &rImportCallback)
 
void isValid ()
 
sc::ExternalDataSource getDataSource (ScDocument *pDoc)
 

Private Member Functions

 DECL_LINK (ProviderSelectHdl, weld::ComboBox &, void)
 
 DECL_LINK (IDEditHdl, weld::Entry &, void)
 
 DECL_LINK (URLEditHdl, weld::Entry &, void)
 
 DECL_LINK (ApplyBtnHdl, weld::Button &, void)
 
void updateApplyBtn (bool bValidConfig)
 

Private Attributes

std::unique_ptr< weld::BuildermxBuilder
 
std::unique_ptr< weld::ContainermxGrid
 
std::unique_ptr< weld::ComboBoxmxProviderList
 
std::unique_ptr< weld::EntrymxEditURL
 
std::unique_ptr< weld::EntrymxEditID
 
std::unique_ptr< weld::ButtonmxApplyBtn
 
OUString msApplyTooltip
 
Link< ScDataProviderBaseControl *, voidmaImportCallback
 

Detailed Description

Definition at line 25 of file dataproviderdlg.cxx.

Constructor & Destructor Documentation

ScDataProviderBaseControl::ScDataProviderBaseControl ( weld::Container pParent,
const Link< ScDataProviderBaseControl *, void > &  rImportCallback 
)

Member Function Documentation

ScDataProviderBaseControl::DECL_LINK ( ProviderSelectHdl  ,
weld::ComboBox ,
void   
)
private
ScDataProviderBaseControl::DECL_LINK ( IDEditHdl  ,
weld::Entry ,
void   
)
private
ScDataProviderBaseControl::DECL_LINK ( URLEditHdl  ,
weld::Entry ,
void   
)
private
ScDataProviderBaseControl::DECL_LINK ( ApplyBtnHdl  ,
weld::Button ,
void   
)
private
sc::ExternalDataSource ScDataProviderBaseControl::getDataSource ( ScDocument pDoc)
void ScDataProviderBaseControl::isValid ( )

Definition at line 78 of file dataproviderdlg.cxx.

References mxEditURL, mxProviderList, and updateApplyBtn().

Referenced by ScDataProviderBaseControl().

void ScDataProviderBaseControl::updateApplyBtn ( bool  bValidConfig)
private

Definition at line 96 of file dataproviderdlg.cxx.

References msApplyTooltip, and mxApplyBtn.

Referenced by isValid().

Member Data Documentation

Link<ScDataProviderBaseControl*, void> ScDataProviderBaseControl::maImportCallback
private

Definition at line 36 of file dataproviderdlg.cxx.

OUString ScDataProviderBaseControl::msApplyTooltip
private

Definition at line 34 of file dataproviderdlg.cxx.

Referenced by ScDataProviderBaseControl(), and updateApplyBtn().

std::unique_ptr<weld::Button> ScDataProviderBaseControl::mxApplyBtn
private

Definition at line 32 of file dataproviderdlg.cxx.

Referenced by ScDataProviderBaseControl(), and updateApplyBtn().

std::unique_ptr<weld::Builder> ScDataProviderBaseControl::mxBuilder
private

Definition at line 27 of file dataproviderdlg.cxx.

std::unique_ptr<weld::Entry> ScDataProviderBaseControl::mxEditID
private

Definition at line 31 of file dataproviderdlg.cxx.

Referenced by getDataSource(), and ScDataProviderBaseControl().

std::unique_ptr<weld::Entry> ScDataProviderBaseControl::mxEditURL
private

Definition at line 30 of file dataproviderdlg.cxx.

Referenced by getDataSource(), isValid(), and ScDataProviderBaseControl().

std::unique_ptr<weld::Container> ScDataProviderBaseControl::mxGrid
private

Definition at line 28 of file dataproviderdlg.cxx.

std::unique_ptr<weld::ComboBox> ScDataProviderBaseControl::mxProviderList
private

Definition at line 29 of file dataproviderdlg.cxx.

Referenced by getDataSource(), isValid(), and ScDataProviderBaseControl().


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