20#undef SC_DLLIMPLEMENTATION
28 : GenericDialogController(pParent,
"modules/scalc/ui/selectsource.ui",
"SelectSourceDialog")
29 , m_xBtnSelection(m_xBuilder->weld_radio_button(
"selection"))
30 , m_xBtnNamedRange(m_xBuilder->weld_radio_button(
"namedrange"))
31 , m_xBtnDatabase(m_xBuilder->weld_radio_button(
"database"))
32 , m_xBtnExternal(m_xBuilder->weld_radio_button(
"external"))
33 , m_xLbNamedRange(m_xBuilder->weld_combo_box(
"rangelb"))
34 , m_xBtnOk(m_xBuilder->weld_button(
"ok"))
35 , m_xBtnCancel(m_xBuilder->weld_button(
"cancel"))
63 if (&rButton == m_xBtnOk.get())
106 m_xLbNamedRange->set_sensitive(m_xBtnNamedRange->get_active());
110 : GenericDialogController(pParent,
"modules/scalc/ui/dapiservicedialog.ui",
"DapiserviceDialog")
111 , m_xLbService(m_xBuilder->weld_combo_box(
"service"))
112 , m_xEdSource(m_xBuilder->weld_entry(
"source"))
113 , m_xEdName(m_xBuilder->weld_entry(
"name"))
114 , m_xEdUser(m_xBuilder->weld_entry(
"user"))
115 , m_xEdPasswd(m_xBuilder->weld_entry(
"password"))
117 for (
const OUString&
aName : rServices)
Reference< XExecutableDialog > m_xDialog
OUString GetParSource() const
OUString GetParUser() const
OUString GetParPass() const
virtual ~ScDataPilotServiceDlg() override
OUString GetServiceName() const
std::unique_ptr< weld::Entry > m_xEdPasswd
ScDataPilotServiceDlg(weld::Window *pParent, const std::vector< OUString > &rServices)
std::unique_ptr< weld::Entry > m_xEdSource
std::unique_ptr< weld::Entry > m_xEdName
std::unique_ptr< weld::Entry > m_xEdUser
OUString GetParName() const
std::unique_ptr< weld::ComboBox > m_xLbService
std::unique_ptr< weld::RadioButton > m_xBtnNamedRange
void AppendNamedRange(const OUString &rNames)
std::unique_ptr< weld::Button > m_xBtnOk
std::unique_ptr< weld::Button > m_xBtnCancel
bool IsNamedRange() const
std::unique_ptr< weld::RadioButton > m_xBtnSelection
OUString GetSelectedNamedRange() const
std::unique_ptr< weld::ComboBox > m_xLbNamedRange
std::unique_ptr< weld::RadioButton > m_xBtnDatabase
std::unique_ptr< weld::RadioButton > m_xBtnExternal
virtual ~ScDataPilotSourceTypeDlg() override
ScDataPilotSourceTypeDlg(weld::Window *pParent, bool bEnableExternal)
IMPL_LINK(ScDataPilotSourceTypeDlg, ResponseHdl, weld::Button &, rButton, void)
IMPL_LINK_NOARG(ScDataPilotSourceTypeDlg, RadioClickHdl, weld::Toggleable &, void)
#define LINK(Instance, Class, Member)